I believe you saw the un-updated post. I have updated it with the code snippet.
Werner Guttmann-6 wrote: > > Hi, > > looks like your mapping XML didn't make it through the various (spam) > filters .. ;-). > > Regards > Werner > > On 08.03.2011 14:54, avner21J wrote: >> >> 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. > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://old.nabble.com/UnmarshalException-for-xml-created-by-Castor-Marshaller-tp31097277p31098364.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

