Uploaded image for project: '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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: