groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Schumacher <pascalschumac...@gmx.net>
Subject Re: XmlSlurper and XML includes
Date Thu, 15 Oct 2015 17:52:05 GMT
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 :)

Mime
View raw message