- From: Gannon Dick <gdick@gte.net>
- Date: Sat, 6 Oct 2001 19:09:53 -0500
- To: <www-validator@w3.org>
No, but it might be a "bug" in the DTD mechanism. From the XHTML 1.0 Strict DTD (The one I had handy, sorry) The accesskey Attribute is a %Character; Entity, which in turn is CDATA which cannot be limited to ONE character. Looking at the definitions of %Character; and %Number; you'll see what I mean ... <!ENTITY % Character "CDATA"> <!-- a single character from [ISO10646] --> <!ENTITY % Number "CDATA"> <!-- one or more digits --> Validation against a Schema will fix this problem. ----- Original Message ----- From: "Kathleen Brade" <brade@netscape.com> To: <www-validator@w3.org> Sent: Friday, October 05, 2001 11:00 AM Subject: bug in validator with accesskey? > Here is some html I sent to the validator today: > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <title>bug</title> > <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> > </head> > <body> > <textarea name="namer" rows="4" cols="9" tabindex="3" > accesskey="55">default</textarea> > </body> > </html> > > result was "no errors found!" > However, I think that having an accesskey with > 1 character is an > error. Is this a bug in the validator or a misinterpretation of the > spec on my part? > > Thank you! > Kathleen Brade > Netscape Communications > >
Received on Saturday, 6 October 2001 20:03:40 UTC