W3C home > Mailing lists > Public > public-qt-comments@w3.org > October 2004

Re: [XQueryX] Inconsistency in schema definition

From: Jim Melton <jim.melton@acm.org>
Date: Wed, 06 Oct 2004 14:02:43 -0600
Message-Id: <6.0.0.22.2.20041006140144.03148218@gmstimap.oraclecorp.com>
To: Franz Haeuslschmid <haeuslsc@fmi.uni-passau.de>
Cc: public-qt-comments@w3.org

Franz,

As Mike Kay already said, well spotted.  I'm in the long, slow, and very 
painful process of trying to prepare a new XQueryX schema (updated to 
correspond to changes in XQuery over the past few months) and I'll ensure 
that this item is taken care of.

Many thanks,
    Jim

At 09:16 AM 10/6/2004 Wednesday, Franz Haeuslschmid wrote:
>Hello,
>
>I investigated the XML schema definition for XQueryX and came across a
>passage that stroke me:
>
><!-- This is the flwor expression -->
><xsd:complexType name="flworExpr">
>   <xsd:complexContent>
>     <xsd:extension base="expr">
>       <xsd:sequence>
>         <xsd:choice maxOccurs="unbounded">
>           <xsd:element ref="forClause"/>
>           <xsd:element ref="letClause"/>
>         </xsd:choice>
>         <xsd:element name="whereClause" minOccurs="0"/>
>         <xsd:element name="orderByClause" minOccurs="0"/>
>         <xsd:element name="returnClause"/>
>       </xsd:sequence>
>     </xsd:extension>
>   </xsd:complexContent>
></xsd:complexType>
>
>Is it intended, that the elements with name "whereClause", "orderByClause"
>and "returnClause" have no type information? I rather think, it should be
>
>         <xsd:element ref="whereClause" minOccurs="0"/>
>         <xsd:element ref="orderByClause" minOccurs="0"/>
>         <xsd:element ref="returnClause"/>
>
>to reference globally defined elements.
>
>By the way: how will those little changes be incorporated into the working
>draft?
>
>Regards,
>Franz Häuslschmid.

========================================================================
Jim Melton --- Editor of ISO/IEC 9075-* (SQL)     Phone: +1.801.942.0144
   Co-Chair, W3C XML Query WG; F&O (etc.) editor    Fax : +1.801.942.3345
Oracle Corporation        Oracle Email: jim dot melton at oracle dot com
1930 Viscounti Drive      Standards email: jim dot melton at acm dot org
Sandy, UT 84093-1063 USA          Personal email: jim at melton dot name
========================================================================
=  Facts are facts.   But any opinions expressed are the opinions      =
=  only of myself and may or may not reflect the opinions of anybody   =
=  else with whom I may or may not have discussed the issues at hand.  =
======================================================================== 
Received on Wednesday, 6 October 2004 20:04:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:22 UTC