Ok that explains a lot :) I was using an old cvs location (cvs.apache.org)
which seems to contain an outdated version. Now it works fine. 

Thanks a lot,
Harald Meyer
 

> -----Original Message-----
> From: Yana Kadiyska [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 22, 2005 9:22 PM
> To: [email protected]
> Subject: RE: Where is XqrlImpl?
> 
> Yes, I am sure ;)
> Where are you checking the source out of?
> Here is a link to the current file that Subversion has 
> http://svn.apache.org/viewcvs.cgi/xmlbeans/trunk/src/store/org
> /apache/xm
> lbeans/impl/store/Query.java?rev=189996&view=markup
> Notice that there is no mention of newstore2 at all -- we 
> renamed that package to store about a month or two ago.
> If you have the source and you type svn info you should see a 
> revision number higher or equal to 189996
> 
> Please make sure to checkout instructions on grabbing the latest bits
> here:
> http://xmlbeans.apache.org/sourceAndBinaries/index.html#XMLBea
> ns+Source
> 
> -----Original Message-----
> From: Harald Meyer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 22, 2005 12:19 PM
> To: [email protected]
> Subject: RE: Where is XqrlImpl?
> 
> 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]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to