RE: [docbook-apps] Re: fo:external-graphic w/ # in file name

From
Dick Hamilton <>
Date
2008-12-03T07:42:02+00:00
ID
544991F5AA8B4CDCB0C10ECBBEE5E2D9@MILES
Thread
RE: [docbook-apps] Re: fo:external-graphic w/ # in file name
Antti,

You're right it was the wrong list, but I may be able to
shed a little light.

I think the problem is that any time you have a # in the
last element of a URL, the code parsing the URL will look
for a file with a name that matches the URL up to the #,
and look for an anchor within that file with a name that
matches whatever comes after the #.

So, in your case, I suspect fop is looking for an anchor
named 1_1.svg inside a file at the URL: file:/C:/Temp/test123/m2
Since there is no file of that name at that URL, it fails.

I know Firefox (and most likely other browsers) will act
this way, but I'm not 100% sure about fop.  But, I wouldn't
be surprised if it works the same way.

Hope that helps.

Dick Hamilton
http://managingwriters.com


> -----Original Message-----
> From: news [mailto:] On Behalf Of Antti Karanta
> Sent: Wednesday, December 03, 2008 12:02 AM
> To: 
> Subject: [docbook-apps] Re: fo:external-graphic w/ # in file name
> 
> 
> 
> 
>    Sorry, wrong list, this was meant for the fop list.
> 
>    Sorry about the noise...
> 
> 
> 
>        ::Antti::
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 
>