You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2017/06/04 08:16:04 UTC

[jira] [Resolved] (JENA-1355) Wrong determination of variables with property functions.

     [ https://issues.apache.org/jira/browse/JENA-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-1355.
---------------------------------
       Resolution: Fixed
    Fix Version/s: Jena 3.4.0

> Wrong determination of variables with property functions.
> ---------------------------------------------------------
>
>                 Key: JENA-1355
>                 URL: https://issues.apache.org/jira/browse/JENA-1355
>             Project: Apache Jena
>          Issue Type: Bug
>    Affects Versions: Jena 3.3.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 3.4.0
>
>
> Bug in {{VarFinder}}:
> {noformat}
> public static void main(String... args) {
>     String z = String.join("\n"
>                            ,"    (propfunc <http://example/pf>"
>                            ,"      ?x (?y 1)"
>                            ,"      (table unit))"
>                            );
>     vfind(z);                         
> }
> public static void vfind(String z) {
>     Op op = SSE.parseOp(z);
>     System.out.println(op);
>     VarFinder vf = VarFinder.process(op);
>     System.out.println(vf);
> }
> {noformat}
> prints
> {noformat}
> (propfunc <http://example/pf>
>   ?x (?y 1)
>   (table unit))
> Fixed:[?y], Filter:[], Filter2:[], Opt:[], Assign:[]
> {noformat}
> should be
> {noformat}
> Fixed:[?x, ?y], Filter:[], Filter2:[], Opt:[], Assign:[]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)