Next in thread → Next in month →

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

From
Philippe Poulard <>
To
Andrew Welch <>
Date
2006-11-21T13:44:25Z
ID
<>
Thread
Re: [xml-dev] Java xml canonicalizer for comparing xml fragments
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?
> 
> thanks
> andrew
> 

hi,

you can try XUnit for that purpose ; instead of comparing the canonical 
form of your documents, it will compare 2 DOM documents or 2 nodes

when it find some differences, it reports what differs and where

it is very basic but helpful if you have to compare thousands of documents

XUnit is an application available with RefleX
http://reflex.gforge.inria.fr/xunit.html

-- 
Cordialement,

               ///
              (. .)
  --------ooO--(_)--Ooo--------
|      Philippe Poulard       |
  -----------------------------
  http://reflex.gforge.inria.fr/
        Have the RefleX !
Next in thread → Next in month →