<?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>26757</bug_id>
          
          <creation_ts>2014-09-08 16:10:02 +0000</creation_ts>
          <short_desc>[UPD30] XQueryX for Update 3.0</short_desc>
          <delta_ts>2014-11-06 23:37:17 +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 3.0</component>
          <version>Working drafts</version>
          <rep_platform>All</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 Dyck">jmdyck</reporter>
          <assigned_to name="Jim Melton">jim.melton</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>111172</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2014-09-08 16:10:02 +0000</bug_when>
    <thetext>Appendix E &quot;XML Syntax (XQueryX) for XQuery Update Facility 3.0&quot;
appears to be unchanged from 1.0 (other than changing version numbers).

Presumably the schema and stylesheet need additions for constructs that are new in 3.0: UpdatingFunctionCall and (soon) ModifyExpr (bug 23643).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114623</commentid>
    <comment_count>1</comment_count>
    <who name="Jim Melton">jim.melton</who>
    <bug_when>2014-11-06 23:37:17 +0000</bug_when>
    <thetext>Michael, thanks for this report. 

You are correct that the XQueryX schema and stylesheet require modification for UpdatingFunctionCall.  I will make those changes immediately. 

The changes related to bug 23643 are not as simple.  According to https://www.w3.org/Bugs/Public/show_bug.cgi?id=23643#c21, the solution to that bug is: Rename the current TransformExpr to CopyModifyExpr, and name the nonterminal for the &quot;transform with&quot; expression TransformWithExpr.

Of course, I can easily create a new element for the TransformWithExpr, which I&apos;ll do immediately. 

However, for backwards compatibility with Update 1.0, I cannot rename the XQueryX element corresponding to TransformExpr to another name.  I could modify the location where TransformExpr is used so that there is an alternative named CopyModifyExpr, then create a new element CopyModifyExpr that (other than its name) is identical to the current TransformExpr, but that seems like a lot of make-work. 

For example, the following addition would basically accomplish what I described in the immediately preceding paragraph:

  &lt;xsd:element name=&quot;copyModifyExpr&quot; type=&quot;xqxuf:transformExpr&quot; 
               substitutionGroup=&quot;xqxuf:expr&quot;/&gt;

That would be accompanied by the following change to the stylesheet:

  &lt;xsl:template match=&quot;xqxuf:transformExpr | xqxuf:copyModifyExpr&quot;&gt;

But the existing element named transformExpr would have to remain for backwards compatibility. 

Under the not-too-unreasonable assumption that this is the best approach, I have done all of the above and marked the bug RESOLVED/FIXED. 

If you are satisfied with these changes, please mark it CLOSED.  You can find the changes in the internal draft of XQuery Update 3.0 in CVS space.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>