Bug Tracker

Modify

Ticket #1721 (closed bug: invalid)

Opened 6 years ago

Last modified 6 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 6 years ago by aheimlich

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

comment:2 Changed 6 years ago by john

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.