Hi All,
Hope all is well.
I was just wondering if anyone had written any code to compare 2
Configuration hierarchies before ?
ie: something like:
Configuration c1 = builder.buildFromFile( "generated.xml" );
Configuration c2 = builder.buildFromFile( "real.xml" );
if ( ConfigurationComparator.equals( c1, c2 ) )
{
// c1 == c2
}
else
{
// c1 != c2
}
Or would it be easier to do this at some lower level with DOM ?
Essentially what I'd like to do is compare that the actual
content of c1 and c2 are the same (ie. not necessarily in the same
element order).
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&'
&&&&.
&&&&&&&:
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>