[whatwg] [wf2] 2.3. Changes to existing controls

Quoting Ian Hickson <ian at hixie.ch>:
>> You should probably try harder ;-) Anyway, setting |value=""| on a form
>> control should not result in the DOM attribute value being "on". It
>> should result in it being "" and that should be submitted.
>
> Ok. I agree with this. However, you go on to say:
>
>> (Sections 2.3 and 2.4 have to be edited for this.)
>
> I don't see anything in either 2.3 or 2.4 that contradicts what you said
> above. This is why I was confused earlier, I guess. The bits you quoted in
> your earlier mails agreed with what you were saying should happen, and
> then you said they should change...

# A control is said to have no value selected if its value is the
# empty string.

"empty string" was the bit I was falling over.


>> It does not. Sorry about that. I just want to make it clear that XML has
>> some stupid rules authors should be aware about when dealing with forms.
>> This seemed like the most appropriate place to add the note.
>
> I don't see how these rules will affect users unless they go out of their
> way to make DTDs, in which case they deserve whatever they get.

The normalization happens without DTDs.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Tuesday, 25 October 2005 16:13:50 UTC