OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Problems with DocBook to PDF on Windows (tool chain: xsltproc, Apache FOP 1.0)


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
bobs@sagehill.net


----- Original Message ----- 
From: "Markus Hoenicka" <markus.hoenicka@mhoenicka.de>
To: "Petr Přikryl" <prikryl@atlas.cz>
Cc: <docbook@lists.oasis-open.org>
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 <prikryl@atlas.cz> 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: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
>
>
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]