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

Re: Should we care about elements order ?

  • From: Robin LaFontaine <robin@m...>
  • To: Eric van der Vlist <vdv@d...>,"xml-dev@l..." <xml-dev@l...>
  • Date: Mon, 23 Oct 2000 11:56:59 +0100

xml schema order

I agree that it is worrying that XML Schema does not allow 'order 
significance' to be specified for a given element.

For use of XML with data (as opposed to documents), we need *both* 
elements that are ordered and those that are not.

For example, a list of co-ordinate points representing a polygon is 
definitely ordered. But a set a co-ordinates representing valid 
positions is not ordered.

In XML Schema itself (i.e. XML Schema for XML Schema), order of 
elements in a choice is not order-significant, but the order of 
elements in a sequence is order-significant!

I conclude that it is a great shame that XML Schema does not allow us 
to indicate for an element whether or not its content is 


At 11:07 am +0200 21/10/00, Eric van der Vlist wrote:
>To summarize what has been told so far:
>I am quite comfortable with these conclusions which are kind of
>confirming what I thought, but still disappointed that it invalidates
>the usage of XML Schema, a specification which given the weight of the
>W3C is likely to play a major role in the future.
>The usage of Schematron is still an interesting option, of course.
>Another one could be a specific validation package composed of a XSLT
>transformation "normalizing" the document followed by a XML Schema (or
>DTD or Relax) validation.
>Such a mechanism could even be used for DTD validation of multi
>namespaces documents.
>It's likely to be far more complex to deploy than a single pass standard
>validation process, though.
>Thanks for your answers !
>Eric van der Vlist       Dyomedea                    http://dyomedea.com
>http://xmlfr.org         http://4xt.org              http://ducotede.com

-- -----------------------------------------------------------------
Robin La Fontaine, Monsell EDM Ltd
(Engineering data exchange and management using XML, R&D Project Management)
Tel: +44 1684 592 144 Fax: +44 1684 594 504
Email: robin@m...       http://www.monsell.co.uk


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.
First Name
Last Name
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.