Hi everyone,

I was using the following API to translate http content types into the 
appropriate jena language to use in I/O. So something like this:

String jenaLanguage = WebContent.contentTypeToLang(content-type
).getName();
m.write(out, jenaLanguage);

This seems to work well for turtle, rdf/xml, n3, but when I used it for 
ntriples, the name was not recognized by the writer because of the 's' in 
N-Triples. I noticed then that in SysRIOT.wireIntoJena, there is a 
specific new reader added for ntriples which does recognize N-TRIPLES (as 
well as N-TRIPLE). 

I guess this is strictly speaking not a bug, but it would be nice if I 
didn't have to register a writer for N-TRIPLES myself given that there is 
one for N-TRIPLE. 

thanks

Simon

Reply via email to