This is probably caused by a DTD in one of your XML (Source, FO, SVG....)
files. It's probably not FOP that does this connection, but rather your
XML parser that fetches the DTD while parsing an XML file. There are
several paths you can go:
- Try removing unnecessary DTD references in your source XMLs.
- Use XML Commons Resolver [1] to rewrite the URLs that access those DTD
so you can load them from a local repository. This approach, however,
may be a bit difficult because FOP 0.20.5 doesn't support setting a
Resolver for parsing operations. You might need to hack the FOP source
code.
- You can also try to disable the loading of these references, but you
might also have to hack the FOP source code.

[1] http://xml.apache.org/commons/components/resolver/index.html

On 17.01.2005 22:28:17 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


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to