SaxonJS allows elements in supposedly empty xsl:copy-of instruction
Due to some mental mistake I wrote some XSLT code using e.g.
<xsl:copy-of select="."><xsl:apply-templates/></xsl:copy-of> and SaxonJS let met get away with it. When moving my code to SaxonJ, I found that it doesn't allow it and gives an error that
xsl:copy-of is supposed to be empty, as indeed the XSLT spec defines it.
So I suppose this is a bug in terms of XSLT comformance of SaxonJS.
Please register to edit this issue