Hi Martin,

On Tue, Oct 28, 2025 at 6:45 PM Martin Honnen <[email protected]> wrote:
> 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>

These, Xalan implementation issues, have been fixed within Xalan's
XSLT 3.0 development code on the repos.


-- 
Regards,
Mukul Gandhi

Reply via email to