« Return to Thread: ... No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions" ...

Re: ... No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions" ...

by Jeremias Maerki-2 :: Rate this Message:

Reply to Author | View in Thread

I'm not a DocBook users but this sounds like it's a matter of enabling
the right extensions. See: http://www.sagehill.net/docbookxsl/InstallingAnFO.html#UsingFop

For current FOP releases:
--stringparam fop1.extensions 1

The DocBook-independent answer is: The http://xml.apache.org/fop/extensions
namespace has changed to http://xmlgraphics.apache.org/fop/extensions
for FOP versions 0.90 and higher.

On 22.07.2008 10:33:43 Jeff Laughlin wrote:

> I'm getting some strange exceptions from FOP...
>
> I've tried FOP .94 and .95beta on the Sun Java 6 JRE and the OpenJDK JRE.
> I'm running Ubuntu Hady 8.04. I'm trying to make a PDF from a docbook file.
> I'm using docbook xml/xslt with xsltproc and a makefile.
>
> This all used to work perfectly, but of course I have no idea what changed
> since then.
>
> Jul 22, 2008 1:15:15 AM org.apache.fop.cli.Main startFOP
> SEVERE: Exception
> javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException:
> file:/home/laughlin/work/hiq/manual/manual.fo:1:25194: Error(1/25194): 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:217)
>         at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>         at org.apache.fop.cli.Main.startFOP(Main.java:166)
>         at org.apache.fop.cli.Main.main(Main.java:197)
>
> ---------
>
> javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException:
> file:/home/laughlin/work/hiq/manual/manual.fo:1:25194: Error(1/25194): No
> element mapping definition found for (Namespace URI: "
> http://xml.apache.org/fop/extensions", Local Name: "destination")
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown
> Source)
>         at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(Unknown
> Source)
>         at
> org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>
> *snip*
>
> Complete output at:
> http://pastebin.com/m6fb6d660
>
> Thanks
> Jeff
>
> --
> 73 de n1ywb




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@...
For additional commands, e-mail: fop-users-help@...

 « Return to Thread: ... No element mapping definition found for (Namespace URI: "http://xml.apache.org/fop/extensions" ...

LightInTheBox - Buy quality products at wholesale price!