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=11339>. 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=11339 Validator DTD incorrect for msg, args, etc. Summary: Validator DTD incorrect for msg, args, etc. Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: Other Component: Validator Framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The Validator DTD incorrectly limits the set of subordinate elements that a field can have. Specifically, it says that only zero or one msg, arg0, ... arg3 elements may be present. Further, it artificially imposes an ordering on these elements which does not reflect the actual implementation's restrictions. The fix is simple: in jakarta-struts/conf/share/validator-rules_1_1.dtd change <!ELEMENT field (msg?, arg0?, arg1?, arg2?, arg3?, var* )> which is around line 122 to <!ELEMENT field (msg|arg0|arg1|arg2|arg3|var)*> which correctly indicates there may be an arbitrary number of msg, arg[0-3], and var elements contained within the field element. I've marked this bug's priority as Major because for many this will be their first exposure to the Struts Validator system, and having an incorrect DTD will hurt the ability of a newcomer to fully understand how to correctly use validators. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>