xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Ilyin" <ilyin.dmi...@googlemail.com>
Subject using FOP under JRE 1.6
Date Fri, 16 Nov 2007 15:59:32 GMT
Hi,

i try to start FOP (0.94) without xalan under JRE 1.6
If i right understud the docs, i can omit xalan and co. if i use JDK >
1.4 (JAXP)

Without using xalan i get problems:

java.lang.NoClassDefFoundError: org/apache/xml/utils/URI$MalformedURIException
	at org.apache.fop.fonts.FontCache.addFont(FontCache.java:246)
	at org.apache.fop.render.PrintRendererConfigurator.getFontInfoFromConfiguration(PrintRendererConfigurator.java:313)
	at org.apache.fop.render.PrintRendererConfigurator.buildFontListFromConfiguration(PrintRendererConfigurator.java:196)
	at org.apache.fop.render.PrintRendererConfigurator.configure(PrintRendererConfigurator.java:93)
	at org.apache.fop.render.pdf.PDFRendererConfigurator.configure(PDFRendererConfigurator.java:70)
	at org.apache.fop.render.RendererFactory.createRenderer(RendererFactory.java:187)
	at org.apache.fop.area.RenderPagesModel.<init>(RenderPagesModel.java:70)
	at org.apache.fop.area.AreaTreeHandler.setupModel(AreaTreeHandler.java:126)
	at org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:101)
	at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:224)
	at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:99)
	at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:147)
	at org.apache.fop.apps.Fop.<init>(Fop.java:82)
	at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:226)
	……………

I use my own generated font metrics. They are configured in fop.xconf
file. After debuging i found that the class "CachedFontInfo" has a
dependency to org.apache.xml.utils.URI.MalformedURIException which is
a xalan class.

Does it mean i HAVE to use xalan?  Or i do something wrong?

thans a lot
Dmitri

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message