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.

Bug 197735 - Wrong error messages with HTML 4.01 Frameset
Summary: Wrong error messages with HTML 4.01 Frameset
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 10:28 UTC by Peter Nabbefeld
Modified: 2014-10-06 13:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2011-04-14 10:28:02 UTC
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.
Comment 1 Marek Fukala 2011-04-18 14:19:36 UTC
reproducible for example on the samples from http://www.w3.org/TR/html4/present/frames.html
Comment 2 wegus 2011-05-03 09:37:57 UTC
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.
Comment 3 Marek Fukala 2013-07-17 14:41:08 UTC
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.
Comment 4 Marek Fukala 2014-07-23 10:09:19 UTC
framesets are pretty much obsolete => P4