Re: [xml-dev] Java xml canonicalizer for comparing xml fragments

From
Mike Moran <>
To
Andrew Welch <>
Date
2006-11-20T14:02:19Z
ID
<>
Thread
Re: [xml-dev] Java xml canonicalizer for comparing xml fragments
On Monday, November 20, 2006, at 01:43PM, "Andrew Welch" <> wrote:
>Is there a free Java xml canonicalizer out there to allow the
>comparing of xml fragments?
>
>If not, how does everyone compare xml fragments or files for equality?

I've recently used the XOM library to do canonical XML and then compare the resultant XML files
for equality. It was pretty easy to do. See http://www.xom.nu/tutorial.xhtml#d0e1970

I didn't try it with anything else so there may be better libraries.

-- 
Mike http://wiki.houseofmoran.com/