Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: [XHTML2] CITELANG, TITLELANG attributes

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Wed, 28 Jul 2004 00:02:38 +0300 (EEST)
To: www-html@w3.org
Message-ID: <Pine.GSO.4.58.0407272353340.22232@korppi.cs.tut.fi>

On Mon, 26 Jul 2004, Anne van Kesteren (fora) wrote:

> Currently, there is no way to describe the language of either the
> CITE[1] or TITLE[2] attribute.

For CITE, the language of the cited document can be specified in a
multiple of ways, e.g. in HTTP headers or, if it is an HTML document,
inside the document itself. Any attribute that specifies the language in
the citing document would thus normally be superfluous.

For TITLE, the origin is the problem is the approach of entering actual
textual content into attributes. This is bad practice, and the original
problem should be fixed instead of adding some extra features to remove
some of the problems. Note that a TITLELANG attribute would not work when
the TITLE attribute contains texts in two or more languages, which is a
quite reasonable case. If the TITLE attributes were replaced by TITLE
elements, for example, making each TITLE element specify, by definition,
an informative title for its parent element, the problem would vanish in a
puff of logic: the TITLE element could and should be allowed to have
normal inline content, including elements with their own LANG (oops,
sorry, xml:lang) attributes.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/ 
Received on Tuesday, 27 July 2004 17:02:59 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.