<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25963</bug_id>
          
          <creation_ts>2014-06-03 16:35:54 +0000</creation_ts>
          <short_desc>[f+o 3.0] default second argument for resolve-uri()</short_desc>
          <delta_ts>2014-09-16 16:33:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 3.0</component>
          <version>Working drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>abel.braaksma</cc>
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107209</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-06-03 16:35:54 +0000</bug_when>
    <thetext>The spec says that the default for the second argument of resolve-uri() is effectively static-base-uri(). But static-base-uri() can return an empty sequence (if the static base uri is absent), while resolve-uri() does not accept an empty sequence here, and instead is defined to raise an error if there&apos;s no static base URI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109236</commentid>
    <comment_count>1</comment_count>
    <who name="Abel Braaksma">abel.braaksma</who>
    <bug_when>2014-07-23 22:15:59 +0000</bug_when>
    <thetext>Considering the title of this bug, should this not have a component specification of F&amp;O?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111296</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-09-09 19:18:23 +0000</bug_when>
    <thetext>The editor was asked to propose a resolution. The proposed resolution is to replace the rule

If the second argument is absent, the effect is the same as calling the two-argument function with the value of fn:static-base-uri() as the second argument.

by

If the second argument is absent, the effect is as follows:

* if the static base URI property in the static context is non-absent, it is used as the effective value of the second argument

* otherwise, a dynamic error [FORG0002] is reported.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111597</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-09-16 15:37:52 +0000</bug_when>
    <thetext>Accepted with the caveat that if the first arg is an absolute URI, resolve-uri() should succeed even if there is no known base URI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111605</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2014-09-16 16:33:00 +0000</bug_when>
    <thetext>The changes have been applied.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>