[ 
https://issues.apache.org/jira/browse/WW-3074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart closed WW-3074.
-----------------------------
    Resolution: Not A Problem

> Naming conventions for xml elements of *-validation.xml files are inconsistent
> ------------------------------------------------------------------------------
>
>                 Key: WW-3074
>                 URL: https://issues.apache.org/jira/browse/WW-3074
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: Chris Mawata
>            Priority: Major
>             Fix For: 6.1.0
>
>
> Names of validators are all lower case but the names of their parameters are 
> camel case
> e.g.
> <field-validator type="stringlength">
>     <param name="maxLength">25</param>
>       <message>...</message>
> </field-validator>
> Since they are literal strings you don't notice unless you have tests for 
> your validations



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to