public void removeNamespace(XmlNamespaceEndTag tag) {
        XmlNamespace namespace = new XmlNamespace(tag.getPrefix(), tag.getUri());
        namespaces.remove(namespace);
        newNamespaces.remove(namespace);
    }
the xml file's namespaces.

@author dongliu
replugin-host-library/replugin-host-lib/src/main/java/com/qihoo360/replugin/ext/parser/parser/XmlNamespaces.java