Bug in "nodeType" attribute selector, e.g. not('[nodeType=1]') in IE after upgrading to jQuery 1.2.2?

Bug in "nodeType" attribute selector, e.g. not('[nodeType=1]') in IE after upgrading to jQuery 1.2.2?


(Reposting this from jQuery mailing list, as Karl pointed out to me
that it would be better suited here)
All,
in jQuery 1.2.1 I was using the following snippet, which I actually
more or less took from the documents example page:
$('p').contents().not('[nodeType=1]').replaceWith(' ');
I used this to empty out some text nodes I couldn't control otherwise
but leave other HTML elements alone.
That wasn't working in IE any longer after I upgraded to jQuery 1.2.2.
The following is:
$('p').contents().filter('[nodeType=3]').replaceWith(' ');
Is this a bug or is one not supposed to use "not" with such internal
attributes anyway (I noticed that the example has been removed from
the docs).
--Klaus