You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Kanarinka <ka...@ikatun.com> on 2002/04/30 17:06:33 UTC

Notification for malformed xpath queries?

Hello --

I am running xpath queries against a Xindice database through the
command line tools and through java. I am wondering if there is a way
that I can get xindice to throw an exception when the xpath query is not
well-formed. The current behavior seems to be that it simply returns an
empty result set (in java) or prints nothing (command line tools).

It would be nice to see it behave like java.sql where a SQLException is
thrown when there is a malformed SQL command. Is there a way to "turn
on" exception throwing of this sort for xindice xpath queries?  

Thanks for any help/pointers!
catie d'ignazio