Hello Don't you think , It could be a risk , using xml validation when the file properties have changed ? ( see also validator type="regex" : param name is regex , not expression in archives )
Another example : Struts 2's XML validation methodology with regex ( Control_Tags_Struts_2_Mvn_2_3_1_2.zip ) http://code.google.com/p/struts2-examples/downloads/detail?name=Control_Tags_Struts_2_Mvn_2_3_1_2.zip&can=2&q= Control Tags Struts 2 Version 2.3.1.2 and Maven Build Feb 2012 I don't know if it's useful, but the 2.3.1.2 example doesn't work now with "expression" and "xwork-validator-1.0.2.dtd" But this example ( Control_Tags_Struts_2_Mvn_2_3_1_2.zip ) is not contained in the examples named asf - Revision Changing "expression" to "regex" in this another example is not enough. ( EditAction-validation.xml ) The cause is in the EditAction-validation.xml file , see head doctype. The referenced entity at "http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd". is not or no more valaible. I changed it in <!DOCTYPE validators PUBLIC "-//Apache Struts//XWork Validator 1.0.3//EN" "http://struts.apache.org/dtds/xwork-validator-1.0.3.dtd"> and I changed "expression" in "regexp" for personBean.phoneNumber And it works. Regards, Chris