This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In prod/ForClause.xml, test-case ForExpr032 has <dependency type="spec" value="XQ10+"/> and the test-query starts with declare variable $j external := 1; but the ":= VarDefaultValue" syntax wasn't added to VarDecl until XQuery 3.0, so the dependency should probably be "XQ30+".
I have made the change to the test case as described in comment #0.