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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>A.6.Changes from XMLUnit 1.5 to 1.6</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="apas05.html" title="A.5.Changes from XMLUnit 1.4 to 1.5"></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.6.Changes from XMLUnit 1.5 to 1.6</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apas05.html">Prev</a></td><th width="60%" align="center">A.Changes</th><td width="20%" align="right"></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a name="Changes%201.6"></a>A.6.Changes from XMLUnit 1.5 to 1.6</h3></div></div></div>
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="Breaking%20Changes%201.6"></a>A.6.1.Breaking Changes</h4></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
In cases of <code class="literal">ATTR_NAME_NOT_FOUND</code> and
<code class="literal">CHILD_NODE_NOT_FOUND</code> differences the
value used to be the local name of the missing attribute
or node. It will now be a Java5-QName-like
<code class="literal">{NS-URI}LOCAL-NAME</code> string if the
attribute or node belonged to an XML namespace.
<a class="ulink" href="" target="_top">Issue
65</a>
</li></ul></div>
</div>
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="New%20Features%201.6"></a>A.6.2.New Features</h4></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
New <code class="literal">assertXpathEvaluatesTo</code>
overloads in <code class="literal">XMLAssert</code> and a new
<code class="literal">QualifiedName</code> class
can be used to assert the stringified result of an XPath
expression is actually a qualified name.
<a class="ulink" href="" target="_top">Feature
Request 25</a>
</li></ul></div>
</div>
<div class="section"><div class="titlepage"><div><div><h4 class="title"><a name="Bugfixes%201.6"></a>A.6.3.Important Bug Fixes</h4></div></div></div>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
The JAXP 1.3 based validator ignored
<code class="literal">xsi:namespaceLocation</code> and
<code class="literal">xsi:noNamespaceLocation</code> attributes.
They will now be used if you don't specify any sources at
all, but are still ignored if you
specify any schema sources - since this is the way
<code class="literal">javax.xml.validation</code> works.
<a class="ulink" href="" target="_top">Issue
64</a>
</li><li class="listitem">
When an attribute cannot be found (a
<code class="literal">ATTR_NAME_NOT_FOUND</code> difference) the
XPath on the side where the attribute exists will now
point to the attribute itself rather than its owning element.
<a class="ulink" href="" target="_top">Feature
Request 33</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="apas05.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="apa.html">Up</a></td><td width="40%" align="right"></td></tr><tr><td width="40%" align="left" valign="top">A.5.Changes from XMLUnit 1.4 to 1.5</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"></td></tr></table></div></body></html>
|