You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Lars G. Svensson (JIRA)" <ji...@apache.org> on 2018/08/09 15:15:00 UTC

[jira] [Created] (ANY23-388) It should be possible to configure the NTriplesWriter to use unicode points

Lars G. Svensson created ANY23-388:
--------------------------------------

             Summary: It should be possible to configure the NTriplesWriter to use unicode points
                 Key: ANY23-388
                 URL: https://issues.apache.org/jira/browse/ANY23-388
             Project: Apache Any23
          Issue Type: Improvement
          Components: core
    Affects Versions: 2.2
            Reporter: Lars G. Svensson


When using the NTriplesWriter, I wanted to configure it to write unicode points as escape sequences. I tried to subclass org.apache.any23.writer.TripleHandler and overwrite the access to the org.eclipse.rdf4j.rio.ntriples.NTriplesWriter but couldn't do that since the access to the NTriplesWriter is package protected. I ended up copying the code which seems a bit clunky...

I was [asked to create a pull request|https://mail-archives.apache.org/mod_mbox/any23-user/201808.mbox/%3CCAGaRif3KAQbnK6XSKnVUZAJOn8aR_iCmJmGv_L05yg6nBkB%3DwA%40mail.gmail.com%3E], this issue is there to track that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Re: [jira] [Created] (ANY23-388) It should be possible to configure the NTriplesWriter to use unicode points

Posted by Jacek Grzebyta <gr...@gmail.com>.
Hi Lars,

I'm happy to check the PR you will bake.

Regards,
Jacek

On Thu, 9 Aug 2018, 16:15 Lars G. Svensson (JIRA), <ji...@apache.org> wrote:

> Lars G. Svensson created ANY23-388:
> --------------------------------------
>
>              Summary: It should be possible to configure the
> NTriplesWriter to use unicode points
>                  Key: ANY23-388
>                  URL: https://issues.apache.org/jira/browse/ANY23-388
>              Project: Apache Any23
>           Issue Type: Improvement
>           Components: core
>     Affects Versions: 2.2
>             Reporter: Lars G. Svensson
>
>
> When using the NTriplesWriter, I wanted to configure it to write unicode
> points as escape sequences. I tried to subclass
> org.apache.any23.writer.TripleHandler and overwrite the access to the
> org.eclipse.rdf4j.rio.ntriples.NTriplesWriter but couldn't do that since
> the access to the NTriplesWriter is package protected. I ended up copying
> the code which seems a bit clunky...
>
> I was [asked to create a pull request|
> https://mail-archives.apache.org/mod_mbox/any23-user/201808.mbox/%3CCAGaRif3KAQbnK6XSKnVUZAJOn8aR_iCmJmGv_L05yg6nBkB%3DwA%40mail.gmail.com%3E],
> this issue is there to track that.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v7.6.3#76005)
>