----- Forwarded by Brian Minchau/Toronto/IBM on 11/08/2007 12:28 AM -----
                                                                           
             Brian                                                         
             Minchau/Toronto/I                                             
             BM                                                         To 
                                       ptomsic <[EMAIL PROTECTED]>         
             11/08/2007 12:28                                           cc 
             AM                                                            
                                                                   Subject 
                                       Re: "com.sun" wrapped classes?      
                                       (Document link: Brian Minchau)      
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



Apache Xalan-J has two XSLT processors, and interpreter and a compiler.

One way is to set a system property to force the classname of the
TransformerFactory. On the command line that would be:

-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
for Apache Xalan-J interpreter, or

-Djavax.xml.transform.TransformerFactory=org.apache.xalan.xsltc.trax.TransformerFactoryImpl
for Apache Xalan-J compiler, XSLTC.

- Brian



                                                                           
             ptomsic                                                       
             <[EMAIL PROTECTED]                                             
             m>                                                         To 
                                       [email protected]        
             11/07/2007 05:18                                           cc 
             PM                                                            
                                                                   Subject 
                                       "com.sun" wrapped classes?          
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





How do i ensure that, at runtime, i'm getting the
org.apache.xpath.jaxp.XPathImpl class as opposed to the ones that are
wrapped by the com.sun package, such as
"com.sun.org.apache.xpath.internal.jaxp.XPathImpl ?

i seem to be getting these intermittent problems such as Nullptrs in the
wrapped classes when xpath's are evaluated, etc.

thanks

--
View this message in context:
http://www.nabble.com/%22com.sun%22-wrapped-classes--tf4767747.html#a13637287

Sent from the Xalan - J - Users mailing list archive at Nabble.com.



Reply via email to