|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE : Comparison of Xml documents
John Cowan wrote: > Bob Wyman scripsit: >>It would have been wise if the WXS designers had noted existing >>standards and used "SET" rather than "SEQUENCE" when defining WXS... > > There's a reason behind that: the schema-centric viewpoint on this point > is opposed to the data-centric viewpoint. In general, if a schema says > that the order is prescribed (a sequence), that means that there is no > significance in the order. On the other hand, if the schema does not > prescribe an order, then there is typically significance in the ordering > that actually appears in the data. WXS takes a schema-centric viewpoint; > ASN.1 takes a data-centric one. As was pointed out earlier, the "schema-centric" view is missing the ability to say, for elements, that no order is prescribed and order is not significant. Same semantics as attributes. OTOH, if a schema prescribes an order (a sequence) it is moot that there is no significance in the order, as the prescribed order must be observed. Further, the schema-centric viewpoint you describe is definitely not the common usage for iterated choices, e.g., (a|b|...)*. In this case, no order (or cardinality) are prescribed and the semantics is usually that order is not significant. Bob Foster
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








