- From: <bugzilla@jessica.w3.org>
- Date: Tue, 21 Aug 2012 14:33:26 +0000
- To: public-xml-schema-testsuite@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18641 Summary: should 'wild062.n3.xml' be valid? Product: XML Schema Test Suite Version: 2006-11-06 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Saxon tests AssignedTo: cmsmcq@blackmesatech.com ReportedBy: xml.dev@altova.com QAContact: public-xml-schema-testsuite@w3.org I think test 'wild062.n3.xml' of group 'wild062' of set 'Wild' should be valid. In this test case a content model with a lax wildcard and a local element declaration 'f' is used to validate an element with two <f> element children. One attributed to the local element declaration the second to the wildcard. The second has an instance specified type definition which does not override the locally declared type. So as described in http://www.w3.org/TR/xmlschema11-1/#key-governing-type-elem: 6 An ·instance-specified type definition· which ·overrides· the ·locally declared type·. 7 The ·locally declared type·. 8 An ·instance-specified type definition·. the governing type definition of the second <f> element will be the locally declared type, because the locally declared type is listed before the instance specified type definition, and thus cvc-complex-type.5 is not violated. Best regards, Andreas Meissl -- Configure bugmail: https://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 Tuesday, 21 August 2012 14:33:32 UTC