Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Canonicalization software

From: Elliotte Rusty Harold <elharo@-------.---.--->
To: Robin LaFontaine <robin@--------.--->
Date: 2/2/2004 1:53:00 PM
At 12:27 PM +0000 2/2/04, Robin LaFontaine wrote:
Elliotte,

I'm wondering how you are going to test these tools. The 
canonicalization process should not change the data, though it will 
re-order attributes and change prefixes.

After I've canonicalized, a straight text diff or binary compare can 
find any differences. No fancy infoset comparisons are necessary. My 
plan, if I can find a reliable tool, is just to generate some 
canonicalized output from various input, then compare that output to 
the output of my own canonicalizer to see if it's working correctly 
or not. Given the current state of these tools and the lack of a 
normative test suite I wouldn't be surprised if some of the 
differences I turn up are bugs in the independent canonicalizer, so 
I'll have to check each difference manually against the spec. 
However, I should eventually be able to generate a reasonable test 
suite for canonical XML by comparing enough independent 
implementations and using the spec to figure out whose right when 
they disagree.
-- 

   Elliotte Rusty Harold
   elharo@m...
   Effective XML (Addison-Wesley, 2003)
   http://www.cafeconleche.org/books/effectivexml            
   http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent