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

[Fwd: Re: [SMIL 3.0 LC] Accept-Language, systemLanguage, and the 'switch' Element]

From: Doug Schepers <schepers@w3.org>
Date: Mon, 05 Nov 2007 17:51:00 -0500
Message-ID: <472F9E54.2070905@w3.org>
To: www-svg <www-svg@w3.org>, Jonathan Chetwynd <j.chetwynd@btinternet.com>

Hi, SVG Community-

Please find below the response on an issue raised by Jonathan Chetwynd 
[1] regarding the <switch> element and @systemLanguage with respect to 
Accept-Language strings.  They have found a solution which seems (on 
cursory examination) to solve the problem.

We have not yet resolved to integrate the changes, but anticipate adding 
this in at some point.  For resolving the issue in Mozilla [2], it might 
be useful to reference the SMIL spec as described below.

[1] http://lists.w3.org/Archives/Public/www-svg/2006Nov/0024.html
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=326375

Regards-
-Doug Schepers
W3C Staff Contact, SVG, CDF, and WebAPI


-------- Original Message --------
Subject: Re: [SMIL 3.0 LC] Accept-Language, systemLanguage, and the 
'switch' Element
Resent-Date: Wed, 24 Oct 2007 13:21:32 +0000
Date: Wed, 24 Oct 2007 13:21:19 +0000
From: tmichel@w3.org
To: www-smil@w3.org



  Dear Doug Schepers ,

The SYMM Working Group has reviewed the comments you sent [1] on the Last
Call Working Draft [2] of the Synchronized Multimedia Integration Language
(SMIL 3.0) published on 13 Jul 2007. Thank you for having taken the time to
review the document and to send us comments!

The Working Group's response to your comment is included below.

Please review it carefully and let us know by email at www-smil@w3.org if
you agree with it or not before 02 nov 2007. In case of disagreement, you
are requested to provide a specific solution for or a path to a consensus
with the Working Group. If such a consensus cannot be achieved, you will
be given the opportunity to raise a formal objection which will then be
reviewed by the Director during the transition of this document to the
next stage in the W3C Recommendation Track.

Thanks,

For the SYMM Working Group,
Thierry Michel
W3C Staff Contact

  1. http://www.w3.org/mid/469997C6.5000304@w3.org
  2. http://www.w3.org/TR/2007/WD-SMIL3-20070713/


=====

Your comment on 4. SMIL 3.0 Content Control:
> Hi, SYMM WG-
> 
> As the SVG WG wrote to you in a liaison in May 2007 [1], the 
> systemLanguage attribute of the 'switch' element [2] does not
> adequately 
> account for quality-values in Accept-Language strings.  The result of 
> this is that users who have assigned quality values to their language 
> acceptance are unlikely to get the ideal language option, even if one
> is 
> available.  The boolean nature of 'switch', in this regard, should be 
> amended to evaluate at a more discrete level for systemLanguage.
> 
> We have proposed an alternate algorithm [1] which, while slightly more
> 
> complex, does yield the ideal results, even in combination with other 
> test attributes.  However, this feedback does not seem to have be taken
> 
> into account in SMIL 3.0.  Any algorithm that solves this issue is fine
> 
> with us, but the issue should be solved in SMIL 3.0.
> 
> SVG relies on the SMIL definition of 'switch' for use in our own 
> specification, and we need proper i18n.  We are happy to work with you
> 
> to come up with a solution.
> 
> 
> [1] (member-only)
> http://lists.w3.org/Archives/Member/symm/2007Apr/0016.html
> [2] 
>
http://www.w3.org/TR/2007/WD-SMIL3-20070713/smil-content.html#adef-systemLanguage
> 
> Regards-
> -Doug Schepers
> W3C Staff Contact, SVG, CDF, and WebAPI


Working Group Resolution (LC-1779):
We have added an attribute allowReorder="yes"/"no" to the switch tag. This
signals that a UA is allowed to reorder the items within a switch if it
thinks this could lead to a better user experience. In the informative
text we explain that user agents are expected to use this in conjunction
with BCP47 language range priorities, and document authors should supply
this attribute if the elements in the switch are equivalent.

In addition, smil-systemLanguage() in the StateTest module now returns a
numeric value based on the priority of the language tag match (it used to
return a boolean), so authors can create better ranking of alternative
content based on the users' preferences.

----





-- 
Received on Monday, 5 November 2007 22:51:08 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:38 GMT