<?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>4047</bug_id>
          
          <creation_ts>2006-12-08 18:31:31 +0000</creation_ts>
          <short_desc>DataTypes tests: discrepancies with minInclusive/maxInclusive</short_desc>
          <delta_ts>2008-11-02 16:32:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>Microsoft tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>metadata added, with correction noted below</status_whiteboard>
          <keywords></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="Henry S. Thompson">ht</assigned_to>
          
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13099</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-08 18:31:31 +0000</bug_when>
    <thetext>In a number of tests in the (Microsoft) DataTypes package, the metadata indicates that the value of a numeric minInclusive or maxExclusive facet is invalid, whereas the value in the actual data file is valid. For example the metadata shows

&lt;testGroup name=&quot;nonPositiveInteger_maxInclusive003_577&quot;&gt;
&lt;annotation&gt;
&lt;documentation&gt;TEST :Facet Schemas for string : facet=maxInclusive and   value=1&lt;/documentation&gt;
&lt;/annotation&gt;
&lt;documentationReference xlink:href=&quot;&quot;/&gt;
&lt;schemaTest name=&quot;nonPositiveInteger_maxInclusive003_577&quot;&gt;
&lt;schemaDocument xlink:href=&quot;../msData/datatypes/Facets/Schemas/nonPositiveInteger_maxInclusive003.xsd&quot;/&gt;
&lt;expected validity=&quot;invalid&quot;/&gt;
&lt;current date=&quot;2006-07-16&quot; status=&quot;accepted&quot;/&gt;
&lt;/schemaTest&gt;
&lt;/testGroup&gt;

But the actual value in nonPositiveInteger_maxInclusive003.xsd is -1, not 1, which is valid.

The discrepancy appears to be systematic, and affects other similar tests including:

&lt;test group=&quot;nonPositiveInteger_maxInclusive003_577&quot;
         name=&quot;nonPositiveInteger_maxInclusive003_577&quot;/&gt;
   &lt;test group=&quot;nonPositiveInteger_maxExclusive003_581&quot;
         name=&quot;nonPositiveInteger_maxExclusive003_581&quot;/&gt;
   &lt;test group=&quot;nonPositiveInteger_minInclusive003_584&quot;
         name=&quot;nonPositiveInteger_minInclusive003_584&quot;/&gt;
   &lt;test group=&quot;nonPositiveInteger_minExclusive003_588&quot;
         name=&quot;nonPositiveInteger_minExclusive003_588&quot;/&gt;
   &lt;test group=&quot;negativeInteger_maxInclusive003_609&quot;
         name=&quot;negativeInteger_maxInclusive003_609&quot;/&gt;
   &lt;test group=&quot;negativeInteger_maxExclusive003_613&quot;
         name=&quot;negativeInteger_maxExclusive003_613&quot;/&gt;
   &lt;test group=&quot;negativeInteger_minInclusive003_616&quot;
         name=&quot;negativeInteger_minInclusive003_616&quot;/&gt;
   &lt;test group=&quot;negativeInteger_minExclusive003_620&quot;
         name=&quot;negativeInteger_minExclusive003_620&quot;/&gt;
   &lt;test group=&quot;long_maxInclusive003_641&quot; name=&quot;long_maxInclusive003_641&quot;/&gt;
   &lt;test group=&quot;long_maxInclusive004_642&quot; name=&quot;long_maxInclusive004_642&quot;/&gt;
   &lt;test group=&quot;long_maxExclusive003_646&quot; name=&quot;long_maxExclusive003_646&quot;/&gt;
   &lt;test group=&quot;long_maxExclusive004_647&quot; name=&quot;long_maxExclusive004_647&quot;/&gt;
   &lt;test group=&quot;long_minInclusive003_650&quot; name=&quot;long_minInclusive003_650&quot;/&gt;
   &lt;test group=&quot;long_minInclusive004_651&quot; name=&quot;long_minInclusive004_651&quot;/&gt;
   &lt;test group=&quot;long_minExclusive003_655&quot; name=&quot;long_minExclusive003_655&quot;/&gt;
   &lt;test group=&quot;long_minExclusive004_656&quot; name=&quot;long_minExclusive004_656&quot;/&gt;
   &lt;test group=&quot;int_maxInclusive003_677&quot; name=&quot;int_maxInclusive003_677&quot;/&gt;
   &lt;test group=&quot;int_maxInclusive004_678&quot; name=&quot;int_maxInclusive004_678&quot;/&gt;
   &lt;test group=&quot;int_maxInclusive004c_681&quot; name=&quot;int_maxInclusive004c_681&quot;/&gt;
   &lt;test group=&quot;int_maxInclusive004d_682&quot; name=&quot;int_maxInclusive004d_682&quot;/&gt;
   &lt;test group=&quot;int_maxExclusive003_691&quot; name=&quot;int_maxExclusive003_691&quot;/&gt;
   &lt;test group=&quot;int_maxExclusive004d_694&quot; name=&quot;int_maxExclusive004d_694&quot;/&gt;
   &lt;test group=&quot;int_maxExclusive004e_695&quot; name=&quot;int_maxExclusive004e_695&quot;/&gt;
   &lt;test group=&quot;int_minInclusive003_701&quot; name=&quot;int_minInclusive003_701&quot;/&gt;
   &lt;test group=&quot;int_minInclusive004_702&quot; name=&quot;int_minInclusive004_702&quot;/&gt;
   &lt;test group=&quot;int_minInclusive006d_707&quot; name=&quot;int_minInclusive006d_707&quot;/&gt;
   &lt;test group=&quot;int_minInclusive006f_708&quot; name=&quot;int_minInclusive006f_708&quot;/&gt;
   &lt;test group=&quot;int_minInclusive006h_710&quot; name=&quot;int_minInclusive006h_710&quot;/&gt;
   &lt;test group=&quot;int_minInclusive006i_711&quot; name=&quot;int_minInclusive006i_711&quot;/&gt;
   &lt;test group=&quot;int_minExclusive003_714&quot; name=&quot;int_minExclusive003_714&quot;/&gt;
   &lt;test group=&quot;int_minExclusive004_715&quot; name=&quot;int_minExclusive004_715&quot;/&gt;
   &lt;test group=&quot;int_minExclusive006f_720&quot; name=&quot;int_minExclusive006f_720&quot;/&gt;
   &lt;test group=&quot;int_minExclusive006g_721&quot; name=&quot;int_minExclusive006g_721&quot;/&gt;
   &lt;test group=&quot;int_minExclusive006h_722&quot; name=&quot;int_minExclusive006h_722&quot;/&gt;
   &lt;test group=&quot;int_minExclusive006i_723&quot; name=&quot;int_minExclusive006i_723&quot;/&gt;
   &lt;test group=&quot;short_maxInclusive003_744&quot; name=&quot;short_maxInclusive003_744&quot;/&gt;
   &lt;test group=&quot;short_maxInclusive004_745&quot; name=&quot;short_maxInclusive004_745&quot;/&gt;
   &lt;test group=&quot;short_maxExclusive003_749&quot; name=&quot;short_maxExclusive003_749&quot;/&gt;
   &lt;test group=&quot;short_maxExclusive004_750&quot; name=&quot;short_maxExclusive004_750&quot;/&gt;
   &lt;test group=&quot;short_minInclusive003_753&quot; name=&quot;short_minInclusive003_753&quot;/&gt;
   &lt;test group=&quot;short_minInclusive004_754&quot; name=&quot;short_minInclusive004_754&quot;/&gt;
   &lt;test group=&quot;short_minExclusive003_758&quot; name=&quot;short_minExclusive003_758&quot;/&gt;
   &lt;test group=&quot;short_minExclusive004_759&quot; name=&quot;short_minExclusive004_759&quot;/&gt;
   &lt;test group=&quot;byte_maxInclusive003_780&quot; name=&quot;byte_maxInclusive003_780&quot;/&gt;
   &lt;test group=&quot;byte_maxInclusive004_781&quot; name=&quot;byte_maxInclusive004_781&quot;/&gt;
   &lt;test group=&quot;byte_maxExclusive003_785&quot; name=&quot;byte_maxExclusive003_785&quot;/&gt;
   &lt;test group=&quot;byte_maxExclusive004_786&quot; name=&quot;byte_maxExclusive004_786&quot;/&gt;
   &lt;test group=&quot;byte_minInclusive003_789&quot; name=&quot;byte_minInclusive003_789&quot;/&gt;
   &lt;test group=&quot;byte_minInclusive004_790&quot; name=&quot;byte_minInclusive004_790&quot;/&gt;
   &lt;test group=&quot;byte_minExclusive003_794&quot; name=&quot;byte_minExclusive003_794&quot;/&gt;
   &lt;test group=&quot;byte_minExclusive004_795&quot; name=&quot;byte_minExclusive004_795&quot;/&gt;
   &lt;test group=&quot;nonNegativeInteger_maxInclusive003_816&quot;
         name=&quot;nonNegativeInteger_maxInclusive003_816&quot;/&gt;
   &lt;test group=&quot;nonNegativeInteger_maxExclusive003_820&quot;
         name=&quot;nonNegativeInteger_maxExclusive003_820&quot;/&gt;
   &lt;test group=&quot;nonNegativeInteger_minInclusive003_823&quot;
         name=&quot;nonNegativeInteger_minInclusive003_823&quot;/&gt;
   &lt;test group=&quot;nonNegativeInteger_minExclusive003_827&quot;
         name=&quot;nonNegativeInteger_minExclusive003_827&quot;/&gt;
   &lt;test group=&quot;unsignedLong_maxInclusive003_848&quot;
         name=&quot;unsignedLong_maxInclusive003_848&quot;/&gt;
   &lt;test group=&quot;unsignedLong_maxInclusive004_849&quot;
         name=&quot;unsignedLong_maxInclusive004_849&quot;/&gt;
   &lt;test group=&quot;unsignedLong_maxExclusive003_853&quot;
         name=&quot;unsignedLong_maxExclusive003_853&quot;/&gt;
   &lt;test group=&quot;unsignedLong_maxExclusive004_854&quot;
         name=&quot;unsignedLong_maxExclusive004_854&quot;/&gt;
   &lt;test group=&quot;unsignedLong_minInclusive003_857&quot;
         name=&quot;unsignedLong_minInclusive003_857&quot;/&gt;
   &lt;test group=&quot;unsignedLong_minInclusive004_858&quot;
         name=&quot;unsignedLong_minInclusive004_858&quot;/&gt;
   &lt;test group=&quot;unsignedLong_minExclusive003_862&quot;
         name=&quot;unsignedLong_minExclusive003_862&quot;/&gt;
   &lt;test group=&quot;unsignedLong_minExclusive004_863&quot;
         name=&quot;unsignedLong_minExclusive004_863&quot;/&gt;
   &lt;test group=&quot;unsignedInt_maxInclusive003_884&quot; name=&quot;unsignedInt_maxInclusive003_884&quot;/&gt;
   &lt;test group=&quot;unsignedInt_maxInclusive004_885&quot; name=&quot;unsignedInt_maxInclusive004_885&quot;/&gt;
   &lt;test group=&quot;unsignedInt_maxExclusive003_889&quot; name=&quot;unsignedInt_maxExclusive003_889&quot;/&gt;
   &lt;test group=&quot;unsignedInt_maxExclusive004_890&quot; name=&quot;unsignedInt_maxExclusive004_890&quot;/&gt;
   &lt;test group=&quot;unsignedInt_minInclusive003_893&quot; name=&quot;unsignedInt_minInclusive003_893&quot;/&gt;
   &lt;test group=&quot;unsignedInt_minInclusive004_894&quot; name=&quot;unsignedInt_minInclusive004_894&quot;/&gt;
   &lt;test group=&quot;unsignedInt_minExclusive003_898&quot; name=&quot;unsignedInt_minExclusive003_898&quot;/&gt;
   &lt;test group=&quot;unsignedInt_minExclusive004_899&quot; name=&quot;unsignedInt_minExclusive004_899&quot;/&gt;
   &lt;test group=&quot;unsignedShort_maxInclusive003_920&quot;
         name=&quot;unsignedShort_maxInclusive003_920&quot;/&gt;
   &lt;test group=&quot;unsignedShort_maxInclusive004_921&quot;
         name=&quot;unsignedShort_maxInclusive004_921&quot;/&gt;
   &lt;test group=&quot;unsignedShort_maxExclusive003_925&quot;
         name=&quot;unsignedShort_maxExclusive003_925&quot;/&gt;
   &lt;test group=&quot;unsignedShort_maxExclusive004_926&quot;
         name=&quot;unsignedShort_maxExclusive004_926&quot;/&gt;
   &lt;test group=&quot;unsignedShort_minInclusive003_929&quot;
         name=&quot;unsignedShort_minInclusive003_929&quot;/&gt;
   &lt;test group=&quot;unsignedShort_minInclusive004_930&quot;
         name=&quot;unsignedShort_minInclusive004_930&quot;/&gt;
   &lt;test group=&quot;unsignedShort_minExclusive003_934&quot;
         name=&quot;unsignedShort_minExclusive003_934&quot;/&gt;
   &lt;test group=&quot;unsignedShort_minExclusive004_935&quot;
         name=&quot;unsignedShort_minExclusive004_935&quot;/&gt;
   &lt;test group=&quot;unsignedByte_maxInclusive003_956&quot;
         name=&quot;unsignedByte_maxInclusive003_956&quot;/&gt;
   &lt;test group=&quot;unsignedByte_maxInclusive004_957&quot;
         name=&quot;unsignedByte_maxInclusive004_957&quot;/&gt;
   &lt;test group=&quot;unsignedByte_maxExclusive003_961&quot;
         name=&quot;unsignedByte_maxExclusive003_961&quot;/&gt;
   &lt;test group=&quot;unsignedByte_maxExclusive004_962&quot;
         name=&quot;unsignedByte_maxExclusive004_962&quot;/&gt;
   &lt;test group=&quot;unsignedByte_minInclusive003_965&quot;
         name=&quot;unsignedByte_minInclusive003_965&quot;/&gt;
   &lt;test group=&quot;unsignedByte_minInclusive004_966&quot;
         name=&quot;unsignedByte_minInclusive004_966&quot;/&gt;
   &lt;test group=&quot;unsignedByte_minExclusive003_970&quot;
         name=&quot;unsignedByte_minExclusive003_970&quot;/&gt;
   &lt;test group=&quot;unsignedByte_minExclusive004_971&quot;
         name=&quot;unsignedByte_minExclusive004_971&quot;/&gt;
   &lt;test group=&quot;positiveInteger_maxInclusive003_992&quot;
         name=&quot;positiveInteger_maxInclusive003_992&quot;/&gt;
   &lt;test group=&quot;positiveInteger_maxExclusive003_996&quot;
         name=&quot;positiveInteger_maxExclusive003_996&quot;/&gt;
   &lt;test group=&quot;positiveInteger_minInclusive003_999&quot;
         name=&quot;positiveInteger_minInclusive003_999&quot;/&gt;
   &lt;test group=&quot;positiveInteger_minExclusive003_1003&quot;
         name=&quot;positiveInteger_minExclusive003_1003&quot;/&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13274</commentid>
    <comment_count>1</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2006-12-22 15:44:04 +0000</bug_when>
    <thetext>I _think_ you&apos;ve looked in the wrong place.  Confusingly, there are _two_ schema docs called onPositiveInteger_maxInclusive003.xsd, one in datatypes/Facets/nonPositiveInteger, which is indeed OK, and one in datatypes/Facets/Schemas which is a) not OK and b) the one which is actually referenced from the testSet. . .  This appears to be the case for many (but perhaps not all?) of the others you&apos;ve listed. . .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22325</commentid>
    <comment_count>2</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2008-11-02 16:32:50 +0000</bug_when>
    <thetext>Of the 91 tests listed in this bug, four, namely
int_maxExclusive004d_694
int_maxExclusive004e_695
int_minExclusive006f_720
int_minExclusive006g_721
are valid, correctly so, as far as I can see.
All 91 are now marked as having gone from accepted to queried to stable, with 
no substantive change being made</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>