Re: [xml-dev] RE : [xml-dev] Comparison of Xml documents

From
John Cowan <>
To
Bob Foster <>
Date
2003-11-23T06:06:42Z
ID
<>
Thread
Re: [xml-dev] RE : [xml-dev] Comparison of Xml documents
Bob Foster scripsit:

> 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.

If order is not significant, why not prescribe an order?  It simplifies
implementation to do so.

> 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.

XHTML is a massive counterexample: order is extremely significant, but
most content models are of exactly that form.

-- 
There is / One art                      John Cowan <>
No more / No less                       http://www.reutershealth.com
To do / All things                      http://www.ccil.org/~cowan
With art- / Lessness                     -- Piet Hein