W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2015

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 16 Apr 2015 12:22:16 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28494-523-WIgyM3r66o@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:53 UTC