]
Kabir Khan moved JBEAP-1889 to WFLY-5668:
-----------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-5668 (was: JBEAP-1889)
Workflow: GIT Pull Request workflow (was: CDW v1)
Component/s: Clustering
(was: Clustering)
Target Release: (was: 7.0.0.GA)
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: Paul Ferraro
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}