RE: Things that one can define with XML schema but cannot query with XQuery? (2)

> Having in mind the problems with querying "positional groups" 
> (and other
> related ambiguities ... )
> should we try to state a STRONG argument for removing minOccurs and
> maxOccurs attributes xs:all, xs:sequence and xs:choice elements in XML
> schema?
> To rephrase, do you know for any applications where you can only solve
> things by using those attributes with values different then 1?

Sure.  xs:choice with maxOccurs="unbounded" (in a complexType with mixed
content) seems the natural choice for marked up text, with subelements
for things like emphasis, superscripts, cross references, etc.

Bas de Bakker
X-Hive Corporation

Received on Friday, 1 November 2002 07:35:02 UTC