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

error: self-closing element not allowed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8
    • tools

      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

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

              Created:
              Updated:
              Resolved: