<?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>19077</bug_id>
          
          <creation_ts>2012-09-26 13:58:09 +0000</creation_ts>
          <short_desc>[QT3TS] modules-pub-priv-31,32,35,36</short_desc>
          <delta_ts>2012-09-30 19:31:52 +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>Working 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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Mills">tim</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>74552</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2012-09-26 13:58:09 +0000</bug_when>
    <thetext>Test modules-pub-priv-31 uses two %public annotations, but expects XQST0106.  The specification does not indicate that %public %public is an error.  Specifically:

err:XQST0106

    It is a static error if a function declaration contains both a %private and a %public annotation.

Similar errors exist in 

modules-pub-priv-32
modules-pub-priv-35
modules-pub-priv-36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74632</commentid>
    <comment_count>1</comment_count>
    <who name="O&apos;Neil Delpratt">oneil</who>
    <bug_when>2012-09-27 08:44:00 +0000</bug_when>
    <thetext>This may require an addition in the specification to cover against this edge case. I am assigning this one to Jonathan</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74896</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2012-09-30 19:31:52 +0000</bug_when>
    <thetext>I just changed the text to this:

It is a static error XQST0016 if a variable declaration contains both a %private and a %public annotation, more than one %private annotation, or more than one %public annotation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>