Re: Test Case with xml-dsig

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 UTC