W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2008

[Bug 5778] New: regex: "{" is a valid Char

From: <bugzilla@wiggum.w3.org>
Date: Fri, 20 Jun 2008 14:42:59 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-5778-703@http.www.w3.org/Bugs/Public/>

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

           Summary: regex: "{" is a valid Char
           Product: XML Schema
           Version: 1.0 only
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: cmsmcq@w3.org
        ReportedBy: mike@saxonica.com
         QAContact: www-xml-schema-comments@w3.org


According to the regex grammar for 1.0, the characters "{" and "}" are valid
instances of Char. This means that the parse for a{2} is ambiguous, and there
is a parse for a{,2} despite the fact that we have a Note saying it is invalid.

See also bug #2216 and bug #4010

Raised during the Schema WG meeting as a side-effect of closing bug #4010


-- 
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 Friday, 20 June 2008 14:43:37 GMT

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