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=22365>.
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=22365

The dtd file validator_1_0.dtd is not registered.

           Summary: The dtd file validator_1_0.dtd is not registered.
           Product: Struts
           Version: 1.1 RC1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


According to the struts user guide 
(http://jakarta.apache.org/struts/userGuide/dev_validator.html), it is 
recommended to use the following doctype for all validation xml files:
<!DOCTYPE form-validation PUBLIC
"-//Apache Software Foundation//DTD Commons Validator Rules Configuration 
1.0//EN"
"http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";>. According to the 
user guide, "The validator xml files now validates against the DTD stored in 
the commons-validator.jar!" However, this seems not to be the case. The 
validator_1_0.dtd is never registered with the Digester 
[org.apache.commons.digester.Digester and must therefore be read from internet. 
Without internet connection, an exception occurs.

In ActionServlet.java, some hardcoded dtds are registered (esp. the struts-
config dtd). Is there a way of registering additional dtds by means of 
configuration? Otherwise the doctype would be pointless. But how?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to