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 2016/03/16 00:34:33 UTC
[jira] [Resolved] (JENA-1157) SELECT ( (?x+1) AS ?x ) {} should be
a parse error.
[ https://issues.apache.org/jira/browse/JENA-1157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-1157.
---------------------------------
Resolution: Fixed
Assignee: Andy Seaborne
Fix Version/s: Jena 3.1.0
> SELECT ( (?x+1) AS ?x ) {} should be a parse error.
> ---------------------------------------------------
>
> Key: JENA-1157
> URL: https://issues.apache.org/jira/browse/JENA-1157
> Project: Apache Jena
> Issue Type: Bug
> Components: ARQ
> Affects Versions: Jena 3.0.1
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Minor
> Fix For: Jena 3.1.0
>
>
> If ?x is used in the body, it does correctly
> {noformat}
> SELECT (?x+1 AS ?x) { BIND(1 AS ?x) }
> {noformat}
> so this
> {noformat}SELECT ( (?x+1) AS ?x ) {}{noformat}
> should ideally be a parse error.
> At the moment (3.0.1) it does not and ?x is not set so it's an eval failure with x still not set.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)