W3C home > Mailing lists > Public > www-xml-canonicalization-comments@w3.org > March 2000

c14n messes up qnames in attribute values

From: Dan Connolly <connolly@w3.org>
Date: Mon, 20 Mar 2000 11:33:21 -0600
Message-ID: <38D660E1.D02EC720@w3.org>
To: www-xml-canonicalization-comments@w3.org
According to

the canonical form of:

<aDoc xmlns:aPrefix="http://example.com/">
<anElt anAttr="aPrefix:anNCName">


<n1:aDoc xmlns:n1="http://example.com/">
<n1:anElt xmlns:n1="http://example.com/" anAttr="aPrefix:anNCName">

Note that aPrefix in the attr value didn't get changed to n1.

This merits at least a warning in the datatypes spec
(if not in the c14n spec too).

A hack would be to revise the namespaces spec to specify a syntax
for attribute names for attributes whose names are qnames, ala:


then the c14n spec could say how to canonicalize such attribute values.

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Monday, 20 March 2000 12:34:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:46:46 UTC