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

Paul King updated GROOVY-8510:
------------------------------
    Issue Type: Improvement  (was: Dependency upgrade)

> Safe number parsing methods for more convenient XML parsing
> -----------------------------------------------------------
>
>                 Key: GROOVY-8510
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8510
>             Project: Groovy
>          Issue Type: Improvement
>          Components: XML Processing
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2, 2.5.0-rc-1, 2.6.0-alpha-4
>
>
> If the element content is empty or null the methods will return _null_
> This is now possible:
> {code:java}
> xml.'**'.find { it.name() == 'someEmptyBigDecimal' }?.toBigDecimal()
> {code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to