[Bug 4084] Constr-cont-nodeid-1, -3, -4 and -5

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4084

           Summary: Constr-cont-nodeid-1, -3, -4 and -5
           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 for element construction, $y in:

for $x in <a/>,
    $y in <elem>{$x}</elem>
return $y/a is $x

is typed as element y of xs:anyType.

Therefore $/y is typed as sequence. op:is-same-node requires node()?.

This problem affects:

Constr-cont-nodeid-1
Constr-cont-nodeid-3
Constr-cont-nodeid-4
Constr-cont-nodeid-5

Also related are problems in:

Constr-cont-uripres-1 
Constr-cont-baseuri-2

where the argument to fn:base-uri is typed as a sequence.

Received on Friday, 15 December 2006 16:00:17 UTC