You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "dgrtner-ecc (via GitHub)" <gi...@apache.org> on 2024/09/11 09:33:02 UTC

[I] Add support for configurable indentation length in turtle serialization [jena]

dgrtner-ecc opened a new issue, #2709:
URL: https://github.com/apache/jena/issues/2709

   ### Version
   
   5.0.0
   
   ### Feature
   
   Hi I would like to ask for an extension of the configuration regarding serialization of Turtle (possibly including Trig) s. https://jena.apache.org/documentation/io/rdf-output.html#opt-turtle-trig
   
   The configuration option I propose is the number of characters for the indentation which is currently a constant in WriterConst. It is set to 8 and we would like to configure the serialization (of pretty turtle) to have another indentation.
   
   Thanks,
   Denis
   
   ### Are you interested in contributing a solution yourself?
   
   Perhaps?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Add support for configurable indentation length in turtle serialization [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #2709:
URL: https://github.com/apache/jena/issues/2709#issuecomment-2351657521

   Hi @dgrtner-ecc ,
   
   That would be good to have; both pretty styles ("wide", the default, and "long" where indent is 2) would benefit with being able to tweak the layout.
   
   "long" style sets it to 2 in `Turtle.ShellGraphLong` (which really ought to be in WriterConst).
   
   Have you tried it out and got generally reasonable changed output?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org