As a step in our automated-testing, we're considering spidering our site and running each page through an HTML validator to validate against our doctype.
However, there are many JavaScript DOM-manipulations happening. So we had the idea that there might be an HTML validator written in JavaScript that we could use. Even if it's just something that takes the post-DOM-manipulated page content, squirts it to a server-side validator, and reports the result.
Anyone know of a tool/library such as this that's ready-baked, or are we potentially looking at a DIY job?