Hi!
I'm using Woodstox to iterate through HTML5 documents, and write to file with a script tag inserted into the body. I don't need validation, or any feature other than finding the <body> tag, and inserting <script>. Woodstox works great even though it wasn't designed for HTML. But it fails when encountering a lowercase doctype declaration, boolean attributes, unclosed tags, and other HTML5 quirks.
Is there a way to disable validation?