Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Not an Issue
-
Affects Version/s: 8
-
Fix Version/s: None
-
Component/s: tools
-
Labels:
-
Subcomponent:
-
OS:linux
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
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
- duplicates
-
JDK-8130300 Self-closing elements are no longer allowed in javadocs
-
- Closed
-