Re: External parsed entities under SaxonJS

Martin Honnen <[email protected]> Fri, 2 Apr 2021 16:19:43 +0200
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
Am 02.04.2021 um 15:38 schrieb Wendell Piez:

> Under SaxonJS, we are getting error SXJS0006 - (Reference to unknown
> entity etc.) for an external parsed entity declared in an internal DTD
> subset in an XML source document.
>
> Any advice? Is there a parser setting we can use? (Should I be reading
> the manual?)

I did and found
https://www.saxonica.com/saxon-js/documentation/index.html#!conformance/xslt30
saying

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.



Not sure whether the same applies to TypeScript.


_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help