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

[Bug 5431] Normal characters, character references

From: <bugzilla@wiggum.w3.org>
Date: Sat, 26 Jan 2008 02:38:10 +0000
CC:
To: www-xml-schema-comments@w3.org
Message-Id: <E1JIavq-0007d3-Br@wiggum.w3.org>

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

           Summary: Normal characters, character references
           Product: XML Schema
           Version: 1.0/1.1 both
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: cmsmcq@w3.org
        ReportedBy: davep@iit.edu
         QAContact: www-xml-schema-comments@w3.org


The paragraph following the Normal Character ("Char") production in the RE
appendix says "Note that a ·normal character· can be represented either as
itself, or with a character reference."

Two problems: 

1.  '-' and '^' are ·normal characters·, but cannot always represent themselves
in an RE.

2.  A character reference is a string of characters; the productions and
accompanying semantics defining REs do not allow such a string to be
interpreted other than matching each character autonymously.  Character
references are used in productions, not REs.
Received on Saturday, 26 January 2008 02:38:18 GMT

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