Hi, Thanks. No, I do not have it in my classpath. I thought that every jar I need was included in the Xmlbeans libs.
-----Message d'origine----- De : Don Stewart [mailto:[EMAIL PROTECTED] Envoyé : mercredi 10 août 2005 10:16 À : [email protected] Objet : RE: No query engine found Celinio, Are you sure that the Saxon 8.1 jar is on you classpath. Xmlbeans needs this as it's Xquery engine. Rgards Don -----Original Message----- From: Celinio Fernandes [mailto:[EMAIL PROTECTED] Sent: 10 August 2005 06:33 To: [email protected] Subject: No query engine found Hi, I do not understand this error, can anyone tell me what am i doing wrong here please ? Thanks java.lang.RuntimeException: No query engine found at org.apache.xmlbeans.impl.store.Query.getCompiledQuery(Query.java:97) at org.apache.xmlbeans.impl.store.Query.getCompiledQuery(Query.java:53) at org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:48) at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1328) at org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1323) at org.apache.xmlbeans.impl.store.Cursor.execQuery(Cursor.java:3814) at Conversion.parse(Conversion.java:432) at Conversion.main(Conversion.java:149) Exception in thread "main" Here is my code: XmlObject resultXml =null; IOS lios = lesepjs[i].getIOS(); XmlCursor curs = lios.newCursor(); String queryText = "$this:IOS/IO/LO_CO_IDG"; XmlCursor resultCursor = curs.execQuery(queryText); // <============= line 432 if (resultCursor.getSelectionCount() > 0) { resultXml = resultCursor.getObject(); System.out.println(resultXml.toString()); resultCursor.dispose(); } curs.dispose(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

