Re: xhtml frameset validation error

Oh! You are right, thank you. I didn't know you are supposed to use
<frameset> instead of <body>  does it say that somewhere? i've been looking
around w3c but i still get pretty lost so i probably missed it

thanks

On 11/3/06, David Dorward <david@dorward.me.uk> wrote:
>
> On Thu, Nov 02, 2006 at 09:43:08PM -0800, Jonathan Denni wrote:
>
> >    when inputting this code the validator seems to error. This code
> >    validates with both xhtml strict, and xhtml transitional
> >    doctypes, but when using the Frameset doctype, it returns an
> >    error message stating that the <body> tag is not allowed here,
> >    and that the end tag </html> is not finished.  I'm quite sure
> >    this is valid markup
>
> Did you check the DTD?
>
> <!ELEMENT html (head, frameset)>
>
> i.e. The html element must contain exactly one head element and
> exactly one frameset element (in that order).
>
> Your code was missing the required frameset element and had a body
> element instead.
>
> Nothing wrong with the validator in this instance.
>
> --
> David Dorward                                      http://dorward.me.uk
>
>


-- 
http://BlueBottleImages.com
www.WAITteam.org

Received on Sunday, 5 November 2006 22:03:47 UTC