// ask config to resolve it
String typename = config.resolveToXML(toxmlMethod);
if (typename == null) {
cfg.addStatement(new UnknownStm(base, context.getCurrentOrigin()));
} else {
cfg.addStatement(new ValidateStm(base, null, context.parseSchemaType(typename, context.getCurrentOrigin()), context.getCurrentOrigin()));
}
return;
}
// assign base to the result of the ToXML method