Bugfix for “Blogidate XML well-formedness”

The blogidate XML well-formedness bookmarklet now works for XML that is longer than several kilobytes. Previously, if it found an error in long XML, it wouldn't highlight the error or tell you what line it was on, and gave an error message instead. The fix was to add a Node.normalize() call before trying to extract the text of the error page generated by Firefox.

I primarily use this bookmarklet to help keep my blogs valid, but it also saves me time by catching errors that cause bad rendering in real browsers, such as forgetting to close a <strong>.

Original post about the bookmarklet

Comments are closed.