<?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>4539</bug_id>
          
          <creation_ts>2007-05-04 23:37:31 +0000</creation_ts>
          <short_desc>[UPD] Section 2.4.5 Transform: rewording</short_desc>
          <delta_ts>2007-08-09 22:55:47 +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>Update Facility</component>
          <version>Working drafts</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>editorial</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Rys">mrys</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          
          
          <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>15015</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2007-05-04 23:37:31 +0000</bug_when>
    <thetext>Change &quot;The result of a transform expression is an XDM instance that may include both nodes that were created by the transform expression and other, previously existing nodes.&quot; =&gt; &quot;The result of a transform expression is an XDM instance that may include both nodes that were created by the transform expression and copies of previously existing nodes.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15445</commentid>
    <comment_count>1</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2007-06-15 21:21:56 +0000</bug_when>
    <thetext>Michael,
Although this bug report is marked as editorial, I do not believe it is editorial. I believe that it is both substantive and incorrect.

The return clause of a transform is not limited to return only copied nodes. The expression in the return clause may include references to original, not-copied nodes, as in this example:

let $oldx := /a/b/x
return
   transform
      copy $newx := $oldx
      modify (do rename $newx as &quot;newx&quot;, do replace value of $newx by 47)
      return ($oldx, $newx)
     
Since I believe this bug report to be substantive, I am marking it &quot;Invalid&quot; but not closing it. If you agree with my analysis, please close this bug report.

Regards,
Don Chamberlin (for the Query Working Group)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15446</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2007-06-16 00:22:30 +0000</bug_when>
    <thetext>Thanks Don... If that is the case, having an explicit example would be useful.

Best regards
Michael</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16121</commentid>
    <comment_count>3</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2007-08-09 22:55:36 +0000</bug_when>
    <thetext>Michael,
I have added an example to the description of the transform expression as you requested.
Regards,
Don Chamberlin</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>