[ 
https://issues.apache.org/jira/browse/JENA-1355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036205#comment-16036205
 ] 

ASF subversion and git services commented on JENA-1355:
-------------------------------------------------------

Commit ae82c1582039314e1290a46ba431feaf7fe666ea in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=ae82c15 ]

JENA-1355: Merge commit 'refs/pull/258/head' of github.com:apache/jena

This closes #258.


> 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
>
> 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)

Reply via email to