commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <>
Subject [Configuration] Problems with properties containing integers in the name
Date Wed, 11 Feb 2004 13:27:50 GMT
I've tried to use the configuration component but ran into the following
I wanted to export a configuration (stored in a .properties file) to an xml.
The problem is that i had some properties like this:

Two problems arose:
 * the xml syntax does not support tag beginning by a numeric character,
   so the <1>, <2> tags are not valid
 * my list of properties contained more than 10 items and the subset method
   returned bad things. The subset method does not check for a '.' at the
   end of the prefix, so that xxx.yyy.10.zzz was returned when asking for a
   beginning with 'xxx.yyy.1'.


Guillaume Nodet

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message