This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> the doctype as well as the <frameset> tags are marked as errors. As the doctype is especially for framesets, that shouldn't happen.
reproducible for example on the samples from http://www.w3.org/TR/html4/present/frames.html
it's not only the DTD-Error that's wrong. A simple file like this: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <HTML> <HEAD> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title>Auslieferung</title> </HEAD> <FRAMESET cols="150,*"> <FRAME SRC="menu_abtransport_neu.php" NAME="navig" NORESIZE> <FRAME SRC="abtrans_neu.php" NAME="view_frame" NORESIZE> </FRAMESET> </HTML> brings up the warning that cols is not allowed with frameset. Same happens for rows. Both are allowed and NB7 own Code-Completion suggest rows and cols at this position. So it seems that the whole Frame-Handling is not working correctly. The only correct warning ist the one not to use Framesets any more! This surely is an outdated problem as frames and framesets are relicts of elder times. But we do still have such elder code and would appreciate to have NB7 to work correct with it. Modern code surely will not contain such framesets any more for sure! But one can not rewrite each script every year. You always have to deal with elder outdated code.
still valid, seems like html.validator uses wrong schemas for the "frameset doctype". http://s.validator.nu/xhtml10/xhtml-frameset.rnc http://s.validator.nu/html4/assertions.sch http://c.validator.nu/all-html4/ should be used.
framesets are pretty much obsolete => P4