Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5668

wildfly-singleton_1_0.xsd has the wrong cardinality for singleton-policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.CR4
    • None
    • Clustering
    • None

      Noticed while working on https://issues.jboss.org/browse/WFLY-5658, the fix is:

      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>
      

              kkhan1@redhat.com Kabir Khan
              kkhan1@redhat.com Kabir Khan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: