Bug Tracker

Opened 13 years ago

Closed 13 years ago

#1721 closed bug (invalid)

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.

Change History (2)

comment:1 Changed 13 years ago by aheimlich

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

comment:2 Changed 13 years ago by john

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.