Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: 1.3.1
-
Fix Version/s: None
-
Component/s: Converters
-
Labels:None
Description
In AbstractReflectionConverter.doUnmarshal() method, there is a bug related to not being able to read the children's attributes. For example:
<element1 parentAtt>
<child1 childAtt="attValue">value</child>
</element1>
The "childAtt" attribute will not be processed, once after processing the parent's attributes ("parentAtt") in the previous iteration, there is no way to process the children's attributes afterwards.
Just fixing the XML file:
<element1 parentAtt="attValueFromParent">
<child1 childAtt="attValueFromChild">value</child>
</element1>