Lists Home |
Date Index |
----- Original Message -----
From: "Elliotte Rusty Harold" <firstname.lastname@example.org>
> 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.