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

Receiving String when expecting groovy.util.Node

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.0.5
    • Fix Version/s: None
    • Component/s: XML Processing
    • Labels:
      None
    • Environment:
      Groovy Version: 2.0.5 JVM: 1.7.0_07 Vendor: Oracle Corporation OS: Mac OS X

      Description

      XmlParserFactory.getXmlParser().parseText(webpage).depthFirst().find {
      assert (it instanceof groovy.util.Node)
      }

      it is sometimes a String instead of a groovy.util.Node

        Attachments

        1. 2012.html
          20 kB
          Yamir Encarnacion
        2. XmlParserTests.groovy
          0.9 kB
          Yamir Encarnacion

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              yencarnacion Yamir Encarnacion

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment