[
https://issues.apache.org/jira/browse/JENA-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Vesse closed JENA-784.
--------------------------
> 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
>
> Attachments: JENA-784.patch
>
>
> {{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)