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 function declare function foo:price ($b as element()) as element() { $b/price }; has expected return type element() but the body, $b/price, has a type of element()*, hence type checking fails. Can the return type be changed to element()*
Same issue in default_namespace-001
Nick: I do not see why not. Done as suggested. Carmelo