- From: Franz Haeuslschmid <haeuslsc@fmi.uni-passau.de>
- Date: Wed, 6 Oct 2004 17:16:33 +0200 (CEST)
- To: public-qt-comments@w3.org
- Message-ID: <Pine.GSO.4.61.0410061715280.17053@fry.fmi.uni-passau.de>
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.
Received on Wednesday, 6 October 2004 15:18:00 UTC