Hi All I am trying to evaluate an xpath expression using xalan. i'm using the xpathwrapper sample for this. i have a few questions -
it seems that the parserLiason, envSupport, constructionContext, documentWrapper, wrapperNavigator, and all other classes that are used as glue code should be "live" when we access the return value (xobject). if these objects are destroyed, the xobject return value is invalidated. if i return the xobject to some other class and the above mentioned objects are destroyed, i am unable to access the return value. so i've declared these as static. is this the way to use the lib? i get a lot of asserts while evaluating some expressions. the assertion looks like "node1.isIndexed() == true && node2.isIndexed() == true". I can avoid the assertions by modifying the xpath expression. but in some cases i just can't get rid of it. could you pls tell me the reason for this assert? Thanks, Jaspreet
