/usr/share/doc/libxmlunit-java-doc/index.html is in libxmlunit-java-doc 1.3-2.
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 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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><XmlUnit/></title>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<meta name="keywords"
content="unit testing, test driven development, xml, xmlunit, junit, nunit">
<style type="text/css">
body{font-family: Helvetica, Arial, sans-serif}
code{font-style: italic}
</style>
</head>
<body>
<table width="100%" height="100%" border="0">
<tbody>
<tr>
<td colspan="2"><img align="left" src="xmlunit.png"
alt="<xml-unit/>" width="331" height="100"> <a href="http://sourceforge.net/projects/xmlunit"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=23187&type=13" width="120" height="30" border="0" alt="Get XML Unit at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a><br>
<h1>XMLUnit - JUnit and NUnit testing for XML</h1>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<p>For those of you who've got into it you'll know that test
driven development is great. It gives you the confidence to change code
safe in the knowledge that if something breaks you'll know about it.
Except for those bits you don't know how to test. Until now XML has
been one of them. Oh sure you can use <code><b>"<stuff></stuff>"</b>.equals(<b>"<stuff></stuff>"</b>);</code>
but is that really gonna work when some joker decides to output a <code><b><stuff/></b></code>?
-- damned right it's not ;-)</p>
<p>XML can be used for just about anything so deciding if two
documents are equal to each other isn't as easy as a character for
character match. Sometimes</p>
<table bgcolor="black">
<tbody>
<tr>
<td bgcolor="white">
<pre><stuff-doc><br> <stuff><br> Stuff Stuff Stuff<br> </stuff><br> <more-stuff><br> Some More Stuff<br> </more-stuff><br></stuff-doc> </pre>
</td>
<td bgcolor="white">equals</td>
<td bgcolor="white">
<pre><stuff-doc><br> <more-stuff><br> Some More Stuff</more-stuff><br> <stuff>Stuff Stuff Stuff</stuff><br></stuff-doc> </pre>
</td>
</tr>
</tbody>
</table>
<p>and sometimes it doesn't... With XMLUnit you get the control,
and you get to decide.</p>
</td>
</tr>
<tr>
<td>
<h2>XMLUnit for Java</h2>
</td>
<td width="240"> <a href="http://www.junit.org/"><img
src="http://www.junit.org/images/junitlogo.gif" alt="JUnit.org"
border="0"></a> </td>
</tr>
<tr>
<td colspan="2">
<p>The current stable release is <a
href="http://sourceforge.net/project/showfiles.php?group_id=23187&package_id=15921&release_id=605991">XMLUnit
1.2</a>, June 2008.</p>
<p>XMLUnit for Java provides two JUnit extension classes, <code>XMLAssert</code>
and <code>XMLTestCase</code>,
and a set of supporting classes (e.g. <code>Diff</code>, <code>DetailedDiff</code>,<code>Transform</code>,<code>SimpleXpathEngine</code>,<code>Validator</code>,<code>NodeTest</code>)
that allow assertions to be made about:</p>
<ul>
<li>The differences between two pieces of XML</li>
<li>The outcome of transforming a piece of XML using XSLT</li>
<li>The evaluation of an XPath expression on a piece of XML</li>
<li>The validity of a piece of XML</li>
<li>Individual nodes in a piece of XML that are exposed by DOM
Traversal</li>
</ul>
<p>XMLUnit for Java can also treat HTML content (even
badly-formed HTML) as valid XML to allow these assertions to be made
about the content of web pages too.</p>
<table border="0" cellspacing="5" cellpadding="5">
<tbody>
<tr>
<td>Read the User's Guide (<a
href="userguide/XMLUnit-Java.pdf">PDF</a> or <a
href="userguide/html/index.html">HTML</a>)</td>
<td><a href="example.html">See some example code</a></td>
<td><a href="api/index.html">Browse the Javadocs</a></td>
<td><a
href="http://xmlunit.svn.sourceforge.net/viewvc/xmlunit/trunk/xmlunit/">Visit
the Subversion repository</a> </td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<h2>XMLUnit for .Net</h2>
</td>
<td width="240"> <a
href="http://nunit.org/"><img src="http://nunit.org/img/logo.gif"
alt="NUnit.org" border="0"></a> </td>
</tr>
<tr>
<td colspan="2">
<p>The current release is <a
href="https://sourceforge.net/project/showfiles.php?group_id=23187&package_id=91308">XmlUnit
.Net 0.3.1</a>, February 2008</p>
<p>XMLUnit for .Net provides NUnit extension classes written in
C#, e.g. <code>XmlAssertion</code> and <code>XmlDiff</code>, that allow
assertions to be made about the differences between two pieces of XML,
the validity of a piece of XML, the evaluation of an XPath expression
on a piece of XML, and the result of an XSL Transform.<br>
</p>
<p>Please be aware that the .Net code base is not as advanced as its Java
counterpart, in particular there is currently no explicit support for namespaces.</p>
</td>
</tr>
<tr>
<td colspan="2">
<h2>News</h2>
<p> RSS feeds are available for <a
href="http://sourceforge.net/export/rss2_projnews.php?group_id=23187&rss_fulltext=1&go"><img
src="https://images.sourceforge.net/images/xml.png" border="0"
alt="RSS feed">Project news releases</a> and <a
href="http://sourceforge.net/export/rss2_projfiles.php?group_id=23187&go"><img
src="https://images.sourceforge.net/images/xml.png" border="0"
alt="RSS feed">Project file releases</a> .</p>
<p> An archive of the project news is available <a
href="http://sourceforge.net/news/?group_id=23187">here</a>. </p>
</td>
</tr>
<tr>
<td valign="bottom" align="right" colspan="2">
<p style="font-size: smaller;">Brought to you by <a
href="http://coachspot.blogspot.com/">Tim Bacon</a> and <a
href="http://www.custommonkey.org/">Jeff Martin</a></p>
</td>
</tr>
</tbody>
</table>
</body>
</html>
|