I'm diffing the following two bits of XML, that look identical to me:

<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
    <GetLoginKey xmlns="http://xml.objacct.com/";>
        <CompanyID>MCAO</CompanyID>
        <UserID>admin</UserID>
        <Password>abc123</Password>
        <ReturnType>0</ReturnType>
    </GetLoginKey>
</soapenv:Body>

<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
    <GetLoginKey xmlns="http://xml.objacct.com/";>
        <CompanyID>MCAO</CompanyID>
        <UserID>admin</UserID>
        <Password>abc123</Password>
        <ReturnType>0</ReturnType>
    </GetLoginKey>
</soapenv:Body>

However, when I do:

 Diff diff = new Diff(shouldBe, msgBody);

(where should be and msgBody are string representations)

I get the error:

ERROR:  'com/sun/org/apache/xalan/internal/xsltc/runtime/AttributeList'
FATAL ERROR:  'Could not compile stylesheet'

-------------------------------------------------------------------------
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