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

Andy Seaborne commented on JENA-1098:
-------------------------------------

Code to do this is committed above for people to experiment with.

For the moment, to use this line to set a flag (this is temporary):

{noformat}
ARQ.getContext().set(RIOT.multilineLiterals, true);
{noformat}

Given the issues of line endings, this is not currently the default behaviour 
of writing {{Lang.TURTLE}}.



> Print """ strings in pretty form of Turtle.
> -------------------------------------------
>
>                 Key: JENA-1098
>                 URL: https://issues.apache.org/jira/browse/JENA-1098
>             Project: Apache Jena
>          Issue Type: Wish
>          Components: RIOT
>            Reporter: Andy Seaborne
>            Priority: Minor
>
> The Turtle pretty writer could print long strings using """.
> This can be done using a specialist (subclass of) {{NodeFormatterTTL}} in the 
> pretty writer {{TurtleShell}}. This will cover TriG as well. 
> The simple string, @ and ^^ forms need to be considered.
> Other turtle forms should not be affected - they are fro convenient text text 
> processing and the all-on-one-line effect is desirable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to