Project

Profile

Help

Support #5979 ยป Re_ [Saxon - Support #5979] (New) Java 11 _ Saxon9.9 EE _ XmlCatalogResolver.setCatalog(catalogFile, processor.getUnderlyingConfiguration(), true) not working as expected like cmd line validation - 2023-04-19T09_51_39Z.eml

Norm Tovey-Walsh, 2023-04-19 11:51

 
X-He-Spam-Score: -1.9
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 AKvqMmq5P2Q8QQAAJzdhvw
for <dropbox@plan.io>; Wed, 19 Apr 2023 11:50:34 +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.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED,
DKIM_SIGNED,DKIM_VALID,DMARC_NONE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE,SPF_PASS,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
* [52.28.168.19 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
* -0.1 SPF_PASS SPF check passed
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
* [52.28.168.19 listed in wl.mailspike.net]
* 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
* 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
* valid
* -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
* -0.0 T_SCC_BODY_TEXT_LINE No description available.
* -0.0 DKIMWL_WL_MED DKIMwl.org - Medium trust sender
X-Spam-Score: -1.9
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=pass 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="o/6NTE63";
dkim-atps=neutral
Received: from outbound5e.eu.mailhop.org (outbound5e.eu.mailhop.org [52.28.168.19])
(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 7633880173
for <inbox+saxonica+f38e+saxon@plan.io>; Wed, 19 Apr 2023 11:50:34 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; t=1681897834; cv=none;
d=outbound.mailhop.org; s=arc-outbound20181012;
b=q2hF4DbllKsP24sy0fJhJenxQyPUrd4zCBl2UPKxjYIkam3KWVG39QYqX0lgDguAhtNG7PN+oQIFC
b2aR+q23dEcPc5W02PGYvR7hGnqtd+FIoMyp2a/sYVAhuMObBnxH++Re0G0iOEsYHJG6zrMZaNK9az
Qffmvciriv4GAwl1rHL6ynPZMVZeEY131yiZsWbuuPMwD4A84v7uI8HrwXE66T4BleBnRTzBr1cdFX
4OtkqYP22qL0o73viYBhoGpgu5rlS9Z1UhoTMvxPa9T9AbUZxQ4uGpSDA1ERu9yv22o31ULLU1N2Nl
BvSH4Qt0u9/8k/4CnjKPtq5D1UCLDWA==
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=2KhuuNebyI5DBdsqY2Mnr6zIdi3Sdhu1C5D4oRd09n0=;
b=X2eWk5o9+ceQ/h2ZrWaTdtXAoFsylJFHQIjqg/gKEpWAvUta/p8lfFu57lQplBQVi3J79dxz7keIg
YbV9xVG+1To8sOy3iczNBF4B5MWP8drNU9ZrRR+wXM4a/6+xDNhcJh7G5M0wcJYGpHr9XOcQxnLORJ
KLWzQgYmwXyinGriHUin4bApAk5AyKjmouq2W8d0Bu6AsdfamxTY2uL4mTgH1eqzB2PhCkmFZEMlf0
f7LrE0j+RwYbIwvA38yY/qFYT4RSWgG6XGlI+bhKVMj70Pw8bgXHSCJ63EVCBR9kAZ/Z7qoaQ00MC+
o/NsbNTVtFVbkd1hchJ6IwnOxEapypg==
ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org;
spf=softfail smtp.mailfrom=saxonica.com smtp.remote-ip=185.195.232.142;
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=2KhuuNebyI5DBdsqY2Mnr6zIdi3Sdhu1C5D4oRd09n0=;
b=o/6NTE63frEO4rVyFElrrBmLAIZgaJJZD500Ak0uqIZmYzko4EUC7A8Vrf6Mq4GkCyMdAOrTkPPfn
Mmsw+lhO7YQjQDHC+Dw/VQTeq/N9TMB0EV8uZnjtM2cJnYtO6Og/iUrjFMDxD95y3r5ueIpg5HL9/L
YolLIaSJ2FgSYHN6zjbUQN9V4xVlfLlFq6ttJPZhLkpthuEy/mDugvzPdqRU4sciUI0LecGis5hO1C
JNF1UCzJRsYLifASF2oNHHzr8BqlokS6PB4M77AOaHXds3XFfDDm0Rp7jiTxLwg2wrJ0m0CPBSyhQz
qkp2krARBb6n77JvSHPD3QjmkNzmApA==
X-Originating-IP: 185.195.232.142
X-MHO-RoutePath: bndhbHNo
X-MHO-User: a02dd3c9-de97-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 (unknown [185.195.232.142])
by outbound2.eu.mailhop.org (Halon) with ESMTPSA
id a02dd3c9-de97-11ed-bc05-4b4748ac966b;
Wed, 19 Apr 2023 09:50:33 +0000 (UTC)
References: <redmine.issue-5979.20230419080250.3760@plan.io>
User-agent: mu4e 1.10.0; emacs 29.0.60
From: Norm Tovey-Walsh <norm@saxonica.com>
To: Saxonica Developer Community <inbox+saxonica+f38e+saxon@plan.io>
Subject: Re: [Saxon - Support #5979] (New) Java 11 || Saxon9.9 EE ||
XmlCatalogResolver.setCatalog(catalogFile,
processor.getUnderlyingConfiguration(), true) not working as expected like
cmd line validation
Date: Wed, 19 Apr 2023 10:49:03 +0100
In-reply-to: <redmine.issue-5979.20230419080250.3760@plan.io>
Message-ID: <m25y9s8al3.fsf@saxonica.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
micalg=pgp-sha512; protocol="application/pgp-signature"

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> We are working on the setup of validating the xml, dita, ditamap using sa=
xon EE=20
>=20=20
> XmlCatalogResolver.setCatalog(catalogFile, processor.getUnderlyingConfigu=
ration(), true);=20
>=20=20
> the above line is used to resolve the catalog files, but it's able to res=
olve URI partially=20
> because of that validation throws error "One validation error was reporte=
d: Cannot validate <Q=20
> {}topic>: no element declaration available" "Validation will continue wit=
hout the schema at=20
> urn:test.dita.v1_3.com:dita:xsd:topic.xsd"=20
>=20=20
> topic.xsd file is present in catalog file but this is not getting
> resolved.=20

Can you provide a test case that demonstrates the problem? Saxon 9.9
uses the Apache resolver so I think 1.2 is the right version, but a test
case would help.

Be seeing you,
norm

=2D-
Norm Tovey-Walsh
Saxonica

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

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

iHUEARYKAB0WIQSEJUqRvjpp8yLt8uKDEiZHbwv9OwUCZD+5aAAKCRCDEiZHbwv9
O1u8AP48Eaa70DMd63GdFPPB/UAw5ZvVIIMx4mJfROO4UytsygD/cV+SK2K633Fj
cVmlwban3diqdHxVzFIrlfmOBwBR9Qs=
=ReIo
-----END PGP SIGNATURE-----
--=-=-=--
    (1-1/1)