Fix test using Jelly instead of xpath

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@385109 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
aheritier 2006-03-11 17:14:46 +00:00
parent f4ae455482
commit ca48810852

View File

@ -35,7 +35,8 @@
<body>
<section name="Link Check Report">
<p><b><span style="color:#00AA00;text-align:right"><x:expr select="count(file)"/> </span></b> file(s) and <b><span style="color:#00AA00;text-align:right"><x:expr select="sum(file/unsuccessful)+sum(file/successful)"/> </span></b> link(s) checked. <b><span style="color:#FF0000;text-align:right"><x:expr select="count(file/result[status='error'])"/></span></b> error(s) and <b><span style="color:#FFA916;text-align:right"><x:expr select="count(file/result[status='warning'])"/></span></b> warning(s) reported in <b><span style="color:#00AA00;text-align:right"><x:expr select="count(file[unsuccessful!=0])"/> </span></b> file(s).</p>
<x:if select="count(file[unsuccessful!=0]) gt 0">
<j:set var="nbFilesInError"><x:expr select="count(file[unsuccessful!=0])"/></j:set>
<j:if test="${nbFilesInError gt 0}">
<table summary="Link Check summary">
<thead>
<tr>
@ -76,7 +77,7 @@
</x:forEach>
</tbody>
</table>
</x:if>
</j:if>
</section>
</body>
</document>