JDK-5088314 : Javadoc generates invalid and unnecessary HTML NOSCRIPT
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2004-08-17
  • 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: rmT116609			Date: 08/17/2004


FULL PRODUCT VERSION :
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Linux stallion.elharo.com 2.4.20-28.8 #1 Thu Dec 18 12:25:00 EST 2003 i686 athlon i386 GNU/Linux

A DESCRIPTION OF THE PROBLEM :
Javdoc includes an unecessary and invalid NOSCRIPT tag in the head of the index.html file. This unnecessarily increases the size of the file, and throws off some tools that don't expect to see it there.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
View source on http://java.sun.com/j2se/1.5.0/docs/api/ or any other main JavaDoc page generated by the 1.5 javadoc. You will see this head:

<HEAD>
<!-- Generated by javadoc on Thu May 13 06:11:07 PDT 2004-->
<TITLE>
Java 2 Platform SE v1.5.0
</TITLE>
<SCRIPT type="text/javascript">
    targetPage = "" + window.location.search;
    if (targetPage != "" && targetPage != "undefined")
       targetPage = targetPage.substring(1);
    function loadFrames() {
        if (targetPage != "" && targetPage != "undefined")
             top.classFrame.location = top.targetPage;
    }
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>

The NOSCRIPT element is unnecessary and invalid. HTML 4.0 does not allow NOSCRIPT in the HEAD, only the BODY.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
There should not be a NOSCRIPT element
ACTUAL -
There is a NOSCRIPT element

REPRODUCIBILITY :
This bug can be reproduced always.
(Incident Review ID: 297364) 
======================================================================

Comments
EVALUATION This bug is fixed as a part of 6851834. The NOSCRIPT tag is moved out of the HEAD.
11-02-2011

EVALUATION ###@###.### 2004-08-17
17-08-2004