I am trying to parse an HTML document with the doctype declared to use the transitional dtd as follows:
Taking a quick look at the javadoc for Builder, I guess you could provide an EntityResolver via the constructor that takes a XMLReader. I would avoid letting the parser download files from the internet where possible.