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

[Bug 28884] New: Editorial: Error conditions missing for fn:path

From: <bugzilla@jessica.w3.org>
Date: Thu, 02 Jul 2015 14:10:39 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28884-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28884

            Bug ID: 28884
           Summary: Editorial: Error conditions missing for fn:path
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: pwalmsley@datypic.com
        QA Contact: public-qt-comments@w3.org

It seems that the description of the fn:path function should say what errors
are raised in the case that $arg is not provided and the context item is absent
or not a node. (Similar to, for example, the fn:root function) A section could
be inserted:


Error Conditions
The following errors may be raised when $arg is omitted:

If the context item is absent, dynamic error [err:XPDY0002]
If the context item is not a node, type error [err:XPTY0004].

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 2 July 2015 14:10:42 UTC

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