Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1832

XMLParser: remove method on NodeList returns true (success). But, Node is not removed.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0
    • 1.1-rc-1
    • XML Processing
    • None
    • Windows XP. Eclipse 3.2.

    Description

      Using XMLParser:

      node.nodelist.remove(o) returns true. But node is not removed.

      I think the node.nodelist.remove(o) syntax is preferred to o.parent().value.remove(o) which does work.

      Attachments

        1. XmlParserRemoveTest.groovy
          0.6 kB
          Ricky Gomez

        Activity

          People

            paulk Paul King
            rickygomez Ricky Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: