[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    Re: SEVERE: Image not found
From:       Glenn Adams <glenn () skynav ! com>
Date:       2012-08-24 22:20:43
Message-ID: CACQ=j+eE_W4XKqgP=yV8CafNvh7bX9EYTYbe+kFFpKCDhsiRtQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, Aug 24, 2012 at 9:09 PM, Stefan Hinz <stefan.hinz@oracle.com> wrote:

>
> So, quite apparently, note.svg is inserted for a DocBook <note>. (I've
> confirmed for other instances of note.svg in the FO file.)
>
> But when searching the DocBook XSL style sheets (local copy) for note.svg,
> all I get is this:
>
> 2005-01-05  Jirka Kosek <kosek@users.sourceforge.net>
>
>         * caution.svg, important.svg, note.svg, tip.svg, warning.svg:
>         New file.
>
> No clue as to how the file gets inserted into the FO. :-(
>
> Searching e.g. the 1.77.1 DocBook XSL style sheets for note.svg gives me
> this:
>
> docbook-xsl-1.77.1/images/**colorsvg/note.svg
> docbook-xsl-1.77.1/images/**note.svg
>
> Still no clue why (and how) note.svg is referenced in the FO, but at least
> it's an existing file, although FOP seems to expect it in a different
> location (../common/images), thus the error.
>
> What do you think? Is this a DocBook XSL bug (in which case I'll bring it
> up on the DocBook mailing list), or could FOP be doing something wrong?
>

GIGO applies; the problem is in the XSLT you are using, not FOP; as I
stated, the real input to FOP is the FO document, and your XSLT is feeding
it a bogus URL location, so you need to debug the XML -> FO (via XSLT)
process, not the FOP (Formatting) process

[Attachment #3 (text/html)]

<br><div class="gmail_quote">On Fri, Aug 24, 2012 at 9:09 PM, Stefan Hinz <span \
dir="ltr">&lt;<a href="mailto:stefan.hinz@oracle.com" \
target="_blank">stefan.hinz@oracle.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

<br>
So, quite apparently, note.svg is inserted for a DocBook &lt;note&gt;. (I&#39;ve \
confirmed for other instances of note.svg in the FO file.)<br> <br>
But when searching the DocBook XSL style sheets (local copy) for note.svg, all I get \
is this:<br> <br>
2005-01-05   Jirka Kosek &lt;<a href="mailto:kosek@users.sourceforge.net" \
target="_blank">kosek@users.sourceforge.net</a>&gt;<br> <br>
            * caution.svg, important.svg, note.svg, tip.svg, warning.svg:<br>
            New file.<br>
<br>
No clue as to how the file gets inserted into the FO. :-(<br>
<br>
Searching e.g. the 1.77.1 DocBook XSL style sheets for note.svg gives me this:<br>
<br>
docbook-xsl-1.77.1/images/<u></u>colorsvg/note.svg<br>
docbook-xsl-1.77.1/images/<u></u>note.svg<br>
<br>
Still no clue why (and how) note.svg is referenced in the FO, but at least it&#39;s \
an existing file, although FOP seems to expect it in a different location \
(../common/images), thus the error.<br> <br>
What do you think? Is this a DocBook XSL bug (in which case I&#39;ll bring it up on \
the DocBook mailing list), or could FOP be doing something \
wrong?<br></blockquote><div><br></div><div>GIGO applies; the problem is in the XSLT \
you are using, not FOP; as I stated, the real input to FOP is the FO document, and \
your XSLT is feeding it a bogus URL location, so you need to debug the XML -&gt; FO \
(via XSLT) process, not the FOP (Formatting) process</div>

</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic