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

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 UTC