Try
<?xml version="1.0" encoding="UTF-8"?>
<j:jelly xmlns:j="jelly:core">
        <plug-in>
       </plug-in>
       <plug-in>
       </plug-in>
<j:jelly>

Diogo

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Renato Duarte Soffiatto
Sent: quarta-feira, 22 de Junho de 2005 15:11
To: [email protected]
Subject: Re: [xdoclet-plugins-interest] StrutsConfigXML problem

Oh, I see... my bad.
But using <root> doesn't work either. The <root> is copied with the 
<plug-in> tag, so I get:
<struts-config>
    ...
    <root>
       <plug-in>
       </plug-in>
       <plug-in>
       </plug-in>
    </root>
</struts-config>

which, as expected, doesn't validate against the dtd...

Konstantin Priblouda wrote:

>--- Renato Duarte Soffiatto
><[EMAIL PROTECTED]> wrote:
>
>  
>
>>It doen't work... the root element of <plug-in> is
>>the root element of 
>>the document. If I add the <struts-config> in the
>>merge file, the result 
>>will be something like:
>>    
>>
>
>I meant:
><root>
>   <strus-plugin.../>
>   ...
></root>
>
>It must not be valid, it has to be well formed. 
>
>  
>
>>which is an invalid struts-config.
>>Being the merge file needed to be a valid xml file,
>>the Struts plugin 
>>should be aware that the <struts-plugin> in the
>>merge file is the same 
>><struts-config> of the document, and ignore it when
>>merging the 
>><plug-in> tags to the template.
>>
>>    
>>
>
>alternatively we could follow thi strategy...
>what would  you prefer?
>
>regards,
>
>----[ Konstantin Pribluda ( ko5tik ) ]----------------
>... Auf der Suche nach einen Projekt in Rhein-Main
>ab 18.4.2005
>----[ http://www.pribluda.de ]------------------------
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>
>-------------------------------------------------------
>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>from IBM. Find simple to follow Roadmaps, straightforward articles,
>informative Webcasts and more! Get everything you need to get up to
>speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
>_______________________________________________
>xdoclet-plugins-interest mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
>
>  
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to