reverting this change until I make unit tests to verify
diff --git a/frameworks/projects/XML/src/main/royale/XML.as b/frameworks/projects/XML/src/main/royale/XML.as
index e90882e..0472d56 100644
--- a/frameworks/projects/XML/src/main/royale/XML.as
+++ b/frameworks/projects/XML/src/main/royale/XML.as
@@ -1177,15 +1177,18 @@
if(propNum.toString() == propertyName)
{
//@todo fixme, this is wrong, it should return a list of that child index content, not the self reference
- /*if(propertyName != "0")
- return null;*/
- if(propNum >= 0 && propNum < _children.length)
+ //before making this change, verify with unit tests...
+ /*if(propNum >= 0 && propNum < _children.length)
{
list.append(_children[propNum]);
list.targetObject = this;
- }
- /*list.append(this);
- list.targetObject = this;*/
+ }*/
+ //temp original restored
+ if(propertyName != "0")
+ return null;
+ list.append(this);
+ list.targetObject = this;
+ //end temp original restored
return list;
}
//support MultiQName for multiple use namespace directives: