[Bug 4247] Static typing of K2-BaseURIFunc-9 to 12

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

           Summary: Static typing of K2-BaseURIFunc-9 to 12
           Product: XML Query Test Suite
           Version: unspecified
          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


The argument to base-uri is being typed as a zero-or-more sequence type,
causing a static typing error.

(:*******************************************************:)
(: Test: K2-BaseURIFunc-9                                :)
(: Written by: Frans Englich                             :)
(: Date: 2007-01-15T15:15:45+01:00                       :)
(: Purpose: Ensure processing-instructions pick up the correct xml:base value.
:
)
(:*******************************************************:)
let $i := <e xml:base="http://www.example.com/"><?target data?></e>
                return base-uri($i/processing-instruction())

Received on Wednesday, 17 January 2007 11:50:39 UTC