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: <5.1.0.14.2.20030728110827.02525eb8@127.0.0.1>
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:
   http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2003Jul/0323.html
?

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.
]]

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E
Received on Monday, 28 July 2003 07:03:46 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:58:49 EDT