Re: XHTML/XForms limits "preview submission" idiom

Karl O . Pinc wrote:
> The (X)HTML specification,
> http://www.w3.org/TR/html4/interact/forms.html,
> makes no mention I can find that <input type="file"> should not
> accept a preset value.  If that's the story, the spec should
> be fixed.  I wouldn't have had to go through any of this.

The description of a <input type="file"/>:

"Creates a file select control. User agents may use the value of the 
value attribute as the initial file name."

It's a "may", not a "should" or a "must". In other words, it is 100% 
optional for the user agent whether to accept the initial file name or not.

/Jonas

Received on Monday, 20 May 2002 11:55:08 UTC