OpenStack Compute (Nova)

RelaxNG schema contains duplicate elements => is invalid

Reported by justinsb on 2011-11-02
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
High
justinsb

Bug Description

The RelaxNG schema contains elements with the same name & namespace but different structure for flavors, images and servers. I'm pretty sure this is illegal - how could a validating parser know which syntax to choose?

This is a serious blocker for me - the EC2 API is incomplete, while the OpenStack API is not sufficiently well specified to use from a strongly-typed language. The XML schema would normally be the answer but RelaxNG isn't as widely supported as XSD, and the schema looks like it is incorrect anyway. :-(

Thierry Carrez (ttx) on 2011-11-10
tags: added: osapi-1.1
Changed in nova:
importance: Undecided → High
status: New → Confirmed
Vish Ishaya (vishvananda) wrote :

justin. Any idea how we can write a test validating this in python so we can make sure it is legal?

justinsb (justin-fathomdb) wrote :

I could take a stab at this on the bug squashing day...

Changed in nova:
assignee: nobody → justinsb (justin-fathomdb)
Changed in nova:
status: Confirmed → Triaged

Justin, are you still working on this?

All,
Does not seem to be bothering anyone else, can we lower the Importance?

-- dims

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers