Sent by Eric B. Bednarz on 7 August 2004 01:01
"Dean Matsueda" [EMAIL-REMOVED]> writes:
Gidday,
>> What is the reasoning behind using all lowercase for tags?
Case folding confuses authors. E.g., in HTML
<p id="someID" class="someClass">
is handled as
<P ID="SOMEID" CLASS="someClass">
by the parser to the application (as well, in HTML such issues are of
almost exclusively academical nature).
> In a word: validation. Using the XHTML doctype *requires* all elements
> and attributes to be in lowercase
No it doesn't. The lexical level of SG markup is defined in the SGML
declaration (which is helpfully located with point and shoot heuristics
by your favourite frontend to a validating SGML system like nsgmls and
as such not transparent to the user), not any document type declaration
whatsoever.
At the bottom of
<http://www.y12.doe.gov/sgml/sc34/document/0029.htm>
you can find the concrete SGML declaration for XML, namely
| NAMECASE GENERAL NO
is of relevance for this matter (though not for this particular list, if
I may say so :).
Cheers
--
111010111011
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/