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

[jira] [Resolved] (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 ]

John Wagenleitner resolved GROOVY-7810.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.7

Merged PR, thanks!

> 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
>             Fix For: 2.4.7
>
>
> 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)