Setting a custom XOM EntityResolver

Posted by Stefan Kendall on Stack Overflow See other posts from Stack Overflow or by Stefan Kendall
Published on 2010-04-01T03:30:13Z Indexed on 2010/04/01 3:33 UTC
Read the original article Hit count: 432

Filed under:
|
|

I need to not validate against a doctype, so I'd like to set a custom EntityResolver that accepts everything. I'm getting data back from tagsoup, so I know my data is well-formed and correct.

Furthermore, I need to rapidly hit a number of documents, so when I do this with the default EntityResolver, I get 503 from w3.org.

How, then, can I use a XOM builder with a custom entity resolver?

© Stack Overflow or respective owner

Related posts about xom

Related posts about entityresolver