This commit is contained in:
Arjen Poutsma
2008-08-28 22:23:15 +00:00
parent c064ad18fb
commit 73552ad7dc

View File

@@ -251,8 +251,8 @@ public class CastorMarshaller extends AbstractMarshaller implements Initializing
Mapping mapping = new Mapping();
for (int i = 0; i < mappingLocations.length; i++) {
mapping.loadMapping(SaxUtils.createInputSource(mappingLocations[i]));
context.addMapping(mapping);
}
context.addMapping(mapping);
}
if (targetClass != null) {
context.addClass(targetClass);