elementIndex.consistencyCheck(doc);
	public void consistencyCheck(DocumentImpl doc) throws EXistException {		if(xupdateConsistencyChecks) {			LOG.debug("Checking document " + doc.getFileName());			checkTree(doc);			elementIndex.consistencyCheck(doc);		}	}