XML report created with wrong encoding
--------------------------------------

                 Key: MTAGLIST-40
                 URL: http://jira.codehaus.org/browse/MTAGLIST-40
             Project: Maven 2.x Taglist Plugin
          Issue Type: Bug
    Affects Versions: 2.3
            Reporter: Harald Gross
         Attachments: patch.txt

The XML report in taglist.xml will always be created with encoding UTF-8 
mentioned in the header, but the real file encoding depends on the specified 
encoding.

In our environment we created files using the encoding 8859-1 with german 
umlauts. In the pom we specify this encoding and the files are correctly read 
and the tags will be found.
The report will be created in the same encoding and contain the umlauts, but 
the header mentions UTF-8. A processing of this file is not possible.

This happens, because the TagListReport uses the encoding to create the file, 
but does not set the encoding on the report. The report therefore writes UTF-8.
To fix it the encoding has to be set on the report itself, too. This will cause 
the header to contain the encoding of the file and it can be processed 
afterwards.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to