This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Neither of the functions defined in this module return function items, in disagreement with their declarations. declare function my:nine() as function(*) { validate lax { <a xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:integer">9</a> } }; declare function my:ten() as function(*) { validate lax { <a xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:integer">10</a> } };
Thanks Tim, this is fixed.
Thanks - that's fixed, however there's another problem in this area. Test "require-feature-list-1-ns-1" prohibits higher order functions in the catalog, but imports a module (uses.xquery) which uses higher order functions. This usage isn't permitted by the require-feature in the main module, so causes XQST0129.
The tests for require/prohibit feature have been removed from the test suite as a consequence of the WG dropping this facility.