W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2008

[Bug 5660] CVS: preceding-22, preceding-23

From: <bugzilla@farnsworth.w3.org>
Date: Thu, 24 Apr 2008 15:21:13 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Jp3G5-0003ro-9r@farnsworth.w3.org>

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

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