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

error: self-closing element not allowed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      It appears that Javadoc no longer support self closing elements like <p/> and <br/>

      Is there a good reason for this because changing all my Javadocs to remove/modify these doesn't seem to be a good use of anyone's time.

      I know Javadoc nevers used XHTML, but dropping support for it doesn't seem helpful.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Use <p/> or <br/> in your Javadoc

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Works like in XHTML
      ACTUAL -
      an error

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      error: self-closing element not allowed

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      turn everything back into HTML.

      SUPPORT :
      YES

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ssides Steve Sides
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: