Skip to main content

Bug Tracker

Side navigation

#1721 closed bug (invalid)

Opened September 24, 2007 05:35AM UTC

Closed September 26, 2007 10:02PM UTC

XPath selectors with extern XML string (from AJAX response) doesn't work

Reported by: johny Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: xpath Cc:
Blocked by: Blocking:
Description

Code:

id = $('/id', responseText).text();
response = $('/response', responseText).text();

doesn't work on version 1.2.1 where responseText is:

<?xml version="1.0" encoding="utf-8">
<add>
   <id>12</id>
   <response>added</response>
</add>

Works with 1.1.4 version.

Attachments (0)
Change History (2)

Changed September 24, 2007 06:52AM UTC by aheimlich comment:1

XPath selectors have been removed from jQuery 1.2. See the release notes for more information.

Changed September 26, 2007 10:02PM UTC by john comment:2

resolution: → invalid
status: newclosed