You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2020/10/16 18:05:00 UTC

[jira] [Created] (MCOMPILER-438) Chained (consumer) XMLFilters can result in "floating" comments

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)