Re: [xml-dev] Canonicalizer that uses XML Schemas (rather than DTDs)?

From
Elliotte Harold <>
To
"Roger L. Costello" <>
Date
2004-11-23T00:47:37Z
ID
<>
Thread
Re: [xml-dev] Canonicalizer that uses XML Schemas (rather than DTDs)?
Roger L. Costello wrote:


> Why would it matter that a canonicalizer tool utilize an
> XML Schema rather than a DTD?  Where would it make a difference?

Such a canonicalizer would be nonconformant to the XML canonicalization 
specification. It would not produce the specified result in many 
important cases. This would have downstream effects of breaking XML 
digital signatures.

The purpose of canonicalization is not simply to normalize a document by 
removing its DTD and applying default attribute values. Canonicalization 
is intended to reproducibly create byte-per-byte identical binary data 
stream from equal XML documents, for a very precise definition of 
"equal". Changing the definition of "equal" pulls the legs out from 
under canonicalization. :-(

-- 
Elliotte Rusty Harold  
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