Ok, hope this helps. Maybe some of the other brazilian/portuguese people can help.
(Let's keep the problem solving public! I might get run over by a tramway tomorrow). Aslak > -----Mensagem original----- > De: Aslak Helles�y [mailto:[EMAIL PROTECTED]] > Enviada em: segunda-feira, 27 de janeiro de 2003 13:59 > Para: Olivier - (JConcept / Cetip); [EMAIL PROTECTED] > Assunto: RE: [Xdoclet-user] Basic generation > > > Im not able to reproduce your problem on XDoclet 1.2b2, so we > need some more > info. You'll have to answer all of these 5 questions: > > 1) What version of XDoclet are you using? Olivier : 1.20 > > 2) Does this problem occur with international characters you > specify in > build.xml or in your @tags? Olivier : No. I do not use international character. My Windows (2000) is portuguese. > > 2) If you're specifying international characters in @tags, > are you using > Unicode characters? For example if you want "b�b�", are you using: > > * description="b\u00e9b\u00e9" > > ? If yes, you must use the xjavadoc that understands unicode. > Get rid of > xdoclet-xjavadoc-1.2b2.jar and use > xdoclet-xjavadoc-uc-1.2b2.jar instead. > If you're just specifying international characters directly > in the code like > this: > > * description="b�b�" > > you can use the standard xdoclet-xjavadoc-1.2b2.jar > > 3) Did you tell XDoclet to output XML files with ISO-8859-1 encoding? > (http://xdoclet.sourceforge.net/ant/xdoclet/modules/ejb/dd/Ejb > DotXmlSubTask. > html) > Olivier : No. I can try. > 4) Does your build.xml have > <?xml version="1.0" encoding="ISO-8859-1"?> > > on the 1st line? Olivier : No. I am going to try > > 5) How do you specify (in your build.xml) the "Sem Descri..." > and "Gerado > pelo XDoclet"? > Olivier : There is no place where i specify this! But it appears in the XML. > Aslak Olivier : Thank you. I am going to try what you suggest. > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf > Of Olivier - > > (JConcept / Cetip) > > Sent: 27. januar 2003 16:01 > > To: '[EMAIL PROTECTED]' > > Subject: [Xdoclet-user] Basic generation > > > > > > > > Hi XDoclet users, > > > > I have problem while generating the description descriptors... I > > don't know > > how to generate the tags <description> and <display-name> > of the <ejb-jar> > > tag with the content i want. Tags are generated with > non-UTF8 characters > > which avoid me having an automatic process... > > > > Here is my java source with XDoclet tags > > > > > > /** Bean de benchmarks > > * > > * @ejb:bean > > * type="Stateless" > > * name="BusinessBean" > > * jndi-name="benchmarks.ejb.BusinessBean" > > * display-name="BusinessBean" > > * description="My description" > > > > * @ejb.interface > > * remote-class="benchmarks.ejb.BusinessRemote" > > * generate="remote" > > * > > * @ejb.home > > * remote-class="benchmarks.ejb.BusinessHome" > > * generate="remote" > > * > > * BusinessBeanJDoc > > * > > * > > */ > > > > public class BusinessBean implements SessionBean { > > > > > > ... > > > > } > > > > > > And here is the generated XML : > > > > ... > > <ejb-jar > > > > > <description><![CDATA[Sem Descri?.]]></description> > > <display-name>Gerado pelo XDoclet</display-name> > > > > <enterprise-beans> > > > > <!-- Session Beans --> > > <session > > > <description><![CDATA[My description]]></description> > > <display-name>BusinessBean</display-name> > > > > <ejb-name>BusinessBean</ejb-name> > > > > <home>benchmarks.ejb.BusinessHome</home> > > <remote>benchmarks.ejb.BusinessRemote</remote> > > > <local-home>benchmarks.ejb.BusinessBeanLocalHome</local-home> > > <local>benchmarks.ejb.BusinessBeanLocal</local> > > <ejb-class>benchmarks.ejb.BusinessBean</ejb-class> > > <session-type>Stateless</session-type> > > <transaction-type>Container</transaction-type> > > > > </session> > > ... > > > > > > As you can see, description tag has ![CDATA[Sem Descri... With a > > non -UTF 8 > > character... > > > > Some knows how to resolve it ?/ > > > > > > Thanks > > Olivier. > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
