Indeed, the namespace URI in the error message indicate that the stylesheet parameter named 'fop.extensions' has been set to 1, which outputs extension elements with the namespace URI http://xml.apache.org/fop/extensions, which was the namespace URI for FOP extensions prior to version 0.90. I suspect your stylesheet sets that param.

Instead, you want to set 'fop.extensions' to zero and set the 'fop1.extensions' param to 1. That generates output using the namespace URI "http://xmlgraphics.apache.org/fop/extensions";, which FOP 1.0 recognizes.

Bob Stayton
Sagehill Enterprises
[email protected]


----- Original Message ----- From: "Markus Hoenicka" <[email protected]>
To: "Petr Přikryl" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, February 01, 2011 2:09 AM
Subject: Re: [docbook] Problems with DocBook to PDF on Windows (tool chain: xsltproc, Apache FOP 1.0)


Petr Přikryl <[email protected]> was heard to say:

Hi,

Error(2/12803): No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions";, Local Name: "destination")

Just a wild guess: your setup probably does not enable the fop extensions of the docbook fo stylesheets. Does the error go away if you invoke xsltproc like this:

xsltproc  --output ./producingoss.fo
          --stringparam fop1.extensions 1
          ../tools/fo-stylesheet.xsl book.xml

See also Bob Stayton's indispensable book:

http://www.sagehill.net/docbookxsl/InstallingAnFO.html

regards,
Markus


--
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to