This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Avoid needing a live Internet connection for DTDs

Jun 14th, 2005, 09:02 AM

I've been using the Spring Framework in the equinox context and in there is a validation.xml file loaded by the org.springframework.validation.commons.DefaultVali datorFactory that is giving me problems. By default loading it seems to initiate a lookup for the DTD on the internet (see the header part below).

Does anyone know if it is possible to wire-in an EntityResolver?
Or is the only way to do it programatically?
And if so, does anyone have a hint?