You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:02 UTC

[jira] [Updated] (MNG-6999) Chained (consumer) XMLFilters can result in "floating" comments

     [ https://issues.apache.org/jira/browse/MNG-6999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated MNG-6999:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> Chained (consumer) XMLFilters can result in "floating" comments
> ---------------------------------------------------------------
>
>                 Key: MNG-6999
>                 URL: https://issues.apache.org/jira/browse/MNG-6999
>             Project: Maven
>          Issue Type: Bug
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> 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.20.10#820010)