You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Graham <dg...@hotmail.com> on 2002/12/09 22:09:11 UTC

Re: Problem with plug-in tag for tiles in struts-config.xml. Wrong version of struts-config_1_X.dtd ??

Yes there is an order for all elements in struts-config.xml see the dtd 
spec. for details.

David






>From: Rémy Giard <rg...@cogiscan.com>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: struts-user@jakarta.apache.org
>Subject: Problem with plug-in tag for tiles in struts-config.xml.  Wrong 
>version of struts-config_1_X.dtd ??
>Date: Mon, 09 Dec 2002 16:03:51 -0500
>
>Hello,
>
>When i query a page for the first time since the server started, i got two
>errors :
>
>	9-Dec-2002 1:44:29 PM org.apache.commons.digester.Digester error
>	SEVERE: Parse Error at line 60 column 60: Element type "plug-in" must be
>declared.
>
>... and ...
>
>	9-Dec-2002 1:44:29 PM org.apache.commons.digester.Digester error
>	SEVERE: Parse Error at line 66 column 17: The content of element type
>"struts-config" must match "(data-sources?,form-
>beans?,global-forwards?,action-mappings?)".
>
>It seems that the struts-config is not linking to the appropriate
>struts-config_1_X.dtd file.  I looked in the struts-config_1_1.dtd file
>(which i specified in the struts-config.xml header) and it tells i can set 
>a
>plug-in tag for the struts-config tag of the struts-config.xml, so the file
>should be ok.  There is the header of my struts-config.xml file :
>
>	<!DOCTYPE struts-config PUBLIC
>           "-//Apache Software Foundation//DTD Struts Configuration 
>1.0//EN"
>           "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
>
>The plug-in tag :
>
>	<plug-in className="org.apache.struts.tiles.TilesPlugin" >
>		<set-property property="definitions-config"
>value="/WEB-INF/tiles-defs.xml" />
>		<set-property property="definitions-parser-validate" value="true" />
>		<set-property property="moduleAware" value="true" />
>	</plug-in>
>
>Do you have any clue ?
>Can you see anything wrong ??
>Is there an order for specifying the plug-in tag in struts-config.xml ??
>
>Thanks for your help !
>
>Rémy
>
>
>
>--
>To unsubscribe, e-mail:   
><ma...@jakarta.apache.org>
>For additional commands, e-mail: 
><ma...@jakarta.apache.org>


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>