W3C home > Mailing lists > Public > www-validator@w3.org > August 2011

(unknown charset) XTHML frameset valdiation question

From: (unknown charset) Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Sat, 27 Aug 2011 21:46:37 +0200
To: (unknown charset) www-validator@w3.org
Message-ID: <20110827214637018782.4560ea82@xn--mlform-iua.no>
Why do I get

 '''
 Line 5, Column 24: document type does not allow element "frameset" here
 '''

for the following XHTML frameset document? When I turn it into HTML4, 
there is no error - and HTML4 shows similar examples.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>frameset</title>
<frameset rows="199,*" >
 <frameset cols="132,*" >
  <frame name="headerFrame"  src="cssframes.html" 
        scrolling="no" frameborder='0' noresize="noresize" />
 </frameset>
<frame  frameborder='0' name="contentRamma" src="caption.html"  />
</frameset></html>

Leif h Silli
Received on Saturday, 27 August 2011 19:48:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:48 GMT