Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7079817C2C for ; Sat, 9 Jan 2016 20:23:40 +0000 (UTC) Received: (qmail 83852 invoked by uid 500); 9 Jan 2016 20:23:40 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 83806 invoked by uid 500); 9 Jan 2016 20:23:40 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 83789 invoked by uid 99); 9 Jan 2016 20:23:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jan 2016 20:23:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E9D3F2C14F4 for ; Sat, 9 Jan 2016 20:23:39 +0000 (UTC) Date: Sat, 9 Jan 2016 20:23:39 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SUREFIRE-1216) TEST-*.xml files generated by Surefire are invalid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SUREFIRE-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090766#comment-15090766 ] ASF GitHub Bot commented on SUREFIRE-1216: ------------------------------------------ GitHub user mfriedenhagen opened a pull request: https://github.com/apache/maven-surefire/pull/110 SUREFIRE-1216: TEST-*.xml files generated by Surefire are invalid. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mfriedenhagen/maven-surefire SUREFIRE-1216 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/maven-surefire/pull/110.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #110 ---- commit 104ff2b71bd587fc08edbcc5e91fa1b20b1efccb Author: Mirko Friedenhagen Date: 2016-01-09T20:21:43Z SUREFIRE-1216: TEST-*.xml files generated by Surefire are invalid. ---- > TEST-*.xml files generated by Surefire are 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)