[Simple-support] deserialize with attribute name="class"
Brought to you by:
niallg
|
From: <mic...@is...> - 2008-09-07 01:13:08
|
Hi,
I am trying to serialize/deserialize with Simple 1.7.2
when I use something like:
@Attribute(name="class")
String name_of_class;
then persisting into xml works. However when I try
to deserialize xml file then I get:
Exception in thread "main" java.lang.ClassNotFoundException: ...
if I change to:
@Attribute(name="clazz")
String name_of_class;
then it is possible to serialize/deserialize without any problems
It looks like a bug to me.
Michal
|