I think the problem is in minimal.fo.xml.
Can you post the content of: minimal.fo.xml
Gerritjan Koekkoek ha scritto:
Hi,
I'm trying to startup with PDF generation...
So far...
added in sitemap two sections:
<map:serializer name="fo2pdf"
src="org.apache.cocoon.serialization.FOPSerializer"
mime-type="application/pdf" logger="sitemap.serializer.fo2pdf">
</map:serializer>
and
<map:match pattern="test.pdf">
<map:generate src="style/xsl2/minimal.fo.xml" type="file"/>
<map:serialize type="fo2pdf"/>
</map:match>
and minimal.fo.xml is the same as found in the /samples/blocks/fop/ in
the cocoon distribution
When in browser asking for test.pdf
following error:
org.xml.sax.SAXParseException: The processing instruction target
matching "[xX][mM][lL]" is not allowed.
context://test.cdls-nl.org/style/xsl2/minimal.fo.xml - 1:7
Cocoon stacktrace[hide]
The processing instruction target matching "[xX][mM][lL]" is not allowed.
context://test.cdls-nl.org/style/xsl2/minimal.fo.xml - 1:7
Failed to process pipeline
context://test.cdls-nl.org/style/xsl2/minimal.fo.xml - 1:7
[SAXParseException]
context://test.cdls-nl.org/sitemap.xmap - 398:39
<map:serialize type="fo2pdf">
context://test.cdls-nl.org/sitemap.xmap - 397:68
<map:generate type="file">
context://sitemap.xmap - 952:66
<map:mount>
As a really newbie on PDF generation any suggestions
Gerritjan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]