Hi Mukul,

On 28/10/2025 13:39, Mukul Gandhi wrote:
These issues, have been now fixed on Xalan's XSLT 3.0 development
branch. You may please, verify whether the new fixes are correct or
not.


in terms of shallow-copy, it seems you need to make sure that comment nodes and processing instruction nodes are copied as well, i.e. currently if I use xsl:mode on-no-match="shallow-copy" on

<root>
  <item>a</item>
  <item>b</item>
  <!-- need to add more items -->
  <?pi test?>
</root>

the result with Xalan is

<?xml version="1.0" encoding="UTF-8"?><root>
  <item>a</item>
  <item>b</item>


</root>

but should be

<?xml version="1.0" encoding="UTF-8"?><root>
  <item>a</item>
  <item>b</item>
  <!-- need to add more items -->
  <?pi test?>
</root>



Reply via email to