//-- check for name mismatches
if (unmarshaller != null) {
if (!name.equals(unmarshaller.elementName())) {
String err = "missing end element for ";
err += unmarshaller.elementName();
throw new SchemaException(err);
}
}
if (SchemaNames.ANNOTATION.equals(name)) {
Annotation ann = (Annotation)unmarshaller.getObject();