struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: org.xml.sax.SAXParseException: The content of element type "package" must match
Date Thu, 02 Sep 2010 15:03:06 GMT
On 9/2/10 10:50 AM, Satheesh Kannan A B wrote:
> The content of element type "package" must match
> "(result-types?,interceptors?,default-interceptor-ref?,default-action-ref?,default-class-ref?,global-results?,global-exc
> eption-mappings?,action*)".

Means exactly what it says.  With a package tag, all result-types sub 
tags must precede all interceptors sub tags, must precede all 
default-interceptor-ref sub tags, etc.

In the xml you include you have global-results before interceptors, so 
it doesn't parse correctly.

-Dale

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


Mime
View raw message