W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] The problems with namespaces in text/html

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Mon, 06 Nov 2006 09:11:35 -0500
Message-ID: <454F4297.1080802@metalab.unc.edu>
?istein E. Andersen wrote:
> On 6 Nov 2006, at 2:53AM, Elliotte Harold wrote:
> 
>> The URL timed out when I tried to use [Sivonen's] validator
> 
> You may want to try the following (the results seem to be similar):
>     http://validator.w3.org/check?uri=http%3A%2F%2Fcafe.elharo.com%2Fweb%2Fmokka%2F
> 

Thanks. Most of the errors that page reports are a result of third 
party, ad network code. This is exactly the sort of problem draconian 
error handling would have fixed. Were draconian error handling the order 
of the day, the network wouldn't be serving malformed code like that. I 
did go ahead and fix the malformedness problem. I'm not sure if I can 
fix the validity issue without breaking things. I'll check.

There are also several false positives in that report. Apparently, the 
genuine errors cause the validator enough problems that it loses track 
of the start and end-tags and can't properly match them up though libxml 
can:

$ xmllint --valid --noout http://cafe.elharo.com/web/mokka/
http://cafe.elharo.com/web/mokka/:263: element ul: validity error : 
Element ul content does not follow the DTD, expecting (li)+, got (li li 
style script li li li li li li )
                 </ul>
                      ^


-- 
?Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
Received on Monday, 6 November 2006 06:11:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC