Project

Profile

Help

Revision a65b315b

Added by O'Neil Delpratt almost 6 years ago

Saxon/C bug fixes. Some relating to environemtn path memory corruption

View differences:

latest9.6/hec/Saxon.C.API/XPathProcessor.cpp
365 365
}
366 366

  
367 367
void XPathProcessor::setProperty(const char * name, const char * value) {
368
	properties.insert(std::pair<std::string, std::string>(std::string(name), std::string(value)));
368
#ifdef DEBUG	
369
	if(value == NULL) {
370
		std::cerr<<"XPathProc setProperty is NULL"<<std::endl;
371
	}
372
#endif
373
	properties.insert(std::pair<std::string, std::string>(std::string(name), std::string((value == NULL ? "" : value))));
369 374
}
370 375

  
371 376
void XPathProcessor::clearParameters(bool delVal) {

Also available in: Unified diff