the following code
String query = "select $title $id from <#ri> where $member
<fedora-model:hasModel> <info:fedora/my:model> and $member <dc:title>
$title and $member <dc:identifier> $id";
FedoraClient fc = new FedoraClient(...);
HashMap<String, String> tMap = new HashMap<String, String>();
tMap.put("lang", "itql");
tMap.put("query", query);
TupleIterator itTuples = fc.getTuples(tMap);
generates in fc.getTuples(tMap)
java.io.IOException: Error getting tuple iterator: Error parsing
at fedora.client.FedoraClient.getTuples(FedoraClient.java:685)
i am not sure what it tries to parse, FedoraClient defines
684 } catch (TrippiException e) {
685 throw new IOException("Error getting tuple iterator: "
686 + e.getMessage());
and either the message gets cut off or it is that uninformative to start
with.
anyway, with the risearch-servlet the query works like a charm, so it must
be something else.
how do i solve the mystery?
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users