I just have a guess, but is this correct: [snip] -xml evalu.html ??? I remember having the same problem when exchanging the xml file for the xsl file.
Greets, Markus # -----Ursprüngliche Nachricht----- # Von: Laura Ameijide Garcia [mailto:[EMAIL PROTECTED] # Gesendet am: Montag, 13. Januar 2003 11:53 # An: [EMAIL PROTECTED] # Betreff: Re: ERROR Divided by zero # # If I execute it in the comand thats the result: It's for my version? # # .Laura # # C:\fop\fop-0.20.3>java -cp # build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar; # lib\avalon-framework 4.0.jar;lib\logkit1.0.jar;lib\jimi-1.0.jar # org.apache.fop.apps.Fop -d -xml evalu.html -xsl evalu.xsl evalu.pdf # # [DEBUG]: Input mode: # [DEBUG]: xslt transformation # [DEBUG]: xml input file: evalu.html # [DEBUG]: xslt stylesheet: gastronofo.xsl # [DEBUG]: Output mode: # [DEBUG]: pdf # [DEBUG]: output file: evalu.pdf # [DEBUG]: OPTIONS # [DEBUG]: no user configuration file is used [default] # [DEBUG]: debug mode on # [DEBUG]: dump configuration # [DEBUG]: quiet mode on # [DEBUG]: base directory: file:/C:/fop/fop-0.20.3/ # [INFO]: FOP 0.20.3 # [DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser # [INFO]: building formatting object tree # [DEBUG]: setting up fonts # [INFO]: Parsing of document complete, stopping renderer # [DEBUG]: Initial heap size: 978Kb # [DEBUG]: Current heap size: 801Kb # [DEBUG]: Total memory used: -177Kb # [DEBUG]: Memory use is indicative; no GC was performed # [DEBUG]: These figures should not be used comparatively # [DEBUG]: Total time used: 250ms # [DEBUG]: Pages rendererd: 0 # [INFO]: Parsing of document complete, stopping renderer # [ERROR]: / by zero # org.apache.fop.apps.FOPException: / by zero # at org.apache.fop.apps.Driver.render(Driver.java:486) # at # org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72) # at org.apache.fop.apps.Fop.main(Fop.java:19) # # --------- # # javax.xml.transform.TransformerException: / by zero # at # org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:137) # at org.apache.fop.apps.Driver.render(Driver.java:481) # at # org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72) # at org.apache.fop.apps.Fop.main(Fop.java:19) # # --------- # # javax.xml.transform.TransformerException: / by zero # at # org.apache.xalan.transformer.TransformerImpl.transformNode(Tra # nsformerImpl.j # ava:1212) # at # org.apache.xalan.transformer.TransformerImpl.run(TransformerIm # pl.java:2894) # at java.lang.Thread.run(Thread.java:479) # --------- # java.lang.ArithmeticException: / by zero # at # org.apache.fop.apps.StreamRenderer.stopRenderer(StreamRenderer # .java:171) # at # org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:205) # at # org.apache.xalan.transformer.ResultTreeHandler.endDocument(Res # ultTreeHandler # .java:180) # at # org.apache.xalan.transformer.TransformerImpl.transformNode(Tra # nsformerImpl.j # ava:1194) # at # org.apache.xalan.transformer.TransformerImpl.run(TransformerIm # pl.java:2894) # at java.lang.Thread.run(Thread.java:479) # # # # # ************************************************************** # ************** # ******* # ----- Original Message ----- # From: "Jeremias Maerki" <[EMAIL PROTECTED]> # To: <[EMAIL PROTECTED]> # Sent: Monday, January 13, 2003 10:46 AM # Subject: Re: ERROR Divided by zero # # # > This indicates an arithmetic error like: 13 / 0 = illegal. # You know that # > from school. # > # > Somewhere in FOP something wanted to divide some value by zero. The # > question now is: where and why? # > # > The first thing you can do is calling FOP from the command line and # > using the "-d" parameter which enables more debug output. # That way, we # > will get a stacktrace which helps you/us find the location # of the error. # > If the information you will get then doesn't help you, send another # > email and copy the whole output from FOP and attach the # xhtml and your # > xsl so we can reproduce the error. # > # > What FOP version do you use? # > # > On 13.01.2003 10:06:26 Laura Ameijide Garcia wrote: # > > Hello, # > > I'm beginner in this area. I'm trying to convert a simple # html using a # xsl.... but the fop always says me: # > > [ERROR]: / by zero. # > > # > > Somebody can help me? What's the meaning of this error? # > # > # > 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] # --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]