<?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>8454</bug_id>
          
          <creation_ts>2009-12-08 08:19:47 +0000</creation_ts>
          <short_desc>Tokens in XPath subset for selectors/fields (editorial)</short_desc>
          <delta_ts>2011-01-14 21:25: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>Structures: XSD Part 1</component>
          <version>1.0/1.1 both</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>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="David Ezell">David_E3</assigned_to>
          <cc>cmsmcq</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>29981</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2009-12-08 08:19:47 +0000</bug_when>
    <thetext>In the XPath subset described in XSD 1.1 Part 1 section 3.11.6.2, production [2] written as

[2]   	Path	   ::=   	(&apos;.//&apos;)? Step ( &apos;/&apos; Step )*

would be better written

[2]   	Path	   ::=   	(&apos;.&apos; &apos;//&apos;)? Step ( &apos;/&apos; Step )*

since the lexical rules that follow make it clear that &quot;.//&quot; is two tokens which may be separated by whitespace.

Conversely, production [4] which is written as 

[4]   	NameTest ::=   	QName | &apos;*&apos; | NCName &apos;:&apos; &apos;*&apos;

would be better written

[4]   	NameTest ::=   	QName | &apos;*&apos; | NCName &apos;:*&apos;

since no whitespace is allowed within &quot;:*&quot; (or indeed, between the NCName and the &quot;:*&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44246</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2011-01-11 23:13:12 +0000</bug_when>
    <thetext>Proposal:  make the suggested changes to productions [2] and [4].  Also to production [7], which also has the string &apos;.//&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44363</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2011-01-14 21:25:52 +0000</bug_when>
    <thetext>The changes proposed in comment 1 have been made and integrated into the status-quo documents at 

  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.html
  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.diff-wd.html
  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.diff-1.0.html
  (member-only links)

Accordingly, I&apos;m marking this issue as resolved.

Michael, if you would verify the fix and close or reopen the issue accordingly?  Thank you.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>