We already know the default identity transformer missing some features
needed to make it fully compatable with the rest of Xalan.... I suspect
you've just discovered that the Document Type is another situation it
wasn't set up to handle.

To quickly test this, try altering your code to use an actual
identity-transformation _stylesheet_ (see below) instead of the default
identity transformer. I expect that when you do so the problem will vanish.
If so this definitely needs to be entered in Bugzilla, to make sure we
don't forget to fix it.


<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:template match="@*|node()">
   <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
   </xsl:copy>
</xsl:template>

</xsl:stylesheet>


Reply via email to