Project

Profile

Help

Support #5652 ยป Re_ [Saxon - Support #5652] (New) Questions about Xlink Schema - 2022-08-19T10_40_05Z.eml

Norm Tovey-Walsh, 2022-08-19 12:40

 
X-He-Spam-Score: -1.8
Return-Path: <norm@saxonica.com>
Delivered-To: dropbox@plan.io
Received: from m.launch.gmbh ([127.0.0.1])
by m.launch.gmbh with LMTP id mCBnNURo/2KFRQAAJzdhvw
for <dropbox@plan.io>; Fri, 19 Aug 2022 12:39:00 +0200
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on m.launch.gmbh
X-Spam-Level:
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIMWL_WL_MED,
DKIM_SIGNED,DKIM_VALID,DMARC_NONE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,
SPF_NONE,SPF_NONE_IGNORE,T_SCC_BODY_TEXT_LINE 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
* [35.156.234.212 listed in list.dnswl.org]
* -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
* [score: 0.0000]
* 0.1 DMARC_NONE DMARC record not found
* 2.0 SPF_NONE SPF record not found
* -2.0 SPF_NONE_IGNORE m.launch.gmbh does not consider absent SPF
* records
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* -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.0 T_SCC_BODY_TEXT_LINE No description available.
* -0.0 DKIMWL_WL_MED DKIMwl.org - Medium trust sender
X-Spam-Score: -1.8
Envelope-to: inbox+saxonica+f38e+saxon@plan.io
Authentication-Results: m.launch.gmbh; dmarc=none (p=none dis=none) header.from=saxonica.com
Authentication-Results: m.launch.gmbh; spf=none smtp.mailfrom=norm@saxonica.com
Authentication-Results: m.launch.gmbh;
dkim=pass (2048-bit key; unprotected) header.d=outbound.mailhop.org header.i=@outbound.mailhop.org header.b="Xwb1Wv97";
dkim-atps=neutral
Received: from outbound5i.eu.mailhop.org (outbound5i.eu.mailhop.org [35.156.234.212])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(No client certificate requested)
by m.launch.gmbh (Postfix) with ESMTPS id AB044877AA
for <inbox+saxonica+f38e+saxon@plan.io>; Fri, 19 Aug 2022 12:38:59 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; t=1660905540; cv=none;
d=outbound.mailhop.org; s=arc-outbound20181012;
b=QI2EQSSKoPeoXhddENYTR9gUkThi3rri/uB9IY1I9ZdrhFPUPlHDbC//swWrCTt5I+JDKTWcDfCYI
DSsy5a0Juy5/lwGSh85uv20gk7x/8q/QmBrGkVRksJntw1n6j0YqK291G/vu/WwlvyLC6atXL+k6cx
KLdOT2kA4dd/ZnqeMeevqQbeqMGMauNUBYUPixQffY/+eAzysvEG1zuAQXKvkD4EWYmRF1ekj+oDpv
lfTOtLvZHbQlnqciaOKr4CNM3TM4G1rKMxERvdZ587PqxP4exSvtfXOlpQ1QYbbrLQ5Wvt6LxIlcFO
dOCm5RgFwotbR9y0aKYx59nqIvXNOYw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=outbound.mailhop.org; s=arc-outbound20181012;
h=content-type:mime-version:message-id:in-reply-to:date:subject:to:from:
references:dkim-signature:from;
bh=6RpfjRk47crjVW9n80mtJNH7Hp6sXdLedGrlz1hQtzw=;
b=P90diQ8eAiXJJw8Y2CIpweocH4YUjCrhHDqYozTeAjfRLE3THKh6sXnjscLicB4deSb+SBAzfGtVz
IWgba6qGlB4CXZV+I6zjEU8rQTNe5FRHMjtUpX9m9CVc2XslpkeRpmMTsom2gC3Q5mmIpg/1YeO5ak
r7GEjkMiAt6pSwvJcfYbCV8WmDEAgFGQnC25Upvr2JWS3G37wGz9UQUAh0WVnlG/c4FASB7yUU2//1
rJMgnIot/eSTN0nqAJE8jgyW0hinGjBnfp6cjsDOvt83T3Rz6byTi5PlQLbWvUSqnO1f7wifDEhn5q
YkrzkzyhauO+EixxTj42myqxo3waBUQ==
ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org;
spf=none smtp.mailfrom=saxonica.com smtp.remote-ip=185.248.85.51;
dmarc=none header.from=saxonica.com;
arc=none header.oldest-pass=0;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=outbound.mailhop.org; s=dkim-high;
h=content-type:mime-version:message-id:in-reply-to:date:subject:to:from:
references:from;
bh=6RpfjRk47crjVW9n80mtJNH7Hp6sXdLedGrlz1hQtzw=;
b=Xwb1Wv97ZUWs+5SiJ0KDZ86jjnDDP4jhpzUanHnbZL+WKPnp5VLf+6Tu65o93HfaE/WPaABrIylr6
5UHxqPGWkaHHdmth1S+bgOWnGCtREdnWshWvVBdQy5B2urcZib7uu9/bFbmFYIcvRC2FqKmi/91J3C
8GwcHDtaBq/QBmOALh+LHaZlhJsuABwdJJjKKvnEx+/TwTS3kz6BCKgsBmfRXL8i0LbaL9p+mUbNGZ
6hSnopmS3tvx6T8lrwPHBUyoAN1JyramOfdr38HfwKah3dnICHvcqfzPHEvK4pWsbcKoImrkBa/gOz
XtEmKwWC7fOQIC+FuygdYEQNJvq9hRg==
X-Originating-IP: 185.248.85.51
X-MHO-RoutePath: bndhbHNo
X-MHO-User: 216691ba-1fab-11ed-bc05-4b4748ac966b
X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information
X-Mail-Handler: DuoCircle Outbound SMTP
Received: from Hackmatack.local (185.248.85.51.static.xtom.com [185.248.85.51])
by outbound2.eu.mailhop.org (Halon) with ESMTPSA
id 216691ba-1fab-11ed-bc05-4b4748ac966b;
Fri, 19 Aug 2022 10:38:58 +0000 (UTC)
References: <redmine.issue-5652.20220818194542.3760@plan.io>
User-agent: mu4e 1.8.1; emacs 28.1
From: Norm Tovey-Walsh <norm@saxonica.com>
To: Saxonica Developer Community <inbox+saxonica+f38e+saxon@plan.io>
Subject: Re: [Saxon - Support #5652] (New) Questions about Xlink Schema
Date: Fri, 19 Aug 2022 11:34:18 +0100
In-reply-to: <redmine.issue-5652.20220818194542.3760@plan.io>
Message-ID: <m2r11csekf.fsf@saxonica.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha256; protocol="application/pgp-signature"

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Saxonica Developer Community <notifications@plan.io> writes:
> 1/ Could you help us understand the reasoning behind this change? It
> is confusing that it seems to apply only to the XLink schema.

I don=E2=80=99t think there=E2=80=99s any special handling for the XLink sc=
hema. In
Saxon 9/10, we have a cache of =E2=80=9Cwell known schemas=E2=80=9D that we=
resolve
locally instead of attempting to get them from www.w3.org. In Saxon 11,
this feature is supported by the XML Resolver library, but amounts to
the same thing.

> 2/ It would be helpful to have this behaviour documented somewhere.
> The "References to W3C DTDs" page is very clear and seemed relevant,
> but wasn't.

If we can work out exactly what behavior you=E2=80=99re seeing, we can try =
to
improve the documentation.

> Additionally, the Saxon version of xlink.xsd references xml.xsd, which
> is not provided at all. This causes, in some cases, an attempt to
> retrieve xml.xsd from w3.org. It was here we encountered the problem,
> as the machine running the code was unable to connect to w3.org.

What version of Saxon are you using, and can you provide an example that
demonstrates this behavior? I don=E2=80=99t think we ever distributed the X=
Link
schema without the XML schema, but I could be mistaken.

> Would a catalog file enable us to supply our own cached version of
> xml.xsd to the xlink.xsd include?

Yes, that should work straight away for Saxon 11. For earlier versions
of Saxon, you might have to configure the resolver explicitly.

Be seeing you,
norm

=2D-
Norm Tovey-Walsh
Saxonica

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAmL/aEAACgkQhVWfHhJM
AHlaXRAAsKDxLCcpV7YTRRgOuYJiOgg2uZ8nGtTDXElWPc7mye1R46si02+REw/K
cR9El3NHjzc1YglUkNPj6Sb/PTQgIc07jbqHs+6qPQLCTus66B2N51hZOqUlRHPd
JGAoyyppYV1D1Ts9G76BOKMru0uOo9NC1AgbMMKpbXjlwxFXKEX3pycDRl/ZadHX
gjXi3ClMX9Iw+VRkcPihNqTua57J+L+5bwTwoTydMj331t9MawsyVBj7kT7giOTx
AFTpBkbeS7+u53QMeshnNS99mf6ZvQbmTrnt1w9eelgrxioHbKG0/lJ+DhyXixRU
hAkeF6ARRR99WlUhOVzoFQrCRVmLYLfmPP/CjqQpTFnmWkhqSYkFWJPVzv4buBfg
Uu+h4PBZkr2SLXx8PE/gOxLElW+rFx28a9yhFerARsHyDABN/yQJa+SZ6dQV8aU6
r8bIEewcWxreZjuWDYoXdRthvcYboGUtqdBJgNURF0pnpp52xAnG4A3aGUvHZj3d
FLAfhN/exkWFAkURgGlFFpsbKSi2rBFWq7uKj+a/tRlPEK7aUlAKyUrjKiIz3Qaj
6OwFTXszdTukh7iIHIUgAUtHt3y/CFcutMYKG/AYysO/K5e1pdW7RdilzvUaAhWb
AcG+bwdz7CWC0EYoeSAUKiR1CZuqpF92BUJl98kTk86G3a3dE6s=
=F0x9
-----END PGP SIGNATURE-----
--=-=-=--
    (1-1/1)