<?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>5077</bug_id>
          
          <creation_ts>2007-09-26 00:38:40 +0000</creation_ts>
          <short_desc>Use of &quot;le&quot; in assertion test</short_desc>
          <delta_ts>2008-02-10 01:42:27 +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>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/2007/WD-xmlschema11-1-20070830/</bug_file_loc>
          <status_whiteboard>clarification cluster</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xan Gregg">xan.gregg</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <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>16793</commentid>
    <comment_count>0</comment_count>
    <who name="Xan Gregg">xan.gregg</who>
    <bug_when>2007-09-26 00:38:40 +0000</bug_when>
    <thetext>In 3.13, the example 

    &lt;xs:assert test=&quot;@min le @max&quot;/&gt;

does not conform appear to the given grammar because of &quot;le&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18154</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-12-27 00:27:32 +0000</bug_when>
    <thetext>The spec may not be as clear on this point as it needs to be.  But in fact
the grammar given for the &quot;required subset&quot; of XPath describes the subset of
XPath that serves as a kind of implementation minimum:  all conforming
validators must support at least that subset of XPath, more or less as all 
conforming processors must support decimal numbers with up to a sixteen digits of precision.  Just as schemas can use more than sixteen digits in a
decimal number, so also schemas can use XPath expressions that do not fall
into the &quot;required subset&quot; of XPath.

So strictly speaking I don&apos;t think there&apos;s an error here, although it seems
likely that the description of the &quot;required subset&quot; should be made clearer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18156</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-12-27 00:35:28 +0000</bug_when>
    <thetext>&gt;all conforming
validators must support at least that subset of XPath, more or less as all 
conforming processors must support decimal numbers with up to a sixteen digits
of precision. 

and it&apos;s worth pointing out that the S4SD contains a 20-digit integer even though implementations are required to support only 16-digit integers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18172</commentid>
    <comment_count>3</comment_count>
    <who name="Xan Gregg">xan.gregg</who>
    <bug_when>2008-01-01 21:38:29 +0000</bug_when>
    <thetext>Thanks for the explanation. Now I see the note about full XPath being possible. I don&apos;t see any special instructions for what processors should do when they encounter unsupported XPath beyond the minimum. Presumably they must treat unrecognized XPath as an error in the schema.

The example in question would be a good place for a reminder note about minimal XPath vs. full XPath.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18703</commentid>
    <comment_count>4</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-02-04 16:17:21 +0000</bug_when>
    <thetext>In an effort to make better use of Bugzilla, we are going to use the
&apos;severity&apos; field to classify issues by perceived difficulty.  This 
bug is getting severity=minor to reflect the existing whiteboard note
&apos;easy&apos;. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18869</commentid>
    <comment_count>5</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-02-08 02:20:07 +0000</bug_when>
    <thetext>A wording proposal including changes for this issue went to the WG
on 7 February 2008:

  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.consent.200801.html#composition

(member-only link).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18946</commentid>
    <comment_count>6</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-02-08 23:36:14 +0000</bug_when>
    <thetext>The change proposal mentioned in comment #5 was adopted by the WG today.

As shown in the extract attached to bug 5074, those changes include
a change to the grammar of the required subset of XPath which replace
the operators &lt;, &gt;, etc. with le, gt, etc.  With that change, the example
mentioned here becomes legal against the XPath subset.

We believe this resolves the issue.

Xan, please let us know if you agree with this resolution of your issue, by
adding a comment to the issue record and changing the Status of the
issue to Closed. Or, if you do not agree with this resolution, please
add a comment explaining why. If you wish to appeal the WG&apos;s decision
to the Director, then also change the Status of the record to
Reopened. If you wish to record your dissent, but do not wish to
appeal the decision to the Director, then change the Status of the
record to Closed. If we do not hear from you in the next two weeks, we
will assume you agree with the WG decision.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18955</commentid>
    <comment_count>7</comment_count>
    <who name="Xan Gregg">xan.gregg</who>
    <bug_when>2008-02-10 01:42:27 +0000</bug_when>
    <thetext>Accepted.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>