W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2008

[Bug 5795] Static Typing: CVS: K2-Steps-2, K2-FunctionProlog-14

From: <bugzilla@wiggum.w3.org>
Date: Tue, 29 Jul 2008 15:42:41 +0000
To: public-qt-comments@w3.org
Message-Id: <E1KNrLV-0003do-9u@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5795





--- Comment #24 from Tim Mills <tim@cbcl.co.uk>  2008-07-29 15:42:41 ---
I've just had a play with Saxon to see what it does here.

For the original query:

declare function local:myFunc()
{
    e[928]
};
local:myFunc()

it throws an error, but it returns empty sequence for:

declare function local:myFunc()
{
    e[false()]
};
local:myFunc()

Regarding Comment #1, in both these queries "The user has done wrong: she's
using an axis step inside a function."


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 29 July 2008 15:43:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 29 July 2008 15:43:16 GMT