When I try to build the documentation tree with
make docs VERBOSE=1, fop (tried 0.93 and 0.94) fails; see below.
Any suggestions about what is wrong?
thanks,
Gerard Haagh
{{{
[ 77%] Generating xml/orocos-overview.pdf
cd /home/gerard/orocos-rtt-1.4.1/build/doc &&
XML_CATALOG_FILES=/home/gerard/orocos-rtt-1.4.1/build/doc/xml/catalog.xml
xsltproc --xinclude /home/gerard/orocos-rtt-1.4.1/doc/xsl/orocos-pdf.xsl
/home/gerard/orocos-rtt-1.4.1/doc/xml/orocos-overview.xml >
xml/orocos-overview.fo
Making portrait pages on A4 paper (210mmx297mm)
cd /home/gerard/orocos-rtt-1.4.1/build/doc && JAVA_OPTS="-Xmx768m" fop
xml/orocos-overview.fo xml/orocos-overview.pdf
1-Jul-08 9:39:54 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
javax.xml.transform.TransformerException:
file:/home/gerard/orocos-rtt-1.4.1/build/doc/xml/orocos-overview.fo:2:12877:
Error(2/12877): No element mapping definition found for (Namespace URI:
"http://xml.apache.org/fop/extensions", Local Name: "destination")
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
at org.apache.fop.cli.Main.startFOP(Main.java:160)
at org.apache.fop.cli.Main.main(Main.java:191)
}}}
Build docs fails generating PDF (orocos 1.4.1) -- what am I miss
On Wednesday 02 July 2008 08:51:29 ghgh wrote:
> When I try to build the documentation tree with
> make docs VERBOSE=1, fop (tried 0.93 and 0.94) fails; see below.
> Any suggestions about what is wrong?
I'm not familiar with this error, but fop is in a transition (for some years
now). We're still using FOP 0.20.5 to generate the PDF code, until the 0.9x
versions are capable of handling our files. Also, we have not yet 'ported'
our style sheets and XML files to recent FOP versions.
In order to generate documentation, use make dochtml, which uses xsltproc to
convert the XML to html.
Peter