United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4418115 stddoclet: javadoc produces invalid index-all.html file (wrong !DOCTYPE)
JDK-4418115 : stddoclet: javadoc produces invalid index-all.html file (wrong !DOCTYPE)

Details
Type:
Bug
Submit Date:
2001-02-22
Status:
Resolved
Updated Date:
2002-10-25
Project Name:
JDK
Resolved Date:
2002-10-25
Component:
docs
OS:
windows_2000
Sub-Component:
doclet
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.3.1
Fixed Versions:
1.4.2 (mantis)

Related Reports

Sub Tasks

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
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
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
WORK AROUND



Name: boT120536			Date: 02/22/2001


Replace the <!DOCTYPE> tag in index-all.html each time javadoc is run.
======================================================================
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis
mantis-b05


                                     
2004-06-14



Hardware and Software, Engineered to Work Together