<?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>21011</bug_id>
          
          <creation_ts>2013-02-15 09:51:24 +0000</creation_ts>
          <short_desc>[XP30] [XQ30] Context position definition</short_desc>
          <delta_ts>2013-03-19 16:04:13 +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>XPath 3.0</component>
          <version>Candidate Recommendation</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>83188</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Mills">tim</who>
    <bug_when>2013-02-15 09:51:24 +0000</bug_when>
    <thetext>The focus is defined as follows:

&quot;The first three components of the dynamic context (context item, context position, and context size) are called the focus of the expression.&quot;

The value of the context position includes:

&quot;Definition: ... When the focus is defined, the value of the context position is an integer greater than zero. ...&quot;

Perhaps this should be stated as:

&quot;Definition: ... When the context item is defined, the value of the context position is an integer greater than zero. ...&quot;

to avoid a circular definition of the context position in terms of the focus, of which context position is itself a part.

Also, in the definition of context, size perhaps

&quot;Its value is always an integer greater than zero. &quot;

should be amended to

&quot;When the context item is defined, its value is always an integer greater than zero. &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84625</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Robie">jonathan.robie</who>
    <bug_when>2013-03-19 16:04:13 +0000</bug_when>
    <thetext>This is editorial. My preference is to change in the other direction, clearly stating that the focus is either defined (as a whole) or not, and adding &quot;when the focus is defined&quot; to each of these components.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>