<?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>6314</bug_id>
          
          <creation_ts>2008-12-16 14:28:48 +0000</creation_ts>
          <short_desc>XPath subset for assertions</short_desc>
          <delta_ts>2009-01-21 00:30:09 +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.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Kay">mike</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</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>22766</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-12-16 14:28:48 +0000</bug_when>
    <thetext>This is raised in response to some discussion on xml-dev today which points out that the specs are unclear on a significant question.

In the status section of the current published working draft we say:

&quot;The minimal subset of XPath which processors were required to support for assertions has been eliminated; processors must support all of XPath.&quot; 

But in section 3.13.1 Assertions we say (and this is still in the status quo):

&quot;Conforming processors may implement all of [XPath 2.0]  or may restrict themselves to the subset described below. Interoperability among all conforming implementations is best achieved by restricting XPath expressions to the subset.&quot;

Moreover it&apos;s not very clear what &quot;below&quot; refers to. The sentence quoted is followed by some very informally-stated rules like &quot;Path steps are restricted to only match information items within the element being ·assessed·.&quot; - is that what is meant? These statements look to me like a non-normative description of a subset, not like a normative definition. The only XPath subsets we define are now in sections 3.11 and 3.12, and they are above rather than &quot;below&quot;.

Michael Kay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22918</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2009-01-05 15:47:44 +0000</bug_when>
    <thetext>Thank you; good catch.  I think this is an editorial botch:  when we
took away the subset from the Assertions section (and moved it to
Type Alternatives), this material should have been deleted.

Proposal:  delete the paragraph beginning &quot;The {test} property 
specifies an XPath ([XPath 2.0]) expression&quot; and the following
list (which provides an informal characterization of the subset that
used to be here).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23005</commentid>
    <comment_count>2</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2009-01-09 16:47:14 +0000</bug_when>
    <thetext>We adopted the proposal in comment #1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23199</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2009-01-21 00:18:35 +0000</bug_when>
    <thetext>The change suggested in comment 1 is now in the status quo document.

Michael, if you would do the honors, please?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>