>but I'm not using the validation.xml

Remove the loading of the validation xml from the struts-config.xml or the
web.xml whereever you set it to load from.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 9:51 AM
To: Struts Users Mailing List
Subject: XML Parse Error in Validation.xml


Hi all

I'm using the 1.2.4 distribution of Struts (upgraded from 1.2.2
because of the known issues). I'm using the distribution exactly as it
came, and I see that validation.xml is causing problems. I'm getting
the following error.

It's pretty obvious why this is happening as all the elements aren't
present in the sample, but I'm not using the validation.xml and I
don't want to see this error in the log.

what's the best way to simply suppress this error? It's a minor thing,
but it's annoying.

thoughts? 

DJ

INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Sep 29, 2004 7:14:38 AM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 45 column 15: The content of element type
"formset" is incomplete, it must match "(constant*,form+)".
org.xml.sax.SAXParseException: The content of element type "formset"
is incomplete, it must match "(constant*,form+)".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)

---------------------------------------------------------------------
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]

Reply via email to