[whatwg] HTML5 and URI Templates

Henri Sivonen hsivonen at iki.fi
Sun Dec 16 01:51:39 PST 2007


On Dec 16, 2007, at 05:28, James M Snell wrote:

> The gist of the idea (which I believe may have been brought up before
> but I'm not certain) is to allow the use of a URI Template in place of
> the form element action attribute, and to use form elements to provide
> the replacement values, e.g.
>
> <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.)

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the whatwg mailing list