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

XmlSluper default constructor documentation about namespace aware incorrect.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.6
    • 2.4.7
    • None
    • None
    • Patch

    Description

      Here is the current implementation of XmlSlurper's default constructor as of 2.4.6:

          /**
           * Creates a non-validating and non-namespace-aware <code>XmlSlurper</code> which does not allow DOCTYPE declarations in documents.
           *
           * @throws ParserConfigurationException if no parser which satisfies the requested configuration can be created.
           * @throws SAXException for SAX errors.
           */
          public XmlSlurper() throws ParserConfigurationException, SAXException {
              this(false, true);
          }
      

      It clearly creates a namespace-aware slurper.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gillius Jason Winnebeck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: