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

Re: Can XML Schemas do this?

  • To: "'xml-dev'" <xml-dev@l...>
  • Subject: Re: Can XML Schemas do this?
  • From: "Bryce K. Nielsen" <bryce@s...>
  • Date: Tue, 21 Jan 2003 11:15:43 -0700

xml schema ordering
> Highly application-dependent.
>
> <procedure><name>Replace Part#13316 in Boeing 777 Wing</name>
>    <steps>
>      <step>Ensure electrical systems are inactive per testID 32297</step>
>      <step>Ensure no fuel vapor concentrations per testID 35151</step>
>      <step>Open hatch and stick your head inside</step>
>      </steps>
>    </procedure>
>
> Sometimes order matters -Tim
>

I'm not saying that explicit ordering should be removed, I'm just saying
that schema languages should allow both. It gives me a bad taste in my mouth
to tell my partners that while the ordering of the nodes doesn't really
matter, in order for the document to validate against my schema it has to be
in tell-tell order.

In the above case, it's a good thing those are elements, not attributes,
which brings the next question if Element orders are enforced (at least in
W3C XML Schemas), why are Attribute orders not?

-BKN


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.