fo:external-graphic problem
Hello, I have a problem when i use the fo:external-graphic tag. I use FOP and i have this error when i try to parse the fo file: Unsupported element encountered: external-graphic (Namespace : Default) Source context: ... Expected XSL-FO (root,, page sequence,etc.), SVG (svg, rect, etc.) or element from another supported language. ... [ERROR] no handler defined for external-graphic foreign xml [ERROR] no handler defined for external-graphic foreign xml [ERROR] no handler defined for external-graphic foreign xml [ERROR] no handler defined for external-graphic foreign xml [ERROR] no handler defined for external-graphic foreign xml [ERROR] no handler defined for external-graphic foreign xml [ERROR] no handler defined for external-graphic foreign xml ... This is my code: external-graphic src=star_white.gif/ Have you an idea? Thanks Sbastien The contents of this E-mail are confidential and may contain privileged information to the sole intended recipient at the E-mail address to which it has been addressed. It may not be disclosed to our used by anyone other than the addressee, nor may it be copied or forwarded in any way without the consent of the sender. The sender hereby make no representation as to the accuracy, completeness for a particular purpose of the information provided in this E-mail. No binding commitment from the sender may be inferred by means of E-mail communications. Please note that the sender accepts any responsibility for viruses and it is your responsibility to scan the E-mail and attachments (if any). If received in error, please reply by mail to the sender or contact the sender by phone (+352) 45 67 301, and then delete it from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: external-graphic problem
Hi, try fo:external-graphic src=star_white.gif/. Markus $ -Ursprüngliche Nachricht- $ Von: [EMAIL PROTECTED] $ [mailto:[EMAIL PROTECTED] $ Gesendet: Mittwoch, 25. Juni 2003 10:47 $ An: [EMAIL PROTECTED] $ Betreff: fo:external-graphic problem $ $ $ $ Hello, $ $ I have a problem when i use the fo:external-graphic tag. $ I use FOP and i have this error when i try to parse the fo file: $ $ $ Unsupported element encountered: external-graphic (Namespace $ : Default) $ Source context: ... $ $ Expected XSL-FO (root,, page sequence,etc.), SVG (svg, rect, etc.) or $ element from another supported language. $ $ ... $ $ [ERROR] no handler defined for external-graphic foreign xml $ [ERROR] no handler defined for external-graphic foreign xml $ [ERROR] no handler defined for external-graphic foreign xml $ [ERROR] no handler defined for external-graphic foreign xml $ [ERROR] no handler defined for external-graphic foreign xml $ [ERROR] no handler defined for external-graphic foreign xml $ [ERROR] no handler defined for external-graphic foreign xml $ $ ... $ $ $ This is my code: $ $ external-graphic src=star_white.gif/ $ $ $ Have you an idea? $ $ $ Thanks $ $ Sébastien $ $ $ $ $ The contents of this E-mail are confidential and may contain $ privileged information to the sole intended recipient at the $ E-mail address to which it has been addressed. It may not be $ disclosed to our used by anyone other than the addressee, $ nor may it be copied or forwarded in any way without the $ consent of the sender. $ The sender hereby make no representation as to the accuracy, $ completeness for a particular purpose of the information $ provided in this E-mail. No binding commitment from the $ sender may be inferred by means of E-mail communications. $ Please note that the sender accepts any responsibility for $ viruses and it is your responsibility to scan the E-mail and $ attachments (if any). $ If received in error, please reply by mail to the sender or $ contact the sender by phone (+352) 45 67 301, and then $ delete it from your system. $ $ $ - $ 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: Large XML Files and FOP: Out of Memory Exception
Here's our gathered knowledge about handling big files: http://xml.apache.org/fop/running.html#memory I'm certain you'll find your answers there. If not, try searching the mailing list archives and ask again if you are still not successful after that. I hope that helps. On 25.06.2003 12:21:35 Meier Reto wrote: i'm trying to use large xml file to create a tabel in pdf format. the xml contains about 40'000 nodes: snip/ i tried to use the example xml2pdf or i implemented a version obj2pdf. but always there is a out of memory exception. has someone an idea how to process large datasets with fop. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
line break at long string - overlap the following table cell
Hello, I´ve an table with with 7 seven columns. In one column are sometimes very long strings. If there is a space betwenn the words, the line-break works well. But if there is an String that have no spaces and is longer as the width of the column (cell) so these string goes to the next cell. Is there a possibility to force an linebreak at the last position of the column. Thanks Jan Zmitko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: line break at long string - overlap the following table cell
Turn on hyphanation in your stylesheet like below: fo:table table-layout=fixed inline-progression-dimension.optimum=100% hyphenate=true language=en hyphenation-push-character-count=2 hyphenation-remain-character-count=2 cu Torsten -Original Message- From: Zmitko, Jan [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 25. Juni 2003 13:36 To: [EMAIL PROTECTED] Subject: line break at long string - overlap the following table cell Hello, I´ve an table with with 7 seven columns. In one column are sometimes very long strings. If there is a space betwenn the words, the line-break works well. But if there is an String that have no spaces and is longer as the width of the column (cell) so these string goes to the next cell. Is there a possibility to force an linebreak at the last position of the column. Thanks Jan Zmitko - 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]
Error Using FOP In Servlet And Its Fix
I'm running FOP 0.20.5rc3a with Tomcat 4.1.24 on Windows 2000 and JDK 1.4.1. I'm written a servlet modeled on the code from http://xml.apache.org/fop.servlets.html. I don't want to get XML or XSL from the server file system. My real app will have XML generated on the fly, so I'm using StringReader as my data source. I wrote a simple XML and XSL streams with which to test the servlet. Both of them produce a valid PDF using the command line tool, so I knew they were okay. When I POSTed the two streams to the servlet using an HTML page I get this root cause to an exception: java.lang.VerifyError: (class: org/apache/xerces/parsers/IntegratedParserConfiguration, method: configurePipeline signature: ()V) Incompatible type for getting or setting field I knew that there can be problems with different versions of parsers and such. I had Xalan and Xerces JARs from FOP in my WEB-INF/lib. I also saw xalan and xercesImpl JARs in TOMCAT_HOME/common/lib. When I removed all Xalan and Xerces JARs from my WEB-INF/lib, everything worked perfectly. It was a conflict with Tomcat's JARs. I thought I'd send this just in case anybody else had the same problem. Why wait for a question when you can share the answer? - MOD __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]