- From: <bugzilla@farnsworth.w3.org>
- Date: Thu, 24 Apr 2008 15:21:13 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5660
Summary: CVS: preceding-22, preceding-23
Product: XML Query Test Suite
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P2
Component: XML Query Test Suite
AssignedTo: andrew.eisenberg@us.ibm.com
ReportedBy: tim@cbcl.co.uk
QAContact: public-qt-comments@w3.org
I think there are calls to fn:doc in these which weren't intentional.
Here $input-context is a document node.
(: Name: preceding-23 :)
(: Description: Evaluation of the preceding axis from the last node in the
docum
ent, :)
(: containing only attributes and elements. :)
(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)
<result>
{
(doc($input-context1)//node())[last()]/preceding::node(),
empty((doc($input-context1)//node())[last()]/preceding::node())
}
</result>
Received on Thursday, 24 April 2008 15:21:48 UTC