Skip to main content

Bug Tracker

Side navigation

#4435 closed enhancement (fixed)

Opened March 27, 2009 10:16AM UTC

Closed January 25, 2010 11:49PM UTC

Last modified March 09, 2012 10:25AM UTC

Parse Error cause being lost

Reported by: nunfur Owned by:
Priority: minor Milestone: 1.4.1
Component: ajax Version: 1.4
Keywords: Cc:
Blocked by: Blocking:

I recently started working with jQuery, using its ajax features. I needed to obtain and parse an RSS feed. this ajax call was failing and i could not find out what was happening.

The error was a parse error, if when jQuery tries to parse the HttpData the status is changed to "parseerror", the error function is called but the original error is lost.

Anyway to change this so the cause can reach the error function?

Orinal code[line 3582]:

try {

// process the data (runs the xml through httpData regardless of callback)

data = jQuery.httpData( xhr, s.dataType, s );

} catch(e) {

status = "parsererror";


Attachments (0)
Change History (1)

Changed January 25, 2010 11:49PM UTC by john comment:1

priority: trivialminor
resolution: → fixed
status: newclosed