You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Matthew Langham <ml...@sundn.de> on 2001/03/06 16:57:21 UTC

XMLCompiler / XMLInterpreter - threadsafe?

Are these 2 classes thread safe?

We are still having problems with concurrent access of C2 resources (see
Carsten Zieglers messages on the topic of "Strange problems with concurrent
access of Xalan-2.0.0") and trying to pin down what is happening.

One scenario where we can reproduce an effect like this is:

We have a C2-component that starts off several threads. Each thread then
accesses a C2 resource and the results are then combined into a single view
(did someone say "portal"?). We sometimes have an effect that the result
streams are mixed up. And as we are using the above classes for part of this
and I was wondering if there could be a cause here.

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================



Re: C2 and Saxon

Posted by Gerd Mueller <ge...@smb-tec.com>.
> I dropped Saxon into the current C2 version we have and it seems as though
> the "only" problem is the fact that there is no XPathAPI in Saxon. Is this
> correct - or are there any other deltas I havent found yet?
> 
> The difference in speed seems to make Saxon an iteresting alternative - if
> only the XPathAPI was there.
> 
> Comments?

There is no direct XPath API but it is possible to use it as XPath
processor. I've wrote a small test to evaluate this. 
See the attachment. The program takes a file and runs a given XPath
query. 

Best Regards,
Gerd

--
________________________________________________________________
Gerd Mueller                                    gerd@smb-tec.com     
SMB GmbH                                  http://www.smb-tec.com