W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2002

RE: Response to Tim Bray's..no minOccurs/maxOccurs?

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Sat, 21 Sep 2002 22:19:41 +0200
Message-ID: <DFF2AC9E3583D511A21F0008C7E621060453DBA6@daemsg02.software-ag.de>
To: John Mercado <johnkmercado@yahoo.com>, XQuery Comments <public-qt-comments@w3.org>

> Yes, I realize that, that's why I said "it doesn't say
> so in the spec".  So, my question is, what does it
> mean to say "XQuery doesn't support
> minOccurs/maxOccurs?  I can't think of any other place 
> minOccurs/maxOccurs would be relevant to XQuery. 

In XQuery you can define a function that expects an argument of type
xs:integer+. But you can't define a function that expects an argument of
type xs:integer[minOccurs=3, maxOccurs=10]. In that sense, XQuery doesn't
support minOccurs and maxOccurs.


Michael Kay
Received on Saturday, 21 September 2002 16:19:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:23 GMT