AS3 Test case #5 fails 0.71

Bug #1115803 reported by zahurdias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lightspark
Confirmed
Medium
Unassigned

Bug Description

trace("Test case #5");

internal var myXML:XML = <parent><child /></parent>;

trace(myXML.toXMLString()); // <parent><child /></parent>;

trace("We delete a node");
delete myXML.child;
trace(myXML.toXMLString()); // <parent/>

trace("We add a node");
myXML.appendChild(<p>world</p>);
trace(myXML.toXMLString()); // <parent><p>world</p></parent>

zahurdias (zahurdias)
Changed in lightspark:
status: New → Invalid
zahurdias (zahurdias)
Changed in lightspark:
status: Invalid → New
Revision history for this message
Antti Ajanki (aajanki) wrote :

Deleting nodes has not yet been implemented. A major problem is that libxml++ does not support orphan nodes, which should be created if somebody was holding a reference to the deleted node or one of its children.

Changed in lightspark:
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.