Am 13.10.2015 um 19:17 schrieb Schalk Cronjé:
Now slightly digressing ...

Looking at the above has made me think that it would actually be good if an extra contructor can be added to XmlSlurper being
XmlSlurper( Map saxOptions = [:] )
That can lead to something more expressive than the cirrent way of constructing options on XmlSlurper. It would also be more flexible should SAXParserFactory obtain additional setters in future releases of the JDK. As an example.

        new XmlSlurper( namespaceAware : true, xIncludeAware : true )

I like the idea, so I created https://issues.apache.org/jira/browse/GROOVY-7633 :)