RE: upload and upload/filename

Hello,

>May the instance node referenced by upload contain initial data?
Yes.

>may the instance node referenced by upload/filename contain an initial
filename
Yes. It is, however, *just* a filename. Nothing in the spec says to access
the file or to put its contents into the instance data.

Thanks,

.micah

-----Original Message-----
From: Kurt George Gjerde [mailto:kurt.gjerde@intermedia.uib.no]
Sent: Monday, September 23, 2002 9:04 AM
To: www-forms@w3.org
Subject: upload and upload/filename



Hi,

May the instance node referenced by upload contain initial data?

More importantly,
may the instance node referenced by upload/filename contain an initial
filename (for example when editing a record may it hold the 'current'
filename)?

And if a default filename is allowed should this file be uploaded even
though the user has not actually picked a file for upload? (guess not)

The HTML 4.01 spec allows input[@type='file'] to contain a value attribute
holding a default filename. But I have only seen this implemented in
Opera (for security reasons I guess).


thanks,
-Kurt.
__________
kurt george gjerde <kurt.gjerde@intermedia.uib.no>
intermedia uib, university of bergen

I only work here.

Received on Tuesday, 24 September 2002 19:53:06 UTC