[jboss-jira] [JBoss JIRA] (WFLY-5668) wildfly-singleton_1_0.xsd has the wrong cardinality for singleton-policy

Kabir Khan (JIRA) issues at jboss.org
Fri Nov 13 04:34:00 EST 2015


     [ https://issues.jboss.org/browse/WFLY-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan reassigned WFLY-5668:
--------------------------------

    Assignee: Kabir Khan  (was: Paul Ferraro)


> 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
>
> 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