Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4753048
Votes 0
Synopsis stddoclet: <NOFRAMES> not allowed outside <FRAMESET> element (invalid)
Category doclet:tbd
Reported Against 1.4
Release Fixed 1.4.2(mantis)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 25-SEP-2002
Description
Fixed by moving printFrameWarning() inside printFrameDetails() in FrameOutputWriter.java

Regression test at:
<ws>/test/com/sun/javadoc/ValidHtml/ValidHtml.java

 xxxxx@xxxxx  2002-09-25Running 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>
Work Around
N/A
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>

 xxxxx@xxxxx  2002-09-25
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang