Hello Sankalita,
can I ask you to provide *reduced* parts of the XML document, you are trying to
unmarshal (including important parts of the schema) so that I can reconstruct
your exception? Which version of Castor do you use?
Regards,
Lukas
Sankalita schrieb:
> Hello,
>
> I'm getting the following marshall exception with Castor.
> Exception: org.exolab.castor.xml.MarshalException: element
> "IntegerValue" occurs more than once. (parent class:
> plexil.ArgumentsItem)
> location:
> /_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/_items/IntegerValue{File:
> [not available]; line: 480; column: 102}
> [Ljava.lang.StackTraceElement;@1546dbc
>
> It seems like it's triggered here:
>
> PlexilPlan root = (PlexilPlan)
> Unmarshaller.unmarshal(PlexilPlan.class, reader);
>
> All the arguments to the function are valid. The xml schema allows for
> multiple occurrences of "IntegerValue".
>
> Any insight would be very helpful.
>
> Thanks,
> Sankalita
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email