Thanks Andrew I think you are right.
I've tried to change the encoding of the jboss-beans.xml and of the
jboss.xml from UTF-8 to ISO-8859-1 and it still doesn't work.
I don't really understand what's going on; I think it might be some
problems with the <jboss/> tag because the same environment with the
<weblogic/> tag works.

Ciao E.P.

2008/2/17, Andrew Stevens <[EMAIL PROTECTED]>:
> On Fri, 2008-02-15 at 09:56 +0100, Emilio Prato wrote:
> > I'm using xdoclet 1.2.3, ant 1.6.2, jdk 1.5.
> > I wand to include the definition of a bean witch is not processed with
> > the tags to the jboss.xml. Here is the ant build file fragment:
> >
> >
> >       <jboss version="4.0" mergeDir="${ejb.conf.dir}"
> >                  xmlencoding="UTF-8"
> >                  destDir="${ejb.gen.dir}/META-INF"
> >                  validateXML="true"
> >       />
> >
> > and here is how it looks the jboss-beans.xml:
> >
> >       <session>
> >               <ejb-name>PA_STASv2-SO_RicercaService</ejb-name>
> >               <jndi-name>stasv2/so/ejb/RicercaFCDSBPA</jndi-name>
> >       </session>
> >
> > and finally here is a fragment of the jboss.xml that I get:
> >
> >   <enterprise-beans>
> >
> >   
> >       <session>
> >               <ejb-name>PA_STASv2-SO_RicercaService</ejb-name>
> >               <jndi-name>stasv2/so/ejb/RicercaFCDSBPA</jndi-name>
> >       </session>
> >
> >      [.....]
> >
> >    </enterprise-beans>
> >
> >
> > the problem is the invalid character sequence [].
> > If I exclude the merge bean definition (e.g. I rename the
> > jboss-beans.xml) everythink works well.
> > How comes?
>
> What encoding is your merge file saved in?  I'm thinking the invalid
> character might be a UTF-8 byte order marker at the start of the merge
> file, which is then being treated as character data in the combined file
> (making it invalid according to the DTD).
>
>
> Andrew.
> --
> http://pseudoq.sourceforge.net/  Open source java Sudoku application
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> xdoclet-user mailing list
> xdoclet-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to