Brandon White wrote:
> You're right that for simple applications, this would be entirely
> acceptable. But what happens when the app you're talking about uses
> several components in-proc that use Xerces for entirely different and
> separate reasons. Those components do not have any knowledge of the
> other components and what they use Xerces for (and they _shouldn't_
> have to know. It's internal to the logic of the component.). This
> isn't a hypothetical example. It's a situation that occurs in the
> software that I work on right now.
Hi Brandon,
thanks for your detailed explanation. You are right, if you deal with
software components, the situation is quite different.
However, libxerces is not a software component, but a library. And it is
clearly documented that a pre-condition for using it's functionality, is
that it has to be initialized exactly once. The way you *want* to use it
is not recommended.
So, in fact you need a software component that offers the same
functionality as the xerces library does. What about creating a software
component as a wrapper for libxerces that assures it's atomic
initialization?
Regards,
Axel
--
Humboldt-Universit�t zu Berlin
Institut f�r Informatik
Signalverarbeitung und Mustererkennung
Dipl.-Inf. Axel Wei�
Rudower Chaussee 25
12489 Berlin-Adlershof
+49-30-2093-3050
** www.freesp.de **
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]