<?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>6450</bug_id>
          
          <creation_ts>2009-01-19 20:54:22 +0000</creation_ts>
          <short_desc>schema component positional predicate text inconsistent with EBNF</short_desc>
          <delta_ts>2009-12-11 16:57:52 +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>P4</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>23161</commentid>
    <comment_count>0</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2009-01-19 20:54:22 +0000</bug_when>
    <thetext>Excerpt from 4.3 Interpretation of Schema Component Paths
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 EBNF allows 0 (which is not positive IIRC):
[24]   	Predicate	   ::=   	&apos;[&apos; [0-9]+ &apos;]&apos;

You might want &apos;[&apos; [1-9][0-9]* &apos;]&apos; although I realize that disallows leading zeros.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23513</commentid>
    <comment_count>1</comment_count>
    <who name="Mary Holstege">holstege</who>
    <bug_when>2009-02-06 17:29:04 +0000</bug_when>
    <thetext>The WG discussed this comment at the telcon 2009-02-06 and agreed the EBNF could be made more precise:  &apos;[&apos; [0]*[1-9][0-9]* &apos;]&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24915</commentid>
    <comment_count>2</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2009-04-24 17:57:48 +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>24919</commentid>
    <comment_count>3</comment_count>
    <who name="John Arwe">johnarwe</who>
    <bug_when>2009-04-24 19:46:28 +0000</bug_when>
    <thetext>looks fine, feel free to close this out</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>