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

Re: Comments on WD-HTTP-in-RDF-20070301

From: Shadi Abou-Zahra <shadi@w3.org>
Date: Mon, 19 Mar 2007 22:09:44 +0100
Message-ID: <45FEFC18.3090401@w3.org>
To: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Cc: public-wai-ert@w3.org

Hi,

Johannes Koch wrote:
>     <http:MessageHeader rdf:ID="mh1">
>       <http:fieldName rdf:resource="&http;accept-language"/>
>       <http:fieldValue>en</http:fieldValue>
>     </http:MessageHeader>

...and where a header is not listed in HTTP-in-RDF, for example the 
header "foo:bar", it could look like this:

<http:MessageHeader rdf:ID="mh13">
   <http:fieldName>foo</http:fieldName>
   <http:fieldValue>bar</http:fieldValue>
</http:MessageHeader>

Right?


>     <http:MessageHeader rdf:ID="mh2">
>       <http:fieldName rdf:resource="&http;accept"/>
>       <http:fieldValue rdf:parseType="Collection">
>         <foo:ListItem>
>           <foo:mimeType>application/xhtml+xml</foo:mimeType>
>           <foo:params>q=1.0</foo:params>
>         </foo:ListItem>
>         <foo:ListItem>
>           <foo:mimeType>text/html</foo:mimeType>
>           <foo:params rdf:parseType="Collection">
>             <foo:Param>
>               <foo:paramName>q</foo:paramName>
>               <foo:paramValue>0.9</foo:paramValue>
>             </foo:Param>
>             <foo:Param>
>               <foo:paramName>bar</foo:paramName>
>               <foo:paramValue>blah</foo:paramValue>
>             </foo:Param>
>           </foo:params>
>         </foo:ListItem>
>       </http:fieldValue>
>     </http:MessageHeader>

What namespace is "foo"? I think if we go down that road than at least 
Params/Param should be in "http" namespace.

I'm concerned about trying "http:mimeType", we would need to add many 
such named properties. Is there a more systematic pattern we can 
implement like the fieldName/fieldValue approach?


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 Monday, 19 March 2007 21:09:55 GMT

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