Error creating xercesc dom parser object
<p>I am trying to create an Xercesc DOM Parser in my code and for some reason and try to instiate an XercescDOM object I get a NULL pointer returned. I am using xercesc version 2.8
Here the code.</p>

<pre><code>using namespace xercesc;
int main(int argc, char*argv[])
{
try
{
    XMLPlatformUtils::Initialize();
}
catch (const XMLException&amp; e) 
{
    char* errMsg = XMLString::transcode(e.getMessage());
    cout &lt;&lt; "Problem initializing parser: " &lt;&lt; errMsg;
    XMLString::release(&amp;errMsg);
}

XercesDOMParser* parser = new XercesDOMParser();
if (!parser)
    cout &lt;&lt; "Failed to create parser";
}
</code></pre>
