w3c / data-shapes

RDF Data Shapes WG repo
87 stars 33 forks source link

Datashapes.org content negotiation #141

Closed ashleysommer closed 2 years ago

ashleysommer commented 2 years ago

HTTP GET request to http://datashapes.org/schema with header Accept: text/turtle or Accept: application/rdf+xml both return the schema.html response, with HTML content, and content-type is always "text/html".

That breaks import statements in RDF that look like this:

<http://datashapes.org/sh/tests/core/complex/personexample.test>
  rdf:type owl:Ontology ;
  rdfs:label "Test of personexample" ;
  owl:imports <http://datashapes.org/schema> ;  #<-- This returns HTML

Note, after changing it to "http://datashapes.org/schema.ttl" works, however there are other inconsistencies after that:

HolgerKnublauch commented 2 years ago

The W3C is not responsible for the datashapes.org site. I will follow up with you off-list.