docbook-apps

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

    Posted 12-03-2008 07:02


    Sorry, wrong list, this was meant for the fop list.

    Sorry about the noise...



    ::Antti::




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

    Posted 12-03-2008 07:42
    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:news@ger.gmane.org] On Behalf Of Antti Karanta
    > Sent: Wednesday, December 03, 2008 12:02 AM
    > To: docbook-apps@lists.oasis-open.org
    > 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: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail:
    > docbook-apps-help@lists.oasis-open.org
    >
    >