It sounds like the XML parser is trying to download the SVG DTD from
the w3 server. You could try registering a custom entity resolver with
the parser, and then keep a local copy of the SVG DTD. When you get a
request to resolve the SVG DTD, return the local copy instead of going
to the W3C web site. You could also try turning off validation which
might prevent the parser from fetching the DTD, but that may not work.
(Do parsers fetch them anyway to handle any entity definitions in the
DTD?)
-Barry Klawans
On Jan 17, 2005, at 1:28 PM, Stuart Moore wrote:
I'm trying to use Fop 0.20.5 to convert a svg file into a pdf.
Unfortunately this computer is on a private IP address and all
external traffic has to go via a http or a socks proxy. We do not have
NAT.
When running it, ZoneAlarm says the program is trying to connect to
the internet - specifically 128.30.52.24 which is a web server at
w3.org - I presume it is trying to download some kind of definition
for the svg file. The connection fails, and I get the message "[ERROR]
Connection timed out: connect". Telling ZoneAlarm to refuse the
connection instead gives me "[ERROR] www.w3.org"
Is there any way I can either tell fop how to connect to the web, or
find out which file it's after and store it locally somewhere?
Apologies if this is a silly question - I've tried googling etc. and
got nowhere.
I am using Java 1.4.2_05 on Windows XP
Stuart Moore
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]