[Bug 29119] [XP31] xs:error always raises a type error

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29119

Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |tim@cbcl.co.uk
         Resolution|FIXED                       |---

--- Comment #2 from Tim Mills <tim@cbcl.co.uk> ---
Note that in

let $e := xs:error()
return 12

$e is not a variable binding with a type declaration.  That would be:

let $e as xs:error := xs:error()
return 12

which is XQuery, not XPath.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 22 September 2015 15:31:11 UTC