if(!test.isWildcardTest()) {
if(test.isWildcardTest()) {  return NodeSet.EMPTY_SET; } else {
    protected NodeSet getPreceding(XQueryContext context, NodeSet contextSet) throws XPathException {                if(!test.isWildcardTest()) {                        DocumentSet docs = getDocumentSet(contextSet);            if (currentSet == null || currentDocs == null || !(docs.equals(currentDocs))) {                ElementIndex index = context.getBroker().getElementIndex();                 if (context.getProfiler().isEnabled())                    context.getProfiler().message(this, Profiler.OPTIMIZATIONS,                             "OPTIMIZATION", "using index '" + index.toString() + "'");                 currentSet = index.findElementsByTagName(ElementValue.ELEMENT, docs, test.getName(), null);                currentDocs = docs;                registerUpdateListener();            }            return currentSet.selectPreceding(contextSet);        }        //TODO : throw an exception here ! Don't let this pass through        return NodeSet.EMPTY_SET;    }