Extra <p> in Maven report
-------------------------
Key: MJNCSS-52
URL: https://jira.codehaus.org/browse/MJNCSS-52
Project: Maven 2.x JavaNCSS Plugin
Issue Type: Bug
Affects Versions: 2.0
Environment: Windows 7
Maven 3
Java 6
Reporter: Andres Gomez Casanova
Attachments: javancss.html
There is an extra <p> in the site report, thus I cannot process the html file
with an XML parser because the document is not well-structured.
I read the file with jDOM and it shows:
org.jdom.input.JDOMParseException: Error on line 170: The element type "p" must
be terminated by the matching end-tag "</p>".
A part of the generated file (after a format) is this:
<div class="section">
<h2>
JavaNCSS Metric Results
<a name="JavaNCSS_Metric_Results"></a>
</h2>
<p>
<p>
[
<a href="#package">package</a>
] [
<a href="#object">object</a>
] [
<a href="#method">method</a>
] [
<a href="#explanation">explanation</a>
]
</p>
The following document contains the results of a JavaNCSS metric
analysis, using JavaNCSS version 32.53.
<br />
<a class="externalLink"
href="http://www.kclee.de/clemens/java/javancss/">JavaNCSS web site.</a>
</div>
As you can see, there is a double <p> after the header2, and after just one is
closed. This snippet of code is from the header of the file just after the
Vertical part.
The plugin that shows this problem is: http://mgaip.sourceforge.net
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email