Hi Anamika, below is yesterday's response of mine, which you should have received if you are subscribed to this list ...
Stefan On Wed, 02 May 2007, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Wed, 2 May 2007, Anamika Majumder <[EMAIL PROTECTED]> > wrote: > >> Hello - I have written the following method in which I am trying to >> first validate two xml documents against an external dtd and then >> my aim is to compare the two validated xml documents, but am >> getting an error (no protocol InfoSettlementResponse.dtd) during >> the comparing step because of the external dtd. > > Unfortunately there is no way as simple as in using Validator when > you use Diff. > > Your best option is to implement an EntityResolver that maps your > public ID to the File. A convenient option may be to use Apache's > XML resolver and a catalog file, but implementing EntityResolver is > relatively straight forward for simple cases as well. > > Stefan ------------------------------------------------------------------------- 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
