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/15 14:57:33 UTC

[jira] [Created] (JENA-1157) SELECT ( (?x+1) AS ?x ) {} should be a parse error.

Andy Seaborne created JENA-1157:
-----------------------------------

             Summary: 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
            Priority: Minor


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)