JDK-4418115 : stddoclet: javadoc produces invalid index-all.html file (wrong !DOCTYPE)
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.3.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-02-22
  • Updated: 2014-05-05
  • Resolved: 2002-10-25
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 Availabitlity Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Description

Name: boT120536			Date: 02/22/2001


java version "1.3.1-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-beta-b15)
Java HotSpot(TM) Client VM (build 1.3.1beta-b15, mixed mode)

Java Source Code (Empty.java):
public class Empty { }

Steps to Reproduce:
javadoc Empty

The generated index-all.html file contains the DOCTYPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">

But the index-all.html file is not a Frameset document, so should have the
following DOCTYPE instead:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
(Review ID: 117408) 
======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b05
2004-06-14

WORK AROUND Name: boT120536 Date: 02/22/2001 Replace the <!DOCTYPE> tag in index-all.html each time javadoc is run. ======================================================================
2004-06-11

PUBLIC COMMENTS Fixed by same fix as 4275630: Generated HTML is invalid with frameset DTD. Regresssion test at: <ws>/test/com/sun/javadoc/ValidHtml/ValidHtml.java ###@###.### 2002-09-25
2002-09-25

EVALUATION This is nearly a dupe of 4418171, except that bug points out the class HTML file contains the wrong DOCTYPE. I don't know if the suggested fix is correct -- it would be prudent to first pass this new DOCTYPE by someone who understands them. doug.kramer@Eng 2001-02-22
2001-02-22