HTML 4.0 draft: LANG/DIR inconsistency

Holger Wahlen (wahlen@ph-cip.Uni-Koeln.DE)
Mon, 15 Sep 1997 19:09:47 +0200

Date: Mon, 15 Sep 1997 19:09:47 +0200
Message-Id: <>
From: wahlen@ph-cip.Uni-Koeln.DE (Holger Wahlen)
Subject: HTML 4.0 draft: LANG/DIR inconsistency

I already posted about this a while ago [1], but nobody
reacted, so here's the problem again; maybe I get an answer
this time.

The Cougar draft allows the LANG and DIR attributes to
specify "the primary language of an element's text content",
so that constructions like these can be used:
	<HTML LANG="en">... a document in English ...</HTML>
	<P LANG="it">... a paragraph in Italian ...</P>
	<EM LANG="de">... emphasized text in German ...</EM>

Wouldn't it be consequent to have
	<A LANG="fr" NAME="id">... anchor text in French ...</A>
	<A LANG="nl" HREF="url">... link text in Dutch ...</A>
as well then? Instead, the draft states that A and LINK have
these attributes (as well as CHARSET) for references to the
language of the *linked document*.

I think a better possibility to deal with that would be
separate attributes, like
	<A LANG="language of text in the A element"
	DOC-LANG="language of linked document">
- see [1] for more details and examples.


____  |__|   / Holger   //  ____
      |  |/|/  Wahlen  //