W3C home > Mailing lists > Public > www-rdf-interest@w3.org > March 2004

Re: RDF as application/rdf+xml

From: Dirk-Willem van Gulik <dirkx@asemantics.com>
Date: Tue, 23 Mar 2004 14:35:11 +0100
Message-Id: <E8C69C72-7CCE-11D8-B847-000A95CDA38A@asemantics.com>
Cc: Dan Brickley <danbri@w3.org>, RDF interest group <www-rdf-interest@w3.org>
To: Graham Klyne <GK@ninebynine.org>


On Mar 23, 2004, at 2:14 PM, Graham Klyne wrote:

>
> It turns out that getting Apache to serve application/rdf+xml is dead 
> easy.  Simply adding the following line to one's .htaccess file does 
> the trick for *.rdf files.
>
>   AddType application/rdf+xml .rdf

You probably want to add it to your conf/mime.types as
	
		application/rdf+xml 	rdf RDF Rdf

or add the above line to httpd.conf as ".htaccess" files have
rather large performance/security downsides.

While on the subject - was

	draft-swartz-rdfcore-rdfxml-mediatype-01

ever turned into an RFC ? If that is the case them I am perfectly
happy to add the above to the Apache standard distributions.

Right now the last I can find is a 'Should Not' in RFC3023:

	http://www.ietf.org/rfc/rfc3023.txt

	8.18 Application/rdf+xml

	   Content-type: application/rdf+xml

	   <?xml version="1.0" ?>

	   RDF documents identified using this MIME type are XML documents 
whose
	   content describes metadata, as defined by [RDF].  As a format based
	   on XML, RDF documents SHOULD use the '+xml' suffix convention in
	   their MIME content-type identifier.  However, no content type has 
yet
	   been registered for RDF and so this media type should not be used
	   until such registration has been completed.

Which makes it a bit hard for me to argue that we should put this
mime type in the core apache distributions.

Dw.
Received on Tuesday, 23 March 2004 08:35:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 18 February 2014 13:20:07 UTC