XTHML frameset valdiation question

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 UTC