You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Curtis Aube (JIRA)" <ji...@apache.org> on 2012/12/18 15:18:12 UTC
[jira] [Created] (FLEX-33313) Cannot append child to xml
Curtis Aube created FLEX-33313:
----------------------------------
Summary: Cannot append child to xml
Key: FLEX-33313
URL: https://issues.apache.org/jira/browse/FLEX-33313
Project: Apache Flex
Issue Type: Bug
Components: .Unspecified - Framework
Affects Versions: Adobe Flex SDK 3.2 (Release), Adobe Flex SDK 3.3 (Release), Adobe Flex SDK 4.6 (Release)
Reporter: Curtis Aube
var xml1:XML = <node><childnode/></node>;
var xml2:XML = <node/>;
xml2.appendChild(xml1.childnode[0]);
xml1.appendChild(<newnode/>);
trace(xml1.toXMLString());
Output:
<node>
<childnode/>
</node>
Expected Output:
<node>
<childnode/>
<newnode/>
</node>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira