<?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>4043</bug_id>
          
          <creation_ts>2006-12-08 01:01:15 +0000</creation_ts>
          <short_desc>attribute/attZ015</short_desc>
          <delta_ts>2008-11-02 16:32:45 +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>updated metadata 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>13093</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2006-12-08 01:01:15 +0000</bug_when>
    <thetext>I believe that the instance document attZ015.xml is invalid against the schema attZ015.xsd because the schema gives the attribute as use=&quot;prohibited&quot;, but it is present in the instance.

It appears from the metadata that this test was originally intended to fail on the grounds that use=&quot;prohibited&quot; is not allowed in an attribute group; however this assumption was incorrect and the schema and instance are both labelled as valid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13519</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Champion">michael.champion</who>
    <bug_when>2007-01-13 12:11:18 +0000</bug_when>
    <thetext>&gt; This test does not make the assumption that use=prohibited is 
&gt; disallowed from attribute groups. It is merely testing that prohibited 
&gt; attributes are excluded from the &apos;attribute uses&apos;
&gt; of attribute groups. Prohibited attributes within attribute groups are 
&gt; pointless and do nothing. The instance should be valid as the 
&gt; attribute &apos;a&apos; should validate against the declaration in the complex 
&gt; type &apos;base&apos;.
&gt;
&gt; This was posted as a question to the schema dev list [1] and verified 
&gt; by Henry.
&gt;
&gt; [1]
&gt; http://lists.w3.org/Archives/Public/xmlschema-dev/2005May/0053.html
&gt;
&gt; Thanks,
&gt; Zafar Abbas

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20690</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2008-06-21 14:36:24 +0000</bug_when>
    <thetext>Agreed that, surprising as it may seem, use=&quot;prohibited&quot; within an attribute group does not have the effect of making the attribute prohibited. The bug report is therefore invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>