[whatwg] HTML5 and URI Templates

Philip Taylor excors+whatwg at gmail.com
Sun Dec 16 04:21:57 PST 2007

On 16/12/2007, Henri Sivonen <hsivonen at iki.fi> wrote:
> On Dec 16, 2007, at 05:28, James M Snell wrote:
> > <form template="http://example.org{-prefix|/|foo}?bar={bar}"
> >      method="POST">
> >  Foo: <input name="foo" type="input" >
> >  Bar: <input name="bar" type="input">
> > </form>
> What's the backward-compatibility story of this feature? (Both
> behavior of URI templates in legacy browsers and ensuring that
> existing content doesn't use braces.)

Out of ~15K random pages from dmoz.org, I see two with braces in <form action>:

http://www.bornsvilkar.dk/ - <form name="mainform" method="post"

http://bip.wokiss.pl/margoninm/ - <FORM
ACTION='index.php?pid=2&&opcje=a:1:{i:0;s:6:"wyszuk";}' METHOD='POST'
ENCTYPE='multipart/form-data' name="wyszukiwarka" style="margin:0px;"

But the original example had <form template> which would avoid that
conflict. (The only template attributes I see are one page with
<widget template> and one with <edittag:edit template>.)

Philip Taylor
excors at gmail.com

More information about the whatwg mailing list