W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > December 2005

Re: SPARQL Protocol: suboptimal examples

From: Dan Connolly <connolly@w3.org>
Date: Wed, 14 Dec 2005 17:47:22 -0600
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: public-rdf-dawg-comments@w3.org
Message-Id: <1134604042.21371.107.camel@dirk>

OK. Thanks for the details. Please stay tuned.

On Wed, 2005-12-14 at 20:37 +0100, Bjoern Hoehrmann wrote:
> * Dan Connolly wrote:
> >>   http://www.w3.org/TR/2005/WD-rdf-sparql-protocol-20050914/ has a
> >> number of problems in the various examples that encourage inccorect
> >> or suboptimal behavior; the draft should either be changed such that
> >> the issues do not occur or such that it is clear why that is not
> >> possible; in particular:
> >> 
> >>   * some violate http://www.w3.org/TR/webarch/#no-text-xml
> >
> >Which ones? How so? What would you suggest instead?
> 
>   % GET http://www.w3.org/TR/2005/WD-rdf-sparql-protocol-20050914/ |
>       grep -n -P "text/xml" -
>   1257:Content-Type: text/xml; charset=utf-8
>   1275:Content-Type: text/xml; charset=utf-8
> 
> The correct type might be application/soap+xml.
> 
> >>   * some violate http://www.w3.org/TR/webarch/#no-charset
> >
> >Which ones? How so?
> 
>   % GET http://www.w3.org/TR/2005/WD-rdf-sparql-protocol-20050914/ |
>       grep -n -P "xml.*charset" -
>   653:Content-Type: application/sparql-results+xml; charset=utf-8
>   704:Content-Type: application/sparql-results+xml; charset=utf-8
>   805:Content-Type: application/sparql-results+xml; charset=utf-8
>   833:Content-Type:  application/sparql-results+xml; charset=utf-8
>   873:Content-Type:  application/sparql-results+xml; charset=utf-8
>   960:Content-Type: application/sparql-results+xml; charset=utf-8
>   1028:Content-Type: application/sparql-results+xml; charset=utf-8
>   1192:Content-Type: application/sparql-results+xml; charset=utf-8
>   1257:Content-Type: text/xml; charset=utf-8
>   1275:Content-Type: text/xml; charset=utf-8
> 
> I think the "how so" is at least as obvious.
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Wednesday, 14 December 2005 23:47:27 GMT

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