|
Posted by Lars Eighner on March 4, 2006, 8:17 am
Please log in for more thread options
In our last episode,
the lovely and talented VK
broadcast on comp.infosystems.www.authoring.html:
show/hide quoted text
> Hi,
show/hide quoted text
> After the response on my request from W3C I'm still unclear about Tidy
> vs. Validator discrepansies.
Tidy is a lint and a prettyprinter. It doesn't parse.
show/hide quoted text
> That started with <IFRAME> issue, but
> there is more as I know. Anyway, this very basic HTML page:
show/hide quoted text
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"
><meta http-equiv="Content-Type"
show/hide quoted text
> gives 0 errors / 0 warnings in Tidy. At the same time it tells me "This
> page is not Valid -//W3C//DTD HTML 4.01 Strict//EN!" in W3C HTML
> Validator which is totally correct as there is not IFRAME in HTML
> Strict. At the same time I understand Tidy's behavior either because no
> one need a validator choking in IFRAME - no one would use it then.
Why don't you use loose then? If you have to have IFRAME there are DTDs
that have it, and 4.01 loose is one of them.
show/hide quoted text
> Nevertheless Tidy is linked on the w3.org front page and on
><http://www.w3.org/People/Raggett/tidy/> which seems as a direct
> endorsement to me.
It is a good lint and prettyprinter. But it doesn't parse. You can even
add tags to Tidy.
show/hide quoted text
> In my request to W3C I asked to add IFRAME to HTML Strict, but the
> response was that HTML DTD's are frozen so everything will stay as it
> is.
The response should have been: if you add elements like IFRAME to
strict, why not call it loose? There is a DTD with IFRAME. It is called
loose.
show/hide quoted text
> My question is then: is this Tidy's behavior an illegal adjustment made
> by his creators, or it's a W3C informally blessed "loosiness"? If Mr.
> Raggett himself could elaborate on this issue it would be great.
--
Lars Eighner usenet@larseighner.com http://www.larseighner.com/ "Fascism should more properly be called corporatism, since it is the
merger of state and corporate power."-Benito Mussolini * When you write the
check to pay your taxes, remember there are two l's in "Halliburton."
|