← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 992214] Re: GET /tenants XSD schema validation fails

 

XML support is deprecated and slated for removal

** Changed in: keystone
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/992214

Title:
  GET /tenants XSD schema validation fails

Status in OpenStack Identity (Keystone):
  Won't Fix

Bug description:
  Example (using sample data) (2012.1 tag)

  <?xml version="1.0" encoding="UTF-8"?>
  <tenants xmlns="http://docs.openstack.org/identity/api/v2.0";>
    <tenant id="13a5829cc7b84750a60cdc71ee62f15f" enabled="true" name="admin"/>
    <tenant id="4ab192b13c2d4ab1956a8360ad844a6c" enabled="true" name="demo"/>
  </tenants>

  There are 2 errors, according to tenant.xsd:

  1) description field is missing
  2) id is not of type XSD:id (http://www.w3.org/TR/REC-xml-names/#NT-NCName)

  So, the above should have been something like:

  <?xml version="1.0" encoding="UTF-8"?>
  <tenants xmlns="http://docs.openstack.org/identity/api/v2.0";>
      <tenant id="A13a5829cc7b84750a60cdc71ee62f15f" enabled="true" name="admin">
          <description>Admin</description>
      </tenant>
      <tenant id="B4ab192b13c2d4ab1956a8360ad844a6c" enabled="true" name="demo">
          <description>Demo</description>
      </tenant>
  </tenants>

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/992214/+subscriptions