if ( qnameValueIndexation && idxSpec != null ) {
if ( RangeIndexSpec.hasQNameIndex(indexType) ) {
	public void endElement(final NodeImpl node, NodePath currentPath, String content) {	    final DocumentImpl doc = (DocumentImpl) node.getOwnerDocument();	    final NodeProxy tempProxy = new NodeProxy(doc, node.getGID(), node.getInternalAddress());	    final IndexSpec idxSpec = 		    doc.getCollection().getIdxConf(this);				int indexType = ((ElementImpl) node).getIndexType();		tempProxy.setIndexType(indexType);				node.getQName().setNameType(ElementValue.ELEMENT);				if (RangeIndexSpec.hasRangeIndex(indexType)) {				if (content == null)					content = getNodeValue(tempProxy, false);		        valueIndex.setDocument(doc);		        valueIndex.storeElement(RangeIndexSpec.indexTypeToXPath(indexType), 						(ElementImpl) node, content.toString());		}				if ( qnameValueIndexation && idxSpec != null ) {			RangeIndexSpec qnIdx = idxSpec.getIndexByQName(node.getQName());			if (qnIdx != null) {				qnameValueIndex.setDocument(doc);	        	qnameValueIndex.storeElement(RangeIndexSpec.indexTypeToXPath(indexType), 					(ElementImpl) node, content.toString());			}		}				// save element by calling ElementIndex		elementIndex.setDocument(doc);		elementIndex.addRow(node.getQName(), tempProxy);	}