Michael Kay - 2005-06-21

Logged In: YES
user_id=251681

Thanks, now fixed. Occurrence indicators are pretty hard to
deal with correctly in the grammar, and the fix is rather a
kludge: In net.sf.saxon.expr.ExpressionParser, method
parseSequenceType(), after each of the lines like

occurrenceFlag = StaticProperty.ALLOWS_ZERO_OR_MORE;

add the line

t.currentToken = Token.RPAR;

so that the tokenizer "forgets" the presence of the
occurrence indicator when assessing whether the next token
is a name or an operator.

Michael Kay