Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-21 Thread Phillip Rhodes
I have a weird and crazy idea that may help you Why don't you install a local apache server with mod_proxy. You can configure mod_proxy so that it can tunnel into https from your http connection. 1) It's very fast, all my browsing is through a proxy server 2) You can secure your local

fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi, I have the following external graphic declaration in a XML file: fo:external-graphic src=url('{$base-url}/images/logo.jpg') height=30pt width=170pt/ I render it to a servlet outputstream using: Driver driver; driver = new Driver( new InputSource( reader ), out ); driver.setRenderer(

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Jeremias Maerki
Currently there's no possibility to set or use an EntityResolver (or similar) but it's on the todo list. In the meantime you could try to set the baseURL in Java code like this: Configuration.put(baseDir, https://myserver/somedir;); But please be aware that this currently only works in the CVS

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
Hi Jeremias, Thank you for answering, I am already using urls, i.e http://host.domain.com/webapp/images/foo.gif works, but https://host.domain.com/webapp/images/foo.gif does not. Currently there's no possibility to set or use an EntityResolver (or similar) but it's on the todo list. Nice to

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Jeremias Maerki
Are your images located on the same server as FOP? If yes, you could access the files directly by filesystem if you set baseDir to something like: Configuration.put(baseDir, C:\tomcat\webapps\webapp); Surely not a clean solution but faster than going via http/https and it could work for the

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Oleg Tkachenko
Johan Åbrandt wrote: It doesnt do the trick for me since I have no idea where any of our customers might have decided to install their application server. Also I am using EAR file which means that servletContext.getRealPath( string ) wouldnt do it either. I am currently looking into using the

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Oleg Tkachenko
Johan Åbrandt wrote: Personally I would put a high priority on enabling the programmer to override resource resolution (ala EntityResolver) for FOP though. As Jeremias pointed out SourceResolver is already in the todo list. But when it would be implemented - nobody knows. -- Oleg Tkachenko

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-19 Thread Johan Åbrandt
As Jeremias pointed out SourceResolver is already in the todo list. Ok, I it is this one: Integrate with Jakarta Avalon: logging, configuration, URI resolver, component management, image caching etc. ? open ? Anyhow, thanks for the help, Oleg and Jeremias. Br - Johan Oleg Tkachenko wrote: