- From: <bugzilla@jessica.w3.org>
- Date: Fri, 25 Sep 2015 17:57:52 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=4378
Josh Spiegel <josh.spiegel@oracle.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #9 from Josh Spiegel <josh.spiegel@oracle.com> ---
I think an implementation should also be allowed to raise XPST0005.
"During the analysis phase, it is a static error if the static type assigned to
an expression other than the expression () or data(()) is empty-sequence()."
Consider the function:
declare function local:userFunction()
{
document-node(element(local:ncname))
};
The context item is unbound and has the static type item(). An implementation
should be able to tell that the static type of the function body is empty.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 25 September 2015 17:57:55 UTC