Caching Entity ResolverPublished on 30 Jan 2005
Tags #Java #XML
Both SAX and DOM parsers attempt to download document type definitions everytime they are encountered. The caching entity resolver stores them in a local repository and answers all further requests directly from the repository.
Get it while it’s hot: CachingEntityResolver.java