W3C home > Mailing lists > Public > www-svg@w3.org > April 2006

Re: SVG12: glyph language matching vs xml:lang

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 25 Apr 2006 14:06:38 +0200
To: "Chris Lilley" <chris@w3.org>, www-svg@w3.org
Cc: "Bjoern Hoehrmann" <derhoermi@gmx.net>
Message-ID: <op.s8kbvkrn64w2qv@id-c0020.lan>

On Tue, 25 Apr 2006 11:08:52 +0200, Chris Lilley <chris@w3.org> wrote:
> Right. If there are both, then xml:lang takes precedence so the value of
> lang is irrelevant (but should be the same). If there is only one, in
> xhtml, its xml:lang. if there is only one,in 'classic' non-xml html,
> then its lang - and its a non-xml format. So we seem to have all the
> cases covered there.

In XHTML, the XML version, you can also just use "lang"... As in:

  <html xmlns="http://www.w3.org/1999/xhtml" lang="en">

... using the lang DOM attribute on any XHTML element would also result in  
"lang" being set if I remember correctly, but that's less relevant.

Anne van Kesteren
Received on Tuesday, 25 April 2006 12:06:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:07 UTC