[webkit-dev] Re: createNSResolver and namespaced XPath

Paul Everitt paul at zeapartners.org
Mon May 22 02:27:51 PDT 2006


Anders Carlsson wrote:
> 
> 20 maj 2006 kl. 22.01 skrev Paul Everitt:
> 
>>
>> Howdy all.  First and foremost, thanks a ton for 6638:
>>
>>   http://bugzilla.opendarwin.org/show_bug.cgi?id=6638
>>
>> I'm working on some XForms inspired stuff.  6638 is important for the 
>> ideas I'm trying out.
>>
>> I also saw 8791:
>>
>>   http://bugzilla.opendarwin.org/show_bug.cgi?id=8791
>>
>> ...and I'm sticking to createNSResolver for now.  However, I can't get 
>> it to work with namespaced XPath expressions.  For example the 
>> following matches nothing:
>>
>>
> 
> [test case snipped]
> 
> This is a great test case that indeed shows a bug. Could you file a new 
> bug and attach it?

Hi Anders, thanks for the fast reply.  Here is the bug and attachment:

   http://bugzilla.opendarwin.org/show_bug.cgi?id=9035
   http://bugzilla.opendarwin.org/attachment.cgi?id=8457

I grep'd through the WebKit source looking for JS tests that might show 
how to do an XPath selection of content in a namespace, but couldn't 
find anything.  Do you have an example of something that works?  Perhaps 
I was just doing it the wrong way.

--Paul




More information about the webkit-dev mailing list