History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-541
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Arjohn Kampman
Reporter: Christiaan Fluit
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Sesame

Externally set bindings are erroneously included in query result

Created: 08/Apr/08 04:15 PM   Updated: 08/May/08 11:28 AM
Component/s: RDBMS Sail, Memory Sail, Native Sail
Affects Version/s: 2.0, 2.0.1
Fix Version/s: 2.1


 Description   
Variable bindings that are set using the setBinding(...) methods on org.openrdf.query.Query objects are erroneously included in the query result. For example, with the following code...

TupleQuery query = con.prepareTupleQuery(QueryLanguage.SERQL, "select Entity FROM {Entity} rdf:type {Class}");
query.setBinding("Class", RDFS.CLASS);
TupleQueryResult queryResult = query.evaluate();

...the "Class" binding is include in each BindingSet returned by the TupleQueryResult. One would expect that the returned BindingSet's would only include bindings for the "Entity" variable.

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.