Re: [docbook-apps] Using FOP .93 with DocBook 4

From
"Cob Rtayton"
Date
2007-03-09T01:45:13+00:00
ID
05c101c761ec$8c538b50$6400a8c0@totoro
Thread
Re: [docbook-apps] Using FOP .93 with DocBook 4
I believe this problem was fixed in version 1.71.1 
of the DocBook XSL stylesheets.  What version are you using?

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Jeff 
  Powanda 

  
To:  
  

  
Sent: Thursday, March 08, 2007 4:23 
  PM

  
Subject: [docbook-apps] Using FOP .93 
  with DocBook 4

  

  

  
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

  


  
Vocera 
  Communications

  
Senior Technical 
  Writer

  
408-790-4256