You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/05/24 13:25:00 UTC
[jira] [Closed] (SUREFIRE-2165) TestSuiteXmlParser does not capture text per element causing concatenated text produced
[ https://issues.apache.org/jira/browse/SUREFIRE-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed SUREFIRE-2165.
------------------------------------
Resolution: Fixed
Fixed with [c49b2b728f8146b6dbfce848813b7ce809d94c7c|https://gitbox.apache.org/repos/asf?p=maven-surefire.git&a=commit&h=c49b2b728f8146b6dbfce848813b7ce809d94c7c].
> TestSuiteXmlParser does not capture text per element causing concatenated text produced
> ---------------------------------------------------------------------------------------
>
> Key: SUREFIRE-2165
> URL: https://issues.apache.org/jira/browse/SUREFIRE-2165
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 3.1.1
>
>
> {{TestSuiteXmlParser}} uses a SAX visitor approach to extract data, some elements contain text. If then string builder is not reset on all elements which contain text, the builder will contain concatenated text from previous elements which results in non-sense.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)