Re: [VE][64] Add Subject Here

thew wrote:

> Head tag was set, but Validator doesn't  accept meta tag there.
> Validating
> Error [64]: "document type does not allow element X here"

The very first message is:

Error  Line 9, Column 73: end tag for "meta" omitted, but OMITTAG NO was 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

This is one of the many symptoms of using classic HTML syntax in a document 
that declares an XHTML document type (and uses XHTML syntax for many, but 
not all, elements).

It's usually pointless to use XHTML if you have no real use for XML-based 
operations, but it's mostly harmless too, and it's probably easier to change 
the classic HTML constructs that need fixing when used in XHTML. After all, 
it largely means just throwing in some "/" characters and some superfluous 
end tags, see

If you fix those as well as write any occurrence of "&" as a data character 
(even in attribute values) as "&amp;", you'll probably have a fairly small 
set of issues left, instead of the current 133 errors and 83 warnings.


Received on Monday, 30 August 2010 16:01:01 UTC