<?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>6844</bug_id>
          
          <creation_ts>2009-04-24 16:11:02 +0000</creation_ts>
          <short_desc>[FO] Incorrect description of dm:base-uri in fn:base-uri</short_desc>
          <delta_ts>2009-07-11 11:27:41 +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 1.0</component>
          <version>Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Zongaro">zongaro</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>jim.melton</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>24912</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2009-04-24 16:11:02 +0000</bug_when>
    <thetext>Some colleagues and I noticed a minor inconsistency in the description of the dm:base-uri accessor that appears in the definition of fn:base-uri with the actual definition of the accessor in the Data Model Recommendation.

Section 2.5.4 of the F&amp;O PER [1] states:  &quot;Returns the value of the base-uri URI property for $arg as defined by the accessor function dm:base-uri() for that kind of node....  Document, element and processing-instruction nodes have a base-uri property which may be empty. The base-uri property of all other node types is the empty sequence.&quot;  However, according to sections 6.3.2, 6.6.2 and 6.7.2 of the Data Model PER,[2,3,4] the value of the dm:base-uri accessor for attribute, comment and text nodes is not necessarily the empty sequence.


[1] http://www.w3.org/TR/2009/PER-xpath-functions-20090421/#func-base-uri
[2] http://www.w3.org/TR/2009/PER-xpath-datamodel-20090421/#AttributeNodeAccessors
[3] http://www.w3.org/TR/2009/PER-xpath-datamodel-20090421/#CommentNodeAccessors
[4] http://www.w3.org/TR/2009/PER-xpath-datamodel-20090421/#TextNodeAccessors</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25111</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-05-12 15:31:35 +0000</bug_when>
    <thetext>Noted that this was raised as bug #6340 against the F+O 1.1 spec.

Decided today that we should apply the same fix as an erratum to the 1.0 spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25852</commentid>
    <comment_count>2</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2009-07-03 19:51:06 +0000</bug_when>
    <thetext>I am marking this RESOLVED FIXED because WG has made the decision. (The editor
will implement the solution on his own timetable.) If you&apos;re satisfied with
this resolution, please mark the bug CLOSED. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25948</commentid>
    <comment_count>3</comment_count>
    <who name="Henry Zongaro">zongaro</who>
    <bug_when>2009-07-11 11:27:41 +0000</bug_when>
    <thetext>Yes, satisfied.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>