<?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>2774</bug_id>
          
          <creation_ts>2006-01-27 00:18:07 +0000</creation_ts>
          <short_desc>[XSLT] copying of base URI</short_desc>
          <delta_ts>2006-02-02 20:09:29 +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>XSLT 2.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</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="Florent Georges">fgeorges.spam</reporter>
          <assigned_to name="Michael Kay">mike</assigned_to>
          <cc>mike</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>7997</commentid>
    <comment_count>0</comment_count>
    <who name="Florent Georges">fgeorges.spam</who>
    <bug_when>2006-01-27 00:18:08 +0000</bug_when>
    <thetext>The last paragraph of the section &quot;Shallow Copy&quot; says:

&quot;&quot; The base URI of a node is copied. However, if the copied node is subsequently
attached as a child to a new element, the final copy of the node inherits its
base URI from its parent node, unless this is overridden using an xml:base
attribute. &quot;&quot;

So it says only &quot;as a child to a new element&quot;.  I guess document nodes be added
here too, because the same note occurs in all other node constructors.  For
example, xsl:element says:

&quot;&quot; Note, however, that this is only relevant when creating parentless elements.
When the new element is copied to form a child of an element or document node,
the base URI of the new copy is taken from that of its new parent. &quot;&quot;

Thanks to David Carlisle to help me finding this.

--drkm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7999</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-01-27 00:42:27 +0000</bug_when>
    <thetext>*** Bug 2773 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8002</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-01-27 08:44:13 +0000</bug_when>
    <thetext>added a title (summary)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8068</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-01-31 17:19:32 +0000</bug_when>
    <thetext>This clarification has now been added to the relevant sentence under xsl:copy
and xsl:copy-of. Thank you for raising it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8115</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-02-02 20:09:29 +0000</bug_when>
    <thetext>We are now closing this bug, having made the changes identified. If you are in
any way unhappy about this closure, please let us know.

Michael Kay
for the XSL WG</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>