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]

Reply via email to