docbook-apps

Using FOP .93 with DocBook 4

  • 1.  Using FOP .93 with DocBook 4

    Posted 03-09-2007 00:23
    I'm trying to use DocBook 4 with FOP .93 and I get the following error:



    javax.xml.transform.TransformerException:
    org.apache.fop.apps.FOPException:
    file:///c:/docs/Main/xml/test/help/Test.fo:2:29513: Error(2/29513): No
    element mapping definition found for (Namespace URI:
    "http://xml.apache.org/fop/extensions", Local Name: "destination")



    To correct that problem, I changed the following line in the FO.xsl
    file:



    <xsl:param name="fop.extensions">1</xsl:param>



    To this:



    <xsl:param name="fop1.extensions">1</xsl:param>



    Now when I convert to PDF, I get the following error:



    SEVERE: Exception

    java.lang.IllegalStateException: Flow 'xsl-region-body' does not map to
    the region-body in page-master 'blank'. FOP presently does not support
    this.



    Any help would be appreciated.



    Regards,

    Jeff Powanda

    jpowanda@vocera.com

    Vocera Communications

    Senior Technical Writer

    408-790-4256