protected Component parseXPath( TokenStream tokens ) {
return parseExpr(tokens);
}
protected Component parseExpr( TokenStream tokens ) {
Component result = parseExprSingle(tokens);
if (tokens.matches(',')) {
throw new ParsingException(tokens.nextPosition(), "Multiple XPath expressions are not supported");
}
return result;
}