Re: [xml-dev] Canonicalization software

From
Karl Waclawek <>
To
"xml-dev@lists. xml. org" <>, Elliotte Rusty Harold <>
Date
2004-02-02T02:39:44Z
ID
<002401c3e935$d10d8ad0$0207a8c0@karl>
Thread
Re: [xml-dev] Canonicalization software
----- Original Message ----- 
From: "Elliotte Rusty Harold" <>

> I'd like to compare the output of the canonicalizer in XOM with an 
> independent effort, since there doesn't seem to be any official test 
> suite for canonical XML.
> 
> So far I've established that IBM's XSS4J and Elcel's xmlcanon are too 
> buggy to be useful. libxml may work, but it's not clear if there's 
> any user interface that lets me canonicalize samples aside without 
> writing C code. Is there any canonicalization program which runs on 
> Linux, does not require a complicated build process, and provides a 
> simple command line interface?

James Clark wrote a program called "xmlwf" which ships with Expat.
It has an option to turn an XML document into its canonical form, 
but I think the definition of canonical XML used by James Clark 
at the time he wrote it, is not current anymore.

Karl