You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/03/10 01:51:06 UTC
DO NOT REPLY [Bug 17812] -
validator needs internet connection (rc1 and latest nightly builds)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17812>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17812
validator needs internet connection (rc1 and latest nightly builds)
------- Additional Comments From kevin@henrikson.com 2003-03-10 00:51 -------
It appears to be a problem with the Validator registering it's local DTD in the
jar file. Here's some debug with the Validator from Struts vs. the 1.0.1
Validator.
With Struts 1.1rc1 Validator jar:
19478 [main] INFO validator.ValidatorPlugIn - Loading validation rules file
from '/WEB-INF/lib/validator-rules.xml'
19498 [main] DEBUG Digester.sax - setDocumentLocator
(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@13e58d4)
19498 [main] DEBUG Digester.sax - startDocument()
19498 [main] DEBUG Digester.sax - resolveEntity('-//Apache Software
Foundation//DTD Commons Validator Rules Configuration
1.0//EN', 'http://jakarta.apache.org/commons/dtds/validator_1_0.dtd')
20139 [main] ERROR validator.ValidatorPlugIn - jakarta.apache.org
java.net.UnknownHostException: jakarta.apache.org
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:426)
at java.net.Socket.connect(Socket.java:376)
With Validator 1.0.1 jar:
16264 [main] INFO validator.ValidatorPlugIn - Loading validation rules file
from '/WEB-INF/lib/validator-rules.xml'
16274 [main] DEBUG digester.Digester - register('-//Apache Software
Foundation//DTD Commons Validator Rules Configuration
1.0//EN', 'jar:file:/C:/java/import/struts/commons-
validator.jar!/org/apache/commons/validator/resources/validator_1_0.dtd'
16284 [main] DEBUG Digester.sax - setDocumentLocator
(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@13e58d4)
16284 [main] DEBUG Digester.sax - startDocument()
16284 [main] DEBUG Digester.sax - resolveEntity('-//Apache Software
Foundation//DTD Commons Validator Rules Configuration
1.0//EN', 'http://jakarta.apache.org/commons/dtds/validator_1_0.dtd')
16284 [main] DEBUG digester.Digester - Resolving to alternate
DTD 'jar:file:/C:/java/import/struts/commons-
validator.jar!/org/apache/commons/validator/resources/validator_1_0.dtd'
16304 [main] DEBUG Digester.sax - startElement(,form-validation,form-
validation)
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org