[Bug 28272] New: [QT3TS] fn-resolve-uri-28, non-hierarchical uris, test should not raise FORG0002


            Bug ID: 28272
           Summary: [QT3TS] fn-resolve-uri-28, non-hierarchical uris, test
                    should not raise FORG0002
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

Test fn-resolve-uri-28 expects error FORG0002 on resolve-uri("b.html",
"urn:isbn:01234567890X"), but I can't find anything in
http://www.ietf.org/rfc/rfc3986.txt that disallows that.

The URN fits the production of an absolute URI with scheme "urn" and path

The algorithm in 5.2.2 skips to the merge(Base.path, R.path) line (non-empty
R.path and not starting with "/"). The relevant part of the merge function
(section 5.2.3) says:

  * return a string consisting of the reference's path component
    appended to all but the last segment of the base URI's path (i.e.,
    excluding any characters after the right-most "/" in the base URI
    path, or excluding the entire base URI path if it does not contain
    any "/" characters).

In other words, the path-part must be removed and the resulting URI will then
be "urn:b.html". 

Uncommon, but not an illegal result. I doubt that this should raise FORG0002.

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 22 March 2015 15:59:19 UTC