List Info

Thread: error while generating pdf out of docbook xml file with included png-images using fop-0.92beta




error while generating pdf out of docbook xml file with included png-images using fop-0.92beta
user name
2006-06-22 10:29:28
Hi everyone,

maybe someone encountered the same problem:

i try to convert a docbook xml file with included
.png-images to pdf, 
but no file has been generated rather than an error message
saying:

-----------
22.06.2006 12:07:33 org.apache.fop.fo.FOTreeBuilder
fatalError
SCHWERWIEGEND: javax.xml.transform.TransformerException: 
java.lang.RuntimeExcept
ion: Some content could not fit into a line/page after 50
attempts. 
Giving up to
avoid an endless loop. (fo:block,
"Chapterá1.áAnmeldung")
22.06.2006 12:07:33 org.apache.fop.cli.Main startFOP
SCHWERWIEGEND: Exception
javax.xml.transform.TransformerException:
java.lang.RuntimeException: 
Some conte
nt could not fit into a line/page after 50 attempts. Giving
up to avoid 
an endle
ss loop. (fo:block, "Chapterá1.áAnmeldung")
       at 
org.apache.fop.cli.InputHandler.transformTo(InputHandler.jav
a:167)
       at
org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:1
14)
       at org.apache.fop.cli.Main.startFOP(Main.java:159)
       at org.apache.fop.cli.Main.main(Main.java:190)

---------

my os is windows xp , sp 1;
docbook dtd 4.4
docbook xsl 1.70.1
fop-0.92beta

i also included the JAI 1.1.3 beta libraries |jai_core.jar|
and 
|jai_codec.jar| in the lib directory of fop.

i start the processing with the following commad: fop -xml
myxmlfile.xml 
-xsl docbookxslfile.xsl -pdf outputpdf.pdf

best regards

stefan zander


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

error while generating pdf out of docbook xml file with included png-images using fop-0.92beta
user name
2006-06-26 19:32:17
> -----Original Message-----
> From: Stefan Zander 
> 
> 22.06.2006 12:07:33 org.apache.fop.fo.FOTreeBuilder
fatalError
> SCHWERWIEGEND:
javax.xml.transform.TransformerException: 
> java.lang.RuntimeExcept
> ion: Some content could not fit into a line/page after
50 attempts. 
> Giving up to
> avoid an endless loop. (fo:block,
"Chapterá1.áAnmeldung")
> 22.06.2006 12:07:33 org.apache.fop.cli.Main startFOP
> SCHWERWIEGEND: Exception
> javax.xml.transform.TransformerException:
java.lang.RuntimeException: 
> Some conte
> nt could not fit into a line/page after 50 attempts.
Giving 
> up to avoid 
> an endless loop. 


I guess this is related to the following FOP bug: 
http://issues.apache.org/bugzilla/show_bug.cgi?id=37136

Setting width="100%" on the imagedata element
might be a workaround.

/MJ





------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )