public void endPrefixMapping(String prefix) throws SAXException {
   super.endPrefixMapping(prefix);
   nsSupport.popContext();
 }
  public void startDocument() throws SAXException {
    super.startDocument();

    nsSupport.reset();
    enabledExtensions.clear();
  }
 public void startPrefixMapping(String prefix, String uri) throws SAXException {
   super.startPrefixMapping(prefix, uri);
   nsSupport.pushContext();
   nsSupport.declarePrefix(prefix, uri);
 }
 public void setDocumentLocator(Locator locator) {
   super.setDocumentLocator(locator);
   this.locator = locator;
 }