[Bug 28494] [QT3TS] step-expr-si-1"

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

--- Comment #6 from Tim Mills <tim@cbcl.co.uk> ---
Dangerous perhaps, but legitimate.

If the unfortunate user assumes that 

let $x as empty-sequence() := local:return(1)
return $x

will always test the assertion, they'll probably assume that

empty (let $x as empty-sequence() := local:return(1)
       return $x)

will fail rather that returning an error.

or

1 + (let $x as empty-sequence() := local:return(1) return $x)

will fail rather that returning the empty sequence.

The specification should come with a warning saying that "as empty-sequence()"
is probably a bad thing to use.

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

Received on Thursday, 16 April 2015 12:22:18 UTC