[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qexo-general] Distinct-values and bugs in the http://www.gnu.org/softwa
From: |
Federico Michele Facca |
Subject: |
[Qexo-general] Distinct-values and bugs in the http://www.gnu.org/software/qexo/Running.html |
Date: |
Sat, 1 Mar 2003 11:26:30 +0100 |
Isn't the command distinct-values supported?!
I get errors when i try query containing this xquery command.
I'm using the cvs version.
>From http://www.gnu.org/software/qexo/Running.html
"If the XQuery program is in a file, rather than a String, you can use an eval
method that takes a Reader.
xq.eval (new FileReader("file.xql"), new XMLPrinter(System.out));"
That's not actually true... it gives some cast error at runtime.
The solution is to create a reader that parse the file and create a string
that then is passed to eval instead of the FileReader.
BR,
Federico Facca
site: http://chicco.grafedi.it
mobile: +393284087745
---------------------------------------------------------------
"A rock pile ceases to be a rock pile the moment a single man contemplates it,
bearing within him the image of a cathedral."
Antoine de Saint-Exupery
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qexo-general] Distinct-values and bugs in the http://www.gnu.org/software/qexo/Running.html,
Federico Michele Facca <=