https://saxonica.plan.io/https://saxonica.plan.io/favicon.ico2022-06-14T12:23:18ZSaxonica Developer CommunitySaxonJS - Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionhttps://saxonica.plan.io/issues/5563?journal_id=209802022-06-14T12:23:18ZJohn Lumleyjohn@saxonica.com
<ul></ul><p>Yes - this looks like an oversight - the original 'syntax check' for <code>xsl:copy-of</code> incorrectly declared the possibility of a sequence constructor child (as <code>xsl:copy</code> of course is permitted, and I assume I copy-and-pasted). Interestingly there must have been no XSLT test case which checked for a compiler error in such circumstances. The runtime code appears to ignore any children however.</p> SaxonJS - Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionhttps://saxonica.plan.io/issues/5563?journal_id=209832022-06-15T14:04:52ZNorm Tovey-Walsh
<ul><li><strong>Priority</strong> changed from <i>Low</i> to <i>High</i></li><li><strong>Sprint/Milestone</strong> changed from <i>SaxonJS 2.4</i> to <i>SaxonJS 3.0</i></li></ul> SaxonJS - Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionhttps://saxonica.plan.io/issues/5563?journal_id=210762022-06-15T19:39:16ZMichael Kaymike@saxonica.com
<ul></ul><p>Added XSLT3 test cases copy-0104 and copy-0105.</p> SaxonJS - Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionhttps://saxonica.plan.io/issues/5563?journal_id=210772022-06-15T21:00:55ZMichael Kaymike@saxonica.com
<ul></ul><p>XSLT-elements.xsl line 81 reads</p>
<pre><code> <copy-of select="expression" copy-namespaces="boolean" copy-accumulators="boolean" type="eqname" validation="strict|lax|preserve|strip">
<sequence-constructor/>
</copy-of>
</code></pre>
<p>The <code><sequence-constructor/></code> is incorrect.</p> SaxonJS - Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionhttps://saxonica.plan.io/issues/5563?journal_id=211532022-06-24T17:26:36ZDebbie Lockettdebbie@saxonica.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Normal</i></li><li><strong>Sprint/Milestone</strong> deleted (<del><i>SaxonJS 3.0</i></del>)</li><li><strong>Applies to JS Branch</strong> <i>Trunk</i> added</li><li><strong>Fix Committed on JS Branch</strong> <i>2, Trunk</i> added</li></ul><p>Fix committed in XSLT-elements.xsl. (And this fix is sufficient now that bug #5555 has been resolved to regenerate XSLT-schema.xsl in the build.)</p> SaxonJS - Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionhttps://saxonica.plan.io/issues/5563?journal_id=219062022-10-03T13:52:26ZNorm Tovey-Walsh
<ul><li><strong>Sprint/Milestone</strong> set to <i>SaxonJS 2.5</i></li></ul> SaxonJS - Bug #5563: SaxonJS allows elements in supposedly empty xsl:copy-of instructionhttps://saxonica.plan.io/issues/5563?journal_id=219442022-10-04T09:53:34ZNorm Tovey-Walsh
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Fixed in JS Release</strong> set to <i>SaxonJS 2.5</i></li></ul><p>Fixed in SaxonJS 2.5.</p>