You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/30 13:09:01 UTC
[jira] [Commented] (COMMONSRDF-66) JenaDatasetImpl.toString()
throws RIOT exception
[ https://issues.apache.org/jira/browse/COMMONSRDF-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16224892#comment-16224892 ]
ASF GitHub Bot commented on COMMONSRDF-66:
------------------------------------------
GitHub user christopher-johnson opened a pull request:
https://github.com/apache/commons-rdf/pull/42
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 https://github.com/pan-dora/commons-rdf commonsrdf-66
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-rdf/pull/42.patch
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 <ch...@gmail.com>
Date: 2017-10-30T12:51:45Z
fixes RIOT exception thrown by JenaDatasetImpl.toString()
adds test
----
> JenaDatasetImpl.toString() throws RIOT exception
> ------------------------------------------------
>
> Key: COMMONSRDF-66
> URL: https://issues.apache.org/jira/browse/COMMONSRDF-66
> Project: Apache Commons RDF
> Issue Type: Bug
> Components: jena
> Affects Versions: 0.3.0
> Reporter: Christopher Johnson
>
> Occurs from this method [https://github.com/apache/commons-rdf/blob/master/jena/src/main/java/org/apache/commons/rdf/jena/impl/JenaDatasetImpl.java#L152] 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
(v6.4.14#64029)