W3C home > Mailing lists > Public > www-svg@w3.org > November 2002

Re: SWITCH is an imprecise tool for offering alternatives.

From: Dean Jackson <dean@w3.org>
Date: Thu, 14 Nov 2002 01:22:12 +1100
To: Jim Ley <jim@jibbering.com>
Cc: www-svg@w3.org
Message-ID: <20021113142212.GF31198@grorg.org>

Hello again Jim,

On Mon, 28 Oct 2002, Jim Ley wrote:

> In SVG, we have the switch element for offering alternative content e.g.
> <switch>
>   <text systemLanguage="en">Yes</text>
>   <text systemLanguage="de">Ja</text>
> </switch>
> This is very useful, but it's not very flexible, and can't contain the
> sort of semantics that I'm interested in, it fails particularly where the
> user is fluent in German, but also can understand a bit of English (so
> would rather get English than nothing, but German is best.)  to have
> this, we really need to be able to show the quality of the different
> types, in the above the German and English are of identical quality, but
> it's easy to imagine a situation where one language is much better
> quality than the other.

Really nice explanation.

> At the HTTP content-negotation level, this is nicely handled by q values,

Well... it depends on definition of "nicely" and "handled". Note, I'm
not suggesting it is a problem with HTTP.

> and I think that the switch mechanism could easily be extended to use the
> same.  (not just language but all different switch.)  This will have the
> advantage that users can really get to the content which they prefer
> rather than leaving it wholly in the hands of the author which is shown.

In summary, we think you've raised a good point, we want to facilitate
a solution in SVG 1.2, but we're not completely sure that your proposed
solution will work for us.

Received on Wednesday, 13 November 2002 09:22:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:54 UTC