From: Stefan B. <bo...@ap...> - 2007-05-21 04:24:27
|
Sorry, I completely overlooked the second part of your initial email. On Fri, 18 May 2007, Elliot Metsger <eme...@jh...> wrote: > So is there a workaround for setting an EntityResolver on the > parsers with 1.0? Or am I missing something obvious? The only way I see is that you create the Document instances yourself. Diff has constructors that accept Document as their arguments so it should work. Use XMLUnit.newControlParser(), set the EntityResolver and invoke parse() on the DoucmentBuilder. Stefan |