Does anyone know where the problem
is here ?
I checked the archive on this
mailing list and found the same question but with no
answer.
I installed saxon8.jar in the
classpath and it still gives me the same error.
Exception in thread "main"
java.lang.RuntimeException: No query engine foundat 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)From: "D'Cotta, Daniel"
<[EMAIL PROTECTED]>
Subject: RE: [XMLBean] selectPath() with XMLBeans 2.0.0-beta1 integration with Saxon-B 8.3
Date: Wed, 16 Mar 2005 09:48:27 GMT
Prev Next Prev by Thread Next by Thread
Subject: RE: [XMLBean] selectPath() with XMLBeans 2.0.0-beta1 integration with Saxon-B 8.3
Date: Wed, 16 Mar 2005 09:48:27 GMT
Prev Next Prev by Thread Next by Thread
Thanks for replying Susanna. > http://prdownloads.sourceforge.net/saxon/saxonb8-2.zip OK, I downloaded the above version and tried using "saxon8.jar" as a = library in my Eclipse project; but still received the same error.
-----Original Message----- From: Susanna Sj=F6holm [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 5:17 PM To: '[email protected]' Subject: RE: [XMLBean] selectPath() with XMLBeans 2.0.0-beta1 = integration with Saxon-B 8.3 I think it has to be Saxon 8.2. It can be downloaded from: http://sourceforge.net/project/showfiles.php?group_id=3D29872 And you should only need saxon8.jar. /Susanna > -----Original Message----- > From: D'Cotta, Daniel [mailto:[EMAIL PROTECTED] > Sent: den 16 mars 2005 10:05 > To: [email protected] > Subject: RE: [XMLBean] selectPath() with XMLBeans 2.0.0-beta1 > integration with Saxon-B 8.3 >=20 >=20 > Update: >=20 > I tried .execQuery() and got the below error... >=20 > Exception in thread "main" java.lang.RuntimeException: No query engine > found > at > org.apache.xmlbeans.impl.newstore2.Query.getCompiledQuery(Quer > y.java:97) > at > org.apache.xmlbeans.impl.newstore2.Query.getCompiledQuery(Quer > y.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(XmlObj > ectBase.ja > va:476) > at > org.apache.xmlbeans.impl.values.XmlObjectBase.execQuery(XmlObj > ectBase.ja > va:458) >=20 > I think this confirms my suspicion that I did not configure Saxon > correctly. Any help would be most appreciated. Thanks in advance! >=20 >=20 > Regards, > Daniel D'Cotta >=20 >=20 > -----Original Message----- > From: D'Cotta, Daniel=20 > Sent: Wednesday, March 16, 2005 3:30 PM > To: [email protected] > Subject: [XMLBean] selectPath() with XMLBeans 2.0.0-beta1 integration > with Saxon-B 8.3 >=20 > Hi all, >=20 > First off, I would like to say hello to everyone on this list=20 > (my first > post here). >=20 > I just upgraded to XMLBeans 2.0.0-beta1 integration with Saxon-B 8.3 > (was previously using XMLBeans 1.x with Jaxen); but I have a feeling > that my application is not using Saxon for the XPath/XQuery in > selectPath(). >=20 > Is there some setting I need for this integra? >=20 > > Is selectPath(...) on XmlObject and XmlCursor working?=20 > > XmlBeans has a built in engine for very simple XPath expressions. > > To use more advanced XPath or XQuery expressions in 2.0.0-beta1, > > you will need Saxon (version 8.2) on the classpath.=20 >=20 > I am using Eclipse 3.1 and have added all the Saxon .jars (saxon8.jar, > saxon8-dom.jar, saxon8-jdom.jar, saxon8-sql.jar, saxon8-xom.jar and > saxon8-xpath.jar) to my project's libraries. I assume that I=20 > do not need > to use CLASS_PATH environment setting since I am running=20 > within Eclipse, > correct? Or do I need the Saxon 8.2 (which I could not find=20 > the link to > download)?=20 >=20 >=20 >=20 > Here is the error that I got after upgrading to XMLBeans 2.x=20 > (however it > worked in XMLBeans 1.x), so makes me think that my application is not > using Saxon. >=20 > Exception in thread "main" java.lang.RuntimeException: Path=20 > too complex > for xmlbeans: transformation-rule[source-action=""> > at > org.apache.xmlbeans.impl.newstore2.Path.getCompiledPath(Path.java:156) > at > org.apache.xmlbeans.impl.newstore2.Path.getCompiledPath(Path.java:89) > at > org.apache.xmlbeans.impl.newstore2.Cursor._selectPath(Cursor.java:860) > at > org.apache.xmlbeans.impl.newstore2.Cursor.selectPath(Cursor.java:2588) > at > org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlOb > jectBase.j > ava:427) > at > org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlOb > jectBase.j > ava:411) > at > org.rosettanet.transformation.TransformationUtil.singleSelectP > ath(Transf > ormationUtil.java:103) > at > org.rosettanet.transformation.impl.TransformerImpl.getTransfor > mationRule > (TransformerImpl.java:74) > at > org.rosettanet.transformation.impl.TransformerImpl.main(Transf > ormerImpl. > java:131) >=20 > Any information on integrating with Saxon is welcomed. >=20 > Thanks in advance. >=20 >=20 > Regards, > Daniel D'Cotta >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >=20 >=20 --------------------------------------------------------------------- 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]

