RE: Fop and JDK1.2 (using ant copy tasks to select implementations)
> From: Rhett Aultman [mailto:[EMAIL PROTECTED]] > How many of FOP's > users built FOP from scratch and thus used ant? It's not > entirely necessary, especially if you're not a FOP developer. Everyone who needs PNG support? -- Rob Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: delay for release candidate
> -Original Message- > From: Peter B. West [mailto:[EMAIL PROTECTED]] > Sent: 09 June 2002 16:39 > To: [EMAIL PROTECTED] > Subject: Re: delay for release candidate > > What's the latest? I have just patched .../fo/flow/BasicLink.java to > change the default, but I have not committed it yet. I would like to > get an interested user to try it before general release, if possible. There is a rather odd bug that showed up when I set -Dlinks.merge=yes on the command line. The following FO: 1. Introduction caused FOP to report: [ERROR]: 0 >= 0 The FO comes from a Docbook stylesheet, and is part of the table of contents (actually most Docbook+FOP users won't get this error because Docbook produces a different TOC format without leaders if the "fop.extensions" parameter is set to "1"). The problem seems to be due to the sequence (basic-link leader basic-link) in a justified block. Removing any one of these fixes it, as does making the whole line a single basic-link. Trouble is, changing the links.merge default could break some documents with a very obscure error message. -- Rob Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: newbie needs help with relative address for image.
> From: Troy Bottger >... > > It is just when I specify the relative address when I get: > Error while creating area : Invalid Image URL - error on relative URL : no > protocol: null/abc/images/merchant_logo.gif Try src="file:{../companylogo/url}" -- Rob Smith - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: fop problem
why do you conclude this is a FOP error? This looks like Cocoon is having a problem with basic transformations. Did the problem suddenly begin when you installed FOP? - Rob eric.deandrea wrote: >I am running cocoon 1.8 with fop 0.20.1 and when I try and load a page into >the browser I get the following error. Can anyone help me? > >Publishing Engine could not be initialized. > java.lang.RuntimeException: Factory error: unknown exception >creating " org.apache.cocoon.transformer.XalanTransformer" : >java.lang.VerifyError: (class: >org/apache/cocoon/transformer/XalanTransformer, method: transform signature: >(Lorg/w3c/dom/Document;Ljava/lang/String;Lorg/w3c/dom/Document;Ljava/lang/St >ring;Lorg/w3c/dom/Document;Ljava/util/Dictionary;)Lorg/w3c/dom/Document;) >Incompatible object > at java.lang.Throwable.fillInStackTrace(Native Method) > at java.lang.Throwable.fillInStackTrace(Compiled Code) > at java.lang.Throwable.(Compiled Code) > at java.lang.Exception.(Compiled Code) > at java.lang.RuntimeException.(RuntimeException.java:47) > at >org.apache.cocoon.framework.Manager.create(Manager.java:116) > at org.apache.cocoon.Engine.(Engine.java:144) > at org.apache.cocoon.Engine.getInstance(Engine.java:218) > at org.apache.cocoon.Cocoon.init(Cocoon.java:141) > at >com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:3 >77) > at >com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java >:149) > at >com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav >a:469) > > >-Eric > > >Eric Deandrea >Software Engineer (978) 698-6351 >Inforonics, Inc. [EMAIL PROTECTED] >30 Porter Rd. >Littleton, MA 01460 > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, email: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
XSLTInputHandler constructor for InputSources?
Would it cause problems to provide an alternate constructor for XSLTInputHandler ... ? XSLTInputHandler(InputSource xmlsource, InputSource xsltsource) in addition to: XSLTInputHandler(File xmlfile, File xsltfile) I am working with XML which is streamed directly out of a repository, not a file, and could get rid of a bunch of lines of redundant code in my app if I could use FOP's XSLTInputHandler instead. If this makes sense, let me know and I'll be happy to provide a patch. - Rob -- Rob Heittman cluestream ventures | effective information management research, development, analysis and consulting http://www.cluestream.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Batik/SVG working in latest FOP builds?
Sorry to be dumb about this, but I just joined the list recently. My customer just added a requirement to use SVG images as external-graphics. (Up to now it had been the usual GIFs and JPGs, but now we are working on the hi-res print version and quality matters ...) To scale the images properly I'll need to use tricks like examples\svg\external.fo. With the latest FOP from CVS, I'm getting exceptions on the example file (below). Is this operator error, the expected result, or other? Thanks, - Rob [INFO]: building formatting object tree Exception in thread "main" java.lang.NoSuchMethodError at org.apache.fop.svg.SVGElement.init(SVGElement.java:175) at org.apache.fop.svg.SVGElement.(SVGElement.java:83) at org.apache.fop.svg.SVGElement$Maker.make(SVGElement.java:60) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:254) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1371) at org.apache.xerces.validators.common.XMLValidator.callStartElement(XML Validator.java:840) at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen tScanner.java:1853) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp atch(XMLDocumentScanner.java:1234) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS canner.java:381) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948) at org.apache.fop.apps.Driver.render(Driver.java:459) at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:116) at org.apache.fop.apps.Fop.main(Fop.java:19) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Performance and java 1.1
I would add to the consensus here ... I believe that requiring Java 2 collection classes is more than reasonable, particularly for this project. I'm not sure that anyone is going to have much success deploying bleeding edge technologies like XSL:FO if they are trapped in a 2-3 year old Java platform. All customers I am working with who are doing PDF rendering with FOP are all on 1.3, 1.3.1 JVMs ... they are early adopters and technophiles by definition. The other guys are still using TeX ;-) Besides, 1.1 users can work around the use of Java 2 collection classes if they absolutely have to, by using Sun's collections.jar and changing the package imports in the source code. - Rob - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]