Using the following XSLT
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:q="urn:Q" version="1.0">
<xsl:template match="/">
<q:text>Out</q:text>
</xsl:template>
</xsl:stylesheet>
The resulting output from xmlParse on a document is the incomplete XML <q:text>Out</q:text> while the same code results in <q:text xmlns:q="urn:Q">Out</q:text> using XSLTProcessor.