LOG.debug("Context: " + contextSequence.getLength());
	public Sequence eval(Sequence contextSequence, Item contextItem) throws XPathException {        if (context.getProfiler().isEnabled()) {            context.getProfiler().start(this);                   context.getProfiler().message(this, Profiler.DEPENDENCIES, "DEPENDENCIES", Dependency.getDependenciesName(this.getDependencies()));            if (contextSequence != null)                context.getProfiler().message(this, Profiler.START_SEQUENCES, "CONTEXT SEQUENCE", contextSequence);            if (contextItem != null)                context.getProfiler().message(this, Profiler.START_SEQUENCES, "CONTEXT ITEM", contextItem.toSequence());        }        		if(contextItem != null)			contextSequence = contextItem.toSequence();        		String value;		if (getSignature().getArgumentCount() == 0)			value = !contextSequence.isEmpty() ? contextSequence.itemAt(0).getStringValue() : "";		else {			Sequence seq = getArgument(0).eval(contextSequence);			if (seq.isEmpty())                //TODO : it this the right value ? -pb                value = null;            else                value = seq.getStringValue();		}                Sequence result;        if (value == null)             result = Sequence.EMPTY_SEQUENCE;        else {                		StringBuffer buf = new StringBuffer();    		if (value.length() > 0) {    			StringTokenizer tok = new StringTokenizer(value);    			while (tok.hasMoreTokens()) {                    buf.append(tok.nextToken());    				if (tok.hasMoreTokens()) buf.append(' ');    			}    		}            result = new StringValue(buf.toString());        }                if (context.getProfiler().isEnabled())             context.getProfiler().end(this, "", result);                 return result;          	}