Project

Profile

Help

Revision 339c45ee

Added by Dave Delpratt 5 months ago

Saxon/C development - fixes for testXQuery

View differences:

src/main/c/samples/cppTests/testXQuery.cpp
1

  
1 2
#include "../../Saxon.C.API/SaxonProcessor.h"
2 3
#include "../../Saxon.C.API/XdmValue.h"
3 4
#include "../../Saxon.C.API/XdmItem.h"
......
68 69
        cout<<"The file $filename does not exist"<<endl;
69 70

  
70 71
    }
71
    cerr<<"testXQuery1 cp0"<<endl;
72 72
    queryProc->clearParameters();
73
    cerr<<"testXQuery1 cp0"<<endl;
74 73
    queryProc->clearProperties();
75 74

  
76 75
}
......
378 377
		}
379 378
	
380 379
    }
381
	delete processor;
382 380
    delete queryProc;
383 381

  
384 382
}
......
418 416

  
419 417
    testXQueryError2(processor, query,sresult);
420 418

  
421

  
422
#ifdef MEM_DEBUG
423
    SaxonProcessor::getInfo();
424
#endif
425 419
    cout<<endl<<"============================================================="<<endl<<endl;
426
    /*testDefaultNamespace(processor, query,sresult);
420
    testDefaultNamespace(processor, query,sresult);
427 421

  
428 422
    cout<<endl<<"============================================================="<<endl<<endl;
429 423
    testReusability(processor, sresult);
430 424
    cout<<endl<<"============================================================="<<endl<<endl;
431 425
    testXQueryLineNumberError(query,sresult);
432 426
    cout<<endl<<"============================================================="<<endl<<endl;
433
    testXQueryLineNumber(processor, sresult);*/
434
cerr<<"testXquery cp0"<<endl;
427
    testXQueryLineNumber(processor, sresult);
428

  
435 429
    delete query;
436
    cerr<<"testXquery cp0"<<endl;
437 430

  
438 431
    delete processor;
439
    cerr<<"testXquery cp0"<<endl;
440 432
    processor->release();
441 433

  
442 434
#ifdef MEM_DEBUG

Also available in: Unified diff