LOG.debug("creating value index for " + path + "; type: " + type); ValueIndexSpec valueIdx = new ValueIndexSpec(path, type);
ValueIndexSpec valueIdx = new ValueIndexSpec(namespaces, path, type);
    public IndexSpec(Element index) throws DatabaseConfigurationException {        NodeList cl = index.getChildNodes();        for(int i = 0; i < cl.getLength(); i++) {            Node node = cl.item(i);            if(node.getNodeType() == Node.ELEMENT_NODE) {	            if("fulltext".equals(node.getLocalName())) {	                if(ftSpec != null)	                    throw new DatabaseConfigurationException("Only one fulltext section is allowed per index");	                ftSpec = new FulltextIndexSpec((Element)node);	            } else if("create".equals(node.getLocalName())) {	                Element elem = (Element) node;	                String path = elem.getAttribute("path");	                String type = elem.getAttribute("type");	                LOG.debug("creating value index for " + path + "; type: " + type);	                ValueIndexSpec valueIdx = new ValueIndexSpec(path, type);	                addValueIndex(valueIdx);	            }            }        }    }