- From: <bugzilla@jessica.w3.org>
- Date: Sat, 30 Oct 2010 15:00:13 +0000
- To: public-xml-schema-testsuite@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11178 Summary: [saxonica] Validity status wrongly specified in an instance test Product: XML Schema Test Suite Version: 2006-11-06 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: Saxon tests AssignedTo: cmsmcq@blackmesatech.com ReportedBy: gandhi.mukul@gmail.com QAContact: public-xml-schema-testsuite@w3.org In the test set file All.testSet from Saxonica the following XSD 1.1 test seems to be wrongly specified: <testGroup name="all004" -> <instanceTest name="all004.v02.xml"> The expected validity of this test is specified as "valid". I believe when instance document all004.v02.xml is attempted to be validated with schema all004.xsd a compliant XSD 1.1 processor must return an "invalid" outcome (the reasons for this are specified below). In the schema document mentioned above, the element declaration specifies: <xs:element name="doc" nillable="1"> .. </xs:element> and the instance document is as follows: <doc xsi:nil="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> </doc> Since there are whitespace child nodes within element "doc", the contents of element "doc" are not strictly empty. To rectify this test case, I would suggest either of following measures: 1. Modify the instance document to remove whitespace children within element "doc", i.e corrected instance document would then be, <doc xsi:nil="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" /> OR 2. Modify the test spec of test <instanceTest name="all004.v02.xml"> to say expected validity as "invalid". -- 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 Saturday, 30 October 2010 15:00:14 UTC