Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8026770

javadoc creates invalid HTML in profile summary pages

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b115
    • Verification:
      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">&nbsp;</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>

        Attachments

          Activity

            People

            • Assignee:
              bpatel Bhavesh Patel (Inactive)
              Reporter:
              jjg Jonathan Gibbons
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: