Hi,
Thanks for the precisions. Adding OPTIONS in the enumeration sounds useful
to me, at least for clarification purpose.
Best regards,
Jerome
> -----Message d'origine-----
> De : Marc.Hadley_at_Sun.COM [mailto:Marc.Hadley_at_Sun.COM]
> Envoyé : vendredi 29 décembre 2006 19:58
> À : users_at_wadl.dev.java.net
> Objet : Re: Support HTTP extension methods
>
> On Dec 26, 2006, at 6:11 AM, Jerome Louvel wrote:
> >
> > I'd like to suggest the support of any HTTP method name in WADL,
> > not just a
> > subset of the standard ones. It should be at least OPTIONS
> and WebDAV
> > methods.
> >
> > Currently, the XML schema uses an enumeration which seems to
> > prevent the
> > usage of extension methods.
> >
> In the XSD, the "Method" type is a union of the enumeration
> "HTTPMethods" (which lists the commonly used HTTP methods) and
> NMTOKEN so it allows any method name. The RelaxNG schema is a little
> easier to grok:
>
> attribute name {
> "DELETE" | "GET" | "HEAD" | "POST" | "PUT" | xsd:token
> }
>
> Perhaps I should add OPTIONS as an explicit enumeration value too ?
>
> Marc.
>
> ---
> Marc Hadley <marc.hadley at sun.com>
> CTO Office, Sun Microsystems.
>
>
>