Unable to parse XML Findbugs report when errors are reported on java code using 
generics
----------------------------------------------------------------------------------------

                 Key: MFINDBUGS-93
                 URL: http://jira.codehaus.org/browse/MFINDBUGS-93
             Project: Maven 2.x FindBugs Plugin
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Olivier Gaudin



Here is an extract of the findbugs.xml file generated by the Maven Findbugs 
plugin when analyzing the Apache commons VFS project :

{code}
<Errors>
<AnalysisError>Error analyzing public static 
org.apache.commons.httpclient.HttpClient 
createConnection(org.apache.commons.vfs.provider.http.HttpFileSystemConfigBuilder
 builder, String scheme, String hostname, int port, String username, String 
password, org.apache.commons.vfs.FileSystemOptions fileSystemOptions)
                throws org.apache.commons.vfs.FileSystemException for 
unconditional deref training </AnalysisError>
<AnalysisError>Error analyzing public void 
<init>(org.apache.commons.httpclient.methods.GetMethod method)
                throws java.io.IOException for unconditional deref training 
</AnalysisError>
{code}

As the source code contains the "<init>" tag, the XML is obviously corrupted.

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