Re: Why polyglot is needed

"Michael[tm] Smith" <mike@w3.org>, 2013-03-20 06:32 +0900:

> "Henry S. Thompson" <ht@inf.ed.ac.uk>, 2013-03-19 21:15 +0000:
> >  <title/>
> 
> That's a clear document-conformance error.

To be more specific: The HTML spec requires the title element to have
non-empty content (text content -- it's not allowed to have element content
in HTML; so any of its contents are parsed as text)

So a validator doing HTML parsing would flag that example as an error. (It
doesn't yet because we have a backlog of validator fixes in need of
landing, but I reckon I'll get that check added relatively soon.)

  --Mike

-- 
Michael[tm] Smith http://people.w3.org/mike

Received on Tuesday, 19 March 2013 21:42:31 UTC