uri = ""; if ("".equals(uri)) return Sequence.EMPTY_SEQUENCE;
uri = "";
	public Sequence eval(Sequence[] args, Sequence contextSequence)	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);        }                 Sequence result;		if (args[0].isEmpty())			result = Sequence.EMPTY_SEQUENCE;        else {    		QNameValue value = (QNameValue) args[0].itemAt(0);    		QName qname = value.getQName();    		if (isCalledAs("prefix-from-QName")) {    			String prefix = qname.getPrefix();    			if (prefix == null)                    result = Sequence.EMPTY_SEQUENCE;    			else                    result = new StringValue(prefix, Type.NCNAME);    		} else if (isCalledAs("local-name-from-QName"))                result = new StringValue(qname.getLocalName(), Type.NCNAME);    		else {    			String uri = qname.getNamespaceURI();    			if (uri == null)    				uri = "";    			if ("".equals(uri))    				return Sequence.EMPTY_SEQUENCE;    			                result = new AnyURIValue(uri);    		}        }                if (context.getProfiler().isEnabled())             context.getProfiler().end(this, "", result);                        return result;          	}