It fails in Studio and in java with the same error:
java.io.IOException: Tidy (vers Sep 26, 2004) Parsing "InputStream"
line 110 column 51 - Error: discarding unexpected </form>
line 180 column 69 - Error: discarding unexpected </span>
InputStream: Document content looks like HTML proprietary
56 warnings, 1 error were found!
You may need to move one or both of the <form> and </form>
Subject:Bug? HTMLTidy does not support URL parameters Author:Tony Lavinio Date:12 May 2006 10:11 AM
Unfortunately, sometimes JTidy (which is the HTML-to-XHTML core
we use) can't get the job done. We are hoping to include an alternate
HTML-to-XHTML as an option in a future version of Stylus Studio.
Perhaps you could use one of the text adapters and substring out the
parts you need? Not very XMLish, but it should work.