The following comment has been added to this issue:

     Author: dion gillard
    Created: Tue, 5 Aug 2003 3:19 AM
       Body:
Can you please provide a test project that shows this error.

We have a couple of project.xmls in maven with latin chars in them,
e.g. the Simian plugin, and they work fine.
---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-336


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-336
    Summary: xdoc crashes when generating docs for a POM with latin1 chars
       Type: Bug

     Status: Unassigned
   Priority: Critical

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-xdoc
   Fix Fors:
             1.0-rc1
   Versions:
             1.0-beta-9

   Assignee: 
   Reporter: Paulo Silveira

    Created: Mon, 17 Mar 2003 4:59 PM
    Updated: Mon, 4 Aug 2003 11:37 AM
Environment: cygwin and cme.exe tested.

Description:
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. This will probably happen with german umloud and other chars.

xdoc has a maven.docs.outputencoding, but ISO-8859-1 is already the default value.

error generated:
---------->
    [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
<----------
snippet from the POM:
---------->
<?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>
<---------


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to