diff options
author | Dave Beckett <dave@dajobe.org> | 2013-08-11 12:55:36 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2013-08-11 19:46:46 -0700 |
commit | 954ddf3e10b18d9018131a33567c31806246d0af (patch) | |
tree | 215a11de8062791299c08489748b7c1f3a4fb192 | |
parent | d51459e2fc91fe7018fb5a96d8376ac3525557cb (diff) | |
download | raptor-954ddf3e10b18d9018131a33567c31806246d0af.tar.gz |
Use N-Triples 2013 mime type
-rw-r--r-- | src/ntriples_parse.c | 5 | ||||
-rw-r--r-- | src/raptor_serialize_ntriples.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/ntriples_parse.c b/src/ntriples_parse.c index 706767ba..d3e74118 100644 --- a/src/ntriples_parse.c +++ b/src/ntriples_parse.c @@ -1123,9 +1123,10 @@ 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] = { - { "text/plain", 10, 1}, + { "application/n-triples", 21, 10}, + { "text/plain", 10, 1}, { NULL, 0, 0} }; 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} }; |