You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Jason Winnebeck (JIRA)" <ji...@apache.org> on 2016/04/05 22:15:25 UTC

[jira] [Updated] (GROOVY-7810) XmlSluper default constructor documentation about namespace aware incorrect.

     [ https://issues.apache.org/jira/browse/GROOVY-7810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Winnebeck updated GROOVY-7810:
------------------------------------
    Flags: Patch

> XmlSluper default constructor documentation about namespace aware incorrect.
> ----------------------------------------------------------------------------
>
>                 Key: GROOVY-7810
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7810
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.6
>            Reporter: Jason Winnebeck
>
> Here is the current implementation of XmlSlurper's default constructor as of 2.4.6:
> {code}
>     /**
>      * 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);
>     }
> {code}
> It clearly creates a namespace-aware slurper.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)