W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2013

[Bug 22334] Expected results have an erroneous namespace declaration

From: <bugzilla@jessica.w3.org>
Date: Tue, 02 Jul 2013 21:11:04 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-22334-523-UEzOWkansa@http.www.w3.org/Bugs/Public/>

--- Comment #6 from Michael Kay <mike@saxonica.com> ---
I have fixed the three tests in question, and have modified Saxon to conform to
the specification and generate the expected results for these three tests. The
modified Saxon fails on four tests:


In each case the serialized result of running the tests, serialized as XML 1.0,
matches the result asserted using assert-xml; but the test does not pass
because the result tree produced by the query contains "namespace holes"
(namespace bindings that are present on a parent element and absent from its
children) that are revealed when the tree is serialized as XML 1.1

In the first three cases I propose to modify the test to ensure that the xsi
namespace is in-scope throughout the result tree by including a namespace
declaration for this namespace in the outermost element constructor of the

In the final case I propose to modify the test assertions to ensure that the
result tree has the correct namespace bindings. This test case - which requires
validation of a tree containing "namespace holes" to produce a new tree with
the same "namespace holes" - is worth testing because it may cause difficulties
for some processors that use off-the-shelf schema processors.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 2 July 2013 21:11:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:43 UTC