Ticket #1890 (closed bug: worksforme)
XML Broken on IE 7 and Opera 9.23 with jquery version 1.2.1
| Reported by: | lisboa | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.2 |
| Component: | ajax | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Code:
alert($("resposta", retorno).text());
where "retorno" is a xml code like this:
<?xml version="1.0" encoding="UTF-8"?>
<retorno>
<resposta>Você já deu sua avaliação a esse livro.</resposta>
</retorno>
Error message on Opera:
Timeout thread: delay 13 ms Error: name: TypeError message: Statement on line 1: Type mismatch (usually a non-object value used where an object is required) Backtrace:
Line 1 of eval script
if (typeof t != "string") if (o && ! o.nodeType)
o = o document;
var d = [o], done = [], last; while (t && last != t)
if (t) if (d && o == d[0]) done = E.merge(done, d);
return done;
Line 1 of eval script
return E.find(t, a);
Line 1 of eval script
if (typeof b == "string") var d = [];
for (var i = 0, el = c.length;i < el;i++)
return d;
Line 1 of eval script
var b = E.map(this, (function (a)
{
return E.find(t, a);
} ));
| t.indexOf("..") > - 1 ? E.unique(b) : b); |
Line 1 of eval script
c = c document;
if (typeof c == "string")
else
return this.setArray(c.constructor == Array && c (c.jquery c.length && c != window && ! c.nodeType && c[0] != undefined && c[0].nodeType) && E.makeArray(c) [c]);
Line 1 of eval script
return this instanceof E ? this.init(a, b) : new E(a, b);
Line 1 of eval script
return this instanceof E ? this.init(a, b) : new E(a, b);
Line 184 of linked script http://dev.kwefele.org/_scripts/kwe.js
var teste = $("resposta", retorno).text();
Line 1 of eval script
if (s.success) if (s.global)
Line 1 of eval script
if (! k && i && (i.readyState == 4 a == "timeout")) At unknown location
[statement source code not available]
Error message on IE 7:
'undefined' is null or not an object
Attachments
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

