Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9393

Stack element in JGroups subsystem allows arbitrary attribute to be defined

    XMLWordPrintable

Details

    • Bug
    • Status: Verified (View Workflow)
    • Minor
    • Resolution: Done
    • 7.1.0.DR13
    • 7.1.0.DR16
    • Clustering
    • None

    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
              mvinkler1@redhat.com Michal Vinkler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: