Uploaded image for project: 'Apache Commons RDF'
  1. Apache Commons RDF
  2. COMMONSRDF-66

JenaDatasetImpl.toString() throws RIOT exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.3.0
    • 0.5.0
    • jena
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              wikier Sergio Fernández
              christopher-johnson Christopher Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: