Hi,

 

I'm using the DetailedDiff to compare XML's to find out what the
differences are.  I was wondering if there is some XML's Test cases out
there that would hit all the cases in the DifferenceConstants?

 

For example, if I have the following XML's, it will produce a difference
of "presence of child nodes to be"

 

XML Document 1

<?xml version="1.0" encoding="UTF-8"?>

<Root>

   <OneElementDeep>

      <BLAH/>

   </OneElementDeep>

</Root>

 

XML Document 2

<?xml version="1.0" encoding="UTF-8"?>

<Root>

   <OneElementDeep>

      <BLAH>

         <Presence>Child</Presence>

      </BLAH>

   </OneElementDeep>

</Root>

 

 

This would help me handle all the cases there are produced from the
DetailedDiff and handle them accordingly.  Right now I'm building up a
java class that will generate a Delta between the two XML's.

 

Thanks, Michael

 

Michael Schumacher  |  Systems Analyst, Application Development, Carlson
Hotels Worldwide

phone 402.501.6195  |  [EMAIL PROTECTED]

 

 

<<image001.gif>>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general

Reply via email to