SV: fop -fo error
Have you installed JIMI or JAI as described in: http://xml.apache.org/fop/graphics.html It seems that the supprt jars are missing. Hälsningar Lars Bjerges FöreningsSparbanken IT +(8)58594345 -Ursprungligt meddelande- Från: Luis F. Araujo [mailto:[EMAIL PROTECTED] Skickat: den 17 februari 2005 08:30 Till: [EMAIL PROTECTED] Ämne: fop -fo error Hello all, When i run the command: /usr/bin/fop -fo users_guide.fo -ps users_guide.ps I get the following error message: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - no /proc/self/stat [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [ERROR] property - background-position-horizontal is not implemented yet. [ERROR] property - background-position-vertical is not implemented yet. [INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead Error creating background image: Error creating FopImage object (Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : org.apache.fop.image.JimiImage [ERROR] property - background-position-horizontal is not implemented yet. [ERROR] property - background-position-vertical is not implemented yet. Error creating background image: Error creating FopImage object (Error creating FopImage object (http://docbook.sourceforge.net/release/images/draft.png) : org.apache.fop.image.JimiImage ***(Last message repeted around 20 more times)*** [ERROR] Unknown enumerated value for property 'relative-align': baseline [ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined [ERROR] Unknown enumerated value for property 'relative-align': baseline [ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined [ERROR] Unknown enumerated value for property 'relative-align': baseline [ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined [ERROR] Unknown enumerated value for property 'relative-align': baseline ***(Last message repeated 50-60 times)*** [INFO] [1] [INFO] area contents overflows area in line [INFO] [2] [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] [3] [INFO] [4] [INFO] [5] [INFO] [6] [INFO] [7] [ERROR] Unknown enumerated value for property 'relative-align': baseline [ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined [ERROR] Unknown enumerated value for property 'relative-align': baseline [ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined [ERROR] Unknown enumerated value for property 'relative-align': baseline [ERROR] Error in relative-align property value 'baseline': org.apache.fop.fo.expr.PropertyException: No conversion defined [ERROR] Unknown enumerated value for property 'relative-align': baseline ***(message repeated 20 times)*** [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line [INFO] area contents overflows area in line ***(message repeated around 40 times)*** [INFO] [12] [INFO] [13] [INFO] [14] [ERROR] file:users_guide.fo:611:1093 The id id2522584 already exists in this document Im using the FOP version: [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 Running on GNU/Linux x86. I have been looking for information about this , but i really don't find too much, I highly appreciate any help. Thanks. - 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: FOP and XInclude
If you use xercesImpl.jar from Xerces-2.5.0 (or better, I use 2.6.2) and Xalan-J version 2.5.1 (or later, I use 2.6.0) you can execute XALAN with a command like (one line!): java -cp %LOCALCLASSPATH% -Djava.endorsed.dirs=where_everXalanAndXercesAre -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration org.apache.xalan.xslt.Process -IN %1 -XSL %2 -OUT %3 where the bold -D parameter activates Xinclude. The -Djava.endorsed.dirs parameter is to make sure you get the right versions of Xalan and Xerces if you use a Java version 1.4.0 or better. Else you will execute the included versions that don´t cater for Xinclude. If you invoke FOP from java-code you have the option to start off with: System.setProperty(org.apache.xerces.xni.parser.XMLParserConfiguration, org.apache.xerces.parsers.XIncludeParserConfiguration)); The -Djava.endorsed.dirs parameter should go here too. Hälsningar Lars Bjerges Team Verktyg * FöreningsSparbanken IT 105 34 Stockholm ( +46 (0)8 58 59 43 45 ( +46 (0)70 95 27 774 From: Stimpmania [mailto:[EMAIL PROTECTED] Sent: Thu 12/16/2004 12:19 AM To: [EMAIL PROTECTED] Subject: FOP and XInclude Hello, does anybody know if it is possible to use XInclude with FOP. Xerces supports a partial implementation of W3C XInclude since version 2.5. How can I use it with FOP? What I want to do is something like this: file a.xml bill xi:include href=b.xml xmlns:xi=http://www.w3.org/2001/XInclude; / customer . . . /customer /bill file b.xml supplier . . . /supplier file stylesheet.xsl template match=bill xsl:value-of=supplier/ /template Thanks in advance Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]