[
Lists Home |
Date Index |
Thread Index
]
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 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
|