Re: [XQueryX] Inconsistency in schema definition

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