You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2001/11/14 17:15:10 UTC
DO NOT REPLY [Bug 4869] New: -
Static DOMStrings wont initialize from char data
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4869>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4869
Static DOMStrings wont initialize from char data
Summary: Static DOMStrings wont initialize from char data
Product: Xerces-C++
Version: 1.5.2
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: DOM
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: Alex_Nevidomsky@ie.ibm.com
Static DOMString (const char*) will call getDomConverter(),
which crashes in case XMLPlatformUtils::fgTransService
is not initialized by XMLPlatformUtils::Initialize().
It is usually hard to assure that the last one is called before
of all constructors, if even possible.
proposed change:
XMLLCPTranscoder* getDomConverter()
{
if (!gDomConverter)
{
//to add---->
if(!XMLPlatformUtils::fgTransService)
XMLPlatformUtils::Initialize();
// <---------
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org