Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6999

Chained (consumer) XMLFilters can result in "floating" comments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-2, 4.0.0
    • None
    • None

    Description

      Discovered while working on MNG-6957: I wanted to do the following:

      <modules>
        <module>Z</module>
        <module>A</module> <!-- on purpose in reverse order -->
      </modules>
      

      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.

      <!-- on purpose in reverse order -->
      

       

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              rfscholte Robert Scholte
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: