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

Tibor Digana closed SUREFIRE-1428.
----------------------------------
    Resolution: Not A Bug

Closing because this XML is created by TestNG library.

> Invalid XML characters in Params in testng-results.xml
> ------------------------------------------------------
>
>                 Key: SUREFIRE-1428
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1428
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: TestNG support
>    Affects Versions: 2.20.1
>            Reporter: Leon Blakey
>            Assignee: Tibor Digana
>
> The following test creates an invalid testng-results.xml file as the \u000C 
> is unescaped in the <value> tag. This breaks downstream tools like Jenkins
> {code:java}
> @DataProvider
> public Object[][] dataProvider() {
>       return new Object[][]{{
>               "test \u000C"
>       }};
> }
> @Test(dataProvider = "dataProvider")
> public void test(String argument) {
> }
> {code}
> * Surefire 2.20.1
> * TestNG 6.11



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to