Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7854 closed bug (duplicate)

$(XMLResultObject).find(descendant) in IE6 works fine in jQuery-1.3.2 but not in jQuery-1.4.4

Reported by: anonymous Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


$(XMLResultObject).find(descendant) in IE6 works fine in jQuery-1.3.2 but not in jQuery-1.4.4

Here is the AJAX call:


type: "POST", url: serviceUrl, contentType: "application/json; charset=utf-8", data: paramList, dataType: "text", success: function(result) {

dataStore.Result = JSON.parse(result).d; Pfizer.CC.Client.Biz.API.Service.runOnSuccess();

}, error: function() {




Here is the XML stream returned (correctly in both browsers) and set in a string variable:

<?xml version="1.0" standalone="yes"?> <CCBizModel xmlns="CCBizModel"> <BizItem>

<BizContext>Startup</BizContext> <ParameterCollection>


</ParameterCollection> <PayLoadCOllection>


<HeaderDate>November 10</HeaderDate>


</PayLoadCOllection> <Status>Success</Status> <NotificationCollection>

<Notification>All Requests Succeeded</Notification>


</BizItem> </CCBizModel>

Here is the success method that works in jQuery 1.3.2 but not in jQuery 1.4.4 on IE6:

Pfizer.CC.Client.Biz.API.Service.runOnSuccess = function() {

var dataObject = dataStore.Result;

switch (Pfizer.CC.Client.Biz.API.bizContent) {

case "Startup":

try {

var descendantDataName = "HeaderDate"; var myResult = $(dataObject).find(descendantDataName);

} catch (Error) {







end success function


Change History (4)

comment:1 Changed 5 years ago by davidekarasek@…

sorry, here is my email address for the ticket: davidekarasek@…

comment:2 Changed 5 years ago by anonymous

Note I'm not allowed to download/use jsFiddle in my environment.

comment:3 Changed 5 years ago by dmethvin

  • Resolution set to duplicate
  • Status changed from new to closed

As documented at api.jquery.com, $() is not intended to parse XML.

comment:4 Changed 5 years ago by dmethvin

Duplicate of #6693.

Note: See TracTickets for help on using tickets.