while (tokenizer.hasMoreTokens() && currentLength < l) {
while (tokenizer.hasMoreTokens() && currentLength < l && currentLength < value.length()) {
    public String strippedValue() {        String value=(String)valueForBinding("value");        StringTokenizer tokenizer = new StringTokenizer(value, "<", false);        int token = value.charAt(0) == '<' ? 0 : 1;        String nextPart = null;        StringBuffer result = new StringBuffer();        int l=length();        int currentLength = result.length();        while (tokenizer.hasMoreTokens() && currentLength < l) {            if(token == 0)                nextPart = tokenizer.nextToken(">");            else {                nextPart = tokenizer.nextToken("<");                if(nextPart.length() > 0  && nextPart.charAt(0) == '>')                    nextPart = nextPart.substring(1);            }            if (nextPart != null && token != 0) {                result.append(nextPart);                currentLength += nextPart.length();            }            token = 1 - token;        }        return result.toString();    }