- From: TU Internetbeauftragter <webredaktion@tu-braunschweig.de>
- Date: Tue, 1 Mar 2005 10:01:24 +0100
- To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
- Cc: <www-validator@w3.org>
> -----Original Message-----
> From: Jukka K. Korpela [mailto:jkorpela@cs.tut.fi]
> Sent: Monday, February 28, 2005 9:26 PM
> On Mon, 28 Feb 2005, TU Internetbeauftragter wrote:
>
> > Instead of 'there is no attribute "onFocus"'
> > please write 'attributes must be all lower case'
>
> That would not be correct, since neither SGML nor XML imposes such a rule.
> In XML, case is significant, but it is up to a DTD to specify the element
> and attribute names the way it wants. So it's just a coincidence, so to
> say, that XHTML happens to use lower case in those names.
Well, all I can say is that this little change ("onfocus" instead of
"onFocus") was all it took to make our code pass the W3C validator.
I just found the message 'there is no attribute "onFocus"' misleading -- as
compared to the much more helpful
Error Message [VE][108] which states: "Remember XHTML is all lower-case."
Sincerely
--
Marc Ermer
Received on Tuesday, 1 March 2005 10:19:33 UTC