- From: <bugzilla@jessica.w3.org>
- Date: Wed, 12 Oct 2011 22:32:34 +0000
- To: public-xml-schema-testsuite@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14442 Summary: over013 - Overriding a complex type with a simple type Product: XML Schema Test Suite Version: 2006-11-06 Platform: PC OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Saxon tests AssignedTo: cmsmcq@blackmesatech.com ReportedBy: mike@saxonica.com QAContact: public-xml-schema-testsuite@w3.org Test over013 has this: <xs:override schemaLocation="over012a.xsd"> <xs:simpleType name="structuredDate"> <xs:restriction base="xs:date"/> </xs:simpleType> </xs:override> overriding this: <xs:schema ...> <xs:element name="doc"> ... </xs:element> <xs:complexType name="structuredDate"> <xs:sequence> ... </xs:sequence> </xs:complexType> </xs:schema> and has an expected result of invalid, on the grounds that a simpleType cannot override a complexType. In fact, following the rules in the spec more closely, there appears to be no such error condition. Instead the simpleType simply fails to override anything, and is therefore ignored. Can the WG confirm that this is the intent of the specification? -- 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 Wednesday, 12 October 2011 22:32:40 UTC