W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2006

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

From: <bugzilla@wiggum.w3.org>
Date: Fri, 15 Dec 2006 16:42:21 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1GvG8b-0001Gl-C4@wiggum.w3.org>


           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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:06 UTC