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

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 17 Jan 2007 11:50:29 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1H79JF-0003jY-6K@wiggum.w3.org>

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

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