cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Crafter <craft...@fztig938.bank.dresdner.net>
Subject [C2] latest C2 CVS && FOP
Date Wed, 06 Jun 2001 20:04:19 GMT
Hi Dims,

	We've just been playing with the latest CVS C2 source, and it seems
	like this checkin has broken the FOP support in C2.

	With the new batik-libs.jar we're getting the following exception:

Exception in thread "main" java.lang.NoSuchMethodError at
org.apache.fop.render.pdf.SVGRenderer.applyStyle(SVGRenderer.java:1762) at
org.apache.fop.render.pdf.SVGRenderer.renderElement(SVGRenderer.java:2028) at
org.apache.fop.render.pdf.SVGRenderer.renderSVG(SVGRenderer.java:169) at
org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java:367) at
org.apache.fop.dom.svg.SVGArea.render(SVGArea.java:106) at
org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRenderer.java:298) at
org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectArea.java:93) at
org.apache.fop.render.PrintRenderer.renderLineArea(PrintRenderer.java:442) at
org.apache.fop.layout.LineArea.render(LineArea.java:129) at
org.apache.fop.render.PrintRenderer.renderBlockArea(PrintRenderer.java:314) at
org.apache.fop.layout.BlockArea.render(BlockArea.java:125) at
org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at
org.apache.fop.layout.AreaContainer.render(AreaContainer.java:77) at
org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at
org.apache.fop.layout.AreaContainer.render(AreaContainer.java:77) at
org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at
org.apache.fop.layout.AreaContainer.render(AreaContainer.java:77) at
org.apache.fop.render.PrintRenderer.renderAreaContainer(PrintRenderer.java:189) at
<snip>...

	The exception is not seen in the cocoon.log because it's an error,
	I've attached a patch to have errors (ie. throwable) logged, so you
	can see it as well.

	After some testing we've seen that following situations do work:

		o previous batik-all.jar/w3c.jar and C2's current fop-0.18.1.jar
		o C2's current batik-libs.jar/dom2.jar and today's CVS fop

	It seems like some methods have changed in batik, which have been
	updated in FOP CVS, but unfortunately after the release of fop 0.18.1.

	Is it possible to update the FOP jar file in lib to a newer version as
	well ?

	Cheers,

	Marcus
	

> dims        01/05/31 10:30:37
> 
>   Modified:    lib      xalan-2.1.0.jar
>   Added:       lib      batik-libs.jar dom2.jar
>   Removed:     lib      batik-all.jar w3c.jar
>   Log:
>   Moved to Latest Batik and Xalan2.1.0 from CVS. This is needed for getting
>   the Internationalization sample to work out of the box in Tomcat 4.0.
>   - Duplicate classes org.w3c.* and org.xml.* were removed from batik by using a new
>     target named "libs-jar"
>   - Added dom2.jar which has the necessary org.w3c.* files. This was picked up
>     from http://www.w3.org/DOM/DOMTM
>   - Xalan's org.xml.sax.helpers.AttributesImpl was updated to be in sync with xerces.
>   
>   Revision  Changes    Path
>   1.2       +2610 -2574xml-cocoon2/lib/xalan-2.1.0.jar
>   
>   	<<Binary file>>
>   
>   
>   1.1                  xml-cocoon2/lib/batik-libs.jar
>   
>   	<<Binary file>>
>   
>   
>   1.1                  xml-cocoon2/lib/dom2.jar
>   
>   	<<Binary file>>
>   
>   
> 
> ----------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-cvs-help@xml.apache.org
 
 -- 
         .....
      ,,$$$$$$$$$,      Marcus Crafter
     ;$'      '$$$$:    Computer Systems Engineer
     $:         $$$$:   Open Software Associates GmbH
      $       o_)$$$:   82-84 Mainzer Landstrasse
      ;$,    _/\ &&:'   60327 Frankfurt Germany
        '     /( &&&
            \_&&&&'     Email : Marcus.Crafter@osa.de
           &&&&.        Business Hours : +49 69 9757 200
     &&&&&&&:           After Hours    : +49 69 49086750


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message