W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > January to March 2005

Re: Test Case with xml-dsig

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Mon, 07 Feb 2005 18:05:01 -0500
Message-ID: <4207F41D.1020205@metalab.unc.edu>
To: John Boyer <JBoyer@PureEdge.com>
CC: Norman Walsh <Norman.Walsh@Sun.COM>, Joseph Reagle <reagle@mit.edu>, Gabe Wachob <gwachob@wachob.com>, public-xml-id@w3.org, w3c-ietf-xmldsig@w3.org

John Boyer wrote:

> C14N isn't "just plain broken" with respect to xml:id.
> 
> C14N was produced years before xml:id and therefore 
> "does not support" xml:id.
> 
> Moreover, it cannot be modified to do so without also
> upgrading XPath, which also "does not support" xml:id.

The brokenness of C14N with respect to canonicalization has nothing to 
do with XPath. It has everything to do with the inheritance of all 
attributes in the XML namespace.


> Note that XML Schema can declare something to be an ID,
> and C14N "does not support" that either.

But it doesn't need to. Attribute type information, be it schema or DTD 
based, does not survive the canonicalization process. The mismatch 
between xml:id and C14N does not depend on the type of the xml:id 
attribute.

-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
Received on Monday, 7 February 2005 23:05:03 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.30 : Monday, 7 February 2005 23:05:04 GMT