Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Steps to reproduce:
if you have [DefaultProperty("someProperty")]
and then later:
public class MyClass {
[ArrayElementType("Number")]
public function get someProperty():Array
...
If then in MXML you try to do this:
<MyClass>
<Number>0</Number>
<String>abc</String>
</MyClass>
You don't get error. But if you do:
<MyClass>
<someProperty>
<Number>0</Number>
<String>abc</String>
</someProperty>
</MyClass>
You do get error.