Project

Profile

Help

Support #6170 ยป Re_ [Saxon - Support #6170] Which XSLT instructions actually change the context-node before processing the children_ - 2023-08-21T12_51_57Z.eml

Gerben Abbink, 2023-08-21 14:51

 
X-He-Spam-Score: -2.2
Return-Path: <gerben.abbink@gmail.com>
Delivered-To: dropbox@plan.io
Received: from m.launch.gmbh ([127.0.0.1])
by m.launch.gmbh with LMTP id mNn/Gtxd42QRNAAAJzdhvw
for <dropbox@plan.io>; Mon, 21 Aug 2023 14:51:40 +0200
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on m.launch.gmbh
X-Spam-Level:
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,DMARC_PASS,FREEMAIL_FROM,HTML_MESSAGE,
RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,
SPF_PASS autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Report:
* -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at
* https://www.dnswl.org/, no trust
* [209.85.218.50 listed in list.dnswl.org]
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* -0.1 DMARC_PASS DMARC check passed
* -0.1 SPF_PASS SPF check passed
* 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3)
* [209.85.218.50 listed in wl.mailspike.net]
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
* provider (mailer-daemon[at]googlemail.com)
* (gerben.abbink[at]gmail.com)
* 0.0 HTML_MESSAGE BODY: HTML included in message
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
* author's domain
* 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders
X-Spam-Score: -2.2
Envelope-to: inbox+saxonica+f38e+saxon@plan.io
Authentication-Results: m.launch.gmbh; dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: m.launch.gmbh; spf=pass smtp.mailfrom=gerben.abbink@gmail.com
Authentication-Results: m.launch.gmbh;
dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hsXX3neq";
dkim-atps=neutral
Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))
(No client certificate requested)
by m.launch.gmbh (Postfix) with ESMTPS id 498EB8014C
for <inbox+saxonica+f38e+saxon@plan.io>; Mon, 21 Aug 2023 14:51:40 +0200 (CEST)
Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-99c4923195dso432788466b.2
for <inbox+saxonica+f38e+saxon@plan.io>; Mon, 21 Aug 2023 05:51:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20221208; t=1692622299; x=1693227099;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:from:to:cc:subject:date:message-id:reply-to;
bh=GFM6yC1IVlp3R0OKddmbPDAQdsvYeP1WEkAEIZqfPOU=;
b=hsXX3neqZB93yrkQa3UJXPLafj3ni6b0o8uFIZvPIoB0HUEcug7OHwQeF+UnwlauJd
YSpx1SahAiyycitNRQBPgk3ToxLJIXHdet5RlobO1I9pVEI8NUFN8/edQluNyBEMJfyE
W0x0uvsZjgk/ciWO/xaYsVHtFFcYz0T/cbSXCGLphsMCftNnIgF9OZb8sUQjitUTKJP9
/BD6lFnbJb59h4xlL6mB6RpFjrF2BUwYf3NIOa5Ky82IpqsTTS3n/dd7/J16v2MeyXUU
X3gHI4Q/BbqCGHaaLfoi5D1HpL9DMM5OmyK34fFPBTrN8siFd7a+7nThZinpYULhN0qb
+lCA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20221208; t=1692622299; x=1693227099;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=GFM6yC1IVlp3R0OKddmbPDAQdsvYeP1WEkAEIZqfPOU=;
b=M0vujiGz/qiFsWTR2SJJeG4c0bgcnwSmKtkTSX5kq8cNsxLNrPDxV0QQXdXSA8ea76
u3YD1ZeRKCttOoTzpWrbaeNJUYMe5a3IJkz68FDQj5XIVz2y4Zxyc49hjJs58hYEqGRi
4C1wa2wxFEMl0Z4Kl6uq273r2HiYJa3lxnk5Ie1+An7Vb5ql4gplaBsRLS/c+Cw7LSFJ
udEZ/Lc+1vgivL9Ni9QHX8hXKLjTBCf7VOO3DJKNN4QQz6ZJV53SS1as7bASZdrGu9jS
ZjquDNiqt//sabvGcTMm7nVqsglkFC4LXEbEt8if9PVmNsdi69FklQs4ZppFRFRk9uQ+
BPzg==
X-Gm-Message-State: AOJu0YzqnnPc0h3qsIMNJaVNcb2XiIUYo1NvlZiWHQEI8V8Er6CHSWb8
ZRDfvioS48gDhXiyvSW4hCmU7blTaqO3vOd8o8PUvtKy
X-Google-Smtp-Source: AGHT+IHeosgKmnouEA/k9sMKskAXAcKEqGcb/8cx6H586LI7gkp49rqDTBCOGBJ9xc1Fpj8DMfHSkxTtgUpzA0hra8c=
X-Received: by 2002:a17:907:2cc1:b0:99d:f019:46c1 with SMTP id
hg1-20020a1709072cc100b0099df01946c1mr5343597ejc.30.1692622299463; Mon, 21
Aug 2023 05:51:39 -0700 (PDT)
MIME-Version: 1.0
References: <redmine.issue-6170.20230815144410.325@plan.io> <redmine.journal-24519.20230815193952.325@plan.io>
In-Reply-To: <redmine.journal-24519.20230815193952.325@plan.io>
From: Gerben Abbink <gerben.abbink@gmail.com>
Date: Mon, 21 Aug 2023 14:51:27 +0200
Message-ID: <CALOFD2XukM=5qRy9ujKFp9DRSgZmuoyca5uA+Hmo=AP2GC8TFQ@mail.gmail.com>
Subject: Re: [Saxon - Support #6170] Which XSLT instructions actually change
the context-node before processing the children?
To: Saxonica Developer Community <inbox+saxonica+f38e+saxon@plan.io>
Content-Type: multipart/alternative; boundary="000000000000e6031e06036e56b1"

--000000000000e6031e06036e56b1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Can I tell from the Saxon source code which instructions change the
context-node?


On Tue, Aug 15, 2023 at 9:39=E2=80=AFPM Saxonica Developer Community <
notifications@plan.io> wrote:

> --- In your reply, please do not write below this line ---
> Issue #6170 <https://saxonica.plan.io/issues/6170?pn=3D1#change-24519> ha=
s
> been updated by Philip Fearon.
> ------------------------------
>
>
> For changing the context node, do these count also?
>
> xsl:copy with @select
>
> xsl:perform-sort
>
> xsl:merge-source
>
> xsl:source-document
> ------------------------------
> Support #6170: Which XSLT instructions actually change the context-node
> before processing the children?
> <https://saxonica.plan.io/issues/6170?pn=3D1#change-24519> open
>
> - *Author: *Gerben Abbink
> - *Status: *New
> - *Priority: *Low
> - *Start date: *2023-08-15
>
> I am looking for all the XSLT instructions that actually change the
> context-node before processing the children.
>
> According to [[https://www.w3.org/TR/xslt-30/#additional-dynamic-context]=
]
> , these are all the elements and attributes:
>
> - accumulator/@match
> - analyze-string/@select
> - apply-templates/@select
> - for-each/@select
> - for-each-group/@group-adjacent
> - for-each-group/@group-by
> - for-each-group/@group-ending-with
> - for-each-group/@group-starting-with
> - for-each-group/@select
> - key/@match
> - number/@count
> - number/@from
>
> How can I be sure that this is the correct list?
> ------------------------------
>
> You have received this notification because you have either subscribed to
> or are involved in a project on Saxonica Developer Community site. To
> change your notification preferences, please click here:
> https://saxonica.plan.io/my/account?tour=3Dmail_preferences
>
> This notification was cheerfully delivered by <https://plan.io/>
> [image: Planio] <https://plan.io/>
>

--000000000000e6031e06036e56b1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Can I tell from the Saxon source code which instructions c=
hange the context-node?<div><br></div></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 15, 2023 at 9:39=E2=80=AF=
PM Saxonica Developer Community &lt;<a href=3D"mailto:notifications@plan.io=
">notifications@plan.io</a>&gt; wrote:<br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex"><div class=3D"msg246491372574483515"><u></u>







<div style=3D"font-family:ProximaNova-Regular,Helvetica,Arial,sans-serif;fo=
nt-size:14px;line-height:1.4em;color:rgb(51,52,52)">
<table width=3D"100%" cellspacing=3D"0" cellpadding=3D"0" style=3D"border-c=
ollapse:collapse;border-spacing:0px;margin-bottom:0px;width:100%;border:non=
e;padding:0px">
<tbody><tr><td style=3D"text-align:center;width:100%;font-family:MarketWeb,=
Helvetica,Arial,sans-serif;font-size:0.8em;color:rgb(215,215,215);border:no=
ne;padding:0px"><p>--- In your reply, please do not write below this line -=
--</p></td></tr>
<tr><td style=3D"border:none;padding:0px">Issue <a href=3D"https://saxonica=
.plan.io/issues/6170?pn=3D1#change-24519" style=3D"color:rgb(0,136,183)" ta=
rget=3D"_blank">#6170</a> has been updated by Philip Fearon.
<hr style=3D"width:100%;height:1px;background:rgb(204,204,204);border:0px;m=
argin:1.2em 0px">

<ul style=3D"color:rgb(149,149,149);margin-bottom:1.5em">
</ul>

<p>For changing the context node, do these count also?</p>
<p>xsl:copy with @select</p>
<p>xsl:perform-sort</p>
<p>xsl:merge-source</p>
<p>xsl:source-document</p>
<hr style=3D"width:100%;height:1px;background:rgb(204,204,204);border:0px;m=
argin:1.2em 0px">
<h1 style=3D"font-family:ProximaNova-Bold,Helvetica,Arial,sans-serif;font-w=
eight:normal;margin:0px;font-size:1.3em;line-height:1.4em">
<a href=3D"https://saxonica.plan.io/issues/6170?pn=3D1#change-24519" styl=
e=3D"color:rgb(0,136,183);text-decoration:none" target=3D"_blank">Support #=
6170: Which XSLT instructions actually change the context-node before proce=
ssing the children?</a>
<span style=3D"font-weight:bold;font-size:10px;padding:1px 3px;margin-rig=
ht:2px;margin-left:2px;border-radius:2px;text-transform:uppercase;text-deco=
ration:none;color:rgb(32,93,134);border:1px solid rgb(32,93,134)">open</spa=
n>
</h1>

<ul style=3D"color:rgb(149,149,149);margin-bottom:1.5em"><li><strong>Author=
: </strong>Gerben Abbink</li>
<li><strong>Status: </strong>New</li>
<li><strong>Priority: </strong>Low</li>
<li><strong>Start date: </strong>2023-08-15</li></ul>

<p>I am looking for all the XSLT instructions that actually change the cont=
ext-node before processing the children.</p>
<p>According to [[<a href=3D"https://www.w3.org/TR/xslt-30/#additional-dyna=
mic-context" target=3D"_blank">https://www.w3.org/TR/xslt-30/#additional-dy=
namic-context</a>]] , these are all the elements and attributes:</p>
<ul>
<li>accumulator/@match</li>
<li>analyze-string/@select</li>
<li>apply-templates/@select</li>
<li>for-each/@select</li>
<li>for-each-group/@group-adjacent</li>
<li>for-each-group/@group-by</li>
<li>for-each-group/@group-ending-with</li>
<li>for-each-group/@group-starting-with</li>
<li>for-each-group/@select</li>
<li>key/@match</li>
<li>number/@count</li>
<li>number/@from</li>
</ul>
<p>How can I be sure that this is the correct list?</p>


<div><div></div></div>

</td></tr>
<tr><td style=3D"font-size:0.8em;width:100%;border:none;padding:0px"><hr st=
yle=3D"width:100%;height:1px;background:rgb(204,204,204);border:0px;margin:=
1.2em 0px"><p>You have received this notification because you have either s=
ubscribed to or are involved in a project on Saxonica Developer Community s=
ite.
To change your notification preferences, please click here: <a href=3D"http=
s://saxonica.plan.io/my/account?tour=3Dmail_preferences" style=3D"color:rgb=
(0,136,183)" target=3D"_blank">https://saxonica.plan.io/my/account?tour=3Dm=
ail_preferences</a></p></td></tr>
<tr><td style=3D"text-align:center;width:100%;font-family:MarketWeb,Helveti=
ca,Arial,sans-serif;font-size:1.2em;color:rgb(215,215,215);border:none;padd=
ing:0px"><br><div><a href=3D"https://plan.io/" style=3D"color:rgb(215,215,2=
15);text-decoration:none" target=3D"_blank">This notification was cheerfull=
y delivered by</a></div></td></tr>
<tr><td style=3D"text-align:center;width:100%;border:none;padding:0px"><a h=
ref=3D"https://plan.io/" title=3D"Planio" style=3D"color:rgb(0,136,183)" ta=
rget=3D"_blank"><img src=3D"https://assets.plan.io/images/planio_logo_gray_=
204x50.png" height=3D"25" width=3D"102" border=3D"0" alt=3D"Planio" style=
=3D"vertical-align: middle; border: none;"></a></td></tr>
</tbody></table>
</div>

</div></blockquote></div>

--000000000000e6031e06036e56b1--
    (1-1/1)