RE: Error in fop
Hi Can anybody help me to resolve my problem in FOP Question: When i am using a graphic tag fo:external-graphic src=363-Signature-1-126209-0-20041220.bmp border-style=dotted border-width=thin width=9cm height=6cm content-width=6.0cm content-height=4.5cm display-align=after text-align=start/ /fo:blockin FOP i am getting the error [Fatal Error] graphic.fo:1:7: The processing instruction target matching [xX][m M][lL] is not allowed. [ERROR] The processing instruction target matching [xX][mM][lL] is not allowed Regards Sharad Gehani - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error in fop
Gehani, Sharad (GE Commercial Finance, NonGE) wrote: [Fatal Error] graphic.fo:1:7: The processing instruction target matching [xX][m M][lL] is not allowed. You've probably put spaces before the XML declaration at the beginning of the file. There are a few other possiblities. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error with FOP about IPD on table
When I run FOP i get the following error. [ERROR] At least one of minimum, optimum, or maximum IPD must be specified on table. I know thats its the problem with specifying IPD for the table in the stylesheet. But I dont really understand what I am missing and where should I specify Inline-progression-dimension I mean on what object? Thanks, Abhi __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error with FOP about IPD on table
Abhijit Junnare wrote: When I run FOP i get the following error. [ERROR] At least one of minimum, optimum, or maximum IPD must be specified on table. I know thats its the problem with specifying IPD for the table in the stylesheet. But I dont really understand what I am missing and where should I specify Inline-progression-dimension I mean on what object? FOP tries to calculate the table width from the column width, which must be specified for FOP to work. If all columns have an absolute width, this is easy. However, if you use the proportional-column-width() function, or if you specify a width which FOP doesn't understand for table columns (like percentages), you'll get the error message above unless you also specify the with of the table itself (which is exaclty the wording of the message). Your options: specify all column widths in absolute units, or specify the table width. The table width can be given as percentage (contrary to column widths), so you can have a table spanning the whold page width by specifying width=100%. J.Pietschmann - 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]
AW: Error compiling fop - CodePointMapping.java is empty
OK, thanks for the input, but i deleted the whole thing and unziped into a fresh folder. I also took all CLASSPATHs out of my global(?) Classpath (de-Umgebungsvariablen Win2k) and just added the jimi-1.0.jar to the lib folder. I start the original build.bat and now i get the following error: snip [style] Transforming into C:\fop\src\fop-0.20.3\build\src\org\apache\fop\ren der\pdf [style] Loading stylesheet C:\fop\src\fop-0.20.3\.\build\src\codegen\code-po int-mapping.xsl [style] Processing C:\fop\src\fop-0.20.3\build\src\codegen\encodings.xml to C:\fop\src\fop-0.20.3\build\src\org\apache\fop\render\pdf\CodePointMappi ng.java [style] Failed to process C:\fop\src\fop-0.20.3\build\src\codegen\encodings. xml BUILD FAILED C:\fop\src\fop-0.20.3\build.xml:472: javax.xml.transform.TransformerException: o rg.xml.sax.SAXParseException: File file:///C:/fop/src/fop-0.20.3/C:/fop/src/fop -0.20.3/build/src/codegen/encodings.xml not found. --- Nested Exception --- javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: File f ile:///C:/fop/src/fop-0.20.3/C:/fop/src/fop-0.20.3/build/src/codegen/enc odings.x ml not found. snip where does this Path-doubling come from, file:///C:/fop/src/fop-0.20.3/C:/fop/src/fop-0.20.3/build/src/codegen/en codings.xml i checked the build.xml, it looks all right to me, the property name=encodings.xml-stuff looks exactly as the stuff before. there must happen something strange to the ${build.codegen} Path-variable, so maybe i use the wrong xsl-processor, but that is xalan2, that comes with the whole package. any ideas? I mean if this should work with xalan2 maybe it is because of java 1.4.0? anyway, this is just because i want to use png (jimi.jar), so i think its ok for me to use jpeg or a workaround with svg. -Ursprüngliche Nachricht- Von: Christian Geisert [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 21. März 2002 18:25 An: [EMAIL PROTECTED] Betreff: Re: Error compiling fop - CodePointMapping.java is empty Sam Prokop wrote: Hi, compiling fop-0.20.3 on win2k with java 1.4.0 i get the following message [..] -- [echo] Compiling the sources [javac] Compiling 328 source files to C:\fop\src\fop-0.20.3\build\classes [javac] Note: sun.tools.javac.Main has been deprecated. [javac] error: File C:\fop\src\fop-0.20.3\build\src\org\apache\fop\render\pd f\CodePointMapping.java does not contain type org.apache.fop.render.pdf.CodePoin tMapping as expected. Please adjust the class path so that the file does not app ear in the package org\apache\fop\render\pdf. [javac] [..] Has anyone an idea, what i did wrong? Maybe using xerces2 ? Please try compiling with the jars from the distribution. Christian
Re: Error compiling fop - CodePointMapping.java is empty
Sam Prokop wrote: Hi, compiling fop-0.20.3 on win2k with java 1.4.0 i get the following message [..] -- [echo] Compiling the sources [javac] Compiling 328 source files to C:\fop\src\fop-0.20.3\build\classes [javac] Note: sun.tools.javac.Main has been deprecated. [javac] error: File C:\fop\src\fop-0.20.3\build\src\org\apache\fop\render\pd f\CodePointMapping.java does not contain type org.apache.fop.render.pdf.CodePoin tMapping as expected. Please adjust the class path so that the file does not app ear in the package org\apache\fop\render\pdf. [javac] [..] Has anyone an idea, what i did wrong? Maybe using xerces2 ? Please try compiling with the jars from the distribution. Christian