I was processing XHTML files and I kept hitting the w3c.org webservers because the Java XML parsers always load the DTDs from the source. I found plenty of documentation and examples out there to create a local cached copy of these DTDs to greatly speed up XHTML parsing but never a jar that I could just plug and play.
So ... I made one. Enjoy!
Example code: