Project

Profile

Help

Revision 990eca02

Added by O'Neil Delpratt 6 months ago

Saxon/C memory management patches

View differences:

src/main/c/Saxon.C.API/Xslt30Processor.cpp
220 220
					"(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;)V");
221 221
	}
222 222
	if (!cAndSNodemID) {
223
		std::cerr<<"Error: "<<getDllname<<"compileFromStringAndSave funtion not found"<<std::endl;
223
		std::cerr<<"Error: "<<getDllname()<<"compileFromStringAndSave funtion not found"<<std::endl;
224 224

  
225 225
	} else {
226 226
        if(cppXT == nullptr) {
......
516 516
					"(Ljava/lang/String;Lnet/sf/saxon/option/cpp/Xslt30Processor;Lnet/sf/saxon/s9api/XsltExecutable;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/Object;)Lnet/sf/saxon/s9api/XdmValue;");
517 517
	}
518 518
	if (!mtvID) {
519
        std::cerr<<"Error: "<<getDllname<<".transformtoValue function not found"<<std::endl;
519
        std::cerr<<"Error: "<<getDllname()<<".transformtoValue function not found"<<std::endl;
520 520

  
521 521
	} else {
522 522
        if(cppXT == nullptr) {
......
605 605
					"(Ljava/lang/String;Lnet/sf/saxon/option/cpp/Xslt30Processor;Lnet/sf/saxon/s9api/XsltExecutable;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/Object;)V");
606 606
	}
607 607
	if (!mtfID) {
608
        std::cerr<<"Error: "<<getDllname<<".transformToFile function not found"<<std::endl;
608
        std::cerr<<"Error: "<<getDllname()<<".transformToFile function not found"<<std::endl;
609 609

  
610 610
	} else {
611 611
        if(cppXT == nullptr) {
......
652 652
					"(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;");
653 653
	}
654 654
	if (!mtsID) {
655
        std::cerr<<"Error: "<<getDllname<<".transformFileToString not found"<<std::endl;
655
        std::cerr<<"Error: "<<getDllname()<<".transformFileToString not found"<<std::endl;
656 656

  
657 657
	} else {
658 658
        if(cppXT == nullptr) {

Also available in: Unified diff