RelaxNG schema contains duplicate elements => is invalid
Bug #885025 reported by
justinsb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
John Garbutt |
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. :-(
tags: | added: osapi-1.1 |
Changed in nova: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in nova: | |
status: | Confirmed → Triaged |
Changed in nova: | |
importance: | High → Medium |
Changed in nova: | |
assignee: | nobody → Chris St. Pierre (stpierre) |
status: | Triaged → In Progress |
tags: |
added: api removed: osapi-1.1 |
Changed in nova: | |
assignee: | Chris St. Pierre (stpierre) → John Garbutt (johngarbutt) |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
justin. Any idea how we can write a test validating this in python so we can make sure it is legal?