Re: [www-validator] <none>

On Thu, 28 Aug 2003, Peter Drew wrote:

> Line 9, column 212: document type does not allow element "META" here
> (explain...).

There's a quotation mark at the start of line 9. It causes quite some
confusion in validation. Technically, since character data is not allowed
within a <head> element, it implicitly closes the <head> element and
starts a <body> element. And then any <meta> element is invalid.

> Line 10, column 7: required attribute "TYPE" not specified (explain...).

Well, that's simple. You need to specify a "TYPE" attribute
(here, obviously, type="text/javascript").

> Line 17, column 10: there is no attribute "NOF" (explain...).
>   <BODY NOF="(MB=(DefaultMasterBorder, 139, 372, 164, 23), L=(HOMELayout,
> 687, 483

Quite some attribute soup. It's up to you to decide what to do with them,
hopefully understanding what they might mean to some software.
A validator simply reports them as syntax errors, since that's what they
are from the DTD viewpoint.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Thursday, 28 August 2003 08:10:44 UTC