W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2007

[Bug 4156] Static typing of fn-node-name-2

From: <bugzilla@wiggum.w3.org>
Date: Mon, 08 Jan 2007 16:33:51 +0000
To: public-qt-comments@w3.org
Message-Id: <E1H3xRX-0000cf-K8@wiggum.w3.org>


           Summary: Static typing of fn-node-name-2
           Product: XML Query Test Suite
           Version: 1.0.2
          Platform: PC
        OS/Version: Windows XP
            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

Under the rules given in the formal semantics specification, the filter
expression [positino() = last()] does not normalize in the same way as if it
had been written as [last()] (see 4.3.2 Filter Expressions).  The result of
this is that this argument to fn:node-name in this query is a zero-or-more
sequence, rather than a zero-or-one sequence.

(: Name: fn-node-name-2 :)
(: Description: Evaluation of node-name function with argument set to comment
de. :)
(: Use fn:count to avoid empty file :)

(: insert-start :)
declare variable $input-context1 external;
(: insert-end :)

Received on Monday, 8 January 2007 16:34:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:31 UTC