summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas J Humfrey <njh@aelius.com>2011-02-03 11:47:22 +0000
committerNicholas J Humfrey <njh@aelius.com>2011-02-03 11:47:22 +0000
commit2009ceecd3cb38f0017fa5f71f494d48013fdb98 (patch)
tree64ff00a903b754c8d64ed5b9974730a536e0432a
parenta152ffd1f79488dae12bf8596945df318919cbbe (diff)
downloadraptor-2009ceecd3cb38f0017fa5f71f494d48013fdb98.tar.gz
Added mime type for the nquads parser (to match the nquads serialiser).
-rw-r--r--src/ntriples_parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ntriples_parse.c b/src/ntriples_parse.c
index b53e49fa..4aed5f80 100644
--- a/src/ntriples_parse.c
+++ b/src/ntriples_parse.c
@@ -1179,8 +1179,9 @@ static const char* const nquads_uri_strings[2] = {
NULL
};
-#define NQUADS_TYPES_COUNT 0
+#define NQUADS_TYPES_COUNT 1
static const raptor_type_q nquads_types[NQUADS_TYPES_COUNT + 1] = {
+ { "text/x-nquads", 13, 10},
{ NULL, 0, 0}
};