W3C home > Mailing lists > Public > www-validator@w3.org > July 2003

Re: 2 questions

From: Terje Bless <link@pobox.com>
Date: Fri, 4 Jul 2003 22:10:24 +0200
To: W3C Validator <www-validator@w3.org>
cc: "Wells, Stormie" <stormie.wells@eds.com>
Message-ID: <r02000000-1026-8C1F545FAE5B11D794590030657B83E8@[193.157.66.23]>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wells, Stormie <stormie.wells@eds.com> wrote:

>1.  Why is the validator case sensitive on event attributes, such as
>"onkeypress" instead of "onKeyPress"?  Same question for method="POST"
>vs. method="post"  I am trying to promote adoption of this standard and
>I was wondering if there was a specific source I could reference that
>stated that the case should be all lower and not mixed.

XHTML 1.0 Recommendation Section 4.2 - <http://www.w3.org/TR/xhtml1/#h-4.2>

[[[
    4.2. Element and attribute names must be in lower case 

    XHTML documents must use lower case for all HTML element and attribute
    names. This difference is necessary because XML is case-sensitive e.g.
    <li> and <LI> are different tags.
]]]


- -- 
"When you have no nails your hammer grows restless, and you begin to throw
 sideways glances at screws and pieces of string."    -- Jarkko Hietaniemi

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0.2

iQA/AwUBPwXfL6PyPrIkdfXsEQLVSACeMqAq1xnJPBwF9IvpVSIb25n4z/0AniCL
nJQuXymz0RBsOGqBj0KrDgk4
=JYPb
-----END PGP SIGNATURE-----
Received on Friday, 4 July 2003 16:10:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT