|
From: <ba...@zo...> - 2002-03-27 04:23:08
|
>>>>> "Fred" == Fred L Drake, Jr <fd...@ac...> writes:
Fred> Barry A. Warsaw writes:
>> +1 on this change, but out of curiosity, does XHTML really care
>> about tag case?
Fred> Yes. XHTML is specifically defined to be legal XML, and is
Fred> case sensitive. The chosen direction was to use lower case
Fred> rather than upper.
Fred> There are two ways to provide XHTML: as text/xml, at which
Fred> point it can be validated as XML, or as text/html, as which
Fred> it cannot be valid HTML, but more browsers will be able to
Fred> deal with it in practice. It cannot be valid HTML because
Fred> it uses the XML-style empty tags (with a required space
Fred> between the tag name or attributes and the "/>", as a
Fred> browser compatibility hack). "<hr />" is perfectly legal
Fred> XML, but will never be valid HTML since the '/' character is
Fred> illegal at that position.
it-ain't-your-older-twin-brother's-web-anymore-ly y'rs,
-Barry
|