                             tv = tv.substring(1, tv.length - 2);
                             sparts = sv.split(",");
                             tparts = tv.split(",");
-                            n = sparts.length;
-                            for (i = 0; i < n; i++)
+                            m = sparts.length;
+                            for (j = 0; j < m; j++)
                             {
-                                sv = sparts[i];
-                                tv = tparts[i];
+                                sv = sparts[j];
+                                tv = tparts[j];
                                 sv = sv.split("=")[1];
                                 tv = tv.split("=")[1];
                                 sf = Number(sv);

                else 
                {
                    sv = s['@' + st].toString();
                    tv = s['@' + tt].toString();
                    if (sv != tv)
                    {
                        if (xywidthheight[st] == 1)

        {
            for (i = 0; i < n; i++)
            {
                var nk:String = sl[i].nodeKind();
                if (nk == "text")
                {
                    if (sl[i].text() != tl[i].text())
                    {
                        trace(sn, "different number of text nodes: cur=", sl[i].text(), "xml=", tl[i].text());
                        retval = true;
                    }
                }
                else if (nk == "element")
                {
                    if (compareNodes(sl[i], tl[i]))
                        retval = true;
                }
            }
        }
        return retval;
