W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] Web Forms 2.0 methods and enctypes

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 15 Jul 2004 16:59:22 +0000 (UTC)
Message-ID: <Pine.LNX.4.58.0407151657210.2881@dhalsim.dreamhost.com>
On Mon, 12 Jul 2004, [iso-8859-1] Asbj?rn Ulsberg wrote:
>>
>> Perhaps one way to do this would be to allow a form submitting
>> x-www-form-xml encoded data to be transformed using XSLT on the data,
>> this could be done on the server or it could be done on the client
>
> I would prefer if this was possible to do on the client, so that server
> implementations could be kept as general and simple as possible.

I would argue the opposite -- that _clients_ should be kept as general and
simple as possible. The server can be special cased for each role it has
to play, but the client is supposed to go anywhere, on small devices.


>> <form action="http://example.com/atom.endpoint"
>>   enctype="application/x-www-form+xml"
>>   target-enctype="application/atom+xml"
>>   transformation="http://example.com/atom.transform.wf2"
>>   method="post">
>
> That's something I could live with. Is it possible for WF2 to support
> something like this?

Unfortunately, XSLT support is only available in Mozilla and IE, as far
as I know, with no plans for it to be introduced elsewhere. So this would
not be widely supported.


>> This would then provide an extensible mechanism for advanced uses of
>> XML submission in a variety of domain specific XML languages such as
>> atom.
>
> Yes; Atom is not alone in this field, I presume. The Atom API even
> supports other MIME types to be posted, and extending WF2 this way could
> even make simple web forms be WebDAV clients, PUT-ing WebDAV resources
> all over the server. :-)

WF2 already supports HTTP PUT as one of the submission methods.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 15 July 2004 09:59:22 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:35 UTC