And what is that problem? If you mean the "INFO" messages, you can eliminate them by configuring the loggers so the messages don't appear anymore. They are purely informational.
On 12.01.2007 12:16:51 Xavier Ottolini wrote: > I modified the fop.xconf file as follow > > <!-- Base URL for resolving relative URLs --> > <base>D:\Applications\jakarta-tomcat-4.1.30\webapps\opencms\export\xsl\</base> > > Then I modified my script as follow > FopFactory fopFactory = FopFactory.newInstance(); > > FOUserAgent foUserAgent = fopFactory.newFOUserAgent(); > // configure foUserAgent as desired > DefaultConfigurationBuilder cfgBuilder = new DefaultConfigurationBuilder(); > Configuration cfg = cfgBuilder.buildFromFile(new > File("D:\\Applications\\jakarta-tomcat-4.1.30\\webapps\\opencms\\export\\system\\modules\\org.apache.fop\\conf\\fop.xconf")); > fopFactory.setUserConfig(cfg); > > String basePath = FopFactory.getBaseURLfromConfig(cfg, "base"); > foUserAgent.setBaseURL(basePath); > > now, the Terminal sends the following output : > > 12 janv. 2007 12:08:41 org.apache.fop.apps.FopFactory initUserConfig > INFO: Source resolution set to: 72.0dpi (px2mm=0.35277778) > 12 janv. 2007 12:08:41 org.apache.fop.apps.FopFactory initUserConfig > INFO: Default page-height set to: 11in > 12 janv. 2007 12:08:41 org.apache.fop.apps.FopFactory initUserConfig > INFO: Default page-width set to: 8.26in > 12 janv. 2007 12:08:41 org.apache.fop.apps.FopFactory initUserConfig > INFO: Source resolution set to: 72.0dpi (px2mm=0.35277778) > 12 janv. 2007 12:08:41 org.apache.fop.apps.FopFactory initUserConfig > INFO: Default page-height set to: 11in > 12 janv. 2007 12:08:41 org.apache.fop.apps.FopFactory initUserConfig > INFO: Default page-width set to: 8.26in > 12 janv. 2007 12:08:41 org.apache.fop.apps.FopFactory getBaseURLfromConfig > INFO: base set to: > file:/D:/Applications/jakarta-tomcat-4.1.30/webapps/opencms_r > oederer/export/xsl/ > > The message is not sent any more but I have got another problem. I do > not know if it is related. > > Thank you very much Jeremias ! > > Xavier > > Jeremias Maerki a écrit : > > Depending on how you run the XSLT and the formatting process FOP may not > > even know where your stylesheet is and interprets the relative URL as > > relative to the current directory. That's why you may have to set the > > Base URL explicitely. > > > > "cert.conf" is probably an unorthodox name for a FOP config file. Take a > > look at this to get an idea: > > http://xmlgraphics.apache.org/fop/0.93/configuration.html > > http://xmlgraphics.apache.org/fop/0.93/embedding.html#config-external > > > > On 11.01.2007 18:23:35 Xavier Ottolini wrote: > > > >> Hi, > >> > >> I want to build a PDF file with a XSL transformation. I use FOP 0.93 on > >> Tomcat 4.3 (Windows) > >> > >> When I process the XSL transformation, I get the following error : > >> 11 janv. 2007 17:49:42 org.apache.fop.fo.flow.ExternalGraphic bind > >> GRAVE: Image not available: copie-conforme.svg > >> 11 janv. 2007 17:49:42 org.apache.fop.fo.flow.ExternalGraphic bind > >> GRAVE: Image not available: logo-roederer.svg > >> 11 janv. 2007 17:49:42 org.apache.fop.fo.flow.ExternalGraphic bind > >> GRAVE: Image not available: copie-conforme.svg > >> > >> I a am surprised because the picture is in the same document as my XSL. > >> > >> I found a solution on the mailing list archive. > >> http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200607.mbox/[EMAIL > >> PROTECTED] > >> > >> But I do not understand what is this "cert.conf" file. I use FO embeded > >> in a JSP file. How to set this configuration file ? > >> > > > > Jeremias Maerki > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- > Pour préservez l’environnement n’imprimez cet e-mail qu’en cas de nécessité. > > Xavier Ottolini > Développeur multimédia > > Adelis > 37 rue d'Engwiller > 67350 La Walck > France > Téléphone : +33 (0) 3 69 20 29 02 > Télécopie : +33 (0) 3 88 72 29 19 > http://www.adelis.com > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]