Hi Edwin,
We don't expose that property currently, but we certainly can in the 1.8
release. I'm not sure we have time to put it into the 1.7 release.
In the meantime, an easy workaround is to install an EntityResolver that
returns an InputSource that returns an empty BinInputStream. A quick way
of implementing that is to wrap an empty MemBufInputSource, or a
LocalFileInputSource that wraps a dummy empty file.
Thanks!
Dave
|---------+------------------------------------>
| | "Roestenburg, EAHN |
| | (Edwin)" |
| | <[EMAIL PROTECTED]|
| | abobank.nl> |
| | |
| | 01/09/2004 07:09 AM |
| | Please respond to |
| | xalan-c-users |
|---------+------------------------------------>
>----------------------------------------------------------------------------------------------------------|
|
|
| To: [email protected]
|
| cc: (bcc: David N Bertoni/Cambridge/IBM)
|
| Subject: Xalan-C and DTD Loading
|
>----------------------------------------------------------------------------------------------------------|
Hi,
I was wondering whether it is possible to use Xalan-C (and Xerces) without
loading external DTDs (assuming validation is turned off). Currently
(Xalan-C 1.6) external DTDs are loaded even if validation is turned off. I
know that the Xerces parser has the option of not loading external DTDs
(SAXParser::setLoadExternalDTD(bool)), and it would be nice if the same
option exists in Xalan-C.
Regards,
Edwin
-------------------------------------------------------
Edwin Roestenburg
[EMAIL PROTECTED]
Rabo intern: 58391
Extern: +31 - (0)6 109 21577
Rabobank Ontwikkelstraat AIX/JAVA
Jaarbeursplein 22
Geb. Sypesteyn
3521 AP
Utrecht
================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.