Re: External parsed entities under SaxonJS

Norm Tovey-Walsh <norm-JkSD5nQpfvpWk0Htik3J/[email protected]> Sat, 03 Apr 2021 14:01:20 +0100
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
> The XML parser used on Node.js skips any internal or external DTD. Any
> named entity references appearing in a document will therefore be
> flagged as errors, causing parsing (and hence transformation) to fail.

I allowed myself a half hour over lunch last week to look around at
parser generators for JavaScript. Yeah, parsing external entities is a
bit of effort, but it’s not enormously complicated (though if you bring
in parameter entities, it’s more complicated than you might guess).

But you’d want the whole thing to be streaming on NodeJS and that’s
something I’m still getting my head around.

A correct XML parser in JavaScript would be nice to have, though.

                                        Be seeing you,
                                          norm

--
Norm Tovey-Walsh
Saxonica

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE1ury//rzuvqf7fN/hVWfHhJMAHkFAmBoZyAACgkQhVWfHhJM
AHlk4RAAzY/jZEnebGu/qQtLbsDs0AH1phBdzP7y3hBiWn1XkndAyAOFbuk4/vNw
G762G8fpnfdi4HgMsWKpSETY24IYEwEnnXshPQxvfU8/hZ8W7oDNoOichY7aSo+c
dkC+iXDkM84OwgbNBuP4IRzZnK6p/AEh8YN2k2iRvJ3VdWS4tzMKuZgPToUABnnI
oeUhUbuNIhoCQMkbyR2S3uGQ9ha+BuIo5G6kkZfsgGgu3Q6SF2JMCYY2HUpMUOwB
BOweRK1Zpb+b7MAvFeY9maiKAzJjyVn1Cz1oZoYDhF9aWROquKb3GDvJkZ5oELp4
/Pzq0H4zuRgbVKIoik4pJ67uHmQtiKgqE1iKKxvHfHl7pYnlgmJnaYEZf1ydiodf
HJgLNdP9tlvPOzVTuL4HhnVOysW78/tWvDOO0UogXiQ09/DKxrb0htlJ8s3YV6XH
SXFlEkx5NFAjrhNmqytlBmCS+anGY8pv7IC+eUGct2h6WgPi2OqICm4pYU7ioMJh
8h05MwfWl9YPzA0XdAsw+e3zlFJZRwBuCng8De3gJYzx1Z3x/YEL/myLGR+VOG6v
zPKKCRmVH0sh8DlWkoVYhtCcYfurMjtH4cAv6ph4YKnrYZJJI1ME62Ehx11kwzzK
y/6m4mmYHXEyhCsb4uT7HxchODhV54/9GNE0SvuPnsk+NE/OOCA=
=8NEI
-----END PGP SIGNATURE-----