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/XsltProcessor.cpp
96 96
}
97 97

  
98 98
void XsltProcessor::setProperty(const char* name, const char* value) {
99
	properties.insert(std::pair<std::string, std::string>(std::string(name), std::string(value)));
99
#ifdef DEBUG	
100
	if(value == NULL) {
101
		std::cerr<<"XSLTProc setProperty is NULL"<<std::endl;
102
	}
103
#endif
104
	properties.insert(std::pair<std::string, std::string>(std::string(name), std::string((value == NULL ? "" : value))));
100 105

  
101 106
}
102 107

  

Also available in: Unified diff