- From: Dominique Hazael-Massieux <dom@w3.org>
- Date: Tue, 27 Jan 2009 17:51:39 +0100
- To: Richard Ishida <ishida@w3.org>
- Cc: public-xhtml2@w3.org, public-i18n-core@w3.org, fd@w3.org
Le vendredi 23 janvier 2009 à 20:33 +0000, Richard Ishida a écrit : > I would very much like to reach a situation where an author could just use > one or other of these attributes, and achieve the desired result. I agree this is desirable goal. > The idea that it might be possible to introduce lang to XHTML 1.1 etc was > interesting, but I think that the problem would be that, if people don't > continue to use both attributes, xml processors would have to also be > changed to recognise that lang is equivalent to xml:lang (eg. so that the > XPath lang() function would still work in XSLT or XQuery). I think the premises is that if you serve your content as text/html, you're not expected to have it designed to work seamlessly with XML tools. For the people interested in having their languages annotations properly read by XML tools, the best practice would still be to have both lang and xml:lang; for those only interested in getting their pages properly parsed by browsers, the lang attribute should suffice. > I can't say what level of acceptance the idea would have with the HTML5 > folks, but it seems to me that moving text/html processors to accept > xml:lang as equivalent to lang would be more effective, and perhaps easier. But that seems like something that wouldn't have effects before years, at the very earliest; not mentioning that this would also need to be outreached to assistive technology vendors, etc. In the meantime, we're going to leave out in the cold Web authors that will need to choose between being valid (using their XHTML format of choice), or provide effective language annotations. Dom
Received on Tuesday, 27 January 2009 16:51:51 UTC