[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: XML vs relational database

  • From: noah_mendelsohn@u...
  • To: "Michael Kay" <mike@s...>
  • Date: Thu, 16 Aug 2007 09:59:49 -0400

RE:  XML vs relational database
Also, I think it's useful to consider separately collections of "well 
formed" XML, vs. collections known to be valid per some schema. 
Collections of well formed documents behave as you describe:  because they 
vary a great deal in structure, you generally have to interrogate the 
structure of each instance if you care, and to a significant degree the 
structures are self describing.  I think that a SQL table more closely 
resembles a collection of documents known to be valid per some schema. 
Depending on how rigid the constraints imposed by the schema are, it may 
or may not tightly bound the structure of the instances.  Still, it's 
reasonable to ask:  can a query interrogate the schema, which is analagous 
I think to querying the structure of SQL tables.  The answer in XML will 
depend on which schema technologies and query systems you adapt.  I will 
say that one reason that XML Schema goes to such trouble to formalize not 
just its transfer syntax but also it's so-called "component model" is to 
make possible exposing the semantics of the schema to query systems. 
What's missing, I should say, is a standard XML serialization that's quite 
ismorphic to those components.  What we have today for a transfer syntax 
is more analagous to the SQL statements that would define a table, rather 
than schema table that would describe its columns.  Schema components are 
analagous to the latter, and are quite carefully set out.  There is no 
standard transfer syntax isomorphic to those components at this time, 
although nonstandard versions have been put to good use (e.g. the -r 
switch on XSV).

Noah

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------








"Michael Kay" <mike@s...>
08/16/2007 09:17 AM
 
        To:     "'Sylvain LOISEAU'" <sylvain.loiseau@w...>, 
<xml-dev@l...>
        cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
        Subject:        RE:  XML vs relational database


> Don't you think there is a structural 
> difference, from this point of view, between XML and DBMS?
> 

Sure, in SQL all the instances have the same structure, so the structure
information can be stored separately from the instances.

Michael Kay
http://www.saxonica.com/


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.