JDK-4964455 : HTML validation errors
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-12-05
  • Updated: 2014-05-05
  • Resolved: 2011-02-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Description

Name: dk30142			Date: 12/05/2003


I ran the HTML validator at:
    http://validator.w3.org
on the file Applet.html from 1.5.0 of build 30, Dec 5, 2004,
after inserting this element (to define the character encoding):
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
and got the following errors.

    1.  Line 83, column 79:  end tag for element "B" which is not open  (explain...).

   ...lasses-noframe.html"><B>All Classes</B></A>');
                                            ^

    2. Line 83, column 83: end tag for element "A" which is not open (explain...).

   ...s-noframe.html"><B>All Classes</B></A>');
                                           ^

    3. Line 87, column 9: document type does not allow element "NOSCRIPT" here; missing 
one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

   <NOSCRIPT>
            ^

    4. Line 112, column 58: document type does not allow element "IMG" here (explain...).

   ...ources/inherit.gif" ALT="extended by"><A HREF="../../java/awt/Component.html"
                                           ^

    5. Line 113, column 62: document type does not allow element "IMG" here (explain...).

   ...ources/inherit.gif" ALT="extended by"><A HREF="../../java/awt/Container.html"
                                           ^

    6. Line 114, column 66: document type does not allow element "IMG" here (explain...).

   ...ources/inherit.gif" ALT="extended by"><A HREF="../../java/awt/Panel.html" tit
                                           ^

    7. Line 115, column 70: document type does not allow element "IMG" here (explain...).

   ..."../../resources/inherit.gif" ALT="extended by"><B>java.applet.Applet</B>
                                                     ^

    8. Line 1073, column 79: end tag for element "B" which is not open (explain...).

   ...lasses-noframe.html"><B>All Classes</B></A>');
                                            ^

    9. Line 1073, column 83: end tag for element "A" which is not open (explain...).

   ...s-noframe.html"><B>All Classes</B></A>');
                                           ^

   10. Line 1077, column 9: document type does not allow element "NOSCRIPT" here; missing 
one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

   <NOSCRIPT>
            ^

   11. Line 1094, column 418: document type does not allow element "P" here; missing one 
of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

   ...rounds, and working code examples. <p>Copyright 2003 Sun Microsystems, Inc. A
                                           ^

======================================================================

Comments
EVALUATION This bug is fixed as a part of 6851834. A HTML document generation tree is implemented within the doclet. Aslso as a part of this fix, the HTML validation and accessibility issues have been resolved.
11-02-2011

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: dragon
14-06-2004

WORK AROUND Name: dk30142 Date: 12/05/2003 ======================================================================
11-06-2004

EVALUATION Need to figure out alternative tags. Also try running this on more pages. ###@###.### 2003-12-05
05-12-2003