Justin Mason wrote:
I heard a stat recently (possibly via Matt Cutts?) that only ~4% of web
pages validate. I wouldn't be surprised if email HTML is even worse,
given the state of HTML renderers in the various MUAs. so this may not
work too well I'm afraid :(
That would be from Opera's massive website study:
http://dev.opera.com/articles/view/mama-markup-validation-report/
To be fair, though, the OP is talking about XHTML as opposed to HTML.
XHTML, in theory, is REQUIRED to at the very least be well-formed (tags
properly nested, attributes properly marked up, etc.), since it's XML,
and the study actually found that XHTML documents were twice as likely
to be valid as HTML docs. Unfortunately it was a dismal 13.4% compared
to 6.6%.
Still this is for validation, not well-formedness. I wonder whether
checking XML for well-formedness would provide better results.
--
Kelson Vibber
SpeedGate Communications <www.speed.net>