Re: Updated WADL stylesheet to the 2009-2 namespace/w3c member submission schema

Thanks for the comments Marc,
> I suspect some other changes may be required but its possible you won't run into them unless you are using the new features. E.g. the (optional) status attribute
> moved from the representation element to the response element, additional elements are allowed at the top level and resource types are now more expressive.

Absolutely, although the tweaks I added are sufficient to support some
the changes, not because of anything I've done but because Mark's
stylesheet already coped with them without needing modification:
 - the change of the top-level <resources> maxOccurs attribute from 1
(implicit) to unbounded seems be handled fine (I've tried with two
"resources" elements)
 - the change of the <response> maxOccurs attribute from 1 (implicit)
to unbounded seems to be handled fine
 - the status attribute is ignored in the formatting of the response
element, so the stylesheet is not "broken" by the addition of this,
but it is information that is lost.

That said, it would certainly be preferable to update the stylesheet
to take the new features into account.

John

Received on Tuesday, 19 January 2010 15:51:14 UTC