History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: RIO-69
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Arjohn Kampman
Reporter: Simon Reinhardt
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

N3 and Turtle media types need updating

Created: 07/Jul/09 07:00 PM   Updated: 07/Jul/09 07:00 PM
Component/s: Rio API
Affects Version/s: None
Fix Version/s: None

The MIME / media / content types for N3 and Turtle are currently defined as text/rdf+n3 and application/x-turtle respectively: http://repo.aduna-software.org/svn/org.openrdf/sesame/trunk/core/rio/api/src/main/java/org/openrdf/rio/RDFFormat.java .

They need to be updated to text/n3 and text/turtle. For Turtle see the latest specification at http://www.w3.org/TeamSubmission/turtle/#sec-mediaReg . The N3 specification is a bit buggy with regard to that, it switches between text/rdf+n3 and text/n3: http://www.w3.org/TeamSubmission/n3/ . However see also http://www.w3.org/blog/SW/2008/01/15/w3c_team_submission_on_n3_and_turtle , http://chatlogs.planetrdf.com/swig/2009-04-01.html#T14-00-16 and some more discussion on http://lists.w3.org/Archives/Public/semantic-web/2009May/0021.html .

Since RDFFormat accepts a collection of MIME types perhaps it would be even better to add the old ones as well so that the right parser can be selected for data served with the old types. For Turtle the type application/turtle could be added to such a collection as well, as it was the primary type mentioned on http://www.dajobe.org/2004/01/turtle/2007-11-20/#sec-mime .

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.