Project

Profile

Help

Revision 5d25f10d

Added by O'Neil Delpratt 5 months ago

Saxon/C development - XPath tests

View differences:

src/main/c/Saxon.C.API/XPathProcessor.h
33 33
    */
34 34
    XPathProcessor();
35 35

  
36
    ~XPathProcessor(){
37
	clearProperties();
38
	clearParameters(false);
39
	//delete contextItem;
40
    }
36
    ~XPathProcessor();
41 37

  
42 38
    //! Constructor with the SaxonProcessor supplied.
43 39
    /*!
......
227 223
    */
228 224
    const char * getErrorCode();
229 225

  
230
     //! Check for exception thrown.
231
	/**
232
	* @return char*. Returns the exception message if thrown otherwise return nullptr
233
	*/
234
    const char* checkException();
235 226

  
236 227
    //! Get the SaxonApiException object created when we have an error
237 228
    /**
......
241 232
     */
242 233
    SaxonApiException * getException();
243 234

  
244

  
245 235
private:
236

  
237
    void createException(const char * message=nullptr);
238

  
246 239
	SaxonProcessor * proc;
247
	XdmItem * contextItem;
248 240
        std::string cwdXP; /*!< current working directory */
249 241
	jclass  cppClass;
250 242
	jobject cppXP;

Also available in: Unified diff