[Bug 17281] New: [QT3TS] xqhof16, xqhof18

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17281

           Summary: [QT3TS] xqhof16, xqhof18
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: oneil@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Test xqhof16 makes use of fn:static-base-uri.

declare base-uri "main";
import module namespace lib = "lib";

lib:getfun()(),
fn:static-base-uri#0(),
fn:static-base-uri()


There are several problems with this test.  As it currently stands, in XQ30
fn:static-base-uri doesn't return the static base uri.  Therefore the base-uri
declaration has no bearing on the result.  Even if it did, "main" is a relative
URI, and thus fn:static-base-uri still might (would?) not return "main".

With the current definition of fn:static-base-uri, this will return the same
result regardless of the module in which it appears.

There are similar problems in xqhof18.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 1 June 2012 10:14:15 UTC