[Bug 22334] Expected results have an erroneous namespace declaration

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22334

--- 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:

qischema064
qischema065
qischema070
qischema083

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
query.

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