[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ignoring a DTD with document()
On 22/04/2024 22:51, Mark Giffin m1879@xxxxxxxxxxxxx wrote: > Oops! Thanks for the correction. Any idea if Oxygen is using Xerces? These days with Java in one way (embedded version of Xerces in the JRE/JDK) or another (a custom Xerces installation) I assume they do. But ask their support about that and perhaps that DTD problem, if you only want to do it inside of oXygen. For Saxon you can use the configuration property like https://www.saxonica.com/html/documentation10/javadoc/net/sf/saxon/lib/Featur e.html#XML_PARSER_FEATURE to set a parser feature, I would know how to do that with Java code but I am not sure you can do that within oXygen (from a Saxon configuration file, for instance). The feature is http://apache.org/xml/features/nonvalidating/load-external-dtd to be set to false to "Ignore the external DTD completely", features are documented at https://xerces.apache.org/xerces-j/features.html > > Mark > > > -----Original Message----- > From:<xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Sent: Apr 21, 2024 3:07 AM > To:<xsl-list@xxxxxxxxxxxxxxxxxxxxxx> > Subject: Re: Ignoring a DTD with document() > > > Am 21.04.2024 um 04:06 schrieb Mark Giffinm1879@xxxxxxxxxxxxx: >> Thanks Michael, >> >> I'm using Saxon-PE 10.6 from inside Oxygen v24.1. I don't know what >> XML parser is used in this setup, I assume Xalan. > > Xalan is an XSLT 1 processor, not an XML parser. Xerces is an XML parser.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|