W3C home > Mailing lists > Public > public-wai-ert@w3.org > March 2007

Re: HTTP Vocabulary in RDF: extensibilty

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Sat, 24 Mar 2007 16:27:09 +0100
Message-ID: <4605434D.9070805@w3.org>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: public-wai-ert@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:28 GMT