I am having a very weird behavior in my program, and after trying many things and searching here for a possible answer but without success, I decided I'll ask here as a new question. So here is my problem:
I'm using describeType() so got an E4X XML object describing my class. My class has a metadata [Table] with no argument:
[Table]
class MyClass extends ORM
{
[...]
The XML object when debugging is correct:
trace(xmlDescription.metadata.@name[0]);
// output "Table"
trace(xmlDescription.metadata.(@name == "Table").length());
// output... 0!!!!
Also checking the XML object I got the correct structure with the wanted node:
<metadata name="Table"/>
While doing my research I remembered about the XML.ignoreWhitespace attribute. I tried to set it to false before calling describeType() but nothing changed
So any idea how I can get this metadata node in a XML type variable which I should logically get using (but I'm getting null as result):
xmlDescription.metadata.(@name == "Table")[0]
???
Thanks in advance
PS: I'm using Flash Builder 4.6