Skip to content

CastorMarshaller is missing a way to specify the Castor-generated class to use during unmarshalling. [SWS-33] #192

Closed
@gregturn

Description

@gregturn

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions