On 4/2/13 8:48 PM, Stian Soiland-Reyes wrote:
On Tue, Apr 2, 2013 at 6:32 PM, Kingsley Idehen <[email protected]> wrote:Why aren't you serving the RDF/XML using Content-Type: application/rdf+xml ?Try accessing in a browser: http://purl.org/pav/2.1.1 (application/rdf+xml) then compare with: http://purl.org/pav/ (application/xml) Sadly, only Firefox manage to show something for both. IE and Chrome are happy with the second. My main motivation for doing the XSLT hack was for users who see a term from the ontology, or its namespace in a prefix declaration, and simply clicks the link, they should be presented something in the browser. As I said, Google Code does not do content negotation, so without involving a third-party server it would have to be either this or no browser appearance at all. The versionIRIs on the other hand - like http://purl.org/pav/2.1 - is hidden inside the OWL, so only "those who know" would click them, and get what they expect. On second thought I have therefore changed the content-type to application/rdf+xml on all the OWL files except the one returned by our namespace http://purl.org/pav/ - I hope this is a workable solution. -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester
It's all fine now, I am able to just process the RDF/XML :-) curl -IL http://purl.org/pav/2.1.1 HTTP/1.1 302 Moved Temporarily Date: Wed, 03 Apr 2013 01:08:23 GMT Server: 1060 NetKernel v3.3 - Powered by Jetty Location: http://pav-ontology.googlecode.com/svn/tags/2.1.1/pav.owl Content-Type: text/html; charset=iso-8859-1 X-Purl: 2.0; http://localhost:8080 Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Length: 290 HTTP/1.1 200 OK Date: Wed, 03 Apr 2013 01:08:23 GMT Server: Apache Last-Modified: Tue, 02 Apr 2013 22:26:03 GMT ETag: "207//tags/2.1.1/pav.owl" Accept-Ranges: bytes Expires: Wed, 03 Apr 2013 01:11:24 GMT Cache-Control: public, max-age=180 Content-Length: 32172 Content-Type: application/rdf+xml -- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter/Identi.ca handle: @kidehen Google+ Profile: https://plus.google.com/112399767740508618350/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
smime.p7s
Description: S/MIME Cryptographic Signature
