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: Sun, 27 Jan 2008 02:40:23 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1JIxRX-0004Pc-KL@wiggum.w3.org>


------- 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 &#x23;) 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

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