Hi,
overall the library is working very nice, thanks for it.
But when I run following code, I get as a result that the XMLs do not
match - are not equal. Is this intended behavior? I tried to debug the
source code but it seems to be pretty complex for me, I believe you can
find the cause much faster than me.
// code start
import java.io.IOException;
import org.custommonkey.xmlunit.XMLTestCase;
import org.xml.sax.SAXException;
public static void main(String[] args) {
XMLTestCase xmlTestCase = new XMLTestCase(){};
String original = "<a> </a>"; // here are some space characters
in between the beginning-end tags
String newVersion = "<a></a>";
try {
xmlTestCase.assertXMLEqual(original, newVersion);
} catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
// code end
Best regards
Igor Zemsky
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Xmlunit-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xmlunit-general