protected List getSearchTerms(XQueryContext context, Sequence contextSequence) throws XPathException {
protected List getSearchTerms(Sequence contextSequence) throws XPathException {
	protected List getSearchTerms(XQueryContext context, Sequence contextSequence) throws XPathException {		if(getArgumentCount() < 2)			throw new XPathException(getASTNode(), "function requires at least 2 arguments");		List terms = new ArrayList();		Expression next;		Sequence seq;		for(int i = 1; i < getLength(); i++) {			next = getArgument(i);			seq = next.eval(contextSequence);			if(seq.getLength() == 1)			    terms.add(seq.itemAt(0).getStringValue());			else {				for(SequenceIterator it = seq.iterate(); it.hasNext(); ) {				    terms.add(it.nextItem().getStringValue());				}			}		}		return terms;	}