W3C home > Mailing lists > Public > public-qt-comments@w3.org > December 2005

[Bug 2523] xqx: pathExpr and stepExpr

From: <bugzilla@wiggum.w3.org>
Date: Sat, 17 Dec 2005 01:42:29 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1EnR5h-0008Ij-SZ@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2523





------- Additional Comments From jim.melton@acm.org  2005-12-17 01:42 -------
Thanks very much for your comment.  As it happens, this same error was also
reported to me through a private communication from somebody else. 

The solution that I devised would result in an XML Schema element definition
that looks like the following.  The relevant change is to make the element
xpathAxis optional and remove the now-redundant elements nameText and Wildcard. 

  <xsd:element name="stepExpr">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:choice>
          <xsd:sequence>
            <xsd:element ref="xpathAxis" minOccurs="0"/>
            <xsd:choice>
              <xsd:element ref="kindTest"/>
              <xsd:element ref="nameTest"/>
              <xsd:element ref="Wildcard"/>
             </xsd:choice>
          </xsd:sequence>
          <xsd:element name="filterExpr">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:group ref="filterExpr"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
        <xsd:element name="predicates" type="exprList" minOccurs="0"/>
      </xsd:sequence>
    </xsd:complexType>
  </xsd:element>

I will propose this to the Working Group and, if approved, make the change as
indicated.
Received on Saturday, 17 December 2005 01:42:34 GMT

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