These pages help you: http://www.penguin-soft.com/penguin/developer/struts/userGuide/dev_validator.html http://wiki.apache.org/jakarta-commons/ValidatorXmlFile
The error is telling you that the 'arg0' should not be put there, maybe there is something wrong, hope those pages help you. -Cesar PS Found those pages while googling for "struts validatior dtd" ----- Original Message ---- From: rapsy <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Thursday, October 4, 2007 12:02:11 PM Subject: Re: Struts validation error on Jdeveloper 10.1.3.3 I don't think that matters but I gave a try just in case. The error message is now changed to: (Error) Invalid element 'arg0' in content of 'field', expected elements '[msg, arg, var]'. Thanks for your reply! Cesar Arevalo wrote: > > Hey Rapsy, > > just a quick thought, shouldn't the arguments start at index 0? this > meaning that you should have > > <arg0 name="floatRange" key="${var:min}" resource="false"/> > <arg1 name="floatRange" key="${var:max}" resource="false"/> > > ?? > > -Cesar > > > ----- Original Message ---- > From: rapsy <[EMAIL PROTECTED]> > To: user@struts.apache.org > Sent: Thursday, October 4, 2007 11:27:27 AM > Subject: Struts validation error on Jdeveloper 10.1.3.3 > > > > Hi, > > I am using struts 1.3.8 for my application. I am using Oracle Jdeveloper > IDE > ver 10.1.3.3.0. > I have created the following validation in validation.xml file. > > <field property="size" depends="floatRange"> > <msg name="floatRange" key="error.SizeRange" /> > <arg1 name="floatRange" key="${var:min}" resource="false"/> > <arg2 name="floatRange" key="${var:max}" resource="false"/> > <var><var-name>min</var-name><var-value>0</var-value></var> > > <var><var-name>max</var-name><var-value>999999999</var-value></var> > </field> > > When I run my application on JDeveloper I get the following list of > errors. > (Error) Invalid element 'arg1' in content of 'field', expected elements > '[msg, arg, var]'. > (Error) Element 'arg1' used but not declared. > XML-20137: (Error) Attribute 'name' used but not declared. > > Can someone tell me why I am getting these errors? Thank you! > > > > -- > View this message in context: > http://www.nabble.com/Struts-validation-error-on-Jdeveloper-10.1.3.3-tf4570539.html#a13045841 > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-validation-error-on-Jdeveloper-10.1.3.3-tf4570539.html#a13046682 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]