Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Database schema from standards xsd

From: "Michael Kay" <mike@--------.--->
To: "'Boris Kolpackov'" <boris@-------------.--->
Date: 4/4/2008 2:49:00 AM
> There are ways to specify in XML Schema whether elements 
> should appear in a particular order or not (xs:sequence vs 
> xs:all). What you are probably saying here is that if the 
> schema says that elements can appear in any order, it does 
> not mean that the actual order of elements as they appear in 
> XML documents is insignificant to the application logic.

What I meant was that if you say

<xs:element name="authors">
  <xs:complexType>
    <xs:element name="author" maxOccurs="unbounded"/>
  </xs:complexType>
</xs:element>

then there is no way of knowing whether the order of the authors is
important. Because in the relational model tuples are unordered, significant
order needs to be represented in some other way, for example with integer
sequence numbers - which isn't an ideal representation if the sequence also
needs to be updateable.

Michael Kay
    


From dmarcus@n... Thu Apr 03 14:58:52 2008
Received: from a


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent