@Override
public void parse(InputSource input) throws SAXException {
if(input instanceof DOMInputSource) {
Node node = ((DOMInputSource) input).getNode();
if(contentHandler != null && contentHandler.getClass() == SAXUnmarshallerHandler.class){
((SAXUnmarshallerHandler)contentHandler).setUnmarshalNamespaceResolver(new StackUnmarshalNamespaceResolver());
}
parse(node);
}
}