Jan,
<blushes> You are so right.. The viewer loads using
SpecialStatus.valueOf() which accepts the enum constants
NO_STATUS
WHITE_CANE
EXTENDED_MINORITY
WHITE_CANE_EXTENDED_MINORITY
YELLOW_CANE
YELLOW_CANE_EXTENDED_MINORITY
.. but writes it as a comma-separated list of
whitecane
yellowcane
extendedminority
which it cannot read..
I appartently introduced the easier-to-parse list but did not make
it consistent.. My apologies. I'll fix this, and I'll let you know
when and where to get the continuously-built version. It'll also
make it into the upcoming 4.1 release, then.
But this does not have to block your development: the viewers
currently in the field correctly read the enum constants from
SpecialStatus, so you can write those there, as in
http://code.google.com/p/eid-applet/source/browse/trunk/eid-applet-service/src/main/java/be/fedict/eid/applet/service/SpecialStatus.java#31
NO_STATUS
WHITE_CANE
EXTENDED_MINORITY
WHITE_CANE_EXTENDED_MINORITY
YELLOW_CANE
YELLOW_CANE_EXTENDED_MINORITY
What I'll do is change the XML output to use the same enum
constants instead of the comma-separated list.
If we do it like that, your code will immediately work with
current viewers as well as the fixed ones.
Ok for you?
-f