ia64/xen-unstable

changeset 19483:380cfb464b3b

acm: Restrict the XML of the policy to only allow one
SimpleTypeEnforcementType node.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Apr 01 11:44:10 2009 +0100 (2009-04-01)
parents dbc4014882d0
children 2a6b32d1e705
files tools/python/xen/util/acmpolicy.py
line diff
     1.1 --- a/tools/python/xen/util/acmpolicy.py	Wed Apr 01 08:36:21 2009 +0100
     1.2 +++ b/tools/python/xen/util/acmpolicy.py	Wed Apr 01 11:44:10 2009 +0100
     1.3 @@ -216,7 +216,7 @@ ACM_SCHEMA="""<?xml version="1.0" encodi
     1.4  		<xsd:complexType>
     1.5  			<xsd:sequence>
     1.6  				<xsd:element name="Name" type="NameWithFrom"></xsd:element>
     1.7 -				<xsd:element ref="SimpleTypeEnforcementTypes" minOccurs="0" maxOccurs="unbounded" />
     1.8 +				<xsd:element ref="SimpleTypeEnforcementTypes" minOccurs="0" maxOccurs="1" />
     1.9  				<xsd:element ref="ChineseWallTypes" minOccurs="0" maxOccurs="unbounded" />
    1.10  			</xsd:sequence>
    1.11  		</xsd:complexType>