[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] acm: Restrict the XML of the policy to only allow one



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1238582650 -3600
# Node ID 380cfb464b3bd64533ad37ccb5daeb5822a8889f
# Parent  dbc4014882d0ae9cda93ec3e53b78529dad35234
acm: Restrict the XML of the policy to only allow one
SimpleTypeEnforcementType node.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/python/xen/util/acmpolicy.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r dbc4014882d0 -r 380cfb464b3b tools/python/xen/util/acmpolicy.py
--- a/tools/python/xen/util/acmpolicy.py        Wed Apr 01 08:36:21 2009 +0100
+++ b/tools/python/xen/util/acmpolicy.py        Wed Apr 01 11:44:10 2009 +0100
@@ -216,7 +216,7 @@ ACM_SCHEMA="""<?xml version="1.0" encodi
                <xsd:complexType>
                        <xsd:sequence>
                                <xsd:element name="Name" 
type="NameWithFrom"></xsd:element>
-                               <xsd:element ref="SimpleTypeEnforcementTypes" 
minOccurs="0" maxOccurs="unbounded" />
+                               <xsd:element ref="SimpleTypeEnforcementTypes" 
minOccurs="0" maxOccurs="1" />
                                <xsd:element ref="ChineseWallTypes" 
minOccurs="0" maxOccurs="unbounded" />
                        </xsd:sequence>
                </xsd:complexType>

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.