Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.2 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Create 2 mx:XML tags and use {} to bind from one to the other.
Actual Results:
Binding completely replaces the node, instead of just the contents.
Expected Results:
Visually looking at the xml, I would assume just contents would be replaced.
Workaround (if any):
Cast the XML to a string.
Example:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="applicationCompleteHandler()">
<mx:Script>
<![CDATA[
private function applicationCompleteHandler():void
]]
>
</mx:Script>
<mx:XML id="translations">
<root>
<bug>This seems like a bug</bug>
</root>
</mx:XML>
<mx:XML id="unexpectedResults">
<root>
<label>
</label>
</root>
</mx:XML>
<mx:XML id="expectedResults">
<root>
<label>
</label>
</root>
</mx:XML>
</mx:Application>