int size = vtdBuffer.size();
	public int getAttrVal(String an) throws NavException {		int size = vtdBuffer.size();		int index = (context[0] != 0) ? context[context[0]] + 1 : rootIndex + 1;		int type = getTokenType(index);		if (ns == false) {			while (index < size				&& (type == TOKEN_ATTR_NAME || type == TOKEN_ATTR_NS)) {				if (matchRawTokenString(index,					an)) { // ns node visible only ns is disabled					return index + 1;				}				index += 2;				type = getTokenType(index);			}		} else {			while (index < size				&& (type == TOKEN_ATTR_NAME || type == TOKEN_ATTR_NS)) {				if (type == TOKEN_ATTR_NAME					&& matchRawTokenString(						index,						an)) { // ns node visible only ns is disabled					return index + 1;				}				index += 2;				type = getTokenType(index);			}		}		return -1;	}