You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Celinio Fernandes <cf...@pagesjaunes.fr> on 2005/08/10 11:06:49 UTC

RE : No query engine found

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:Don.Stewart@corizon.com] 
Envoyé : mercredi 10 août 2005 10:16
À : user@xmlbeans.apache.org
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:cel975@wanadoo.fr] 
Sent: 10 August 2005 06:33
To: user@xmlbeans.apache.org
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: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


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


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


SAXON and XQuery processor

Posted by Celinio Fernandes <cf...@pagesjaunes.fr>.
Hi,
I thought Saxon was open source but it is not.

Do you guys know another Xquery processor, open source and then free of
charges ?

Thanks


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