SGF-289 - Enumeration restrictions (xsd:enumeration) should be avoided in the XML schema.

Removed the XSD enumeration restriction on the 'eviction-type' attribute of the 'subscription-config' sub-element of the 'cache-server' element inside the SDG XML namespace (XSD) allowing the use of property placeholders to specify the Eviction Policy for Client Subscription to GemFire Cache Servers.
This commit is contained in:
John Blum
2015-02-02 10:44:51 -08:00
parent 4fc92494ae
commit b8bd3c69f0
10 changed files with 614 additions and 104 deletions

View File

@@ -2122,17 +2122,8 @@ The client subscription configuration that is used to control a clients use of s
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="eviction-type" use="optional" default="NONE">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="NONE" />
<xsd:enumeration value="MEM" />
<xsd:enumeration value="ENTRY" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="capacity" type="xsd:string"
use="optional" default="1" />
<xsd:attribute name="eviction-type" type="xsd:string" use="optional" default="NONE"/>
<xsd:attribute name="capacity" type="xsd:string" use="optional" default="1"/>
<xsd:attribute name="disk-store" type="xsd:string" use="optional"/>
</xsd:complexType>
</xsd:element>