Hi Ryan,

Right now, we don't have a mechanism for providing custom heap allocators
for Xalan, which is what would be required to compile a stylesheet into
shared memory.  This is a pretty complex problem, as we use a fair amount
of the STL in stylesheets, and integrating custom allocators with the STL
is tricky at best.

However, it is a long term goal to have customizable memory management.

Dave



                                                                                
                                         
                      Ryan Sawatzky                                             
                                         
                      <[EMAIL PROTECTED]         To:      
[email protected]                                     
                      ox.com>                  cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                             
                                               Subject: Sharing Compiled 
Stylesheets                                     
                      03/27/2003 10:49                                          
                                         
                      AM                                                        
                                         
                                                                                
                                         



Hi everyone,

I am using Xalan for AIX.  I was wondering if there is any way to share
compiled stylesheets among different processes.  In our environment we
have multiple Unix processes that communicate via shared memory.  Is
there any way to tell the XalanTransformer to somehow stick the compiled
stylesheet tree into shared memory?  Right now, whichever process
actually compiles the style sheet owns that memory, and if another
process tries to access that stylesheet the program segv's.  Thanks for
any help.

--Ryan



Reply via email to