maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MDOCCK-10) Use proper file encoding when checking site descriptor
Date Sun, 18 May 2008 10:57:27 GMT

    [ http://jira.codehaus.org/browse/MDOCCK-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135298#action_135298
] 

Dennis Lundberg commented on MDOCCK-10:
---------------------------------------

I've implemented a fix for this by replacing the above code with the following:

{code:java}
String siteHtml = IOUtil.toString( ReaderFactory.newXmlReader( siteXml ) );
{code}

and added a dependency on plexus-utils-1.4.5 and bumped the Maven prerequisite to 2.0.6.

Is that enough to fix this issue?

> Use proper file encoding when checking site descriptor
> ------------------------------------------------------
>
>                 Key: MDOCCK-10
>                 URL: http://jira.codehaus.org/browse/MDOCCK-10
>             Project: Maven 2.x Documentation Checker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-beta-2
>            Reporter: Benjamin Bentmann
>
> This is not working reliably:
> {code:java}
>                 String siteHtml = FileUtils.fileRead( siteXml.getAbsolutePath() );
> {code}
> See also [Common Bugs|http://www.nabble.com/Common-Bugs-to14783703s177.html#a15919795].

-- 
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

        

Mime
View raw message