<?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>19670</bug_id>
          
          <creation_ts>2012-10-23 16:33:53 +0000</creation_ts>
          <short_desc>[XQ3.0] What does it mean to prohibit &quot;all extensions&quot;?</short_desc>
          <delta_ts>2013-06-19 09:52:26 +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.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</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="Michael Kay">mike</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</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>76966</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2012-10-23 16:33:53 +0000</bug_when>
    <thetext>XQuery 3.0 provides an option declaration whose effect is to disable all (vendor) extensions.

But the spec doesn&apos;t say what counts as a (vendor) extension.

Extending the grammar clearly is an extension, I assume.

What about pragmas in a vendor namespace - are these extensions? (The spec calls these &quot;extension expressions&quot; so I guess so).

What about option declarations in a vendor namespace?

What about implicit addition of functions, collations, types etc to the static and dynamic context? Are these extensions? Are they extensions only if added to the context &quot;by default&quot;, or also if added by explicit user request, e.g. using an API?

The rules need to be made much more clear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77304</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-10-29 16:43:08 +0000</bug_when>
    <thetext>The Working Group adopted this resolution:

A named feature is a feature that is associated with a QName that allows to require or prohibit it with a require-feature or prohibit-feature option. Vendors SHOULD associate any extensions with a named feature.

The name all-extensions corresponds to the set of named features whose QName is not in the http://www.w3.org/2011/xquery-options namespace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89576</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2013-06-19 09:52:26 +0000</bug_when>
    <thetext>For the record, I don&apos;t think the resolution addressed the point made. But we&apos;ve dropped require/prohibit, so the problem is no longer relevant, so I&apos;m closing it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>