<?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>3654</bug_id>
          
          <creation_ts>2006-09-05 07:58:53 +0000</creation_ts>
          <short_desc>Editorial: Confusion over error condition</short_desc>
          <delta_ts>2006-10-16 22:26:07 +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 1.0</component>
          <version>Candidate Recommendation</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>editorial</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Snelson">jsnelson</reporter>
          <assigned_to name="Don Chamberlin">chamberl</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>11381</commentid>
    <comment_count>0</comment_count>
    <who name="John Snelson">jsnelson</who>
    <bug_when>2006-09-05 07:58:53 +0000</bug_when>
    <thetext>In bug #3646 I misunderstood the description of an error condition in section 4.14:

  The static context for an initializing expression includes all functions that
  are declared or imported anywhere in the Prolog, but it includes only those
  variables and namespaces that are declared or imported earlier in the Prolog
  than the variable that is being initialized. If an initializing expression
  cannot be evaluated because of a circularity (for example, it depends on a
  function that in turn depends on the value of the variable that is being
  initialized), a static error is raised [err:XQST0054].

I feel that the last sentance in the paragraph above should be given it&apos;s own paragraph, to avoid confusion arising from it&apos;s perceived association with the previous discussion on the static context for an initializing expression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11420</commentid>
    <comment_count>1</comment_count>
    <who name="Frans Englich">frans.englich</who>
    <bug_when>2006-09-06 16:28:46 +0000</bug_when>
    <thetext>Marking this report as editorial.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12502</commentid>
    <comment_count>2</comment_count>
    <who name="Don Chamberlin">chamberl</who>
    <bug_when>2006-10-16 22:25:49 +0000</bug_when>
    <thetext>John,
I have accepted and implemented your editorial suggestion.
Thanks!
Don Chamberlin, Editor, XQuery spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>