Re: Unresolved entities
Norm Tovey-Walsh <[email protected]> Wed, 07 Dec 2022 15:42:38 +0000
| Newsgroups | gmane.text.docbook.misc |
|---|---|
| Message-ID | <[email protected]> |
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
> https://github.com/omegat-org/omegat/tree/master/doc_src/en
Okay. I grabbed the repo and put DocBook 4.5 in the place it was
expected. A validating parse fails because of the xi:include elements,
but doesn=E2=80=99t complain about any entities. A well-formed parse has no
problems.
If I use Saxon to process the document with the identity transform:
$ saxon -s:OmegaTUsersManual_xinclude\ full.xml \
-xsl:/Volumes/Documents/xsl/identity.xsl -o:out.xml
I don=E2=80=99t get any errors and I get a 1.1k out.xml file.
If I tell Saxon to use XInclude (via the Xerces parser, not my sinclude
extension function):
$ saxon -s:OmegaTUsersManual_xinclude\ full.xml \
-xsl:/Volumes/Documents/xsl/identity.xsl -xi -o:outxi.xml
I get a 521k file, so it definitely followed the XIncludes. In neither
case do I get any kind of error. So I think the files are fine and the
problem is in your processor or your pipeline.
What parser, XSLT processor, etc. are you using?
Be seeing you,
norm
=2D-
Norman Tovey-Walsh <[email protected]>
https://nwalsh.com/
> Sometimes I get the feeling the whole world is against me, but deep
> down I know that's not true. Some smaller countries are
> neutral.--Robert Orben
--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAmOQtgUACgkQhVWfHhJM
AHmeEBAApjLp2VR3gl1vJA4zEu/h1Z0/3DheMBL2g7zAQV4EfAxnxGjnF2lAbKzJ
+vAbpb4Ab5wbyHnr095p6Unr1iPbzGIjxEhVv+igZRezRTq5OvfCYlBPxUtM3nXD
5/1wzuGq1wGpAkXlvJZK1Bb4g3TKMTm8RgMefiClJc2m2AHiaHMAYup4C2XR/O7K
GgsjaChfKxZRHTzDA9CSFLEqckuGHNzoWGXADZxAVoSJWsVKtQKlM+Pv20IHhuQ1
8KCShTzE/78Kp8LkADudu2isXUf31SJTsCCh4CiEXmGpquMo8VfAK9F03JMmZHCF
+gBLQZtr1UBr476hiPWIgEk+nwGw2vbUPFmfP4AxZV4ZZg4jHB9cb1bkBphDcRXj
vBW+6iYyQvZvpC4ivYhUU3+IvPci8Lzu+j01ybfhM5txhA/ppKYw6q2UgLJhldET
I6YnUxsJ12ttPkdeWvpxZ9dDGYOlb5SJvW3UmLqbQFxWf6OJHWayZxLajO9P1VQ5
ScXDNNL5i8y9nDeVtXmjGhBOuXmCoUkkSh+AZEolWzrIBcVviIYBYvw7dg9vCAyL
asdFYc2W2XaYqzdCqLRLGovheyuiVS2zriqGLAD9RS0T/i4Amt6oiDuFY046Wp6q
gwGTJ/T2vBbIJdKdTlR1ci9wnn6CgIj8LjAe9u0CSBgLoOT4oQo=
=8zbG
-----END PGP SIGNATURE-----
--=-=-=--