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

XmlSluper default constructor documentation about namespace aware incorrect.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.6
    • Fix Version/s: 2.4.7
    • Component/s: None
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: