Re: HTTP Vocabulary in RDF: extensibilty

Hi Julian,

Julian Reschke wrote:
> Hi,
> 
> I'm a bit confused what the extensibility model is.
> 
> For instance: why does the spec include definitions for headers defined 
> in RFC2518, but not for status codes (such as 207)?

The response codes are defined by the ResponseCode class:
  - <http://www.w3.org/TR/2007/WD-HTTP-in-RDF-20070323/#responseCode>
  - <http://www.w3.org/2006/http#ResponseCode>

As shown in example 2.6, it is easy to record response codes (such as 
"207") that are not defined by the HTTP Vocabulary in RDF (taken from 
RFC 2616). Additionally, it is also possible to extend the core schema 
(using a separate namespace) by subclassing the NewResponseCode class:
  - <http://www.w3.org/2006/http#NewResponseCode>

A similar approach has been taken for the headers, one can use the set 
of predefined headers, record literal values, or use subclassing.

Hope this helps, thanks for your comments.

Regards,
   Shadi


-- 
Shadi Abou-Zahra     Web Accessibility Specialist for Europe |
Chair & Staff Contact for the Evaluation and Repair Tools WG |
World Wide Web Consortium (W3C)           http://www.w3.org/ |
Web Accessibility Initiative (WAI),   http://www.w3.org/WAI/ |
WAI-TIES Project,                http://www.w3.org/WAI/TIES/ |
Evaluation and Repair Tools WG,    http://www.w3.org/WAI/ER/ |
2004, Route des Lucioles - 06560,  Sophia-Antipolis - France |
Voice: +33(0)4 92 38 50 64          Fax: +33(0)4 92 38 78 22 |

Received on Saturday, 24 March 2007 15:27:16 UTC