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

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

           Summary: XPath used for "assertion" should not use "token"
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


Tokne has whiteSpace "collapse", which means if an XPath has a string literal
that contains consecutive whitespaces or new line/tab characters, they will be
normalized, which may not be what's intended by the schema author.

Suggest to change the type to xs:string or a type derived from xs:string.

Received on Friday, 15 December 2006 16:42:32 UTC