- From: <bugzilla@jessica.w3.org>
- Date: Fri, 02 Oct 2015 08:24:00 +0000
- To: public-qt-comments@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29169
Bug ID: 29169
Summary: [QT3TS] functx-fn-resolve-uri-5
Product: XPath / XQuery / XSLT
Version: Last Call drafts
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XQuery 3 & XPath 3 Test Suite
Assignee: oneil@saxonica.com
Reporter: mike@saxonica.com
QA Contact: public-qt-comments@w3.org
Target Milestone: ---
In test set app-FunctxFn test case functx-fn-resolve-uri-5:
The query is
resolve-uri( '', 'http://datypic.com')
The expected result is
http://datypic.com
I believe that the following result is acceptable
http://datypic.com/
Reasoning:
We refer to RFC 3986 (section 5 is relevant)
Section 5.2.1 says: The base URI (Base) is ... parsed into the five main
components described in Section 3.
This gives (scheme:"http", authority: "datypic.com", path: (empty))
Section 5.2.1 further says: "Normalization of the base URI, as described in
Sections 6.2.2 and 6.2.3, is optional."
Section 6.2.3 is about scheme normalization, and says "In general, a URI that
uses the generic syntax for authority with an empty path should be normalized
to a path of "/"
The F+O spec for resolve-uri() says: "Where the cited RFCs permit variations in
behavior, so does this specification."
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 2 October 2015 08:24:04 UTC