W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Re: Always outputting lowercase attributes for xhtml output

From: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Date: Sun, 27 Jan 2002 01:55:02 CET
Message-Id: <200201270056.TAA18921@tux.w3.org>
To: html-tidy@w3.org
Cc: <michaellambert@bellsouth.net>
In <3BCA33CF694302428E7C021962321C6B01F255@NEBRASKA.MSLAMBERT.COM>, "Michael Lambert" <michaellambert@bellsouth.net> writes:
> I'm using tidy-win32 and have a bug or problem with my settings (most
> likely).  Tidy is always outputting lowercase (not preserving original
> case) when the option output-xhtml=y is set.
> The following tag (snip): <SPAN buttonType="appNav" CLASS="appNavOff">
> results in: <span buttontype="appNav"  class="appNavOff">


HTML is case-insensitive, XHTML is case-sensitive.

Elements are defined in lowercase in the XHTML standard, so tidy correctly 
converts any HTML tags to lowercase if you request XHTML output.

Klaus Johannes Rusch
Received on Saturday, 26 January 2002 19:56:44 UTC

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