commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghunathan Semburakkiannan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONFIGURATION-545) if attribute value contains , (comma), it returns arrayList instead of string
Date Tue, 04 Jun 2013 20:39:20 GMT

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

Raghunathan Semburakkiannan resolved CONFIGURATION-545.
-------------------------------------------------------

    Resolution: Implemented

It worked like a champ. Thanks for the help.
                
> if attribute value contains , (comma), it returns arrayList instead of string
> -----------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-545
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-545
>             Project: Commons Configuration
>          Issue Type: Bug
>    Affects Versions: 1.7
>            Reporter: Raghunathan Semburakkiannan
>
> Hi 
> I've an xml element with an attribute 'name', it's value contains comma. If I access
this attribute it is returning List instead of String. Can you guys fix it?
> {code}
> Method:
> txnConfig.getProperty("stream(1)[@name]")
> <someRoot>
> <stream
>       name="some Release REL12973,CC#239487"
>       type="snapshot"
>       time="1342793128"
>       startTime="1342793128"/>
> ...
> ...
> <someRoot>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message