Merge pull request #2014 from ostephens/fix-formatguesser
Fixer format guesser to return format for N3/Turtle files
This commit is contained in:
commit
4e7e73432a
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user