Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Psychopath XPath 2.0

That was exactly the mistake I did. Thank you for pointing that out. After removing  
"import com.sun.org.apache.xerces.internal.xs.ElementPSVI;
import com.sun.org.apache.xerces.internal.xs.XSModel;
import com.sun.xml.internal.ws.api.pipe.Engine;
"
these imports code worked fine. 

Thank you.

Regards
Asiri


On Wed, Sep 11, 2013 at 5:22 PM, Jesper Steen Møller <jesper@xxxxxxxxxxxxx> wrote:

On 11/09/2013, at 13.08, Asiri Liyana Arachchi wrote:

I've downloaded Psychopath and other dependencies and checked it with using the code provided here [1] for non schema aware processing. It shows two errors 
1) constructor Engine is undefined. 
2)The method parseExpression(String, StaticContextBuilder) is undefined for the type Engine


I'm guessing you've imported the wrong 'Engine' class. You need org.eclipse.wst.xml.xpath2.processor.Engine. it looks like you have com.sun.xml.internal.ws.api.pipe.Engine instead.


Is there a mailing list to get help for psychopath processor issues? 

There is a forum for WTP [1], but with very little XPath2 contents, so I don't watch it regularly. If you post your XPath2 implementation questions  there, please send me a mail to let me know to look there. Or - for more general XPath2 usage questions, you should consider using StackOverflow, there are many helpful souls out there, too.


-Jesper


_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev



Back to the top