On Thu, Jun 2, 2011 at 1:54 PM, Rick Clark <r...@openstack.org> wrote:
> Hi All,
> Is it required for new openstack API's to support both JSON and XML, or
> would it be acceptable to only support JSON?

Glance currently does not support XML and I have no plans in the
immediate future to add support for it.

IMHO, JSON can be validated just as easily as XML. Simply
json.loads(req.body) and then, if parsing succeeds, compare the
mapping against a model. No need for XSDs, WADLs, or any other
acronym.

-jay

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to