I've made some good experiences with XMLUnit [1]. It compares XML trees for equivalency (what that is is quite configurable) instead of comparing them on the basis of their text serialization.
Cheers, -- Richard [1] http://xmlunit.sourceforge.net On 30.09.2014, at 04:07, Marshall Schor <[email protected]> wrote: > Hmmm, > > Perhaps we should ignore this analysis (below). A different page shows 3 > failed > tests, all of which are because of the bug that was "fixed", but a test case > wasn't updated. > > I need to update the testcase... > > -Marshall > > On 9/29/2014 10:04 PM, Marshall Schor wrote: >> I took a look. It says some tests are failing to match expected XML strings >> with what was produced. >> >> When I looked at the mis-compares, the expected were strings like: >> <xml.tag ... attributes /> >> >> and the actual was the same except there was an explicit closing xml tag, for >> instance for the above: >> <xml.tag ... attributes></xml.tag> >> >> I'm guessing the JVM being used had a different xml impl. >> >> The log shows the jvm as >> >> $ f:\hudson\tools\java\latest-1.6-64/bin/java, on "windows1" machine which >> is Windows 2008 Server build server (hudson-win.apache.org) >> >> If anyone has ideas on how to improve the tests (so consistent XML is >> generated), please post replies :-) >> >> -Marshall >> >> On 9/29/2014 6:38 PM, Apache Jenkins Server wrote: >>> See <https://builds.apache.org/job/UIMA-SDK/org.apache.uima$uimaj-json/568/>
