From lists1 at caenim.com Sat Dec 1 11:49:05 2007
From: lists1 at caenim.com (john)
Date: Sat, 1 Dec 2007 12:49:05 -0700
Subject: [html5] Validation and
Message-ID:
I'm a little confused about the results I am getting from the (X)HTML5
validator[1]. I have a very basic test page[2] setup like so:
input
Which looks valid as far as I can tell from the Web Forms and HTML5
specs, yet the validator says:
> Error: Bad value ?text? for attribute ?type? on element ?input?.
However, the Web Forms[3] page seems to say that type="text" is an
acceptable value. Of course, I noticed that the HTML5 specs point you
(temporarily) to the Web Forms specs for information concerning
. In fact, every value I've tried in place of "text", such as:
"email", "date", "number" etc, produces a variation on the same error
message. So could it be that the validator doesn't realize type="text"
is valid because it's not in the HTML5 spec yet? Or is it something
even more obvious that I've missed?
thanks,
john
[1]: http://html5.validator.nu/
[2]: http://preview.tinyurl.com/39q5nj
[3]: http://www.whatwg.org/specs/web-forms/current-work/#existing
From zcorpan at gmail.com Sat Dec 1 12:31:18 2007
From: zcorpan at gmail.com (Simon Pieters)
Date: Sat, 01 Dec 2007 21:31:18 +0100
Subject: [html5] Validation and
In-Reply-To:
References:
Message-ID:
On Sat, 01 Dec 2007 20:49:05 +0100, john wrote:
> I'm a little confused about the results I am getting from the (X)HTML5
> validator[1]. I have a very basic test page[2] setup like so:
>
>
> input
>
>
>
>
> Which looks valid as far as I can tell from the Web Forms and HTML5
> specs, yet the validator says:
>
>> Error: Bad value ?text? for attribute ?type? on element ?input?.
The error message is correct, but very confusing.