W3C home > Mailing lists > Public > www-validator@w3.org > November 2006

Re: xhtml frameset validation error

From: Jonathan Denni <jonsdenni@gmail.com>
Date: Sun, 5 Nov 2006 14:03:34 -0800
Message-ID: <2d2d7b6f0611051403m9f8be0ey5e8aef0a72822a54@mail.gmail.com>
To: "David Dorward" <david@dorward.me.uk>, "Jonathan Denni" <jonsdenni@gmail.com>, www-validator@w3.org
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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:08 UTC