maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Silveira" <pa...@paulo.com.br>
Subject RE: POM encoding problems
Date Sat, 15 Mar 2003 01:05:34 GMT
> 
> 
> Can you post the xml document fragment that has the latin1 
> chars in it?
for sure:

<?xml version="1.0"  encoding="ISO-8859-1"?>
<project>
  <pomVersion>1</pomVersion>
  <id>guj</id>
  <name>Grupo de Usuários Java</name>
  <currentVersion>1.1</currentVersion>
  <shortDescription>Website do Grupo de Usuários Java</shortDescription>
  ....
</project>

There is an "á" in project/name and another "á" in
project/shortDescription. I dont know if your email reader will show it
I ve tried encoding="ISO-8859-1", encoding="UTF-8". same results. I ve
tried to change the xdoc template, to be ISO-8859-1, but the strange
char is generate before, inside some String. The SAX parser should
create the chars using the xml defined encoding, why is this happening?

> 
> Thanks,
> 
> Ben
> 
> 
> 
> Paulo Silveira wrote:
> 
> >Hello again.
> >
> >my project name has "Usuários" (it has a latin1 char on it). When 
> >generating the site, the xdoc plugin creates a index.xml 
> (the one based 
> >on the template) that has "Usu (null/strange char goes 
> here)rios". I ve 
> >tried to change my POM to ISO-8859-1, but xdoc keeps generating the 
> >strange char. site:generate generates the error that follow 
> this email.
> >
> >in the task list, it says maven is now i18n, but I couldt 
> find anything 
> >in the manual.
> >
> >xdoc has a maven.docs.outputencoding, but ISO-8859-1 is already the 
> >default value.
> >
> >ps: van Zyl, the jar override feature worked fine, thanks, 
> and it is a 
> >better way than putting this info in the POM
> >
> >---------->
> >    [echo] Generating E:/eclipse/workspace/guj/target/docs/index.html
> >from E:\ec lipse\workspace\guj\target\generated-xdocs\index.xml
> >
> >BUILD FAILED
> >null:503:46: <attainGoal> null:300:43: <x:parse> Invalid byte 2 of 
> >3-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 
> 3-byte UTF-8 
> >sequence. Total time: 1 minutes 30 seconds
> >
> >------------------------
> >Paulo Silveira
> >http://www.paulo.com.br/
> >http://www.guj.com.br/
> > 
> >
> >  
> >
> >>-----Original Message-----
> >>From: Jason van Zyl [mailto:jason@zenplex.com]
> >>Sent: sexta-feira, 14 de março de 2003 19:48
> >>To: Turbine Maven Users List
> >>Subject: Re: ibiblio upload request: mail api (mail.jar) and 
> >>dependecy stuff
> >>
> >>
> >>On Fri, 2003-03-14 at 16:11, Paulo Silveira wrote:
> >>    
> >>
> >>>is it possible?
> >>>
> >>>http://java.sun.com/products/javamail/index.html
> >>>
> >>>maybe we need also activation.jar
> >>>      
> >>>
> >>Can't because of the license.
> >>
> >>    
> >>
> >>>It would be nice if we could configure the dependecy jar URI
> >>>like:
> >>>
> >>><dependency>
> >>>   ...
> >>>  <location>file:/libdir/</location>
> >>></dependency>
> >>>
> >>>or
> >>>
> >>><dependency>
> >>>   ...
> >>>  <location>http://java.sun.com/products/javamail/</location>
> >>></dependency>
> >>>      
> >>>
> >>You can do so now with the JAR override feature, RTM.
> >>
> >>    
> >>
> >>>------------------------
> >>>Paulo Silveira
> >>>http://www.paulo.com.br/
> >>>http://www.guj.com.br/
> >>> 
> >>>
> >>>
> >>>
> >>>
> >>>      
> >>>
> >>------------------------------------------------------------
> ---------
> >>    
> >>
> >>>To unsubscribe, e-mail:
> >>>turbine-maven-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: 
> >>>      
> >>>
> >>turbine-maven-user-help@jakarta.apache.org
> >>--
> >>jvz.
> >>
> >>Jason van Zyl
> >>jason@zenplex.com
> >>http://tambora.zenplex.org
> >>
> >>In short, man creates for himself a new religion of a
> >>rational and technical order to justify his work and to be 
> >>justified in it.
> >>  
> >>  -- Jacques Ellul, The Technological Society
> >>
> >>
> >>------------------------------------------------------------
> ---------
> >>To unsubscribe, e-mail:
> >>turbine-maven-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: 
> >>turbine-maven-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>    
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: 
> >turbine-maven-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: 
> turbine-maven-user-help@jakarta.apache.org
> >
> >
> >  
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> turbine-maven-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: 
> turbine-maven-user-help@jakarta.apache.org
> 
> 
> 



Mime
View raw message