Project

Profile

Help

Support #5136 ยป [#5136][f7dd4b] - 2021-10-20T20_11_53Z.eml

Gary Cornelius, 2021-10-20 22:11

 
X-He-Spam-Score: -2.2
Return-Path: <gary.cornelius@rapport.net>
Delivered-To: dropbox@plan.io
Received: from m.launch.gmbh ([127.0.0.1])
by m.launch.gmbh with LMTP id OH++DO93cGGReQAAJzdhvw
for <dropbox@plan.io>; Wed, 20 Oct 2021 22:11:27 +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,HTML_MESSAGE,SPF_HELO_NONE,
SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Report:
* -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 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was
* blocked. See
* http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
* for more information.
* [URIs: rapport.net]
* 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
X-Spam-Score: -2.2
Envelope-to: inbox+saxonica+f38e+saxon-js@plan.io
Authentication-Results: m.launch.gmbh; dmarc=pass (p=quarantine dis=none) header.from=rapport.net
Authentication-Results: m.launch.gmbh; spf=pass smtp.mailfrom=gary.cornelius@rapport.net
Authentication-Results: m.launch.gmbh;
dkim=pass (2048-bit key; unprotected) header.d=rapport.net header.i=@rapport.net header.b="bwghYSs2";
dkim-atps=neutral
Received: from mail.rapport.net (mail.rapport.net [18.130.73.62])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by m.launch.gmbh (Postfix) with ESMTPS id E6FD58068C
for <inbox+saxonica+f38e+saxon-js@plan.io>; Wed, 20 Oct 2021 22:11:26 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
by mail.rapport.net (Postfix) with ESMTP id 93871238D286
for <inbox+saxonica+f38e+saxon-js@plan.io>; Wed, 20 Oct 2021 20:11:26 +0000 (UTC)
Received: from mail.rapport.net ([127.0.0.1])
by localhost (rapport.net [127.0.0.1]) (amavisd-new, port 10032)
with ESMTP id kg0iWClJGLEk for <inbox+saxonica+f38e+saxon-js@plan.io>;
Wed, 20 Oct 2021 20:11:26 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by mail.rapport.net (Postfix) with ESMTP id 2708A238D287
for <inbox+saxonica+f38e+saxon-js@plan.io>; Wed, 20 Oct 2021 20:11:26 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rapport.net 2708A238D287
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rapport.net;
s=00110110-CA95-11EA-A47A-6BAF5C33E0C3; t=1634760686;
bh=DPLUdJwl4X5oMYYLYg87Ri1XvY+hkhUoxc+LPUk8FVQ=;
h=Date:From:To:Message-ID:MIME-Version;
b=bwghYSs2B1batc7RH+ZJZXe9QFSX0S142rVziFxn4MVY0YXfS6Zo7KWgJ8vGee7pp
OYFONo0eVv332Okz6nVVtF4oEScTibMzXumUWQRSC+CW9Do8WS3etc+jYj8SOvGlLA
+LO3vXQedu87VajselVFl8MPFYIweYF5Ma1flArcWIU0GdkYPORkIw3VSwl4EORxuQ
f/VvRaOrRZ9S7L+yh40DDj/37o8FGb9GudfF0KxwSmh1iHGkduHyP9KtQnn5xbVHlh
T1NnH5+oUmKELu3diw2WcixbdprrfbTSDBhKNs4/dkuXZynyojZceVcD6q2pd+hhoq
8x85HGm9As2gA==
X-Virus-Scanned: amavisd-new at rapport.net
Received: from mail.rapport.net ([127.0.0.1])
by localhost (rapport.net [127.0.0.1]) (amavisd-new, port 10026)
with ESMTP id GRLHtP_6LWcG for <inbox+saxonica+f38e+saxon-js@plan.io>;
Wed, 20 Oct 2021 20:11:26 +0000 (UTC)
Received: from rapport.net (rapport.net [172.31.16.136])
by mail.rapport.net (Postfix) with ESMTP id EC767238D286
for <inbox+saxonica+f38e+saxon-js@plan.io>; Wed, 20 Oct 2021 20:11:25 +0000 (UTC)
Date: Wed, 20 Oct 2021 20:11:25 +0000 (UTC)
From: Gary Cornelius <gary.cornelius@rapport.net>
Reply-To: Gary Cornelius <gary@cornelius.me>
To: inbox+saxonica+f38e+saxon-js <inbox+saxonica+f38e+saxon-js@plan.io>
Message-ID: <280130630.1417.1634760685763.JavaMail.zimbra@rapport.net>
Subject: [#5136][f7dd4b]
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="=_4c730b81-492b-4572-800c-4bee10252f33"
X-Originating-IP: [172.31.16.136]
X-Mailer: Zimbra 9.0.0_GA_3990 (ZimbraXWebClient - GC94 (Windows)/9.0.0_GA_3990)
Thread-Index: h6Bb9tgKs65nA7XYXYeb+GTUyKsR+g==
Thread-Topic: [f7dd4b]

--=_4c730b81-492b-4572-800c-4bee10252f33
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Sadly, I remain confused regards how to fill the $body variable below with =
a text format so things such as greater than symbol > are not escaped. I ha=
ve tried to change the output method and add a character map as described b=
ut it does not appear to apply to the context of the $body in this map (and=
rather applies on the main document result document which is XHTML). I als=
o have the feeling that the behaviour has changed in the last few years of =
the serialization in this part of the request map.=20
=C2=A0=20
<xsl:param name=3D"request" select=3D"map{=20
=C2=A0 'method': 'POST',=20
=C2=A0 'href': 'http://www.rapport.net/api',=20
=C2=A0 'body': $body=20
=C2=A0 }"/>=20
=C2=A0=20
It seems like the $body needs to be a document node or serialized in a very=
particular way but I find it hard to understand what is going on here and=
=C2=A0 it is not clear to me the right way to set its output method to text=
only or a apply a character map to this serialized document fragment in th=
is context .

--=_4c730b81-492b-4572-800c-4bee10252f33
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<html><body><div style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: rgb(0, 0, 0);"><div>Sadly, I remain confused regards how to fill the $body variable below with a text format so things such as greater than symbol &gt; are not escaped. I have tried to change the output method and add a character map as described but it does not appear to apply to the context of the $body in this map (and rather applies on the main document result document which is XHTML). I also have the feeling that the behaviour has changed in the last few years of the serialization in this part of the request map.</div>
<div>&nbsp;</div>
<div>&lt;xsl:param name="request" select="map{</div>
<div>&nbsp; 'method': 'POST',</div>
<div>&nbsp; 'href': 'http://www.rapport.net/api',</div>
<div>&nbsp; 'body': $body</div>
<div>&nbsp; }"/&gt;</div>
<div>&nbsp;</div>
<div>It seems like the $body needs to be a document node or serialized in a very particular way but I find it hard to understand what is going on here and&nbsp; it is not clear to me the right way to set its output method to text only or a apply a character map to this serialized document fragment in this context .</div></div></body></html>
--=_4c730b81-492b-4572-800c-4bee10252f33--
    (1-1/1)