xml-xalan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Lo" <ian...@pacific.net.sg>
Subject Xalan 1.4 and Xerces 2.1.0 - Problem with strings....
Date Wed, 12 Mar 2003 10:13:29 GMT
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
Mime
View raw message