@Override
    public void endElement(String uri, String localName, String qName)
            throws SAXException {
        if (depth == 0) {
            contentHandler.endElement(uri, localName, qName);
        } else {
            depth--;
        }
    }
@see org.xml.sax.helpers.XMLFilterImpl#endElement(java.lang.String,
     java.lang.String, java.lang.String)
src/nu/validator/xml/NamespaceDroppingXMLReaderWrapper.java