Need Help : FO file converted to pdf gets corrupted with '#'
Hi, I am trying to convert an xsl:fo (attached sample.xml) file to a pdf file using Apache FOP. The ouput gets partially corrupt displaying '#' instead of any character in the second half of the file. (output file sample.pdf attached). i'm trying to figure the reason but not really getting it. The same xsl:fo when converted to svg or awt looks ok. additional information: --- FOP version : fop-0.20.5 COMMAND LINE DUMP --xxx--- D:\tmpfop -d -fo sample.xml -pdf sample.pdf [DEBUG] Input mode: [DEBUG] FO [DEBUG] fo input file: sample.xml [DEBUG] Output mode: [DEBUG] pdf [DEBUG] output file: sample.pdf [DEBUG] OPTIONS [DEBUG] no user configuration file is used [default] [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] base directory: file:/D:/tmp/ [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [DEBUG] Last page-sequence produced 1 pages. [INFO] Parsing of document complete, stopping renderer [DEBUG] Initial heap size: 793Kb [DEBUG] Current heap size: 1010Kb [DEBUG] Total memory used: 217Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 266ms [DEBUG] Pages rendered: 1 [DEBUG] Avg render time: 266ms/page --xxx--- It would be grate if someone can help me out with this. Thanks and Regards, fd. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com sample.pdf Description: 2946461046-sample.pdf ?xml version=1.0 encoding=ISO-8859-1? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=A4 fo:region-body /fo:region-body /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=A4 fo:flow flow-name=xsl-region-body fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block fo:blockHello World/fo:block /fo:flow /fo:page-sequence /fo:root - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Help : FO file converted to pdf gets corrupted with '#'
I'm afraid I can't reproduce it. The XML file looks fine. On 22.08.2005 13:56:53 fdbt dbt wrote: Hi, I am trying to convert an xsl:fo (attached sample.xml) file to a pdf file using Apache FOP. The ouput gets partially corrupt displaying '#' instead of any character in the second half of the file. (output file sample.pdf attached). i'm trying to figure the reason but not really getting it. The same xsl:fo when converted to svg or awt looks ok. additional information: --- FOP version : fop-0.20.5 COMMAND LINE DUMP --xxx--- D:\tmpfop -d -fo sample.xml -pdf sample.pdf [DEBUG] Input mode: [DEBUG] FO [DEBUG] fo input file: sample.xml [DEBUG] Output mode: [DEBUG] pdf [DEBUG] output file: sample.pdf [DEBUG] OPTIONS [DEBUG] no user configuration file is used [default] [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] base directory: file:/D:/tmp/ [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [DEBUG] Last page-sequence produced 1 pages. [INFO] Parsing of document complete, stopping renderer [DEBUG] Initial heap size: 793Kb [DEBUG] Current heap size: 1010Kb [DEBUG] Total memory used: 217Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 266ms [DEBUG] Pages rendered: 1 [DEBUG] Avg render time: 266ms/page --xxx--- It would be grate if someone can help me out with this. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need Help : FO file converted to pdf gets corrupted with '#'
I tried it with the 0.20.5RC and works fine with me. I can't reproduce it. -Message d'origine- De : Jeremias Maerki [mailto:[EMAIL PROTECTED] Envoyé : lundi 22 août 2005 14:52 À : fop-users@xmlgraphics.apache.org Objet : Re: Need Help : FO file converted to pdf gets corrupted with '#' I'm afraid I can't reproduce it. The XML file looks fine. On 22.08.2005 13:56:53 fdbt dbt wrote: Hi, I am trying to convert an xsl:fo (attached sample.xml) file to a pdf file using Apache FOP. The ouput gets partially corrupt displaying '#' instead of any character in the second half of the file. (output file sample.pdf attached). i'm trying to figure the reason but not really getting it. The same xsl:fo when converted to svg or awt looks ok. additional information: --- FOP version : fop-0.20.5 COMMAND LINE DUMP --xxx--- D:\tmpfop -d -fo sample.xml -pdf sample.pdf [DEBUG] Input mode: [DEBUG] FO [DEBUG] fo input file: sample.xml [DEBUG] Output mode: [DEBUG] pdf [DEBUG] output file: sample.pdf [DEBUG] OPTIONS [DEBUG] no user configuration file is used [default] [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] base directory: file:/D:/tmp/ [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [DEBUG] Last page-sequence produced 1 pages. [INFO] Parsing of document complete, stopping renderer [DEBUG] Initial heap size: 793Kb [DEBUG] Current heap size: 1010Kb [DEBUG] Total memory used: 217Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 266ms [DEBUG] Pages rendered: 1 [DEBUG] Avg render time: 266ms/page --xxx--- It would be grate if someone can help me out with this. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Help : FO file converted to pdf gets corrupted with '#'
Tested with yuor attached sample.xml and fop-0.20.5 Could not reproduce. Output is fine (see attachement) Le Lundi 22 Août 2005 13:56, fdbt dbt a écrit : Hi, I am trying to convert an xsl:fo (attached sample.xml) file to a pdf file using Apache FOP. The ouput gets partially corrupt displaying '#' instead of any character in the second half of the file. (output file sample.pdf attached). i'm trying to figure the reason but not really getting it. The same xsl:fo when converted to svg or awt looks ok. additional information: --- FOP version : fop-0.20.5 COMMAND LINE DUMP --xxx--- D:\tmpfop -d -fo sample.xml -pdf sample.pdf [DEBUG] Input mode: [DEBUG] FO [DEBUG] fo input file: sample.xml [DEBUG] Output mode: [DEBUG] pdf [DEBUG] output file: sample.pdf [DEBUG] OPTIONS [DEBUG] no user configuration file is used [default] [DEBUG] debug mode on [DEBUG] dump configuration [DEBUG] quiet mode on [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] base directory: file:/D:/tmp/ [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [DEBUG] Last page-sequence produced 1 pages. [INFO] Parsing of document complete, stopping renderer [DEBUG] Initial heap size: 793Kb [DEBUG] Current heap size: 1010Kb [DEBUG] Total memory used: 217Kb [DEBUG] Memory use is indicative; no GC was performed [DEBUG] These figures should not be used comparatively [DEBUG] Total time used: 266ms [DEBUG] Pages rendered: 1 [DEBUG] Avg render time: 266ms/page --xxx--- It would be grate if someone can help me out with this. Thanks and Regards, fd. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- David Delbecq Royal Meteorological Institute of Belgium - Is there life after /sbin/halt -p? sample.pdf Description: Adobe PDF document - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need Help : FO file converted to pdf gets corrupted with '#'
I had a J2SE 6.0 early access release installation on my machine. (http://download.java.net/download/jdk6/binaries/jdk-6_0-ea-bin-b48-windows-i586-18_aug_2005.exe). This had taken precedence and hence was getting the error. The error is still reproducible by using this JRE. I was able to resolve the issue after using jdk1.5.0_02. Sorry for bothering and Thanks for all those quick responses. Regards, fd. fdbt dbt [EMAIL PROTECTED] wrote: Hi,I am trying to convert an xsl:fo (attached sample.xml)file to a pdf file using Apache FOP. The ouput gets partially corrupt displaying '#' instead of any character in the second half of the file. (output filesample.pdf attached). i'm trying to figure the reasonbut not really getting it.The same xsl:fo when converted to svg or awt looks ok.additional information:---FOP version : fop-0.20.5COMMAND LINE DUMP--xxx---D:\tmpfop -d -fo sample.xml -pdf sample.pdf[DEBUG] Input mode:[DEBUG] FO[DEBUG] fo input file: sample.xml[DEBUG] Output mode:[DEBUG] pdf[DEBUG] output file: sample.pdf[DEBUG] OPTIONS[DEBUG] no user configuration file is used [default][DEBUG] debug mode on[DEBUG] dump configuration[DEBUG] quiet mode on[INFO] U sing org.apache.xerces.parsers.SAXParser asSAX2 Parser[INFO] base directory: file:/D:/tmp/[INFO] FOP 0.20.5[INFO] Using org.apache.xerces.parsers.SAXParser asSAX2 Parser[INFO] building formatting object tree[INFO] setting up fonts[INFO] [1][DEBUG] Last page-sequence produced 1 pages.[INFO] Parsing of document complete, stopping renderer[DEBUG] Initial heap size: 793Kb[DEBUG] Current heap size: 1010Kb[DEBUG] Total memory used: 217Kb[DEBUG] Memory use is indicative; no GC wasperformed[DEBUG] These figures should not be usedcomparatively[DEBUG] Total time used: 266ms[DEBUG] Pages rendered: 1[DEBUG] Avg render time: 266ms/page--xxx---It would be grate if someone can help me out withthis.Thanks and Regards,fd.__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Hello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello WorldHello World-< BR>To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Start your day with Yahoo! - make it your home page