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

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 UTC