You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The class org.springframework.oxm.castor.CastorMarshaller is unable to unmarshal XML to Java unless a mapping file is used. Typically a mapping file is NOT used with Castor when using Castor-generated Java classes (generated from an XML schema).
The method org.exolab.castor.xml.Unmarshaller.unmarshal(Class clazz) should be used when the class type is specified.
Affects: 1.0 M1
The text was updated successfully, but these errors were encountered:
I will add a targetClass property to the CastorMarshaller, just like with the JibxMarshaller. That does mean, however, that the CastorMarshaller is tied to a specific class, and you would need to configure multiple marshallers for multiple classes.
Shannon Kendrick opened SWS-33 and commented
The class org.springframework.oxm.castor.CastorMarshaller is unable to unmarshal XML to Java unless a mapping file is used. Typically a mapping file is NOT used with Castor when using Castor-generated Java classes (generated from an XML schema).
The method org.exolab.castor.xml.Unmarshaller.unmarshal(Class clazz) should be used when the class type is specified.
Affects: 1.0 M1
The text was updated successfully, but these errors were encountered: