]
Radoslav Husar closed WFLY-5668.
--------------------------------
Fix Version/s: 10.0.0.CR4
Resolution: Done
wildfly-singleton_1_0.xsd has the wrong cardinality for
singleton-policy
------------------------------------------------------------------------
Key: WFLY-5668
URL:
https://issues.jboss.org/browse/WFLY-5668
Project: WildFly
Issue Type: Bug
Components: Clustering
Reporter: Kabir Khan
Assignee: Kabir Khan
Fix For: 10.0.0.CR4
Noticed while working on
https://issues.jboss.org/browse/WFLY-5658, the fix is:
{code}
diff --git
a/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd
b/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd
index b591c6c..1b02079 100644
--- a/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd
+++ b/clustering/singleton/extension/src/main/resources/schema/wildfly-singleton_1_0.xsd
@@ -20,7 +20,7 @@
<xs:complexType name="singleton-policies">
<xs:sequence>
- <xs:element name="singleton-policy"
type="tns:singleton-policy">
+ <xs:element name="singleton-policy"
type="tns:singleton-policy" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Defines a singleton
policy</xs:documentation>
</xs:annotation>
{code}