On 2010-02-17, Nicholas W <[email protected]> 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Xmlunit-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xmlunit-general
