W3C home > Mailing lists > Public > public-web-http-desc@w3.org > January 2010

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

From: John Levins <jmgl.pub@gmail.com>
Date: Tue, 19 Jan 2010 15:50:41 +0000
Message-ID: <931d02a81001190750h3416eb81hb5383870dac56b81@mail.gmail.com>
To: public-web-http-desc@w3.org
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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:47:20 UTC