Skip to content

Commit

Permalink
[WFLY-6950] Parser should create an OBJECT param for an OBJECT attrib…
Browse files Browse the repository at this point in the history
…ute so WFCORE-1581 doesn't result in transformer test failures when the attribute doesn't match the param
  • Loading branch information
bstansberry committed Aug 12, 2016
1 parent d1736b2 commit f4b49e7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ private void parseGenericProperty_1_0(XMLExtendedStreamReader reader, ModelNode
if (!required.isEmpty()) {
throw missingRequired(reader, required);
}
node.add(name, val);
node.get(name).set(val);
requireNoContent(reader);
}

Expand Down Expand Up @@ -722,7 +722,7 @@ private void parseGenericProperty(XMLExtendedStreamReader reader, ModelNode node
if (!required.isEmpty()) {
throw missingRequired(reader, required);
}
node.add(name, val);
node.get(name).set(val);
requireNoContent(reader);
}

Expand Down Expand Up @@ -1291,4 +1291,4 @@ public static Attribute forName(String localName) {
return attribute == null ? UNKNOWN : attribute;
}
}
}
}

0 comments on commit f4b49e7

Please sign in to comment.