You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Lalit kumar <la...@mailpuppy.com> on 2006/08/28 05:28:01 UTC

problem with xmlbeans 2.2.0

I am facing problem with xmlbeans 2.2.0

this is my classpath:

.;C:\j2sdk1.4.2_12\lib;C:\j2sdk1.4.2_12\jre\lib;C:\xmlbeans\xmlbeans-2.2.0\lib\xbean_xpath.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\resolver.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\jsr173_1.0_api.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\xbean.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\xmlpublic.jar;C:\Saxonb8\saxon8-xpath.jar;C:\Saxonb8_2\saxon8-dom.jar;C:\Saxonb8_2\saxon8-sql.jar;C:\Saxonb8_2\saxon8-jdom.jar;C:\Saxonb8_2\saxon8-xom.jar;C:\Saxonb8_2\saxon8.jar

I am getting following error-

java.lang.RuntimeException: No query engine found.

Probbaly following code snnippet rais this error-

String queryExpression =

"for $e in $this/xq:employees/xq:employee " +

"let $s := $e/xq:address/xq:state " +

"where $s = 'WA' " +

"return $e//xq:phone[@location='work']";

XmlCursor resultCursor =

empCursor.execQuery(m_namespaceDeclaration + queryExpression);

Can anybody help me out, why such error occurs.

Thanks in adv.

Lalit Kumar


Lalit Kumar
Phone: 9881209069
-------------------------------------------------------------
          ,            ,
         /             \        .-.      * SOFTWARE
        ((__-^^-,-^^-__))      (. .)     * FREEDOM
         `-_---' `---_-'       / V \     * SHARING
          `--|o` 'o|--'       //   \\
             \  `  /         /(     )\     KNOWLEDGE IS POWER
              ): :(          '.^^_^^.'     SHARE IT EQUITABLY
              :o_o:           \_/ \_/
               "-"





________________________________________________________________________
________________________________________________________________________


-- 
-
Free Email at http://www.MailPuppy.com
- Fraud Warning:  Never accept foreign checks/money orders


Re: problem with xmlbeans 2.2.0

Posted by cbryant <cb...@solekai.com>.
I believe that XMLBeans 2.2.0 only works correctly with Saxon-B version
8.6.1.


Lalit kumar-3 wrote:
> 
> I am facing problem with xmlbeans 2.2.0
> 
> this is my classpath:
> 
> .;C:\j2sdk1.4.2_12\lib;C:\j2sdk1.4.2_12\jre\lib;C:\xmlbeans\xmlbeans-2.2.0\lib\xbean_xpath.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\resolver.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\jsr173_1.0_api.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\xbean.jar;C:\xmlbeans\xmlbeans-2.2.0\lib\xmlpublic.jar;C:\Saxonb8\saxon8-xpath.jar;C:\Saxonb8_2\saxon8-dom.jar;C:\Saxonb8_2\saxon8-sql.jar;C:\Saxonb8_2\saxon8-jdom.jar;C:\Saxonb8_2\saxon8-xom.jar;C:\Saxonb8_2\saxon8.jar
> 

-- 
View this message in context: http://www.nabble.com/problem-with-xmlbeans-2.2.0-tf2175105.html#a6023524
Sent from the Xml Beans - User forum at Nabble.com.


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