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=10584>. 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=10584 Not all validation files are read in Validation PlugIn ------- Additional Comments From [EMAIL PROTECTED] 2002-07-16 11:31 ------- I have enabled logging, and all files are loaded. But only the validation for the last one is working. The 'Skipping validation rules file from' error message never occurs. I think we found the problem. The ValidatorResourcesInitializer.initialize method in the commons-validator package seperates the FormSets from different input streams only by the Locale and not by the Locale and FormSet name. We thougth different FormSets are merged together from different input streams. This is how it works now ? FormA and FormB are specified for the locale de in validation_de.xml and accordingly for en in validation_en.xml. <plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value="/WEB-INF/validator-rules.xml, /WEB-INF/validation_de.xml, /WEB-INF/validation_en.xml"/> </plug-in> What I wanted to have is all languages of formA in a file called validationFormA.xml and so on. But this is a feature request (or Bug) for the commons-validator package, they should not only use the Locale as a key for FormSets. thanks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
