Comments (4)
it will be nice to ignore this with warning, and dont fail site build
[INFO] Generating "Allure" report --- allure-maven-plugin:1.3.2
Error on line 34 column 106 of 72fae53f-bb73-4ab1-b1ba-24b9d04f8969-testsuite.xml:
SXXP0003: Error reported by XML parser: An invalid XML character (Unicode: 0x17) was found
in the element content of the document.
Recoverable error on line 23
FODC0002: org.xml.sax.SAXParseException; systemId:
file:/53300f3fe4b00fcb84262ae7/target/site/allure-maven-plugin/72fae53f-bb73-4ab1-b1ba-24b9d04f8969-testsuite.xml; lineNumber: 34; columnNumber: 106; An invalid XML character (Unicode: 0x17) was found in the element content of the document.
Error on line 72 column 106 of 9ff222fd-8def-4419-bca8-1237e9976ef8-testsuite.xml:
SXXP0003: Error reported by XML parser: An invalid XML character (Unicode: 0x17) was found
in the element content of the document.
Recoverable error on line 23
FODC0002: org.xml.sax.SAXParseException; systemId:
file:/53300f3fe4b00fcb84262ae7/target/site/allure-maven-plugin/9ff222fd-8def-4419-bca8-1237e9976ef8-testsuite.xml; lineNumber: 72; columnNumber: 106; An invalid XML character (Unicode: 0x17) was found in the element content of the document.
from allure1.
надо заюзать JTidy перед построением отчета. Сделаю в ближайшей версии
from allure1.
Quick workaround:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<argLine>
-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
</argLine>
<properties>
<property>
<name>listener</name>
<value>ru.yandex.qatools.allure.junit.AllureRunListener</value>
</property>
</properties>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>net.sourceforge.docbook-utils.maven-plugin</groupId>
<artifactId>maven-tidy-plugin</artifactId>
<version>1.0.0.beta-1</version>
<executions>
<execution>
<id>clean-report-files</id>
<phase>pre-site</phase>
<goals>
<goal>tidy</goal>
</goals>
</execution>
</executions>
<configuration>
<sourceDir>${project.build.directory}/site/allure-maven-plugin</sourceDir>
<jtidyConfiguration>
<property>
<name>input-xml</name>
<value>true</value>
</property>
<property>
<name>output-xml</name>
<value>true</value>
</property>
<property>
<name>input-encoding</name>
<value>UTF-8</value>
</property>
<property>
<name>output-encoding</name>
<value>UTF-8</value>
</property>
<property>
<name>indent</name>
<value>true</value>
</property>
</jtidyConfiguration>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-maven-plugin</artifactId>
<version>${allure.version}</version>
<configuration>
<allureResultsDirectory>${project.build.directory}/tidy/</allureResultsDirectory>
<outputDirectory>${project.build.directory}/site/allure-maven-plugin</outputDirectory>
</configuration>
</plugin>
</plugins>
</reporting>
from allure1.
see #190
from allure1.
Related Issues (20)
- Wrong test execution time in graph
- Demo report is down HOT 1
- Add new kind of parameter to exclude some parameters from historyId calculation
- Allure - result folder not cleaned HOT 6
- Duration time axis shown with repetitive time values HOT 12
- Exception in thread "main" javax.xml.bind.DataBindingException: javax.xml.bind.UnmarshalException
- Install problem
- [ERROR] Input directory should be not absolute for aggregate goal - TestNg,Maven,IDEA HOT 4
- How to add Stories when using nodejs project?. HOT 2
- How to show Red icon in Allure report, say when some test cases steps are failing HOT 2
- Allure-results for one test not for all suite
- invalid report using @Step, for multi-threaded execution of tests
- java.lang.NoClassDefFoundError: io/airlift/command/Cli HOT 2
- Wiki about "Allure+Commandline" not available HOT 1
- Allure Cucumber-jvm cannot generate html result, only json HOT 4
- Exception in thread "main" java.lang.StackOverflowError HOT 6
- Why allure2 did not have TestCaseId ? HOT 1
- https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.7.0/allure-2.7.0.zip is forbidden. Please fix this ASAP. HOT 1
- Failed to download https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.3/allure-2.3.zip HOT 1
- Can't add red icon or any text in step HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure1.