@Override
    public void endElement(String uri, String localName, String name)
            throws SAXException {
        if (inHeadDepth > 0) {
            inHeadDepth--;
            if (inHeadDepth == 0) {
                inHeadDepth = -2;
            }
        }
        if (inCruftDepth > 0) {
            inCruftDepth--;
        }
        pop();
    }
@see nu.validator.xml.UriLangContext#toAbsoluteUriWithCurrentBase(java.lang.String)
src/nu/validator/xml/BaseUriTracker.java