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?
Thanks in advance,
Johan
<?xml version="1.0" encoding="UTF-8"?>
<!--
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">
-->
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN"
"build/test/tomcat5x/webapps/equinox/WEB-INF/classes/dtds/validator_1_1_3.dtd">
[/code]


Reply With Quote