code: public void fireSaxStartElement(ContentHandler h, Attributes attrs)
          throws SAXException
      {
          if (h != null) {
              // First; any ns declarations?
              int nsCount = mElementStack.getCurrentNsCount();
              for (int i = 0; i < nsCount; ++i) {
                  String prefix = mElementStack.getLocalNsPrefix(i);
                  String uri = mElementStack.getLocalNsURI(i);
                  h.startPrefixMapping((prefix == null) ? "" : prefix, uri);
              }
  
              // Then start-elem event itself:
              String uri = mElementStack.getNsURI();
              // Sax requires "" (not null) for ns uris...
              h.startElement((uri == null) ? "" : uri,
                             mElementStack.getLocalName(), getPrefixedName(), attrs);
          }
      }
docs: /*
  /////////////////////////////////////////////////////////////////////
  Support for SAX XMLReader implementation
  /////////////////////////////////////////////////////////////////////