Filippo Diotalevi wrote:
Are all the properties in a ConfigurationDictionary supposed to map
to String objects?
Specification wise, the configuration dictionary can contain a limited
set of types (the usual int, long, string and so on, plus vectors and
arrays), but I sort of expected that the Configuration Dictionary
received in this particular case contained exactly the properties
defined in the configuration file. It seems not to be the case!
I'll do some experiments tomorrow and submit a patch.
Many thanks!
Hi Filippo,
I've had a quick look at the Compendium R4, V4.1.
On Section 104.4.2 it reads:
/The value of the property may be of the following types:
type ::= simple | vector | arrays
simple ::= String | Integer | Long | Float | Double| Byte | Short |
Character | Boolean
primitive ::= long | int | short | char | byte | double | float | boolean
arrays ::= primitive ‘[]’ | simple ‘[]’
vector ::= Vector of simple
/
So, apart from this particular case with KF-specific properties, it
might still
be worth to be aware of 'simple' (not 'primitive') property types in the
Configuration Dictionary.
All of the above if I did understand correctly the specs,
which - knowing myself - is not guaranteed.
Thank you for your commitment.
--
Logo
Guido Spadotto
Soluta.net, Italy
http://www.soluta.net
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]