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

[XPath 2.0] XSCH-XPATH-002

From: Lisa Martin <lmartin@ca.ibm.com>
Date: Sun, 15 Feb 2004 13:25:34 -0500
To: public-qt-comments@w3.org
Cc: W3C XML Schema WG <w3c-xml-schema-wg@w3.org>
Message-ID: <OF19A8FD54.0A7AAD60-ON85256E3B.00637A36-85256E3B.00659085@ca.ibm.com>

Dear Colleagues,

This comment pertains to the Nov. 12 2003 version of XPath 2.0 [1].

[1] http://www.w3.org/TR/xpath20/

Lisa Martin, on behalf of the XML Schema Working Group

Section Matching an ElementTest and an Element Node
      Bullet 2 states:

         2. element(ElementName, TypeName) matches a given element node if:
               a. ... , and:
               b. type-matches(TypeName, AT) is true, where AT is the type
                  the given element node.   ...

      The first example is:
         Example: element(person, surgeon) matches an non-nilled element
         whose name is person and whose type annotation is surgeon.

 Given the rules for type-matches (ET, AT), shouldn't the example instead
say " ... and whose type annotation is surgeon, or is a type derived
 from surgeon"?    This comment applies to many examples in this, and
following sections.
Received on Sunday, 15 February 2004 13:25:38 UTC

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