[
https://issues.apache.org/jira/browse/JENA-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne updated JENA-783:
-------------------------------
Description:
{noformat}
SELECT * {
BIND(1 AS ?s)
{}
BIND(2 AS ?w)
}
{noformat}
qparse --print=op
{noformat}
gives
{noformat}
\*\*\*\* Check failure: reparsed algebra expression does not equal query algebra
{noformat}
because the empty graph pattern has been simplified away.
The algebra reparsed is correct.
was:
{noformat}
SELECT * {
BIND(1 AS ?s)
{}
BIND(2 AS ?w)
}
{noformat}
qparse --print=op
{noformat}
gives
{noformat}
**** Check failure: reparsed algebra expression does not equal query algebra
{noformat}
because the empty graph pattern has been simplified away.
The algebra reparsed is correct.
> qparse detects inconsistency on multiple BIND separated by {}
> -------------------------------------------------------------
>
> Key: JENA-783
> URL: https://issues.apache.org/jira/browse/JENA-783
> Project: Apache Jena
> Issue Type: Improvement
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Minor
>
> {noformat}
> SELECT * {
> BIND(1 AS ?s)
> {}
> BIND(2 AS ?w)
> }
> {noformat}
> qparse --print=op
> {noformat}
> gives
> {noformat}
> \*\*\*\* Check failure: reparsed algebra expression does not equal query
> algebra
> {noformat}
> because the empty graph pattern has been simplified away.
> The algebra reparsed is correct.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)