This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10459 - Frame start tag unexpectedly not recognized
Summary: Frame start tag unexpectedly not recognized
Status: VERIFIED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 1.0
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://validator.w3.org/check?uri=htt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 00:31 UTC by Gérard Talbot
Modified: 2011-08-23 21:36 UTC (History)
1 user (show)

See Also:


Attachments

Description Gérard Talbot 2010-08-27 00:31:01 UTC
URL where the problem was first discovered
------------------------------------------

http://test.csswg.org/suites/css2.1/20100815/html4/viewport-004.htm


Relevant code
-------------

<frameset cols="*,*">
  <frame src="support/viewport-004-firstcanvas.htm"></frame>
  <frame src="support/viewport-004-secondcanvas.htm"></frame>
  <noframes>
    <body>
      <p>Test passes if this text is visible.</p>
    </body>
  </noframes>
</frameset>


W3C Markup Validator version
----------------------------

v1.1



The W3C validator error message
 
{ end tag for element "FRAME" which is not open (check earlier errors) .} 

seems to indicate that start tag <frame> is not seen.

I have checked with other validators ( WDG, http://validator.progysm.com/check.php , http://valet.webthing.com/page/validate ) and the error message is the same.

</frame> end tag is optional:
<!ELEMENT FRAME - O EMPTY              -- subwindow -->
http://www.w3.org/TR/html4/present/frames.html#h-16.2.2

I can create a reduced testcase if required, requested.

regards, Gérard
Comment 1 Ville Skyttä 2011-08-23 19:11:11 UTC
(In reply to comment #0)
> </frame> end tag is optional:
> <!ELEMENT FRAME - O EMPTY              -- subwindow -->
> http://www.w3.org/TR/html4/present/frames.html#h-16.2.2

http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.3.3

| The hyphen and the following "O" indicate that the end tag can be omitted, but
| together with the content model "EMPTY", this is strengthened to the rule that
| the end tag must be omitted.
Comment 2 Gérard Talbot 2011-08-23 21:36:39 UTC
Ville,

Good catch! I missed that completely!

Thank you!

Marking as VERIFIED

regards, Gérard