Hi,
how can I determine, if the XMLPlatformUtil s::Initialize() was already
called
or not ?
There is no static method XMLPlatformUtil s::isInitialize d(). Perhaps this
would be a nice feature in the next Xerces Release ?
For now, I have a little workaround. Because it is really necessary that
a TransService is loaded and XMLPlatformUtil s::fgTransServi ce is in any
case not NULL after Initialize() method was called, I use this behaviour and
always check for the public static member variable
XMLPlatformUtil s::fgTransServi ce.
If it's NULL then the the PlatformUtils was not initialized and if it's not
NULL,
then I think I can be sure, that the Initialize() was called.
Is this workaround okay or is there a nicer way ?
Best Regards,
Mario S.
how can I determine, if the XMLPlatformUtil s::Initialize() was already
called
or not ?
There is no static method XMLPlatformUtil s::isInitialize d(). Perhaps this
would be a nice feature in the next Xerces Release ?
For now, I have a little workaround. Because it is really necessary that
a TransService is loaded and XMLPlatformUtil s::fgTransServi ce is in any
case not NULL after Initialize() method was called, I use this behaviour and
always check for the public static member variable
XMLPlatformUtil s::fgTransServi ce.
If it's NULL then the the PlatformUtils was not initialized and if it's not
NULL,
then I think I can be sure, that the Initialize() was called.
Is this workaround okay or is there a nicer way ?
Best Regards,
Mario S.