[xep-support] v3.8 vs v4.3 query re fo:external graphic src='url()'>

Mike Trotman mike.trotman at datalucid.com
Wed May 11 03:22:07 PDT 2005


Thanks Chris - the tmp directory existed - but was only writeable by root.
Once I allowed others write access - everything worked!

Mike

Chris Bowditch wrote:

> Mike Trotman wrote:
>
> <snip/>
>
>> When building documents containing this sort of thing:
>> <fo:external-graphic 
>> src='url(http://mywebserver/cgi-bin/get_image.pl?type=png)'/>
>> or even
>> <fo:external-graphic src='url(http://mywebserver/images/pic.jpg)'/>
>>
>> The same behaviour occurs whether the URL is enclosed in "" or not.
>>
>> FOP and XEP 4.3 correctly retrieve the graphics from my web server - 
>> whereas XEP 3.8.4 does not
>> and gives the error:
>>        [warning] Could not retrieve image from 
>> 'http://www.mywebserver.com/DRE/images/2001.jpg': 
>> java.io.FileNotFoundException: /usr/java/XEP/3.8/tmp/cache0/1.tmp (No 
>> such file or directory)
>>
>> Was this a bug / partial implementatio of url() in 3.8 (and was it 
>> ever fixed?)
>> or is it a configuration parameter / security measure I am not setting?
>
>
> Mike, you need to make sure the directory "tmp" exists in the root of 
> the directory where you installed XEP. In your case it looks like this 
> is /usr/java/XEP/3.8. Ideally XEP should be capable of creating this 
> directory itself, but it doesnt. In 4.x image retrieval works very 
> differently and temporary files dont appear to be required.
>
> <snip/>
>
> Chris
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of 
> Service http://www.renderx.com/tos.html




-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.8 - Release Date: 10/05/2005

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list