In situations where i have the an attribute name which is same as the child element moddle just won’t parse the structure no matter what;
<custom:formProperty id="formProperty01" name="propName" value="trigger01" type="enum">
<custom:value id="targetModule" name="SMTP"></custom:value>
<custom:value id="targetClass" name="Message"></custom:value>
</custom:formProperty>
I was suspicious maybe “value” is a reserved name/localname for the moddle itself but when i try it like this;
<custom:formProperty id="formProperty01" name="propName" experiment="trigger01" type="enum">
<custom:experiment id="targetModule" name="SMTP"></custom:experiment>
<custom:experiment id="targetClass" name="Message"></custom:experiment>
</custom:formProperty>
still no luck. I tried everything yet no luck. Only interesting thing i encountered is if i define the type as “String” and ignoring the child elements(no isMany etc definition) it still parses the child Element’s content as String. However if i give an invalid type instead of String it will parse the attribute itself. Can anyone help me with this?