W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2009

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 13 May 2009 16:19:17 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-6903-523@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:57 GMT