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/>


           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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:08 UTC