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

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

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Fri, 20 Sep 2002 15:37:20 -0400 (EDT)
Message-ID: <E5B814702B65CB4DA51644580E4853FB03E9FE3C@red-msg-12.redmond.corp.microsoft.com>
To: "John Mercado" <johnkmercado@yahoo.com>, "XQuery Comments" <public-qt-comments@w3.org>




John:
What this means is that the XQuery type system is a simplified form
of the XML Schema type system.  In particular, the minOccurs and
maxOccurs declarations are mapped into the occurrence indicators, *,+,?
and 1.
See section 7.1.4.2 of the Formal Semantics document.

All the best, Ashok 
===========================================================
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation
212 Hessian Hills Road
Croton-On-Hudson, NY 10520 USA 
Redmond: 425-703-9462                New York: 914-271-6477 



-----Original Message-----
From: John Mercado [mailto:johnkmercado@yahoo.com] 
Sent: Thursday, September 19, 2002 1:57 PM
To: XQuery Comments
Subject: Re: Response to Tim Bray's..no minOccurs/maxOccurs?





Sorry to latch onto one tiny part of an important
message, but I don't understand what it means to say
that XQuery doesn't support minOccurs/maxOccurs.  Does
that mean that the "validate" expression doesn't pay
attention to them?  If so, it doesn't say so in the
spec.  I can't think what else that would mean...

Thanks,
John

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
Received on Sunday, 22 September 2002 08:49:04 GMT

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