Re: SVG12: glyph language matching vs xml:lang

On Tuesday, April 25, 2006, 4:29:21 PM, Anne wrote:

AvK> On Tue, 25 Apr 2006 16:25:10 +0200, Chris Lilley <chris@w3.org> wrote:
>> The lang attribute in HTML was grandfathered into XHTML, but XHTML makes
>> it clear that xml:lang should be used, that lang may alsobe used,and
>> that xml:lang takes precedence.

AvK> Right, but when xml:lang was simply forgotten or whatever, lang is still
AvK> important.

It might be, but the xml specification does not say so.


>> http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/html.html#ID-59132807

>> Thanks. So, this is an HTML-specific method on the HTMLElement interface
>> from DOM Level 2 - is there an equivalent method for XML?

AvK> I don't understand this. Its (a) not a method,

agreed
 
AvK>  (b) not HTML-specific 

The HTMLElement intoerface in the DOM Level 2 HTML spec is not html specific??


AvK> and (c) what does this have to do with XML?

When you originally mentioned it, it was in the context of sources of language information for XML documents besides xml:lang. So, i assumed it applied to XML in some way; but when i looked, it was HTML specific. 

AvK> (Personally I'd like to see some revision of DOM3Core with .lang, .id etc.
AvK> on Element, but well...)

(Separate discussion, probably)




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

Received on Tuesday, 25 April 2006 14:41:58 UTC