<?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>10881</bug_id>
          
          <creation_ts>2010-09-30 17:46:30 +0000</creation_ts>
          <short_desc>[XQuery30] Editorial Built in function annotations</short_desc>
          <delta_ts>2011-09-10 19:52:21 +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>Member-only Editors Drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Oliver Hallam">oliver</reporter>
          <assigned_to name="Jonathan Robie">jonathan.robie</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>40229</commentid>
    <comment_count>0</comment_count>
    <who name="Oliver Hallam">oliver</who>
    <bug_when>2010-09-30 17:46:30 +0000</bug_when>
    <thetext>The following sentences are from section 4.18:

A function declaration may use function annotations to specify that a function is %private or %public (which is the default).

A function declaration may use function annotations to specify that an external function is %deterministic (which is the default) or %nondeterministic.


Firstly, the term &quot;function annotations&quot; should probably just be changed to &quot;annotations&quot;.

Secondly, there is no concept of an annotation being default.

Thirdly, &quot;public&quot; and &quot;private&quot; are properties of the declaration, not the function.


I suggest these sentences should be changed to:

A function declaration may use the %public and %private annotations to specify that a function declaration is public or private.

and

A function declaration may use the %deterministic and %non-deterministic annotations to specify that a function is deterministic or non-deterministic.


These changes are affected by the outcomes of bug 10874 and bug 10880.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56619</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2011-09-10 19:52:21 +0000</bug_when>
    <thetext>We no longer have %deterministic / %nondeterministic.

I changed this to:

&lt;quote&gt;
A function declaration may use the %private or %public annotations to specify that a function is public or private; if neither of these annotations is used, the function is public.
&lt;/quote&gt;

I also changed the definition of public accordingly:

&lt;quote&gt;
A public function is a function without a %private annotation.
&lt;/quote&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>