Re: SVG12: glyph language matching vs xml:lang

On Sunday, January 29, 2006, 9:53:14 PM, Bjoern wrote:

BH> Dear Scalable Vector Graphics Working Group,

BH>   http://www.w3.org/TR/2005/WD-SVGMobile12-20051207/fonts.html defines
BH> the lang attribute as

BH>   The attribute value is a comma-separated list of language tags as
BH>   defined in IETF Best Current Practice 47 [BCP 47]. The glyph can be
BH>   used if the xml:lang attribute exactly matches one of the languages
BH>   given in the value of this parameter, or if the xml:lang attribute
BH>   exactly equals a prefix of one of the languages given in the value of
BH>   this parameter such that the first tag character following the prefix
BH>   is "-". If the attribute is not specified, then the glyph can be used
BH>   in all languages.

BH> The reference to the xml:lang attribute is inappropriate here as the
BH> language of the text for which the SVG font might be used might use
BH> some other mechanism to identify the language, e.g. HTML uses a lang
BH> attribute; please change the draft such that it makes no assumptions
BH> about how language information is specified in formats that make use
BH> of SVG fonts.

Its not inappropriate, for xml formats in general and SVG in particular;
removing it would weaken the specification for those cases and hinder
testability.

However, your point that SVG fonts might be used for non-xml content is
well made.

How about changing "The glyph" to "For XML content, the glyph" to
accommodate this case?



-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG

Received on Sunday, 5 February 2006 15:53:33 UTC