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
To: www-xml-schema-comments@w3.org
Message-Id: <E1JIavq-0007d3-Br@wiggum.w3.org>


           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 UTC

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