[jdom-interest] JDOM Canonicalization
Per Norrman
pernorrman at telia.com
Thu Jun 24 08:59:21 PDT 2004
Hi,
referring to our recent discussion of canonical XML output from
a JDOM tree, I've implemented a Canonicalizer for JDOM Documents.
It borrows code from the XMLOutputter and NamespaceStack. Elliotte's
XOM Canonicalizer has been inspirational, as well.
Consider this alpha code. There is an embryo for a more exhaustive
and automated test suite. The test data is taken from section 3 of the
Canonical XML spec (http://www.w3.org/TR/xml-c14n).
Enjoy!
/pmn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdom-c14n.zip
Type: application/x-zip-compressed
Size: 14093 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20040624/3b2e21d7/jdom-c14n.bin
More information about the jdom-interest
mailing list