Re: HTTP Entity issue

Dear all,

+1 for subclassing. IMHO, the rationale presented by Johannes fixes
the raised concerns.


Cheers,
Rui


On Tue, Mar 29, 2011 at 05:22, Shadi Abou-Zahra <shadi@w3.org> wrote:
> Dear Group,
>
> Ref: <http://www.w3.org/2011/03/23-er-minutes.html#action04>
>
> In response to action item 117 on resolving the comment on HTTP Entity
> raised by Jonathan Reese:
>  -
> <http://lists.w3.org/Archives/Public/public-earl10-comments/2009Dec/0004.html>
>
>
> Basically the issue is that Jonathan wants a conceptual modeling of HTTP,
> while this is out of the scope of this particular spec. So, to address his
> comment with minimal changes to the spec, Johannes Koch proposes to provide
> sub-classes of the MessageHeader class:
>  - <http://lists.w3.org/Archives/Public/public-wai-ert/2010Mar/0007.html>
>
>
> This would allow someone to represent an Entity by using the generic Message
> class and the appropriate headings, as per section 4.1 Message Types of RFC
> 2616:
>  - <http://www.rfc-editor.org/rfc/rfc2616.txt>
>
>
> The specific changes to the spec [1] would therefore be:
>  - create new "GeneralHeader", "RequestHeader", "ResponseHeader", and
> "EntityHeader", that are sub-classes of "MessageHeader"
>
>
> The specific changes to the http-headers RDF [2] would therefore be:
>  - add a description for each header type
>  - add an rdf:type to relate each HeaderName to a header type
>
>
> [1] <http://www.w3.org/TR/2009/WD-HTTP-in-RDF10-20091029/>
> [2] <http://www.w3.org/WAI/ER/HTTP/http-headers.rdf>
>
>
> Here is an example of how the added RDF to http-headers.rdf:
>
> [[
> <rdf:Description rdf:about="GeneralHeaders">
>  <dc:title xml:lang="en">General Headers</dc:title>
>  <rdfs:isDefinedBy
> rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
> </rdf:Description>
>
> <http:HeaderName rdf:about="#accept">
>  <dc:title xml:lang="en">Accept</dc:title>
>  <dc:description xml:lang="en">The Accept header</dc:description>
>  <rdfs:isDefinedBy
> rdf:resource="http://www.rfc-editor.org/rfc/rfc2616.txt"/>
>  <rdf:type rdf:resource="RequestHeaders"/>
> </http:HeaderName>
> ]]
>
>
> Please review this carefully and feel free to respond with any comments and
> questions before next weeks' call, so that we can make a decision.
>
> Best,
>  Shadi
>
> --
> Shadi Abou-Zahra - http://www.w3.org/People/shadi/ |
>  WAI International Program Office Activity Lead   |
>  W3C Evaluation & Repair Tools Working Group Chair |
>
>

Received on Monday, 4 April 2011 16:53:25 UTC