It turns out that even though XML was not designed to be human-writable, humans write it anyway. Humans like me. In my weblog. And it seems like two out of three times I validate my XHTML, it doesn’t. Sometimes because I didn’t close a <li>
tag, or because I keep forgetting that <blockquote>
doesn’t nest inside <p>
, but I also keep trying to embed links (usually to LiveJournal) without escaping &
first.
There are probably lower-tech solutions to these problems, but mine was to take the source code to the W3C MarkUp Validation Service and hack it into a Movable Type plugin, so my entries can be automatically validated before I post them, and I can fix any parsing errors before they get published. You can download MTValidate along with my other MT plugins.