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

JenaDatasetImpl.toString() throws RIOT exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3.0
    • Fix Version/s: 0.5.0
    • Component/s: jena
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: