You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2013/11/08 08:33:53 UTC

Re: XML Validation bug in examples and documentation

You mean in the source code of those apps?

I have checked the source and looks ok.

2013/10/31 Antonio Sánchez <ju...@gmail.com>:
> "Preparable" and "exclude parameters" examples (at least) in:
>
> http://struts.apache.org/release/2.3.x/docs/getting-started.html
>
> <param name="expression"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
>
> should be
>
> <param name="regex"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
>
> Documentation:
>
> http://struts.apache.org/release/2.3.x/xwork-core/apidocs/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.html
> http://struts.apache.org/development/2.x/xwork-core/apidocs/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.html
> http://struts.apache.org/release/2.3.x/docs/regex-validator.html
>
> states
>
> Parameters: ... regexp - The RegExp expression
>
> should be
>
> regex instead of regexp.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

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


Re: XML Validation bug in examples and documentation

Posted by Antonio Sánchez <ju...@gmail.com>.
Fix reported in other thread:

http://markmail.org/search/?q=Struts%202%20Examples%20Updated%20list%3Aorg.apache.struts.users%2F#query:Struts%202%20Examples%20Updated%20list%3Aorg.apache.struts.users%2F+page:1+mid:yrlc7rpnqrdyabjb+state:results

El 08/11/2013 01:33 a.m., Lukasz Lenart escribió:
> You mean in the source code of those apps?
>
> I have checked the source and looks ok.
>
> 2013/10/31 Antonio Sánchez <ju...@gmail.com>:
>> "Preparable" and "exclude parameters" examples (at least) in:
>>
>> http://struts.apache.org/release/2.3.x/docs/getting-started.html
>>
>> <param name="expression"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
>>
>> should be
>>
>> <param name="regex"><![CDATA[\d{3}-\d{3}-\d{4}]]></param>
>>
>> Documentation:
>>
>> http://struts.apache.org/release/2.3.x/xwork-core/apidocs/com/opensymphony/xwork2/validator/validators/RegexFieldValidator.html
>> http://struts.apache.org/development/2.x/xwork-core/apidocs/com/opensymphony/xwork2/validator/annotations/RegexFieldValidator.html
>> http://struts.apache.org/release/2.3.x/docs/regex-validator.html
>>
>> states
>>
>> Parameters: ... regexp - The RegExp expression
>>
>> should be
>>
>> regex instead of regexp.
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


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