As per the dtd, global attributes should come first and formset later..

Move the global tags before formset and this should fix it.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com


----- Original Message ----- From: "Tom Jerry" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, September 19, 2006 12:10 PM
Subject: validation - form set


why do I get this error ?

SEVERE: Parse Error at line 87 column 19: The content of element type
"form-validation" must match "(global*,formset*)".
org.xml.sax.SAXParseException: The content of element type "form-validation"
must match "(global*,formset*)".

<form-validation>

   <formset>
       <form name="loginForm">
           <field property="username"
                  depends="required">
                  <arg key="LoginForm.username"/>
           </field>
           <field property="password"
                  depends="required">
                  <arg key="LoginForm.password"/>
           </field>
       </form>
   </formset>

  <global></global>
</form-validation>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to