Position pos = null;
problemStartOffset = contentStart + curTok.beginColumn;
problemEndOffset = contentStart + curTok.endColumn;
pos = new Position(problemStartOffset, problemEndOffset - problemStartOffset + 1);
elProblems.add(new ELProblem(sev, pos, e.getLocalizedMessage()));
}
} catch (TokenMgrError te) {
int sev = getProblemSeverity(JSPCorePreferenceNames.VALIDATION_EL_LEXER, getScopeContexts(document));
if (sev != ValidationMessage.IGNORE) {
Position pos = new Position(contentStart, contentLength);
elProblems.add(new ELProblem(sev, pos, JSPCoreMessages.JSPEL_Token));
}
}
return elProblems;
}