Groovy
  1. Groovy
  2. GROOVY-6621

groovy.util.Node#text incorrect when value is a NodeList

    Details

    • Flags:
      Patch

      Description

      When groovy.util.Node#text checks for it's value being an instance of Collection, it only accounts for String children elements, which means the text() values of Node children of a NodeList value will not be part of the result.

      Github PR with test case to follow.

        Activity

        Andy Hamilton created issue -
        Paul King made changes -
        Field Original Value New Value
        Assignee Paul King [ paulk ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Paul King made changes -
        Labels breaking
        Paul King made changes -
        Component/s XML Processing [ 12201 ]
        Paul King made changes -
        Fix Version/s 2.3.0-beta-2 [ 20226 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12735532 ] Default workflow, editable Closed status [ 12746703 ]
        Mark Thomas made changes -
        Patch Submitted Yes [ 10763 ]
        Flags Patch [ 10430 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12972470 ] Default workflow, editable Closed status [ 12980229 ]

          People

          • Assignee:
            Paul King
            Reporter:
            Andy Hamilton
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development