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

[Bug 4378] error in K2-NodeTest-21

From: <bugzilla@jessica.w3.org>
Date: Fri, 25 Sep 2015 17:57:52 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-4378-523-mrbP4N7GtJ@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Friday, 25 September 2015 17:57:56 UTC