Odd things in the namespace resolver

Skip to first unread message

Christopher Gutteridge

May 9, 2013, 11:31:02 AM5/9/13
to bibliographic-ontolog...@googlegroups.com
When I resolve the namespace for bibo I'm getting some weird results
which seem to depend on the HTTP headers so it breaks in *some*
applications, but not others.

Basically, I think a bit of debug code is doing something weird.

If I connect to port 80 and issue the following HTTP headers it seems to
return a version with an additional line with a 5 digit number (19003).
This does not happen with all clients

GET /bibo/bibo.php HTTP/1.1
Host: bibliontology.com
Accept: application/rdf+xml

What I get back is this oddity and I'm *baffled*. It works if I try it
with "curl".

HTTP/1.1 200 OK
Date: Thu, 09 May 2013 15:29:23 GMT
Server: Apache/2.2.14 (Ubuntu)
X-Powered-By: PHP/5.3.2-1ubuntu4.14
Transfer-Encoding: chunked
Content-Type: application/rdf+xml

<?xml version="1.0"?>

<!ENTITY terms "http://purl.org/dc/terms/" >
<!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
<!ENTITY vann "http://purl.org/vocab/vann/" >

Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read the ECS Web Team blog: http://blogs.ecs.soton.ac.uk/webteam/

Would you recommend the software you use to another institution?

Reply all
Reply to author
0 new messages