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

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

From: Paul Cotton <pcotton@microsoft.com>
Date: Fri, 20 Sep 2002 12:20:01 -0400
Message-ID: <E7AC4500EAB7A442ABA7521D18814397032FA0AA@tor-msg-01.northamerica.corp.microsoft.com>
To: "John Mercado" <johnkmercado@yahoo.com>, "XQuery Comments" <public-qt-comments@w3.org>

> 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
Received on Friday, 20 September 2002 12:20:37 GMT

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