Hello Vadim,


Vadim Gritsenko wrote: > Frank made a mistake... New configuration syntax which supports Cocoon > protocols looks like: > > <user-config>context://webapps/ROOT/doc/fop/config.xml</user-config> > > Old configuration (with src attribute) does not support protocols, works > only with file name (see FOPSerializer.java).


I tested the new configuration of the pdf serializer, but no luck. The userconfig file is found as before (but yeah, I use the new configuration ;-), but there is still a null in the path to the fonts:


Failed to read font metrics file nullwebapps/ROOT/doc/fop/fonts/Verdana.xml: /home/jheinicke/development/IUPB/iupb/nullwebapps/ROOT/doc/fop/fonts/Verdana.xml

--------------------------------------^^^^

FOP supports only links to the fonts in absolute file format, starting with "C:/", because currently there is no way to tell FOP current context. No support for Cocoon URIs, for now. See http://xml.apache.org/cocoon/userdocs/serializers/pdf-serializer.html.

Why must it be absolute paths now? In Cocoon 2.0.3 with Fop 0.20.3 the relative paths worked without any problems. But no longer in Cocoon 2.0.4 with Fop 0.20.4?



But I got excalibur source resolving to work in *a* way with Cocoon 2.1 or better said with excalibur-sourceresolve-20030130.jar. I don't know how good or bad it is. Interests?


Regards,

Joerg

--

System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de

CeBIT 2003 vom 12. bis zum 19. März in Hannover

VIRBUS stellt gemeinsam mit der IBM-Tochter IT-Services and Solutions
GmbH aus.
Lassen Sie sich überraschen von den neuen, umfassenden Möglichkeiten im
Internet-gestützten Zahlungsverkehr.
Besuchen Sie uns: Halle 3, Stand D55.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to