rem: var parent = view.database.GetTarget(aSource, krTypeParent, true); while (parent) { var countRes = view.database.GetTarget(parent, aArc, true); 
add:  var parent = this.getParent(view.XalanDS, aSource); while (parent && !parent.EqualsNode(root)) { var countRes = this.mRegressionDS.GetTarget(parent, aArc, true); 
context:     assertNewCount: function(aSource, aArc, aIncrement)    {        var count = 0;        var parent = view.database.GetTarget(aSource, krTypeParent, true);        while (parent) {            var countRes = view.database.GetTarget(parent, aArc, true);            if (countRes) {                count = countRes.QueryInterface(nsIRDFInt).Value;            }                var newCountRes = kRDFSvc.GetIntLiteral(count + aIncrement);            if (!newCountRes) {                return;            }                if (countRes) {                view.database.Change(parent, aArc, countRes, newCountRes);            }            else {                view.database.Assert(parent, aArc, newCountRes, true);            }            parent = view.database.GetTarget(parent, krTypeParent, true);        }    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0d9b9b6785ff1b1c2ddc5d1175e47fba5753d959/buster-view.js/clean/extensions/transformiix/resources/buster/buster-view.js