W3C home > Mailing lists > Public > www-rdf-comments@w3.org > July to September 2003

XML literals, canonical form, and normal form C problem

From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
Date: Thu, 07 Aug 2003 11:03:41 -0400 (EDT)
Message-Id: <20030807.110341.103013569.pfps@research.bell-labs.com>
To: www-rdf-comments@w3.org

It appears to me that there is yet another problem with XML Literals.  My
reading of the canonicalization documents (Canonical XML, Version 1.0 and
Exclusive XML Canonicalization, Version 1.0) indicates to me that there are
canonicalized documents that have text that cannot be adquately captured by
Unicode strings in Normal Form C.

Consider, for example, the following XML document (rendered in ASCII, where
#xhh represents a UTF octet)

<?xml version="1.0" encoding="UTF-8"?>

I believe that its Exclusive Canonical Form (rendered in ASCII, where #xhh
is as above) is 


I thus do not see how 

<?xml version="1.0" encoding="UTF-8"?>
  <a rdf:parsetype="Literal">u#xCC#x88</a>

is to be translated into an RDF graph.

Peter F. Patel-Schneider
Bell Labs Research
Lucent Technologies
Received on Thursday, 7 August 2003 11:03:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:15:21 UTC