Null Entity Resolver
Published on 30 Jan 2005Tags #Java #XML
Instead of permitting the XML parser to download document type definitions, this entity resolver returns an empty string for all entities.
There you go: NullEntityReslver.java
See also the XML Validator and the Caching Entity Resolver