Hi,
I'm using xerces 2.2 to access to a xml tree and I need to support xpath in my library. I'm trying to use xalan to do it but I'm having problems.
The example XPathWrapper throw a exception when it finishes.
When I put the code of the XPathWrapper in my library (I copy it directly and I hardcode the parameters) a assertion ocurrs but before it does in the sample. It throw it (abnormal program termination) in this line:
 
theXPathProcessor.initXPath( ... )
 
I tried to change the project configuration (I copy the configuration from the XPathWrapper) but I cannot make my library behave as the sample (it throw the exception before).
I copy all my code to the XPathWrapper project and it throw the exception at the end as before, so there must be a problem in my project but all its configuration was copied.
So, I have 2 problems:
1) the XPathWrapper sample throws a exception after calling   XMLPlatformUtils::Terminate(); when the objects are destroyed.
2) my library throws a exception in the begining as specified above.
 
Pablo

Reply via email to