When a DOMSource is used as Saxon input, and the DOM
is created programmatically, then it can happen that
element or attribute names use a namespace URI for
which there is no namespace declaration attribute.
Saxon handles this by supplying a namespace
declaration in the case where the element or attribute
name contains a colon; but it fails to do so where an
element is in a non-null namespace but uses no
Source code fixed in 7.0 branch (not yet in 6.5
branch). Module DOMDriver.java. Tested with Crimson
(new test case in TraxExamples.java -
Present in 6.5, 7.0, and all previous releases.
Reported by Elliotte Rusty Harold on xml-dev, in the
context of an IdentityTransformation, but it can apply
equally to any transformation using a DOMSource as