[Bug 5431] Normal characters, character references

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





------- Comment #2 from davep@iit.edu  2008-01-27 02:40 -------
(In reply to comment #1)
> As is revealed by following the hyperlink, the character references it is
> referring to are those (such as #) used in XML, not those (such as #x5B)
> used in production rules.

You got me.  :-(  I'm embarrassed.  See following.

> It might be clearer to say something like: "Note: when regular expressions are
> written in an XML document, for example in the value attribute of the
> xs:pattern element, non-ASCII characters can be represented using XML entity or
> character references. For this reason, the regular expression syntax does not
> provide any way of representing characters using octal or hexadecimal character
> codes. The syntax defined here assumes that XML entity and character references
> have already been expanded."

Good start.  We also will need to comment that people using the mechanism in
other situations (such as born-binary derivations in non-XML environments) will
have to provide other solutions.

Received on Sunday, 27 January 2008 02:40:31 UTC