[dev] How to ensure XHTML compliance

Chuck Hagenbuch chuck at horde.org
Fri Dec 2 11:34:22 PST 2005


Quoting "Kevin M. Myer" <kevin_myer at iu13.org>:

> Is there any automated testing in place to validate the HTML that Horde
> generates?

No.

> Validator extension for Firefox
> (http://users.skynet.be/mgueury/mozilla/), which is based on Tidy.  For

I've added that on all my machines, thanks.

> every page that loads, it parses the HTML and displays a summary of
> Errors and Warnings and it was pretty easy to see that with a missing
> DOCTYPE, the entire header was missing as well.  Most pages generate
> warnings and I'm wondering to what degree of XHTML compliance Horde
> strives for.  Are pedantic things like:
>
> <a> attribute "id" has invalid value "1"
> The attribute ID is of type ID. As described above, it should begin
> with a letter
>
> of concern?

As Jan said, yes.

> Just wondering if its worth my time to investigate the warnings, or if
> things are compliant enough as is...  If just a few people used Horde
> with that extension for a little while, a lot of minor non-compliant
> HTML might be caught, but at the same time, you could go crazy with
> some of the pedantic compliant issues as well.

Yup. And if you're comfortable submitting fixes, too, I'd definitely 
appreciate it and it's definitely worth time imo.

-chuck

-- 
"So we're talking near-sonic speeds for a vegetable."
Reasons to go to the Punkin Chunkin World Championships


More information about the dev mailing list