Are you sure? I just did a build of XMLBeans an inserted a println in Query:
try
{
Class xqrlImpl = Class.forName(
"org.apache.xmlbeans.impl.newstore2.XqrlImpl" );
_xqrlCompileQuery =
xqrlImpl.getDeclaredMethod(
"compileQuery", new Class[] { String.class,
String.class, Boolean.class } );
}
catch ( ClassNotFoundException e )
{
System.err.println("class not found");
return null;
}
catch ( Exception e )
{
throw new RuntimeException( e.getMessage(), e );
}
if I execute execQuery now, I get the message class not found. The source
code has been checked out today.
Harald Meyer
> -----Original Message-----
> From: Yana Kadiyska [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 22, 2005 9:00 PM
> To: [email protected]
> Subject: RE: Where is XqrlImpl?
>
> You don't need XqrlImpl. What you need is the Saxon jar
> (8.1.1) and xbean_xpath.jar (that should be in your lib directory)
>
> Also, looking at the stack trace, looks like you're using the
> binary distribution -- if you continue to have trouble with
> it (which you
> shouldn't) please try the source checkout if possible
>
> Yana
>
> -----Original Mesage-----
> From: Harald Meyer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 22, 2005 12:00 PM
> To: [email protected]
> Subject: Where is XqrlImpl?
>
> Hi,
>
> I am trying to get XML Query running with XMLBeans 2, but was
> not successful ("no query engine"). I added Saxon (I used
> 8.1.1, 8.2 and 8.4) to the classpath without success. Which
> jars are exactly necessary?
>
> In the implementation of Query a lookup for Class.forName(
> "org.apache.xmlbeans.impl.newstore2.XqrlImpl" ); is
> performed. Where do I find this class?
>
> Best regards,
> Harald Meyer
>
>
> ---------------------------------------------------------------------
> 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]