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

Rob Vesse resolved JENA-494.
----------------------------

       Resolution: Fixed
    Fix Version/s: Jena 2.11.2

Should now be fixed for most cases, the test given now works correctly

> Variables in SERVICE can be written by scoping transforms and not recovered.
> ----------------------------------------------------------------------------
>
>                 Key: JENA-494
>                 URL: https://issues.apache.org/jira/browse/JENA-494
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>            Assignee: Rob Vesse
>             Fix For: Jena 2.11.2
>
>
> {noformat}
> SELECT ?z
> {
>    SELECT ?z {
>       SERVICE <http://foo> { ?c ?p ?z }
>       ?c ?q ?z 
>    }
> }
> {noformat}
> ==>
> {noformat}
> (project (?z)
>   (project (?z)
>     (sequence
>       (service <http://foo>
>         (bgp (triple ?/c ?/p ?z)))
>       (bgp (triple ?/c ?/q ?z)))))
> {noformat}
> but the remote request is 
> {noformat}
> SELECT * { ?c ?p ?o }
> {noformat}
> so the {{?/c}} and {{?c}} do not join.  Note that {{?z}} is not renamed 
> because it emerges from the inner projection.
> From: 
> http://mail-archives.apache.org/mod_mbox/jena-users/201307.mbox/%3C20130717190649.GA25207%40netestate.de%3E
> Renaming is done by TransformScopeRename, looking for projections which are 
> not the top level as it walk back up the tree.  The renaming is done by 
> Rename.renameVars.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to