Menu

#259 Range variables as QNames

v8.1.1
closed
5
2012-10-08
2004-10-28
Michael Kay
No

When a range variable (a variable declared in
for/let/some/every) is namespace-qualified, references
to the variable may not be successfully bound if a
different prefix is used.

Test case: qxmp181

Source code fixed.

In line 1655 of ExpressionParser.java, change

 b.getNameCode()

to

 (b.getNameCode() & 0xfffff)

Discussion