maven-xsddoc-plugin/src/plugin-resources xsddoc-report.jsl,1.6,1.7
Kurt Riede <[email protected]> Wed, 22 Dec 2004 15:24:26 +0000
| Newsgroups | gmane.text.xml.xframe.xsddoc.devel |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xframe/maven-xsddoc-plugin/src/plugin-resources
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21642/src/plugin-resources
Modified Files:
xsddoc-report.jsl
Log Message:
new property: summary
Index: xsddoc-report.jsl
===================================================================
RCS file: /cvsroot/xframe/maven-xsddoc-plugin/src/plugin-resources/xsddoc-report.jsl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** xsddoc-report.jsl 3 Nov 2004 17:23:46 -0000 1.6
--- xsddoc-report.jsl 22 Dec 2004 15:24:23 -0000 1.7
***************
*** 36,68 ****
the XML Schema documentation tool
<a href="http://xframe.sourceforge.net/xsddoc/index.html">xsddoc</a>.</p>
! <j:set var="files"><x:expr select="count(xsddoc)"/></j:set>
! <j:set var="success"><x:expr select="count(xsddoc[@result = 'success' and @linkcheck = 'OK'])"/></j:set>
! <j:set var="linkcheck"><x:expr select="count(xsddoc[@linkcheck != 'OK'])"/></j:set>
! <j:set var="errors"><x:expr select="${files} - ${success}"/></j:set>
! <j:set var="percentage"><x:expr select="(${success} div ${files}) * 100"/></j:set>
! <a name="summary"></a>
! <h2>Summary</h2>
! <table>
! <thead>
! <tr>
! <th>Files</th>
! <th>
! <a href="#errors">Errors</a>
! </th>
! <th>with broken links</th>
! <th>success</th>
! <th>success [%]</th>
! </tr>
! </thead>
! <tbody>
! <tr>
! <td>${files}</td>
! <td>${errors}</td>
! <td>${linkcheck}</td>
! <td>${success}</td>
! <td>${percentage}</td>
! </tr>
! </tbody>
! </table>
<a name="files"></a>
<h2>Files</h2>
--- 36,70 ----
the XML Schema documentation tool
<a href="http://xframe.sourceforge.net/xsddoc/index.html">xsddoc</a>.</p>
! <j:if test="${maven.xsddoc.summary}">
! <j:set var="files"><x:expr select="count(xsddoc)"/></j:set>
! <j:set var="success"><x:expr select="count(xsddoc[@result = 'success' and @linkcheck = 'OK'])"/></j:set>
! <j:set var="linkcheck"><x:expr select="count(xsddoc[@linkcheck != 'OK'])"/></j:set>
! <j:set var="errors"><x:expr select="${files} - ${success}"/></j:set>
! <j:set var="percentage"><x:expr select="(${success} div ${files}) * 100"/></j:set>
! <a name="summary"></a>
! <h2>Summary</h2>
! <table>
! <thead>
! <tr>
! <th>Files</th>
! <th>
! <a href="#errors">Errors</a>
! </th>
! <th>with broken links</th>
! <th>success</th>
! <th>success [%]</th>
! </tr>
! </thead>
! <tbody>
! <tr>
! <td>${files}</td>
! <td>${errors}</td>
! <td>${linkcheck}</td>
! <td>${success}</td>
! <td>${percentage}</td>
! </tr>
! </tbody>
! </table>
! </j:if>
<a name="files"></a>
<h2>Files</h2>
***************
*** 75,79 ****
</thead>
<tbody>
! <x:set var="docs" select="xsddoc[@result = 'success' and @linkcheck = 'OK']"/>
<j:forEach var="doc" items="${docs}">
<tr>
--- 77,81 ----
</thead>
<tbody>
! <x:set var="docs" select="xsddoc[@result = 'success']"/>
<j:forEach var="doc" items="${docs}">
<tr>
***************
*** 101,105 ****
</thead>
<tbody>
! <x:set var="docs" select="xsddoc[@result != 'success' or @linkcheck != 'OK']"/>
<j:forEach var="doc" items="${docs}">
<tr>
--- 103,107 ----
</thead>
<tbody>
! <x:set var="docs" select="xsddoc[@result != 'success']"/>
<j:forEach var="doc" items="${docs}">
<tr>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/