[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Is it possible to run FOP with Saxon

Subject: Re: Is it possible to run FOP with Saxon
From: omprakash.v@xxxxxxxxxxxxx
Date: Tue, 7 Jun 2005 10:03:45 +0530
saxon fop
Hi,
        Have you tried setting the following system property:
                                                                   
                                                                   
                                                                   
                                                                   
  javax.xml.transform.TransformerFactory                           
  org.apache.xalan.processor.TransformerFactoryImpl                
                                                                   
                                                                   
  The latest xalan-j version uses JAXP and checks this property    
  before instantiating a transformer instance. You can pass the    
  Saxon instance instead of the xalan instance.                    
  I hope you know how to pass parameters to java from the command  
  line.                                                            
                                                                   
  %java -Djavax.xml.transform.TransformerFactory="balah..."        
  org.apache.fop. etcetera                                         
                                                                   
  Iam not sure if xalan2.4.1 uses JAXP and I suggest you download  
  the latest version of xalan from apache website.                 
                                                                   
  Iam sure FOP developers have made the parser and xslt processor  
  configurable.                                                    
                                                                   
  Cheers,                                                          
  Omprakash.V                                                      
                                                                   
                                                                   






                                                                                                                    
                    Mukul Gandhi                                                                                    
                    <mukul_gandhi@        To:     xsl-list@xxxxxxxxxxxxxxxxxxxxxx                                   
                    yahoo.com>            cc:     (bcc: omprakash.v/Polaris)                                        
                                          Subject:      Is it possible to run FOP with Saxon                   
                    06/07/2005                                                                                      
                    09:35 AM                                                                                        
                    Please respond                                                                                  
                    to xsl-list                                                                                     
                                                                                                                    
                                                                                                                    




I have a question ..

I am using FOP 0.20.5. I also have Saxon 8.4 ..

FOP by default uses Xalan-J. Can I somehow use Saxon
(instead of Xalan-J) during 1st phase of FO
processing?

I modified fop.bat file as below -

set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar
rem set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
rem set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
rem set
LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
set
LOCALCLASSPATH=%LOCALCLASSPATH%;C:\xml\saxonsa8-4\saxon8.jar

But FOP seems "not to select Saxon" ..

Also, is it advisable to run FOP like this (i.e. with
not using Xalan) ..?

Regards,
Mukul




__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html






This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. 
If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately.
You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit Us at http://www.polaris.co.in

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.