Re: External parsed entities under SaxonJS
Wendell Piez <[email protected]> Fri, 2 Apr 2021 13:11:49 -0400
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <CAAO_-xyWds6nsO=j6KEukNdrMRVtx_ADxOtEgCTtApTyhXLZHA@mail.gmail.com> |
Saxonists, That's what I thought I would probably hear. :-/ Yep.... One thing that is helpful to know is the constraint applies to all DTD processing, not only entity declarations. For now, sure, we can preprocess the files to expand the entities. Having to do this externally does compromise the advantage of an all-node-JS stack (which is no longer all node JS), but then I guess that's where the guy takes us if he insists on his entity references. (In his defense, he says they are XML.) To Eliot's point - this is not to run in the browser. Still, I get your drift. Cheers, Wendell On Fri, Apr 2, 2021 at 11:04 AM Michael Kay <[email protected]> wrote: > If you can find an XML parser for Javascript that processes DTDs, please > let us know! > > Michael Kay > Saxonica > > On 2 Apr 2021, at 14:38, Wendell Piez <[email protected]> wrote: > > Saxon friends, > > 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?) This is in order to apply a compiled SEF transformation > programmatically to the XML, from inside a Typescript application. > > Thoughts? Thanks, > Wendell > > -- > ...Wendell Piez... ...wendell -at- nist -dot- gov... > ...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org... > ...github.com/wendellpiez... ...gitlab.coko.foundation/wendell... > _______________________________________________ > saxon-help mailing list archived at http://saxon.markmail.org/ > [email protected] > https://lists.sourceforge.net/lists/listinfo/saxon-help > > > _______________________________________________ > saxon-help mailing list archived at http://saxon.markmail.org/ > [email protected] > https://lists.sourceforge.net/lists/listinfo/saxon-help -- ...Wendell Piez... ...wendell -at- nist -dot- gov... ...wendellpiez.com... ...pellucidliterature.org... ...pausepress.org... ...github.com/wendellpiez... ...gitlab.coko.foundation/wendell... _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help