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/02/12 20:17:59 UTC

DO NOT REPLY [Bug 17018] New: - Constant usage example inconsistant with the DTD and ValidatorResourcesInitializer implementation

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

Constant usage example inconsistant with the DTD and ValidatorResourcesInitializer implementation

           Summary: Constant usage example inconsistant with the DTD and
                    ValidatorResourcesInitializer implementation
           Product: Struts
           Version: 1.1 Beta 3
          Platform: Other
               URL: http://jakarta.apache.org/struts/userGuide/dev_validator
                    .html
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Documentation
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: mordorian@charter.net


The example in the documentation uses a name and value attribute on the 
constants lelment that is not defined in the DTD of digested for in the 
ValidatorResourcesInitializer class.
    <constant
        name="zip"
        value="^\d{5}(-\d{4})?$" />
Proper example would be...
    <constant>
        <name>zip</name>
        <vlaue>^\d{5}(-\d{4})?$</value>
    </constant>


Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org