[jboss-jira] [JBoss JIRA] (WFCORE-2557) Can not parse 2 complex attributes with same XML element name in 2 different attribute groups

Jeff Mesnil (JIRA) issues at jboss.org
Fri Mar 17 09:46:00 EDT 2017


Jeff Mesnil created WFCORE-2557:
-----------------------------------

             Summary: Can not parse 2 complex attributes with same XML element name in 2 different attribute groups
                 Key: WFCORE-2557
                 URL: https://issues.jboss.org/browse/WFCORE-2557
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management
    Affects Versions: 3.0.0.Beta9
            Reporter: Jeff Mesnil
            Assignee: Brian Stansberry


This issue is a followup on WFLY-8021 where there was 2 complex attributes on the same resource:
- target-credential-reference (attribute group = target, xml element name = credential-reference)
- source-credential-reference (attribute group = source, xml element name = credential-reference)

with the corresponding XML structure:

{code}
<jms-bridge name="myBridge" ...>
   <source ...>
        <credential-reference clear-text="passwordOut!"/>
   </source>
   <target ...>
        <credential-reference clear-text="passwordOut!"/>
   </target>
</jms-bridge>
{code}

The parser fails to parse the source-credential-reference as the persistent XML description elementsAttribute map has a single entry for the credential-reference key that point to the target-credential-reference attribute.




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list