[Bug 4087] XPath used for "assertion" should not use "token"

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


cmsmcq@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Keywords|                            |unclassified




------- Comment #2 from cmsmcq@w3.org  2007-02-22 20:39 -------
The reference is not to any use of the term 'token' in XPath
documentation; the reference is to the schema for schemas, which
currently says in part

        <xs:attribute name="test">
          <xs:simpleType>
            <xs:annotation>
              <xs:documentation>A subset of XPath expressions for use in
assertion tests</xs:documentation>
            </xs:annotation>
            <xs:restriction base="xs:token">
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>

The point is well taken; this should be fixed.

There is no need for tokenization by the schema processor
in any case, since it will be performed by the XPath processor.
The XPath processor's tokenization will be more reliable,
since it will be informed by the XPath grammar in ways that
XSD whitespace processing is not.

Received on Thursday, 22 February 2007 20:40:04 UTC