xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stricker <Michael.Stric...@informatik.uni-ulm.de>
Subject XPathException: #NUMBER kann nicht in NodeList konvertiert werden!
Date Fri, 20 Jun 2003 15:09:46 GMT

I'm just doing practical training on xml-databases/Xindice. I do some 
benchmarks using XMark.
I've converted a part of the  XQuery queries of the XMark-benchmark into 
XPath queries. Some work correct but if I execute the following queries 
an exception is thrown on the server(!) side:

1) Query=count(/site/closed_auctions/closed_auction/price[.>40])
2) Query=count(/site/regions//item)
3) Query=count(//description) + count(//mail) + count(//email)

The occuring exception on the server side:

org.apache.xpath.XPathException: #NUMBER kann nicht in NodeList 
konvertiert werden!
    at org.apache.xpath.objects.XObject.error(XObject.java:718)
    at org.apache.xpath.objects.XObject.nodeset(XObject.java:448)

Two other queries return no results but they should:

4) Query=/site/regions//item[description~='gold']/name
 > 0]/seller/@person

(at least no errors occur)

What's wrong with all these queries? Is this a bug?
By the way, does anybody know if Xindice provides full support of XPath?

I use xindice1.0, jdk1.4, windows professional 2000.

Thanks for your help,


View raw message