This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The following tests: modules-19 modules-20 modules-21 modules-22 modules-23 modules-24 Might raise an unexpected type error due to a seemingly unintended problem in TestSources/module3-lib.xq. This module declares the variable $mod3:var2 as follows: declare variable $mod3:var2 as schema-element(simple:integer) := <simple:integer>1</simple:integer>; I think an implementation may raise a type error in this case. The solution may be to add a validate expression around the initializer. e.g. declare variable $mod3:var2 as schema-element(simple:integer) := validate { <simple:integer>1</simple:integer> };
This appears to be fixed now.