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

Stack element in JGroups subsystem allows arbitrary attribute to be defined

    XMLWordPrintable

Details

    Description

      When adding foo="bar" attribute to <stack> element in JGroups subsystem and running the EAP, the XML validation passes.

      There should Validation error thrown instead.

      JGroups subsystem configuration
      <subsystem xmlns="urn:jboss:domain:jgroups:4.1">
          <channels default="ee" foo="bar">
      	<channel name="ee" stack="udp"/>
          </channels>
          <stacks>
      	<stack name="udp" foo="bar">
      	    <transport type="UDP" socket-binding="jgroups-udp"/>
      	    <protocol type="PING"/>
      	    <protocol type="MERGE3"/>
      	    <protocol type="FD_SOCK"/>
      	    <protocol type="FD_ALL"/>
      	    <protocol type="VERIFY_SUSPECT"/>
      	    <protocol type="pbcast.NAKACK2"/>
      	    <protocol type="UNICAST3"/>
      	    <protocol type="pbcast.STABLE"/>
      	    <protocol type="pbcast.GMS"/>
      	    <protocol type="UFC"/>
      	    <protocol type="MFC"/>
      	    <protocol type="FRAG2"/>
      	</stack>
          </stacks>
      </subsystem>
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: