commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <heg...@med.uni-marburg.de>
Subject Re: How to get the entire string with Configuration.getString
Date Wed, 30 Mar 2005 09:22:29 GMT
You have hit a known limitation: The configuration interprets the "," as 
a property delimiter and inserts two values for this key. For more 
details see here:

http://issues.apache.org/bugzilla/show_bug.cgi?id=29716

So config.getString("scc[@task_expression](0)") will return the first 
part of the expression and config.getString("scc[@task_expression](1)") 
the part behind the ",".

Oliver

Zsolt Koppany wrote:
> Hi,
> 
> Configuration (XmlConfiguration) getString returns "(^|\\s)#([1-9][0-9]{3" 
> for config.getString("scc[@task_expression]"). How can I get the entire
> String?
> 
> <scc task_expression="(^|\\s)#([1-9][0-9]{3,})" />
> 
> I use 1.1RC2.
> 
> Zsolt
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message