I am facing a peculiar problem.
If I use an xml file created by Castor Marshaller, for unmarshalling by
Castor, it shows InstantiationException for java.util.List
Same thing if I pass as InputStream to Castor Unmarshaller it says
ValidationException: element "value" occurs more than once. (parent class:
org.exolab.castor.mapping.MapItem)

I believe the problem is with following mapping element in my file...


                        
                                
                                        
                                        
                                
                        


Here the Collection for Policy  object in the Java file is List.....

But Marshalling by Castor is working fine.
-- 
View this message in context: 
http://old.nabble.com/UnmarshalException-for-xml-created-by-Castor-Marshaller-tp31097277p31097277.html
Sent from the Castor - User mailing list archive at Nabble.com.

Reply via email to