JDK-4753048 : stddoclet: <NOFRAMES> not allowed outside <FRAMESET> element (invalid)
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: other
  • CPU: generic
  • Submitted: 2002-09-25
  • 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
Running W3C validator (http://validator.w3c.org) on the index.html page
gives the following error:

    Error: element "NOFRAMES" not allowed here; check which elements this 
    element may be contained within 

The problem is that <NOFRAMES> must be *inside* the <FRAMESET> element,
and typically follows a <FRAME> element.  However, the <NOFRAMES> tag 
currently follows the <FRAMESET> element, as shown here:

  10: <FRAMESET cols="20%,80%">
  11: <FRAMESET rows="30%,70%">
  12: <FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
  13: <FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
  14: </FRAMESET>
  15: <FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions">
  16: </FRAMESET>
  17: <NOFRAMES>
  18: <H2>
  19: Frame Alert</H2>
  20: 
  21: <P>
  22: This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
  23: <BR>
  24: Link to<A HREF="overview-summary.html">Non-frame version.</A></NOFRAMES>

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

EVALUATION This example is given in the W3C 4.0 spec as a proper use of <NOFRAMES>: <FRAMESET cols="50%, 50%"> <FRAME src="main.html"> <FRAME src="table_of_contents.html"> <NOFRAMES> <P>Here is the <A href="main-noframes.html"> non-frame based version of the document.</A> </NOFRAMES> </FRAMESET> ###@###.### 2002-09-25
2002-09-25

PUBLIC COMMENTS Fixed by moving printFrameWarning() inside printFrameDetails() in FrameOutputWriter.java Regression test at: <ws>/test/com/sun/javadoc/ValidHtml/ValidHtml.java ###@###.### 2002-09-25
2002-09-25