handler.endElement(descriptor.getNamespaceURI(), descriptor.getName(), descriptor.getQName());
//end namespace prefix mapping
Properties namespaceURIs = descriptor.getNamespaceURIs();
if(namespaceURIs != null){
Iterator iter = namespaceURIs.entrySet().iterator();
while(iter.hasNext()){
Map.Entry namespaceURI = (Map.Entry)iter.next();
String prefix = (String)namespaceURI.getKey();
String uri = (String)namespaceURI.getValue();
if(parent != null && uri.equals(parent.getNamespaceURI(prefix))) {