                 // inconsistent behavior around StaticText   
                 return false;
             }
-            else
+            else if (!oneMoreNameCompare(sn, tn))
             {
                 trace("tag name mismatch: cur=", sn, "xml=", tn);
                 retval = true;

        return retval;
    }

}

}

        var d:int;
        
        c = a.length;
        for (var i:int = c - 1;i >= 0; i--)
        {
            var ch:String = a.charAt(i);
            if ((ch >= '0' && ch <= '9') || ch == '_')
