<?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>6451</bug_id>
          
          <creation_ts>2009-01-19 20:59:17 +0000</creation_ts>
          <short_desc>schema component positional predicate definition may contain implicit assumptions</short_desc>
          <delta_ts>2009-12-11 16:58:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>SCDS: XML Schema Component Designators</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>decided</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Arwe">johnarwe</reporter>
          <assigned_to name="Mary Holstege">holstege</assigned_to>
          <cc>David_E3</cc>
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23162</commentid>
    <comment_count>0</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2009-01-19 20:59:17 +0000</bug_when>
    <thetext>Excerpt from 4.3 Interpretation of Schema Component Paths
[Definition: A schema component positional predicate is a condition on the relative position of the component in the sequence of matching components from the schema component path step.] A schema component position predicate is true if the position of the target component in the sequence of components selected by the axis and name test is equal to the positive integer given in the predicate. 

The question is about &quot;position of the target component&quot;.  It appears to assume the common (though not universal) 1-origin method of counting used e.g. in XPath 1.0 position().  However, if an implementation chose to number sequence of selected components starting with 0 (for the off-by-one and zero-origin crowds), or indeed any arbitrary number other than 1, I find nothing in the words to say such an implementation has transgressed any normative prescription(s).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23512</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2009-02-06 17:24:39 +0000</bug_when>
    <thetext>The WG discussed this comment at the telcon 2009-02-06 and agreed to clarify that positional predicates use a 1-based counting, like XPath.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24916</commentid>
    <comment_count>2</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2009-04-24 17:58:10 +0000</bug_when>
    <thetext>On the telcon, the WG discussed the following proposal.
http://www.w3.org/XML/Group/xmlschema-current/SCD/scds-omni20090326-diff.html

And adopted it with one ammendment:
In section 4.2.1 the sentence first sentence now reads:
&quot;The schema component axes defined in this document are considered to be names in no namespace.&quot;

This omnibus proposal is intended to close:
bug 6450
bug 6451
bug 6452</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24918</commentid>
    <comment_count>3</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2009-04-24 19:46:13 +0000</bug_when>
    <thetext>looks fine, feel free to close this out</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>