1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #4076: Keep xs:integer type for acl (#4095)

Although the format is hexadecimal, ONE produces
values where length is not even (without adding
leading zero). This violates xs:hexBinary type.

(cherry picked from commit f1774693cfb41262a791ec7660a4429544e2d8f3)
This commit is contained in:
Jan Orel 2020-01-14 09:44:02 +01:00 committed by Ruben S. Montero
parent 1e5659a7ed
commit c81e21523a
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -8,10 +8,10 @@
<xs:complexType>
<xs:sequence>
<xs:element name="ID" type="xs:integer"/>
<xs:element name="USER" type="xs:hexBinary"/>
<xs:element name="RESOURCE" type="xs:hexBinary"/>
<xs:element name="RIGHTS" type="xs:hexBinary"/>
<xs:element name="ZONE" type="xs:hexBinary"/>
<xs:element name="USER" type="xs:integer"/>
<xs:element name="RESOURCE" type="xs:integer"/>
<xs:element name="RIGHTS" type="xs:integer"/>
<xs:element name="ZONE" type="xs:integer"/>
<xs:element name="STRING" type="xs:string"/>
</xs:sequence>
</xs:complexType>
@ -19,4 +19,4 @@
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</xs:schema>