docbook-apps

Re: Re: fo:external-graphic w/ # in file name

  • 1.  Re: Re: fo:external-graphic w/ # in file name

    Posted 12-04-2008 09:29

    On Wed, 03 Dec 2008 09:41:38 +0200, Dick Hamilton <rlhamilton@xxx> wrote:

    > 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.

    Thanks for the anwer and it seems you are right. After posting the
    question to the correct list I recieved a prompt and useful reply:
    http://www.mail-archive.com/fop-users%40xmlgraphics.apache.org/msg11843.html

    So the problem is solved, I'll just have to add escaping of # to the
    docbook xml wherefrom the xsl-fo is generated.




    ::Antti::