<?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>4009</bug_id>
          
          <creation_ts>2006-11-24 14:12:51 +0000</creation_ts>
          <short_desc>Length facets on QName types</short_desc>
          <delta_ts>2008-11-02 16:33: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 Test Suite</product>
          <component>NIST tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>metadata update confirmed 2008-11-01</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>13015</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-11-24 14:12:51 +0000</bug_when>
    <thetext>The NIST tests in the QName directory include a number of tests (easily identified by their names) which test the use of the length, minLength, and maxLength facets applied to xs:QName values. The specification permits these facets but states that they are deprecated, and attaches no meaning to them. The expected test results appear to assume that the facets will be ignored (for example the value xthe:aand-be.qua is considered valid when the schema specifies a maxLength of 1).

If the specification intends that these facets should be ignored, then it should say so. Since the spec as written doesn&apos;t say what a processor should do with them, it would be better for the tests to be removed, or for the results to be flagged in some way as undefined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20637</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-20 14:20:05 +0000</bug_when>
    <thetext>Schema 1.0 Part 2 section 4.3.1.3, Validation Rule: Length Valid, clause 1.3, and parallel rules for minLength and maxLength make clear that the length, minLength, and maxLength facets on QName are effectively ignored, so these test cases are indeed valid and the bug is therefore closed as invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>