From: Stefan B. <bo...@ap...> - 2010-02-18 14:54:07
|
On 2010-02-17, Nicholas W <44...@lo...> wrote: > I can check that a piece of XML validates with an XSD that I have in a > jar like this: [snip] > And I can assert that two pieces of XML are similar like this: [snip] > But how can I compare two XML strings that are conformant to an XSD in > a jar? I'm not sure I understand what you want. You've already shown how two compare two XML strings so what else do you need? Are you looking for a way to assert that two pieces of XML conform to the same schema and are similar? There is no built-in way to do that, you have to implement it in three steps just as you've shown. Stefan |