Christopher Johnson created COMMONSRDF-66:
---------------------------------------------

             Summary: 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 Turtle/pretty".

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 "Turtle/pretty".

No exception is thrown if Lang.NQUADS is set in the toString() method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to