Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
my xml:
<test> <test2> <bla value="5"> </test2> </test>
I created a class for "bla" with annotations and called xstream.processAnnotations( Bla.class) and then xstream.ignoreUnknownElements();
When i create an object input stream with
xstream.createObjectInputStream(new FileInputStream(file));
I immediately get an CannotResolveClassException: test
I've added an own unit test and it works as expected: https://fisheye.codehaus.org/changelog/xstream/?cs=2292
So, please attach an own one that demonstrates the problem.