A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/3884 below:

[core] XML report via ant task contains XML header twice · Issue #3884 · pmd/pmd · GitHub

Affects PMD Version:
6.44.0

Description:
After upgrade to the new version (6.44.0) the xml report (via ant task) contains the header twice (nested).
Btw. previous version (6.43.0) was working as expected :-)

Ant task like this

<pmd shortFilenames="true">
	<sourceLanguage name="java" version="1.8" />
	<ruleset>ruleset</ruleset>
	<formatter type="xml" toFile="pmd.xml" />
	<fileset dir="src">
		<include name="**/*.java" />
	</fileset>
</pmd>

XML report starts like this

<?xml version="1.0" encoding="UTF-8"?>
<pmd xmlns="http://pmd.sourceforge.net/report/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/report/2.0.0 http://pmd.sourceforge.net/report_2_0_0.xsd" version="6.44.0" timestamp="2022-03-31T12:48:36.260"<?xml version="1.0" encoding="UTF-8"?>>
<pmd xmlns="http://pmd.sourceforge.net/report/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/report/2.0.0 http://pmd.sourceforge.net/report_2_0_0.xsd" version="6.44.0" timestamp="2022-03-31T12:48:36.281">

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4