/usr/share/doc/libxmlunit-java-doc/userguide/html/apas03.html is in libxmlunit-java-doc 1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>A.3. Changes from XMLUnit 1.2 to 1.3</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="XMLUnit Java User's Guide"><link rel="up" href="apa.html" title="A. Changes"><link rel="prev" href="apas02.html" title="A.2. Changes from XMLUnit 1.1 to 1.2"><link rel="next" href="apas04.html" title="A.4. Changes from XMLUnit 1.3 to 1.4"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">A.3. Changes from XMLUnit 1.2 to 1.3</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apas02.html">Prev</a> </td><th width="60%" align="center">A. Changes</th><td width="20%" align="right"> <a accesskey="n" href="apas04.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="Changes%201.3"></a>A.3. Changes from XMLUnit 1.2 to 1.3</h3></div></div></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="Breaking%20Changes%201.3"></a>A.3.1. Breaking Changes</h4></div></div></div></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="New%20Features%201.3"></a>A.3.2. New Features</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
If XMLUnit doesn't find a matching Element for a control
Element, it will match it against the first unmatched test
Element (if there is one) instead of creating
a <code class="literal">CHILD_NODE_NOT_FOUND</code> Difference.
There now is a new configuration
option <code class="literal">compareUnmatched</code> in
the <code class="literal">XMLUnit</code> class that can be used to
turn off this behavior - as a result
two <code class="literal">CHILD_NODE_NOT_FOUND</code> Differences
(one for the unmatched control Element and one for an
unmatched test Element) will be created instead of a
single Difference comparing the two likely unrelated
nodes. See <a class="xref" href="ar01s03.html#Comparison%20of%20Unmatched%20Elements" title="3.8.6. Comparison of Unmatched Elements">Section 3.8.6, “Comparison of Unmatched Elements”</a>.
<a class="ulink" href="https://sourceforge.net/tracker/?func=detail&aid=2758280&group_id=23187&atid=377768" target="_top">Issue 2758280</a>.
</li></ul></div></div><div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="Bugfixes%201.3"></a>A.3.3. Important Bug Fixes</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
If XMLUnit couldn't match attributes (i.e. it encountered
a <code class="literal">ATTR_NAME_NOT_FOUND_ID</code> kind of
difference), the XPath expressions of the node details
have been random. <a class="ulink" href="https://sourceforge.net/tracker/index.php?func=detail&aid=2386807&group_id=23187&atid=377768" target="_top">Issue 2386807</a>.
</li><li class="listitem">
In some cases XMLUnit matched test nodes to multiple
control nodes and then created a "missing child"
difference for remaining test nodes even though they would
have been valid targets for control node matches as well.
<a class="ulink" href="https://sourceforge.net/tracker/?func=detail&aid=2807167&group_id=23187&atid=377768" target="_top">Issue 2807167</a>.
</li></ul></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apas02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="apa.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="apas04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">A.2. Changes from XMLUnit 1.1 to 1.2 </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> A.4. Changes from XMLUnit 1.3 to 1.4</td></tr></table></div></body></html>
|