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 2015/12/09 20:03:10 UTC
[jira] [Updated] (JENA-1081) Turtle writer does not inline blank
node in lists.
[ https://issues.apache.org/jira/browse/JENA-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated JENA-1081:
--------------------------------
Description:
{noformat}
prefix : <http://example/>
:s :p ( [:q 1] [:q 2]) .
{noformat}
==>
{noformat}
@prefix : <http://example/> .
:s :p ( _:b0 _:b1 ) .
_:b0 :q 1 .
_:b1 :q 2 .
{noformat}
if enabled (remove lines in {{TurtleShell.ShellGraph.findBNodesSyntax1}}, the list is badly formatted.
# Multiproperty elements use {{] [}} at end of each so the formatter indents by 2 per element.
# Mixed short (one property) and long (>1 property) {{[ ]}} looks bad because the short form is one line.
was:
{noformat}
prefix : <http://example/>
:s :p ( [:q 1] [:q 2]) .
{noformat}
==>
{noformat}
@prefix : <http://example/> .
:s :p ( _:b0 _:b1 ) .
_:b0 :q 1 .
_:b1 :q 2 .
{noformat}
> Turtle writer does not inline blank node in lists.
> --------------------------------------------------
>
> Key: JENA-1081
> URL: https://issues.apache.org/jira/browse/JENA-1081
> Project: Apache Jena
> Issue Type: Bug
> Components: RIOT, T
> Affects Versions: Jena 3.1.0
> Reporter: Andy Seaborne
> Priority: Minor
>
> {noformat}
> prefix : <http://example/>
> :s :p ( [:q 1] [:q 2]) .
> {noformat}
> ==>
> {noformat}
> @prefix : <http://example/> .
> :s :p ( _:b0 _:b1 ) .
> _:b0 :q 1 .
> _:b1 :q 2 .
> {noformat}
> if enabled (remove lines in {{TurtleShell.ShellGraph.findBNodesSyntax1}}, the list is badly formatted.
> # Multiproperty elements use {{] [}} at end of each so the formatter indents by 2 per element.
> # Mixed short (one property) and long (>1 property) {{[ ]}} looks bad because the short form is one line.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)