W3C home > Mailing lists > Public > www-forms-editor@w3.org > March 2005

Re: Compatibility between HTML, XForms, and WSDL

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 21 Mar 2005 02:10:11 +0000 (UTC)
To: Eric Prud'hommeaux <eric@w3.org>
Cc: www-html@w3.org, www-forms-editor@w3.org, public-ws-desc-comments@w3.org, gerald@w3.org
Message-ID: <Pine.LNX.4.61.0503210207200.880@dhalsim.dreamhost.com>

On Thu, 24 Feb 2005, Eric Prud'hommeaux wrote:
> HTML4.01 (and probably XHTML, though I didn't find it) specifies that
> a GET URI is constructed as such:
>   action + '?' + url-encoded form parameters
> An cursory implementation survey showed that Lynx 2.8.4, Opera 7.5.4,
> Mozilla 1.7.5 all appear to chop off the '?' and everything after it.
>   <http://q.example/what?inference=owl-lite&q=SELECT%20%3>
> WSDL [WZ] follows XForms's [XF] example and specifies that the
> separator between the action and the parameters be a '?' if there is
> not one already, otherwise, a '&' .
>   <http://q.example/what?foo&inference=owl-lite&q=SELECT%20%3>
> I propose an errata to HTML to reflect either current practice or the
> XForms way of doing it. I will propose that the SPARQL protocol [SP]
> use the XForms approach as well.

One advantage of the current practice is that if the action is "" then you 
don't end up adding more and more arguments:

   <form action="">
    <p><input type="submit" name="test" value="test"></p>

The first click would return


With the current practice of HTML UAs, a second click returns the same 
thing. With the other proposal, you would get:




...and so forth.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 21 March 2005 02:10:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:38:08 UTC