Hi,
 
I am having a runtime error at the following points:
 
....
const XalanDOMChar* const theSystemId = getSystemId();
if (theSystemId != 0)  {
            XMLURL theURL;
here-->  URISupport::getURLFromString(theSystemId, theURL);
            theResult = theURL.makeNewStream();
}
....
 
I traced the error to this function:
 
static void getURLFromString(const XalanDOMChar*  urlString,   XMLURL&     url)
{
here-->  url.setURL(getURLStringFromString(urlString).c_str());
}
It seems that the c_str() function keeps failing when trying to return:
 
const XalanDOMChar* c_str() const {
      invariants();
      return m_data.empty() == true ? &s_empty : &m_data[0];
here ->> }
 
Has anyone encountered this before? Or does any one know what went wrong?
 
Thanks very much!
 
Ian

Reply via email to