Details
-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b115
-
Verified
Description
The following is an extract from docs/jdk/api/javac/tree/compact2-summary.html
Analyze it carefully and you'll see that javadoc is creating a <li> within another <li>. The most obvious indication is the repeated </li></li>. The net effect is that the second <li> appears as a sibling to the first (by virtue of </li> being optional, but then <tidy> complains about the extra </li> lower down.
<div class="contentContainer">
<div class="summary">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<h3><a href="jdk/compact2-package-summary.html" target="classFrame">jdk</a></h3>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation">
<caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Annotation Type</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="jdk/Exported.html" title="annotation in jdk">Exported</a></td>
<td class="colLast">
<div class="block">Indicates whether or not a JDK specific type or package is an
exported part of the JDK suitable for use outside of the JDK
implementation itself.</div>
</td>
</tr>
</tbody>
</table>
</li>
</li>
</ul>
</li>
</ul>
</div>
</div>
Analyze it carefully and you'll see that javadoc is creating a <li> within another <li>. The most obvious indication is the repeated </li></li>. The net effect is that the second <li> appears as a sibling to the first (by virtue of </li> being optional, but then <tidy> complains about the extra </li> lower down.
<div class="contentContainer">
<div class="summary">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList">
<h3><a href="jdk/compact2-package-summary.html" target="classFrame">jdk</a></h3>
<li class="blockList">
<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation">
<caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Annotation Type</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="jdk/Exported.html" title="annotation in jdk">Exported</a></td>
<td class="colLast">
<div class="block">Indicates whether or not a JDK specific type or package is an
exported part of the JDK suitable for use outside of the JDK
implementation itself.</div>
</td>
</tr>
</tbody>
</table>
</li>
</li>
</ul>
</li>
</ul>
</div>
</div>