Project

Profile

Help

Revision a69dd173

Added by O'Neil Delpratt 6 months ago

Saxon/C update

View differences:

src/main/c/Saxon.C.API/Xslt30Processor.cpp
132 132

  
133 133

  
134 134
void Xslt30Processor::clearParameters(bool delValues) {
135

  
135 136
	if(delValues){
136 137
       		for(std::map<std::string, XdmValue*>::iterator itr = parameters.begin(); itr != parameters.end(); itr++){
137 138
			
......
323 324
						SaxonProcessor::sxn_environ->env->NewStringUTF(cwdXT.c_str()),
324 325
						node->getUnderlyingValue(), jitCompilation, comboArrays.stringArray, comboArrays.objectArray));
325 326
		if (!executableObject) {
326
			proc->checkAndCreateException(cppClass);
327
			exception = proc->checkAndCreateException(cppClass);
327 328
			return nullptr;
328 329
		}
329 330
		if (comboArrays.stringArray != nullptr) {
......
363 364
						SaxonProcessor::sxn_environ->env->NewStringUTF(cwdXT.c_str()),
364 365
						SaxonProcessor::sxn_environ->env->NewStringUTF(source), jitCompilation, comboArrays.stringArray, comboArrays.objectArray));
365 366
		if (!executableObject) {
366
			proc->checkAndCreateException(cppClass);
367
			exception = proc->checkAndCreateException(cppClass);
367 368
     		return nullptr;
368 369
		}
369 370
		if (comboArrays.stringArray != nullptr) {
......
407 408
                                                                           stylesheet), jitCompilation,
408 409
                                                                   comboArrays.stringArray, comboArrays.objectArray));
409 410
        if (!executableObject) {
410
            proc->checkAndCreateException(cppClass);
411
            exception = proc->checkAndCreateException(cppClass);
411 412
            return nullptr;
412 413

  
413 414
        }

Also available in: Unified diff