dev@wadl.java.net

Updated WADL Spec

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 02 Feb 2009 17:03:30 -0500

I've uploaded a draft updated specification and the schemas to:

http://wadl.dev.java.net/wadl20090202.pdf
http://wadl.dev.java.net/wadl20090202.rnc
http://wadl.dev.java.net/wadl20090202.xsd

Changes since the November 2006 Publication:

- The namespace was changed to http://wadl.dev.java.net/2009/02.
- Resolved issue 13. The status attribute was moved from the
representation element to the
response element. The cardinality of the response element was changed
from 0–1 to 0–many.
The fault element was removed.
- Resolved issue 17. Allow parameters at top level and parameter
references to prevent repetition when
a parameter is used in multiple places.
- Resolved issue 18. A resource type element may now contain resource
child elements.
- Resolved issue 20. Allow multiple resources elements within an
application.
- Updated the Atompub example to RFC syntax.

Unfortunately the changes required by issue 13 were not backwards
compatible so I had to change the namespace and existing WADL docs
will require minor edits as a result.

I haven't updated the wadl2java code to support these changes yet,
I'll be working on that next. In the meantime I'd be grateful if one
or more of you could sanity check the updated spec and schemas.

Thanks,
Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.