W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > July 2003

Re: quick syntax question.

From: Graham Klyne <gk@ninebynine.org>
Date: Mon, 28 Jul 2003 11:09:59 +0100
Message-Id: <>
To: pat hayes <phayes@ihmc.us>, Dave Beckett <dave.beckett@bristol.ac.uk>
Cc: w3c-rdfcore-wg@w3.org

At 16:39 27/07/03 -0500, pat hayes wrote:
>3. If so, are there any literal character sequences which *cannot* be sent 
>through RDF/XML? Or does XML provide an escape for every Unicode code point?

Short answer: Yes.

Did you see this:

The relevant bit is this:
[66]    CharRef    ::=    '&#' [0-9]+ ';'
| '&#x' [0-9a-fA-F]+ ';' [WFC: Legal Character]

Well-formedness constraint: Legal Character

Characters referred to using character references must match the production
for Char.
-- http://www.w3.org/TR/REC-xml#NT-CharRef

OOPS!  That well-formedness constraint means the awkward characters are not
allowed.  I was wrong, the awkward characters cannot be encoded in XMl.


Graham Klyne
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Monday, 28 July 2003 07:03:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:24 UTC