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

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. 

--- Paul Cotton <pcotton@microsoft.com> wrote:
> > Does that mean that the "validate" expression
> doesn't pay
> > attention to them? 
> 
> No.  XQuery 1.0 [1] clearly states:
> 
> "The validate expression invokes the full schema
> validation process,
> except that identity constraints, as defined in
> section 3.11.4 of [XML
> Schema] Part 1, are not applied. All facets of
> simple types are checked,
> and default values are supplied as defined in the
> XML Schema
> specification."
> 
> /paulc
> 
> [1] http://www.w3.org/TR/xquery/#id-validate 
> 
> 
> Paul Cotton, Microsoft Canada 
> 17 Eleanor Drive, Nepean, Ontario K2E 6A3 
> Tel: (613) 225-5445 Fax: (425) 936-7329 
> <mailto:pcotton@microsoft.com> 
> 
> 
> > -----Original Message-----
> > From: John Mercado [mailto:johnkmercado@yahoo.com]
> > Sent: Thursday, September 19, 2002 4: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
> 


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

Received on Friday, 20 September 2002 13:36:59 UTC