Skip to main content

Bug Tracker

Side navigation

#13237 closed bug (invalid)

Opened January 16, 2013 11:27PM UTC

Closed February 01, 2013 08:58AM UTC

Last modified February 01, 2013 08:31PM UTC

.attr fails for xml elements

Reported by: john@webhostingspot.com Owned by: john@webhostingspot.com
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:
Description

When querying with Ajax to a url that returns xml, when reading an element's attribute's value using attr('attName') fails now with 1.9.0

Attachments (0)
Change History (5)

Changed January 17, 2013 09:16PM UTC by Jim comment:1

Replying to [ticket:13237 john@…]:

When querying with Ajax to a url that returns xml, when reading an element's attribute's value using attr('attName') fails now with 1.9.0

I confirm this error.

Changed January 17, 2013 09:19PM UTC by dmethvin comment:2

owner: → john@webhostingspot.com
status: newpending

We still need a test case; can either of you provide one using jsfiddle.net?

Changed February 01, 2013 08:58AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed February 01, 2013 08:13PM UTC by john@webhostingspot.com comment:4

This is not closed! I gave you the steps to reproduce; I do not have to use some tool to tell you otherwise.

I will state it again.

Query via ajax a url that returns xml

Find an element that has attributes.

Read one of the attributes with .attr(name)

You will see the error

How more simpler of a test case do you need?

Changed February 01, 2013 08:31PM UTC by dmethvin comment:5

A sentence is generally not a good substitute for code. If you are unable to provide a complete test case in JavaScript that fails, please try your page with http://code.jquery.com/jquery-git.js and let us know if it still fails.