OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Can XML Schemas do this?

[ Lists Home | Date Index | Thread Index ]
  • To: "Bryce K. Nielsen" <bryce@sysonyx.com>,"xml-dev" <xml-dev@lists.xml.org>
  • Subject: RE: [xml-dev] Can XML Schemas do this?
  • From: "Dare Obasanjo" <dareo@microsoft.com>
  • Date: Tue, 21 Jan 2003 10:55:57 -0800
  • Thread-index: AcLBeWq1zO0x0V98TT+TlznpESProwABQM2u
  • Thread-topic: [xml-dev] Can XML Schemas do this?

I'm not going to get into the discussion of whether order should or should not be significant in application that process. However I will point out that in the specific case of W3C XML Schema there were implementation concerns about how validating unordered elements would work. Some of these fears were proved unfounded by RELAX NG's use of <interleave> but since they don't have to deal with minOccurs/maxOccurs then there are still some issues with having such functionality in W3C XML Schema. 

	-----Original Message----- 
	From: Bryce K. Nielsen [mailto:bryce@sysonyx.com] 
	Sent: Tue 1/21/2003 10:15 AM 
	To: 'xml-dev' 
	Cc: 
	Subject: Re: [xml-dev] Can XML Schemas do this?
	
	

	> 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
	
	
	-----------------------------------------------------------------
	The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
	initiative of OASIS <http://www.oasis-open.org>
	
	The list archives are at http://lists.xml.org/archives/xml-dev/
	
	To subscribe or unsubscribe from this list use the subscription
	manager: <http://lists.xml.org/ob/adm.pl>
	
	





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS