- From: <bugzilla@jessica.w3.org>
- Date: Thu, 27 Jan 2011 20:21:49 +0000
- To: public-xml-schema-testsuite@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11898
Summary: Duplicate entry in wildcard test set with wrong
validity
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:sequence/>
<xs:attributeGroup ref="g"/>
<xs:attributeGroup ref="h"/>
</xs:complexType>
<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>
<xs:attributeGroup name="h">
<xs:anyAttribute namespace="##local" notQName="##defined"
processContents="skip"/>
</xs:attributeGroup>
--
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