<?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>4049</bug_id>
          
          <creation_ts>2006-12-08 20:13:58 +0000</creation_ts>
          <short_desc>DataTypes tests: QNames and length facets</short_desc>
          <delta_ts>2008-11-13 12:14: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 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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>all metadata now correct 2008-11-13</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>13101</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-08 20:13:58 +0000</bug_when>
    <thetext>In the (Microsoft) Datatypes tests, certain tests appear to assume that an instance document can be invalid because a QName or NOTATION does not satisfy the length, minLength, or maxLength facet defined in the schema. However, the specification is clear that although these facets are allowed (and deprecated), they have no effect on validity. See 

Validation Rule: Length Valid clause 1.3
Validation Rule: minLength Valid clause 1.3
Validation Rule: maxLength Valid clause 1.3

Affected tests include:

   &lt;test group=&quot;QName_length001_1357&quot; name=&quot;QName_length001_1357.i&quot;/&gt;
   &lt;test group=&quot;QName_length003_1359&quot; name=&quot;QName_length003_1359.i&quot;/&gt;
   &lt;test group=&quot;QName_minLength003_1362&quot; name=&quot;QName_minLength003_1362.i&quot;/&gt;
   &lt;test group=&quot;QName_maxLength001_1364&quot; name=&quot;QName_maxLength001_1364.i&quot;/&gt;
   &lt;test group=&quot;NOTATION_length001_1372&quot; name=&quot;NOTATION_length001_1372.i&quot;/&gt;
   &lt;test group=&quot;NOTATION_length003_1374&quot; name=&quot;NOTATION_length003_1374.i&quot;/&gt;
   &lt;test group=&quot;NOTATION_minLength003_1377&quot; name=&quot;NOTATION_minLength003_1377.i&quot;/&gt;
   &lt;test group=&quot;NOTATION_maxLength001_1379&quot; name=&quot;NOTATION_maxLength001_1379.i&quot;/&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13560</commentid>
    <comment_count>1</comment_count>
    <who name="Arthur De Magalhaes">arthurdm</who>
    <bug_when>2007-01-15 21:22:34 +0000</bug_when>
    <thetext>Additional tests that have this bug:

msData/additional/test73986_2.xml
msData/additional/test73986.xsd
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13834</commentid>
    <comment_count>2</comment_count>
    <who name="Zafar Abbas">zafara</who>
    <bug_when>2007-01-29 22:32:07 +0000</bug_when>
    <thetext>Agreed that these tests are not applicable per spec. We are following up with the WG to determine the process of updating the test suite.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20692</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-21 15:03:28 +0000</bug_when>
    <thetext>Agreed that these tests do no violate the length/minlength/maxlength facets. 

In theory before marking them valid we should check that they are not invalid for some other reason, however it appears they pass validation by Xerces and Saxon so they are probably OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22426</commentid>
    <comment_count>4</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2008-11-13 12:07:25 +0000</bug_when>
    <thetext>*** Bug 4122 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>