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

Re: 2 questions

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 24 Jun 2003 01:03:02 +0200
To: "Wells, Stormie" <stormie.wells@eds.com>
Cc: www-validator@w3.org
Message-ID: <3f1d865e.1885047815@smtp.bjoern.hoehrmann.de>

* Wells, Stormie wrote:
>I am writing just out of curiosity more than anything else.
>
>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.

This actually depends on the markup language, HTML is case-insensitive
in thise respect while XHTML isn't, see 

  http://www.w3.org/TR/xhtml1/#h-4.2
  http://www.w3.org/TR/xhtml1/#h-4.11

>2.  Is there anyway to customize the validator so that individuals can
>require elements for their site that are not traditionally required?

You can write a custom DTD, see e.g.
<http://www.htmlhelp.com/tools/validator/customdtd.html>.
Received on Monday, 23 June 2003 19:03:42 GMT

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