I've got two versions of this code: the first one works fine, but the second one crashes with "Error: Bookmark no longer valid" when I click the
"Append element to dataProvider" button.
The difference between the two is in the dataProvider XML format (child nodes vs. attributes).
var i:XML = <PartyFavor><Gift>Balloons</Gift><Color>255</Color></PartyFavor>;
var i:XML = <PartyFavor Gift="Balloons" Color="255" />;
(Of course I am also changing "Color" to "@Color," etc. to work with the attributes.)
Any ideas why using attributes causes it to crash? Am I not allowed to append to a DataGrid's dataProvider?
The code is modified from this page: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=14346