Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
It would be good if an extra contructor would be added to XmlSlurper being
XmlSlurper(Map saxOptions = [:])
That can lead to something more expressive than the current 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)
source: http://groovy.329449.n5.nabble.com/XmlSlurper-and-XML-includes-tp5728340.html;cid=1444931370777-216