maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mirko Friedenhagen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SUREFIRE-1216) TEST-*.xml files generated by Surefire is invalid
Date Sat, 09 Jan 2016 20:14:39 GMT

     [ https://issues.apache.org/jira/browse/SUREFIRE-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mirko Friedenhagen updated SUREFIRE-1216:
-----------------------------------------
    Description: 
See SUREFIRE-964 as well. The XML produced is invalid because {{schemaLocation}} *must* include
two URIs, as outlined in [xmlschema-1|http://www.w3.org/TR/xmlschema-1/#schema-loc].

Because of this, the Xerces parser fails in the Jenkins XUnit plugin and e.g. IntelliJ is
not able to parse the file correctly.

Suggested solution is to replace {{xsi:schemaLocation}} by {{xsi:noNamespaceSchemaLocation}},
which fixes this for the Unit plugin as well the file is parseable by IntelliJ.

  was:
See SUREFIRE-964 as well. The XML produced is invalid because {{schemaLocation}} *must* include
two URIs.

Because of this, the Xerces parser fails in the Jenkins XUnit plugin and e.g. IntelliJ is
not able to parse the file correctly.

Suggested solution is to replace {{xsi:schemaLocation}} by {{xsi:noNamespaceSchemaLocation}},
which fixes this for the Unit plugin as well the file is parseable by IntelliJ.


> TEST-*.xml files generated by Surefire is invalid
> -------------------------------------------------
>
>                 Key: SUREFIRE-1216
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1216
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Plugin
>    Affects Versions: 2.19.1
>            Reporter: Mirko Friedenhagen
>            Assignee: Tibor Digana
>             Fix For: 2.19.2
>
>
> See SUREFIRE-964 as well. The XML produced is invalid because {{schemaLocation}} *must*
include two URIs, as outlined in [xmlschema-1|http://www.w3.org/TR/xmlschema-1/#schema-loc].
> Because of this, the Xerces parser fails in the Jenkins XUnit plugin and e.g. IntelliJ
is not able to parse the file correctly.
> Suggested solution is to replace {{xsi:schemaLocation}} by {{xsi:noNamespaceSchemaLocation}},
which fixes this for the Unit plugin as well the file is parseable by IntelliJ.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message