@Override
public void endElement(String uri, String localName, String name) {
// Detect Extension object
EObject peekObject = objects.peek();
if (peekObject instanceof Extension) {
Extension extension = (Extension) peekObject;
if (extension.isMustUnderstand() && null != extension.getXsdDefinition()) {
loadExtensionSchema(extension.getXsdDefinition());
}
}
super.endElement(uri, localName, name);
}