W3C home > Mailing lists > Public > www-ql@w3.org > October to December 2002

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

From: Bas de Bakker <bas@x-hive.com>
Date: Fri, 1 Nov 2002 13:34:30 +0100
Message-ID: <41D11F414A26E942912B7E7696DC8E22155AAE@JAKARTA.xhive.archipel>
To: <www-ql@w3.org>

> 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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:15 UTC