From: Furash G. <fu...@mc...> - 2007-05-17 17:59:17
|
I'm diffing the following two bits of XML, that look identical to me: <soapenv:Body = xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/"> <GetLoginKey xmlns=3D"http://xml.objacct.com/"> <CompanyID>MCAO</CompanyID> <UserID>admin</UserID> <Password>abc123</Password> <ReturnType>0</ReturnType> </GetLoginKey> </soapenv:Body> <soapenv:Body = xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/"> <GetLoginKey xmlns=3D"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 =3D 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' |