summaryrefslogtreecommitdiff
path: root/src/raptor_serialize_ntriples.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/raptor_serialize_ntriples.c')
-rw-r--r--src/raptor_serialize_ntriples.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raptor_serialize_ntriples.c b/src/raptor_serialize_ntriples.c
index 2fdc7a63..6ccdee8d 100644
--- a/src/raptor_serialize_ntriples.c
+++ b/src/raptor_serialize_ntriples.c
@@ -255,8 +255,9 @@ static const char* const ntriples_uri_strings[3] = {
NULL
};
-#define NTRIPLES_TYPES_COUNT 1
+#define NTRIPLES_TYPES_COUNT 2
static const raptor_type_q ntriples_types[NTRIPLES_TYPES_COUNT + 1] = {
+ { "application/n-triples", 21, 10},
{ "text/plain", 10, 1},
{ NULL, 0, 0}
};