- From: <bugzilla@jessica.w3.org>
- Date: Thu, 22 Oct 2015 11:03:26 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29221 --- Comment #1 from Michael Kay <mike@saxonica.com> --- I propose we use the wording from the element-with-id() function which has similar rules: A dynamic error is raised [XTDE1370/XTDE1380] if $node, or the context item if the second argument is omitted, is a node in a tree whose root is not a document node. The following errors may be raised when $node is omitted: If the context item is absent, dynamic error [err:XPDY0002] If the context item is not a node, type error [err:XPTY0004] This is an incompatible change to the error code from XSLT 2.0, but since 2.0 could not catch errors and the codes were non-normative anyway, this isn't a big deal. Note that XQuery is considering changing the XPDY0002 condition to a static error in cases where it can be detected statically. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 22 October 2015 11:03:33 UTC