You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2012/12/06 19:51:09 UTC

[jira] [Commented] (JENA-361) Printing queries restarts the bNode labels inside subqueries.

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

Hudson commented on JENA-361:
-----------------------------

Integrated in Jena__Development_Test #316 (See [https://builds.apache.org/job/Jena__Development_Test/316/])
    JENA-361 - Printing subqueries was not based on the same print context leading to mis-reuse of bNode labels. (Revision 1418026)

     Result = SUCCESS
andy : 
Files : 
* /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterBase.java
* /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/FormatterElement.java
* /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/QuerySerializer.java
* /jena/trunk/jena-arq/src/main/java/com/hp/hpl/jena/sparql/serializer/Serializer.java

                
> Printing queries restarts the bNode labels inside subqueries.
> -------------------------------------------------------------
>
>                 Key: JENA-361
>                 URL: https://issues.apache.org/jira/browse/JENA-361
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: ARQ
>    Affects Versions: Jena 2.7.4, ARQ 2.9.4
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> Examples:
> SELECT  *
>   {  
>     { SELECT  * { ?s1 ?p1 _:b0 } }
>     { SELECT  * { ?s1 ?p1 _:b1 } }
>   }
> SELECT  *
>   {  
>     { SELECT  * { ?s1 ?p1 _:b0 } }
>     ?s1 ?p1 _:b1
>   }
> Both the _:b1 become _:b0 when read in and printed out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira