This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2058 - R-069: Problem in the regex grammar for charRange
Summary: R-069: Problem in the regex grammar for charRange
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 02:35 UTC by Sandy Gao
Modified: 2009-04-21 19:24 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-09 02:35:23 UTC
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
Comment 1 Sandy Gao 2005-09-09 02:35:36 UTC
Discussion at the Dec f2f:
http://www.w3.org/XML/Group/2001/12/xml-schema-ftf-minutes.html#ab1b3b3c11b3 

Paul Biron to propose erratum text. 

April 11: WG approved erratum text, with minor modifications.

Primer erratum E0-11 added. Datatypes erratum E2-18 added.