From 30019338f142de8248e37a028c26573ffa5e55b9 Mon Sep 17 00:00:00 2001 From: Owen Stephens Date: Wed, 10 Apr 2019 11:25:33 +0100 Subject: [PATCH] Return format, not MIME type from FormatGuesser --- main/src/com/google/refine/importers/TextFormatGuesser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/com/google/refine/importers/TextFormatGuesser.java b/main/src/com/google/refine/importers/TextFormatGuesser.java index a0e14208a..6da0bcb46 100644 --- a/main/src/com/google/refine/importers/TextFormatGuesser.java +++ b/main/src/com/google/refine/importers/TextFormatGuesser.java @@ -87,7 +87,7 @@ public class TextFormatGuesser implements FormatGuesser { return "text/json"; } else if (openAngleBrackets >= 5 && closeAngleBrackets >= 5) { if (trailingPeriods > 0) { - return "text/rdf+n3"; + return "text/rdf/n3"; } else if (firstChar == '<') { return "text/xml"; }