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]