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

RE: XML 1.0 - Element order significance

  • From: Tim Bray <tbray@t...>
  • To: Danny Ayers <danny@p...>, xml-dev@l...
  • Date: Tue, 23 Jan 2001 10:10:00 -0800

xml element order
At 10:44 PM 23/01/01 +0600, Danny Ayers wrote:
>If the "document order" is determined by the XML syntax, then I would have
>expected this to appear in the rec.
>Where exactly in the XML spec is "document order" defined?

It is a well-known hole in the XML spec that it never said that
an XML processor is expected to allow software to access elements
in the order of their occurrence - and conversely, is not required
to do so for attributes.  The second edition errata made it clear
that attribute order is not significant but did not take the trouble
to make the former point more clear.  Probably, nobody felt any
pressure to do this because every piece of XML software in the 
universe in fact does this and as far as I know nobody has ever
remotely considered not doing so.

In fact, I've always thought that one of the things that makes
implementing a real native XML data store hard is the fact that you 
have to preserve ordering relationships; one of the key principles of
the normalized data models behind RDBMS is that things can be
in whatever order you want; in fact this makes lots of things easier.
 -Tim


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.