Adam Strzelecki wrote: > > I normally use command line tools for producing PDF from DocBook files, > but this time I decided to try configure the build in FOP1 addon to > generate me nice PDFs. However it seems to not work at all on my MacBook > Pro (Mac OS X 10.5.2, Java 1.5.0_13-b05-237). It throws Java exception. > While on Windows it seems to work fine. > > I'm using /Applications/XMLEditor.app 3.7.1 and distributed in dmg file. > > Attached screenshot of the error. >
Out of the box, the FOP1 add-on seems to work fine on Mac OS X 10.5. > Solved, > > The reason of XXE URI$MalformedURIException was that FOP1 addon is missing > xalan-2.7.0.jar that comes with FOP 0.9x distro. Without Xalan FOP seems to > be unable to handle properly "~/.fop/fop-fonts.cache" and TTF font reading, > therefore it was crashing on existing fop-fonts.cache done by "complete" FOP > 0.9svn. > > So I recommend adding Xalan's jar into FOP1 addon, and having: > > <fonts> > <auto-detect/> > </fonts> > > ... somehow set by default for FOP configuration, so anybody can specify any > Windows/Unix installed font with "body.font.family" PDF parameter. This would > ease deploying the PDFs with DocBook. Thank you, we'll investigate on this. However, I cannot promise that we'll add xalan-2.7.0.jar to the FOP1 add-on.

