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: Tue, 20 Mar 2007 01:24:32 +0100
Message-ID: <45FF29C0.4030501@w3.org>
To: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Cc: public-wai-ert@w3.org

Hi,

Johannes Koch wrote:
>> What namespace is "foo"? I think if we go down that road than at least 
>> Params/Param should be in "http" namespace.
> 
> I originally thought foo is the prefix for Jo's very own namespace URI 
> :-) But we could put all this stuff into the http namespace.
> 
>> I'm concerned about trying "http:mimeType", we would need to add many 
>> such named properties.
> 
> Yes, sorry, this was meant to be just an example.
> 
>> Is there a more systematic pattern we can implement like the 
>> fieldName/fieldValue approach?
> 
> Jakarta Commons HttpClient models a header like this:
> 
> <http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/Header.html>: 
> 
> 
> Header
> |- name
> |- headerValue
> 
> 
> <http://jakarta.apache.org/commons/httpclient/apidocs/org/apache/commons/httpclient/HeaderElement.html>: 
> 
> 
> headerValue can be parsed into an array of HeaderElement
> 
> header  = [ element ] *( "," [ element ] )
> element = name [ "=" [ value ] ] *( ";" [ param ] )
> param   = name [ "=" [ value ] ]

Yes, this looks good. Let's see if others have other thoughts...

Thanks,
   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 Tuesday, 20 March 2007 00:24:33 GMT

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