commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (COMMONSRDF-66) JenaDatasetImpl.toString() throws RIOT exception
Date Mon, 30 Oct 2017 13:09:01 GMT


ASF GitHub Bot commented on COMMONSRDF-66:

GitHub user christopher-johnson opened a pull request:

    COMMONSRDF-66:  fixes RIOT exception in JenaDatasetImpl 

     Lang.NT is not supported by registryDataset.  Opts for Lang.NQUADS as a default replacement.
    adds test

You can merge this pull request into a Git repository by running:

    $ git pull commonsrdf-66

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #42
commit e627ba43597a5f20a985bd9373d030d9797fc1e7
Author: Christopher Johnson <>
Date:   2017-10-30T12:51:45Z

    fixes RIOT exception thrown by JenaDatasetImpl.toString()
    adds test


> JenaDatasetImpl.toString() throws RIOT exception
> ------------------------------------------------
>                 Key: COMMONSRDF-66
>                 URL:
>             Project: Apache Commons RDF
>          Issue Type: Bug
>          Components: jena
>    Affects Versions: 0.3.0
>            Reporter: Christopher Johnson
> Occurs from this method []
on instantiation:
> The exception message is "No dataset writer for N-Triples/utf-8".
> The source is RDFWriterRegistry that builds a registryDataset HashMap of 17 +Dataset+
RDFFormats that does not include this serialization.  The registryGraph HashMap has 25 RDFFormats
that does include "N-Triples/utf-8".
> No exception is thrown if Lang.NQUADS is set in the toString() method.

This message was sent by Atlassian JIRA

View raw message