Is the image large? 'alt' is the only required attribute, but I seem to recall that the fop transformation sometimes need the height and width attributes to figure out how to scale an image...

--Bill
54047

"A 'No' uttered from deepest conviction is better and greater than a 'Yes' merely uttered to please, or what is worse, to avoid trouble." --M. Gandhi


"The ultimate measure of a man is not where he stands in moments of comfort and convenience, but where he stands at times of challenge and controversy." -- M.L. King, Jr.



Joao Miguel Ferreira <[EMAIL PROTECTED]>

01/31/06 11:00 AM
Please respond to user

       
        To:        user@forrest.apache.org
        cc:        
        Subject:        problem with image



Hello all,

I'm having problems inserting one parfticular image on my document. I'm
using: forrest 0.5.1, document-v12.dtd.

The line that causes problems is (the 'figure' item):

----------------------------
previous text</p>
<figure src="" alt=""/>
<p>next text...
--------------------------

If I comment it out it works fine.


The error messagem I get is (the fop part):

----------------------------------------------------
* [0]   0.025s 1.1Kb   hello.pdf
* [0]   0.029s 2.8Kb   skin/page.css
X [0]                       samples/sample.pdf  BROKEN:
org.apache.fop.apps.FOPException: No meaningful layout in block after
many attempts.  Infinite loop is assumed.  Processing halted.
* [27]  0.175s 12.3Kb  samples/ehtml-sample.html
---------------------------------------------------

I have another image in the document that works fine...

Any hints ?

thx

jmf