W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2002

Re: XHTML namespace and lang attributes (was: Perversity, thy name isTidy)

From: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Date: Sun, 5 May 2002 23:40:57 CET
Message-Id: <200205052145.RAA17425@tux.w3.org>
To: Brian Timmins <btimmins@mail.telepac.pt>
Cc: html-tidy@w3.org
In <3CD2F6AF.57818E5B@mail.telepac.pt>, Brian Timmins <btimmins@mail.telepac.pt> writes:
> Anyone know how to stop tidy changing:
> <html lang="en-GB">
> to
> <html xmlns="http://www.w3.org/1999/xhtml">
> Not that I have any objection to advertising for "w3",
> it is just that with multiple language switching...


can you please check that you are using the latest tidy release, and if the 
problem persists open a bug report at http://tidy.sf.net/ (preferrably with a 
sample document that fails, and information about your tidy settings).

The additional xmlns is a result of the fact that your document is valid XHTML,
so the namespace attribute is added, however this should not result in 
stripping the lang attribute.

I have been unable to reproduce your problem.

Klaus Johannes Rusch
Received on Sunday, 5 May 2002 17:45:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:51 UTC