[wp-hackers] XHTML Strict Mode
Brian Meidell
brian at mindflow.dk
Sun Aug 8 08:57:13 UTC 2004
Jamie Talbot wrote:
>Just shows how complicated it can get, eh?! Your balanceTags is doing a great
>job, but I'm quite taken with the idea of a full XHTML corrector. Looked
>around on the web and couldn't find anything, so it's obviously a huge
>challenge and possibly not worth the effort!
>
>
I take it you aren't talking about a validator, but something that
rewrites markup to valid XHTML?
Using a standard XML parser on the content with a modified XHTML DTD
(that allows the html, body, head, title tags to be missing) should find
any errors that might be, but actually guessing what the user intended
to do is probably challenging.
Is that what you are planning to do?
/Brian
More information about the hackers
mailing list