<?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>11898</bug_id>
          
          <creation_ts>2011-01-27 20:21:48 +0000</creation_ts>
          <short_desc>Duplicate entry in wildcard test set with wrong validity</short_desc>
          <delta_ts>2011-10-21 16:38:03 +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>Saxon tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>mike</cc>
          
          <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>44813</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2011-01-27 20:21:48 +0000</bug_when>
    <thetext>saxonMeta/Wild.testSet has two entries for the same combination: &quot;wild059.xsd&quot; + &quot;wild058.n2.xml&quot;.

Both are marked &quot;valid&quot;, but the documentation suggests that they are invalid &quot;zong attribute is not present in the intersection of the attribute groups.&quot;

The instance has

&lt;zing zong=&quot;12:00:00&quot;/&gt;

But the attribute wildcard in &quot;zing&quot; has ##defined excluded, and &quot;zong&quot; is a globally declared attribute, so should not be allowed to appear on &quot;zing&quot;. Suggest to change the expected validity to &quot;invalid&quot;.

&lt;xs:complexType name=&quot;zing&quot;&gt;
  &lt;xs:sequence/&gt;
  &lt;xs:attributeGroup ref=&quot;g&quot;/&gt;
  &lt;xs:attributeGroup ref=&quot;h&quot;/&gt;
&lt;/xs:complexType&gt;

&lt;xs:element name=&quot;zing&quot; type=&quot;zing&quot;/&gt;

&lt;xs:attribute name=&quot;zang&quot; type=&quot;xs:date&quot;/&gt;
&lt;xs:attribute name=&quot;zong&quot; type=&quot;xs:time&quot;/&gt;

&lt;xs:attributeGroup name=&quot;g&quot;&gt;
  &lt;xs:anyAttribute namespace=&quot;##any&quot; notQName=&quot;jang&quot; processContents=&quot;skip&quot;/&gt;
&lt;/xs:attributeGroup&gt;

&lt;xs:attributeGroup name=&quot;h&quot;&gt;
  &lt;xs:anyAttribute namespace=&quot;##local&quot; notQName=&quot;##defined&quot; processContents=&quot;skip&quot;/&gt;
&lt;/xs:attributeGroup&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45173</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2011-02-07 11:28:15 +0000</bug_when>
    <thetext>Agreed.

One of the redundant tests will be removed, and the other will be marked invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>