Hi, i've noticed that the implemetation of :
XALAN_TRANSFORMER_EXPORT_FUNCTION(int ) XalanDestroyParsedSource(
XalanPSHandle thePSHandle, XalanHandle theXalanHandle);
was missing in src/XalanTransformer/XalanCAPI.cpp. So if I use this
method for an apache module, the source of my module compile, but on
restart on apache I'v got a logical error message :
mod_xslt.so: undefined symbol: XalanDestroyParsedSource
So I've try to add:
<CODE>
XALAN_TRANSFORMER_EXPORT_FUNCTION(int)
XalanDestroyParsedSource(
XalanPSHandle thePSHandle,
XalanHandle theXalanHandle){
return
getTransformer(theXalanHandle)->destroyParsedSource(getParsedSource(thePSHandle));
}
</CODE>
Now, it is working for me ... not segfaulting :-), but is it a valuable
patch.
Thanks.
--
My mother always used to tell me, "The early bird gets the worm."
The message seemed pretty clear to me: If you sleep late, you're
a lot less likely to be killed by a bird.
-- Elliott Downing