[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Incompatibility ant saxon8 (xpath)?

Hi,

I have a Java application that uses XmlBeans to generate classes from schemas and has an XPath selection.

If I launch this application with the ant included into Eclipse, I get the following error [java] java.lang.RuntimeException: Trying XBeans path engine... Trying XQRL... Trying Saxon... FAILED on ../..
[java] at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:131)
[java] at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:91)
[java] at org.apache.xmlbeans.impl.store.Cursor._selectPath(Cursor.java:890)
[java] at org.apache.xmlbeans.impl.store.Cursor.selectPath(Cursor.java:2622)
[java] at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:430)
[java] at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:414)


If I launch it using eclipse only, it is working fine.

I guess there are some incompatibilities between the Saxon8.1.b and the libraries of the ant plugin needed to interpret the ant file.

What do you think? I do not see how to solve this problem. Any help would be very much appreciated. Thanks a lot in advance for any help

Carine

-------------------------
Configuration
Eclipse 3.3
ant 1.7
Java 1.6.0_02
Saxon 8.1.b