forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Brcic <br...@users.sourceforge.net>
Subject FOP Configuration
Date Tue, 06 Jan 2004 13:25:24 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
I am a newcomer on this mailing list., so I thought I'd say hello, marry 
christmas and a happy new year :)
I have a question for you about configuring FOP inside Forrest. Since I 
am writing cyrillic documents, I have to have a custom font 
configuration (i am using arial, times new roman and courier new TTFs). 
I have successfully configured standalone FOP and FOP inside cocoon, but 
I can't configure it in forrest. I have changed 
xml-forrest/src/core/context/sitemap.xmap to accomplish that - on line 
84 of CVS version of xml-forrest instead of
    <map:serializer name="fo2pdf" 
src="org.apache.cocoon.serialization.FOPSerializer" 
mime-type="application/pdf" />
I have written
    <map:serializer name="fo2pdf" 
src="org.apache.cocoon.serialization.FOPSerializer" 
mime-type="application/pdf">
          <user-config>file:///path/to/my/fop-config.xml</user-config>
    </map:serializer>
but this seams to create an error in validate-config ant target:
    Error at URL 
"file:/mnt/TestJFS/ApacheXML/xml-forrest/src/core/context/sitemap.xmap", 
line number 85, column number 21: required attributes missing 
    Error at URL 
"file:/mnt/TestJFS/ApacheXML/xml-forrest/src/core/context/sitemap.xmap", 
line number 85, column number 96: text not allowed here

Could anyone help me how to override this problem and enable user-config 
for FOP?

Best regards
Filip

- -- 
Filip Brcic
eMail: brcha@users.sourceforge.net
WWWeb: brcha.free.fr
Jabber: brcha@elitesecurity.org
ICQ#   40994923

"D'OH!" - Homer


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/+rdJtrrPcAzNs7cRAp61AKC+d3zBC4AgtKZGHZ8HDn8PA9jGTQCfc8yi
zJrfDLWsakReEHBwBN6lfnU=
=leMD
-----END PGP SIGNATURE-----


Mime
View raw message