[jboss-jira] [JBoss JIRA] (WFLY-5668) wildfly-singleton_1_0.xsd has the wrong cardinality for singleton-policy
Paul Ferraro (JIRA)
issues at jboss.org
Thu Nov 12 09:48:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128310#comment-13128310 ]
Paul Ferraro commented on WFLY-5668:
------------------------------------
[~kabirkhan] Whoops! Thanks for spotting and fixing this.
> 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list