<?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>21715</bug_id>
          
          <creation_ts>2013-04-16 12:46:05 +0000</creation_ts>
          <short_desc>&quot;List&quot; of named require/prohibit features</short_desc>
          <delta_ts>2013-05-16 20:22:03 +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>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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="Christian Gruen">christian.gruen</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</assigned_to>
          <cc>g</cc>
    
    <cc>jonathan.robie</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>86283</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Gruen">christian.gruen</who>
    <bug_when>2013-04-16 12:46:05 +0000</bug_when>
    <thetext>The XQuery 3.0 states in 4.20 that

  &quot;A require-feature option declaration provides a list of named features&quot;

and it provides an example query

declare option require-feature &quot;schema-aware higher-order-function&quot;;
declare option prohibit-feature &quot;static-typing&quot;;
...

but there seems to be no test cases that check such feature lists.

Apart from that, the spec. does not clarify how the lexical syntax of a &quot;list&quot; looks like.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86303</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-04-16 15:56:42 +0000</bug_when>
    <thetext>Looking at the specification, I agree with the points raised in comment #0.

Anyone can easily add tests in regards to the first point, but I think the Working Group needs to clear up the second point on clarifying what is the the lexical syntax of a &quot;list&quot;. There I am requesting this bug be added to the WG agenda for discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87339</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2013-05-07 15:55:25 +0000</bug_when>
    <thetext>I will add the phrase &quot;whitespace-separated list&quot; to the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87340</commentid>
    <comment_count>3</comment_count>
    <who name="Ghislain Fourny">g</who>
    <bug_when>2013-05-07 15:57:40 +0000</bug_when>
    <thetext>If I correctly remember, the original intent was to support a list of QNames consistently with an XML Schema list of QNames.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87342</commentid>
    <comment_count>4</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2013-05-07 16:09:18 +0000</bug_when>
    <thetext>I confirm test cases have already been added. The WG have decided that further text should be added to the specification which details the lexical syntax of a &apos;feature list&apos;. I am switching this to a bug against the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87497</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2013-05-09 16:28:48 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; I confirm test cases have already been added. The WG have decided that
&gt; further text should be added to the specification which details the lexical
&gt; syntax of a &apos;feature list&apos;. I am switching this to a bug against the spec.

I just checked in this change:

A require-feature option declaration provides a &lt;add&gt;whitespace-delimited&lt;/add&gt; list of named features that must be enabled for the module in which the option declaration occurs; if any declaration requires a feature that the implementation does not support, a static error [err:XQST0120] is raised.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>