Re: Invalid validation?

* Alberto Bagnai wrote:
>My page was written in valid HTML 4.01 until I cutted and pasted the link
>you provided to the validator.

Well, if you cut and paste this smiley: <&B-> you'll get errors, too.
For a reason.

>Below are the results of attempting to parse this document with an SGML
>parser. 
>Line 189, column 84: 
>  ...
>/check?uri=http%3A%2F%2Fwww.uniroma1.it%2FECIS%2F&doctype=Inline"><img ...
>                                                   ^
>Error: unknown entity "doctype" (explanation...)
>
>So, as Juvenal would say, "who validates the validators?"...

It's not the validators fault, it's your fault. You cannot just paste
abitrary data into HTML documents and hope they validate, you have to
escape special characters, nominally < and &. If you use

  "...a1.it%2FECIS%2F&amp;doctype=Inline"><img ...

it'll validate ust fine.
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/

Received on Tuesday, 17 July 2001 05:51:20 UTC