Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

XPath plugin breaks jquery 1.2.1 attribute selector


Project:Basic XPath
Version:1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Adding the jquery.xpath plugin on top of jquery v1.2.1 seems to prevent the v1.2.1 attribute selector from functioning: ie. with the plugin loaded
v1.1 syntax:
$("div[@id]").length
returns a value greater than 0 as expected
v1.2.1 syntax:
$("div[id]").length
returns 0 - which is not the same result as without the plugin loaded.

Is this the expected result? ie. should the compatilbility plugin break the new selector syntax?