content = domDb.getNodeValue(p);
content = domDb.getNodeValue(p, false);
	protected NodeSet scanSequential(		NodeSet context,		DocumentSet doc,		int relation,		int truncation,		String expr,		Collator collator) {		ArraySet resultNodeSet = new ArraySet(context.getLength());		NodeProxy p;		String content;		String cmp;		Pattern regexp = null;		if (relation == Constants.REGEXP)			try {				regexp =					compiler.compile(						expr.toLowerCase(),						Perl5Compiler.CASE_INSENSITIVE_MASK);				truncation = Constants.REGEXP;			} catch (MalformedPatternException e) {				LOG.debug(e);			}		for (Iterator i = context.iterator(); i.hasNext();) {			p = (NodeProxy) i.next();			try {				domDb.getLock().acquire(Lock.READ_LOCK);				domDb.setOwnerObject(this);				content = domDb.getNodeValue(p);			} catch (LockException e) {				LOG.warn("failed to acquire read lock on dom.dbx");				continue;			} finally {				domDb.getLock().release();			}			if (isCaseSensitive())				cmp = StringValue.collapseWhitespace(content);			else {				cmp = StringValue.collapseWhitespace(content.toLowerCase());			}			switch (truncation) {				case Constants.TRUNC_LEFT :					if (Collations.endsWith(collator, cmp, expr))						resultNodeSet.add(p);					break;				case Constants.TRUNC_RIGHT :					if (Collations.startsWith(collator, cmp, expr))						resultNodeSet.add(p);					break;				case Constants.TRUNC_BOTH :					if (-1 < Collations.indexOf(collator, cmp, expr))						resultNodeSet.add(p);					break;				case Constants.TRUNC_NONE :					if (compare(collator, cmp, expr, relation))						resultNodeSet.add(p);					break;				case Constants.REGEXP :					if (regexp != null && matcher.contains(cmp, regexp)) {						resultNodeSet.add(p);					}					break;			}		}		return resultNodeSet;	}