Robert Scholte created MCOMPILER-438:
----------------------------------------
Summary: Chained (consumer) XMLFilters can result in "floating"
comments
Key: MCOMPILER-438
URL: https://issues.apache.org/jira/browse/MCOMPILER-438
Project: Maven Compiler Plugin
Issue Type: Bug
Reporter: Robert Scholte
Assignee: Robert Scholte
Discovered while working on MNG-6957: I wanted to do the following:
{code:xml}
<modules>
<module>Z</module>
<module>A</module> <!-- on purpose in reverse order -->
</modules>
{code}
The ModulesXMLFilterTest contains tests related to comments, but when filters
are changed, the lexicalHandlers are not chained correctly.
The result: cleaned up modules, but leaving a comment behind.
{code:xml}
<!-- on purpose in reverse order -->
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)