Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Sonar Scanner is failing saying XML file is not correctly formatted for golang plugin and not displaying results in sonarqube  #70

@Subhajit-Dutta

Description

@Subhajit-Dutta

Description

I am getting below error

NFO: Analyse for /home/dca-cm/coverage.xml
[Fatal Error] coverage-04.dtd:1:3: The markup declarations contained or pointed to by the document type declaration must be well-formed.
ERROR: Exception:
org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed.

I have verified coverage.xml in https://www.xmlvalidation.com and found no issue

sonar-golang-plugin-1.2.11----------> Golang plugin
sonarqube-6.3.1-----------------------> Sonarqube server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions