You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Terry Bass <TB...@corp.winfire.com> on 2001/02/08 00:56:16 UTC

Need Help with the XPathWrapper sample!

Xalan developer,

I have been trying to get the XPathWrapper sample to work on my WinNT
machine using
VC++ 6.0.  With some tweaking to find all the include files it needed I
finally got it to compile.
Unfortunately when I run it, it explodes on the Call to the const XObject*
xObj = contextXPath->execute(...).
Line 129 of the XPathWrapper.cpp file.

It finds a bad pointer and I get "Unhandled exception in TestDriver.exe
(XPATH.DLL): 0xC0000005: Access Violation."
When I run the already compiled version of "TestDriver.exe" that came in the
Xalan-C_1_0-win32.zip file I downloaded it works fine.
I am also using the libraries from "xerces-c1_3_0-win32.zip" file I
downloaded (if that helps).

I think that the XPathWrapper sample is exactly what I need to solve my
problems but I am dead in the water until I
figure this out. I have tried tweaking every parameter value and pointer
trying to figure this one out.

Can you help me?


Thanks in advance,
Terry Bass
Sr. Software Engineer
Winfire Inc. - offering FreeDSL
(V) 949.567.5381
(F) 949.724.4839
tbass@corp.winfire.com

...want free fast access to the net? Try  www.FreeDSL.com

Main's Law
    For every productive action there is an equal and
    opposite government program.