James Britt wrote: > (Offhand, I don't see how static or explicit typing would help track > these sorts of issues. Unit tests might.) Hrm. Mechanize or htmltools optionally passing HTML input through tidy perhaps? I've no idea what the scope of htmltools markup error recovery capabilities is, that just might help. David Vallner