OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



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

[ 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!


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS