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.
- application/pkcs7-signature attachment: smime.p7s