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

[Bug 8454] New: Tokens in XPath subset for selectors/fields (editorial)

From: <bugzilla@wiggum.w3.org>
Date: Tue, 08 Dec 2009 08:19:48 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-8454-703@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8454

           Summary: Tokens in XPath subset for selectors/fields (editorial)
           Product: XML Schema
           Version: 1.0/1.1 both
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


In the XPath subset described in XSD 1.1 Part 1 section 3.11.6.2, production
[2] written as

[2]     Path       ::=          ('.//')? Step ( '/' Step )*

would be better written

[2]     Path       ::=          ('.' '//')? Step ( '/' Step )*

since the lexical rules that follow make it clear that ".//" is two tokens
which may be separated by whitespace.

Conversely, production [4] which is written as 

[4]     NameTest ::=    QName | '*' | NCName ':' '*'

would be better written

[4]     NameTest ::=    QName | '*' | NCName ':*'

since no whitespace is allowed within ":*" (or indeed, between the NCName and
the ":*").


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 8 December 2009 08:19:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 December 2009 08:19:59 GMT