W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

[Bug 2058] R-069: Problem in the regex grammar for charRange

From: <bugzilla@wiggum.w3.org>
Date: Fri, 09 Sep 2005 02:35:23 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EDYjb-0003LS-An@wiggum.w3.org>

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

           Summary: R-069: Problem in the regex grammar for charRange
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 2: Datatypes
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


The definition of a Character Range includes EBNF grammar rules [17] to [22] 
and some prose, which says:

A single XML character is a character range that identifies the set of 
characters containing only itself. All XML characters are valid character 
ranges, except as follows:

The [, ], and \ characters are not valid character ranges; 
The ^ character is only valid at the beginning of a positive character group if 
it is part of a negative character group; and 
The - character is a valid character range only at the beginning or end of a 
positive character group. 
The last item contradicts production [17] of the grammar.

See http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Sep/0045.html
Received on Friday, 9 September 2005 02:35:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:09 GMT