You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Rob Vesse (JIRA)" <ji...@apache.org> on 2014/09/11 11:53:33 UTC
[jira] [Created] (JENA-784) NodeUtils.compareRDFTerms() does not
handle variable nodes
Rob Vesse created JENA-784:
------------------------------
Summary: NodeUtils.compareRDFTerms() does not handle variable nodes
Key: JENA-784
URL: https://issues.apache.org/jira/browse/JENA-784
Project: Apache Jena
Issue Type: Bug
Components: ARQ
Affects Versions: Jena 2.12.0
Reporter: Rob Vesse
Assignee: Rob Vesse
Fix For: Jena 2.12.1
{{NodeUtils.compareRDFTerms()}} does not cope with variable nodes e.g.
{noformat}
Node x = NodeFactory.createVariable("x");
Node y = NodeFactory.createVariable("y");
// This produces an ARQ internal error
int compare = NodeUtils.compareRDFTerms(x, y);
{noformat}
I would propose that we add support for comparing variable nodes making them less than blank nodes in the overall ordering
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)