<?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>29526</bug_id>
          
          <creation_ts>2016-03-09 23:27:22 +0000</creation_ts>
          <short_desc>[XQ31] Incompatible change to ExtensionExpr</short_desc>
          <delta_ts>2016-03-18 15:28:33 +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>XQuery 3.1</component>
          <version>Candidate Recommendation</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="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>andrew_coleman</cc>
    
    <cc>jmdyck</cc>
    
    <cc>josh.spiegel</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>125422</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2016-03-09 23:27:22 +0000</bug_when>
    <thetext>In XQuery 1.0 and 3.0, It was defined that the construct

(# pragma #) {}

raised a static error if the pragma was not recognized by the query processor.

In XQuery 3.1 this now returns an empty sequence when the pragma is not recognized.

Although we don&apos;t normally treat the abolition of a static error as an incompatibility, I&apos;m worried that we have removed a useful capability here. This construct could be used to make it clear that a query relied on a vendor extension and that no fallback was available. It&apos;s a construct that was valid and had a well-defined meaning, and we have changed that meaning. Can we please think again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125566</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Coleman">andrew_coleman</who>
    <bug_when>2016-03-18 15:07:47 +0000</bug_when>
    <thetext>At the meeting on 2016-03-22, the WG agreed to revert this to its previous behaviour.  The grammar will also be reverted so that ExtensionExpr does use EnclosedExpr.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125567</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Dyck">jmdyck</who>
    <bug_when>2016-03-18 15:23:52 +0000</bug_when>
    <thetext>(... so that it does *not* use EnclosedExpr, actually.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125568</commentid>
    <comment_count>3</comment_count>
    <who name="Josh Spiegel">josh.spiegel</who>
    <bug_when>2016-03-18 15:28:33 +0000</bug_when>
    <thetext>Apologies, looks like I got it wrong in the minutes:   

ACTION A-636-09:  Michael Dyck to revert the grammar so that ExtensionExpr does use EnclosedExpr (see bug 29526).

Should say *does not*</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>