You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Michal Plechawski <mi...@empolis.pl> on 2004/04/08 13:08:13 UTC

V2 and missing xqrl.jar?

Hi,

I am trying to use XMLBeans for selecting objects from XML doc using XQuery.
However, I have encountered the 'java.lang.UnsupportedOperationException:
This query is too complex to be processed.' exception.
I found on this list archive, that it's due to some V1 problems with missing
xqrl.jar, but the message was it works in V2. So I switched to V2 and got
exactly the same exception.
Looking at the V2 XqrlDelegate code, it seems that there is still looking
for XqrlImpl class just like in V1, so I can't see any change here?
The query I'm trying to run is quite simple, something like:
"$this/record/player[contains(., 'Peter')]".
I have included the following jars in my classpath: jsr173_api.jar,
jsr173.jar, jsr173_ri.jar, resolver.jar, xbean.jar, jaxen-1.1-beta-2.jar.
Any suggestions? Am I doing something wrong?

Best regards,
Michal





- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


XPath support limitations? (was: V2 and missing xqrl.jar?)

Posted by Michal Plechawski <mi...@empolis.pl>.
Hi,

Ok, I have figured out my problem - I didn't build xbean_xpath.jar and also
didn't include it into classpath.
But after doing this, it seems that there is a number of problems with
current impl:
  - namespaces in Jaxen are not supported (using 'declare namespace' with
constructs like '[1]' in queries does not work at all)
  - 'or' operator is not supported (some class cast exceptions).
Is it true? Are there any plans on when it will be fixed?

Best regards,
Michal

----- Original Message -----
From: "Michal Plechawski" <mi...@empolis.pl>
To: <xm...@xml.apache.org>
Sent: Thursday, April 08, 2004 1:08 PM
Subject: V2 and missing xqrl.jar?


> Hi,
>
> I am trying to use XMLBeans for selecting objects from XML doc using
XQuery.
> However, I have encountered the 'java.lang.UnsupportedOperationException:
> This query is too complex to be processed.' exception.
> I found on this list archive, that it's due to some V1 problems with
missing
> xqrl.jar, but the message was it works in V2. So I switched to V2 and got
> exactly the same exception.
> Looking at the V2 XqrlDelegate code, it seems that there is still looking
> for XqrlImpl class just like in V1, so I can't see any change here?
> The query I'm trying to run is quite simple, something like:
> "$this/record/player[contains(., 'Peter')]".
> I have included the following jars in my classpath: jsr173_api.jar,
> jsr173.jar, jsr173_ri.jar, resolver.jar, xbean.jar, jaxen-1.1-beta-2.jar.
> Any suggestions? Am I doing something wrong?
>
> Best regards,
> Michal
>
>
>
>
>
> - ---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>
>



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


XPath support limitations? (was: V2 and missing xqrl.jar?)

Posted by Michal Plechawski <mi...@empolis.pl>.
Hi,

Ok, I have figured out my problem - I didn't build xbean_xpath.jar and also
didn't include it into classpath.
But after doing this, it seems that there is a number of problems with
current impl:
  - namespaces in Jaxen are not supported (using 'declare namespace' with
constructs like '[1]' in queries does not work at all)
  - 'or' operator is not supported (some class cast exceptions).
Is it true? Are there any plans on when it will be fixed?

Best regards,
Michal

----- Original Message -----
From: "Michal Plechawski" <mi...@empolis.pl>
To: <xm...@xml.apache.org>
Sent: Thursday, April 08, 2004 1:08 PM
Subject: V2 and missing xqrl.jar?


> Hi,
>
> I am trying to use XMLBeans for selecting objects from XML doc using
XQuery.
> However, I have encountered the 'java.lang.UnsupportedOperationException:
> This query is too complex to be processed.' exception.
> I found on this list archive, that it's due to some V1 problems with
missing
> xqrl.jar, but the message was it works in V2. So I switched to V2 and got
> exactly the same exception.
> Looking at the V2 XqrlDelegate code, it seems that there is still looking
> for XqrlImpl class just like in V1, so I can't see any change here?
> The query I'm trying to run is quite simple, something like:
> "$this/record/player[contains(., 'Peter')]".
> I have included the following jars in my classpath: jsr173_api.jar,
> jsr173.jar, jsr173_ri.jar, resolver.jar, xbean.jar, jaxen-1.1-beta-2.jar.
> Any suggestions? Am I doing something wrong?
>
> Best regards,
> Michal
>
>
>
>
>
> - ---------------------------------------------------------------------
> To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
> Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/
>
>



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/