You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by "Jones, Damon" <da...@lmco.com> on 2005/04/25 23:12:27 UTC

No query engine found

> I am using xmlbeans 2.0.0 and trying to run the executeQuery() method on an XMLObject in my program and I keep getting this error message:
> 
> 
> java.lang.RuntimeException: No query engine found
> 	at org.apache.xmlbeans.impl.newstore2.Query.getCompiledQuery(Query.java:97)
> 	at org.apache.xmlbeans.impl.newstore2.Query.getCompiledQuery(Query.java:53)
> 	at org.apache.xmlbeans.impl.newstore2.Query.objectExecQuery(Query.java:43)
> 	at org.apache.xmlbeans.impl.newstore2.Xobj.exec_query(Xobj.java:2300)
> 	at org.apache.xmlbeans.impl.values.XmlObjectBase.execQuery(XmlObjectBase.java:476)
> 	at org.apache.xmlbeans.impl.values.XmlObjectBase.execQuery(XmlObjectBase.java:458)
> 	at com.abcd.ABCDTest.main(ABCDTest.java:34)
> Exception in thread "main" 
> 
> 
> The saxon8.jar is included in my classpath as a query engine, but it doesn't seem to catch it. I execute the command line below:
> 
> C:\j2sdk1.4.2_04\bin\java.exe -classpath C:\JavaDev\xmlbeans-2.0.0-beta1\lib\xbean.jar;C:\JavaDev\xmlbeans-2.0.0-beta1\lib\jsr173_api.jar;C:\JavaDev\Saxon\saxon8.jar;C:\JavaDev\xmlbeans-2.0.0-beta1\ABCD\abcd_inputs.jar;. com.abcd.ABCDTest ..\inputs.xml
> 
> Am I using the right Saxon library?
> 
> Damon

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org