[Bug 6903] New: K2-BaseURIProlog-3 can return FODC0002

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

           Summary: K2-BaseURIProlog-3 can return FODC0002
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: oliver@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


The test K2-BaseURIProlog-3 is as follows:
declare base-uri "c:\windows"; fn:doc("example.com.xml")

The test expects XQST0046 or FODC0005 errors; I think this should allow
FODC0002 as well.

On evaluating the call to fn:doc, the base URI is interpreted as
"c:%5Cwindows", and resolving the URI "example.com.xml" against this gives the
absolute URI "c:example.com.xml"

Thus we have a valid absolute URI, and so FODC0002 should be a valid result,
since this URI cannot be retrieved.


-- 
Configure bugmail: http://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 Wednesday, 13 May 2009 16:19:27 UTC