W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > January 2011

[Bug 11898] New: Duplicate entry in wildcard test set with wrong validity

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Jan 2011 20:21:49 +0000
To: public-xml-schema-testsuite@w3.org
Message-ID: <bug-11898-1590@http.www.w3.org/Bugs/Public/>

           Summary: Duplicate entry in wildcard test set with wrong
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Saxon tests
        AssignedTo: cmsmcq@blackmesatech.com
        ReportedBy: sandygao@ca.ibm.com
         QAContact: public-xml-schema-testsuite@w3.org

saxonMeta/Wild.testSet has two entries for the same combination: "wild059.xsd"
+ "wild058.n2.xml".

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

The instance has

<zing zong="12:00:00"/>

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

<xs:complexType name="zing">
  <xs:attributeGroup ref="g"/>
  <xs:attributeGroup ref="h"/>

<xs:element name="zing" type="zing"/>

<xs:attribute name="zang" type="xs:date"/>
<xs:attribute name="zong" type="xs:time"/>

<xs:attributeGroup name="g">
  <xs:anyAttribute namespace="##any" notQName="jang" processContents="skip"/>

<xs:attributeGroup name="h">
  <xs:anyAttribute namespace="##local" notQName="##defined"

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 27 January 2011 20:21:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:49 UTC