As long as you maintain the instances that you used to "compile" the
stylesheets and XPaths, there should be no problems.    Once those
XalanTransformer and XPath evaluator instances go out of scope, the
compiled stylesheets and XPaths will be destroyed, and you'll have a
dangling pointer.

Dave



                                                                                       
                                                           
                      "Anthony                                                         
                                                           
                      Zawacki"                 To:      [EMAIL PROTECTED]       
                                                           
                      <[EMAIL PROTECTED]         cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                      
                      om>                      Subject: Re: Xalan/Xerces/XPath         
                                                           
                                                                                       
                                                           
                      03/18/2002 05:59                                                 
                                                           
                      AM                                                               
                                                           
                      Please respond                                                   
                                                           
                      to xalan-dev                                                     
                                                           
                                                                                       
                                                           
                                                                                       
                                                           



One other piece of information:

In both cases, I would be using different XalanTransformers and
XPathEvaluators to used the compiled objects rather than the original
object that did the compiling.

Thanks,
Anthony




Reply via email to