[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Ignoring a DTD with document()

Subject: Re: Ignoring a DTD with document()
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Apr 2024 21:01:31 -0000
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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.