rem: treeString = ORBEON.util.String.replace(treeString, "\n", " "); treeString = ORBEON.util.String.replace(treeString, "\r", " "); var treeArray = eval(treeString); 
add: var treeArray = ORBEON.util.String.eval(treeString); 
context:     _tree: function(treeDiv) {        // Save in the control if it allows multiple selection        treeDiv.xformsAllowMultipleSelection = ORBEON.util.Dom.hasClass(treeDiv, "xforms-select");        // Parse data put by the server in the div        var treeString = ORBEON.util.Dom.getStringValue(treeDiv);        treeString = ORBEON.util.String.replace(treeString, "\n", " ");        treeString = ORBEON.util.String.replace(treeString, "\r", " ");        var treeArray = eval(treeString);        ORBEON.util.Dom.setStringValue(treeDiv, "");        treeDiv.value = "";        // Create YUI tree and save a copy        var yuiTree = new YAHOO.widget.TreeView(treeDiv.id);        ORBEON.xforms.Globals.treeYui[treeDiv.id] = yuiTree;        // Build the tree        ORBEON.xforms.Init._initTreeDivFromArray(treeDiv, yuiTree, treeArray);        // Save value in tree        treeDiv.previousValue = treeDiv.value;        // Show the currently selected value        if (!treeDiv.xformsAllowMultipleSelection) {            var selectedNode = yuiTree.getNodeByProperty("value", treeDiv.value);            YAHOO.util.Dom.addClass(selectedNode.getLabelEl(), "xforms-tree-label-selected");        }                // Register event handler for click on label        yuiTree.subscribe("labelClick", ORBEON.xforms.Events.treeLabelClick);        ORBEON.util.Dom.removeClass(treeDiv, "xforms-initially-hidden");    },
meta: 7801	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7801/3cdf7cb14c5a0df2675c4bc421f95e303518cf5d/xforms.js/buggy/src/resources-packaged/ops/javascript/xforms.js