W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2011

Re: ReSpec patch for IE9+

From: Robin Berjon <robin@berjon.com>
Date: Mon, 28 Nov 2011 11:24:40 +0100
Cc: "public-device-apis@w3.org public-device-apis@w3.org" <public-device-apis@w3.org>, Adrian Bateman <adrianba@microsoft.com>, "spec-prod@w3.org Prod" <spec-prod@w3.org>
Message-Id: <8A2004E9-AB57-4DF2-8AC4-D8A8C240F918@berjon.com>
To: Travis Leithead <Travis.Leithead@microsoft.com>
Hi Travis!

On Nov 24, 2011, at 23:23 , Travis Leithead wrote:
> Today is Thanksgiving [1] in the US, where we remember and are thankful for all the blessings in our lives. One thing I am grateful for is ReSpec which helps make many W3C spec-editor’s lives easier. Thanks Robin!

Very glad you like it!

> I’ve noticed that in IE9+ when viewing specs that utilize ReSpec (for example, the Contacts API [2]), I would get the following error (see also attached screenshot): “Processing error: TypeError: Object doesn’t support property or method ‘evaluate’”.

Yes, it was originally written just for my own uses and so did not take other browsers into account because I didn't expect it to catch on. So much for scratching itches :)

> ‘evaluate’, of course, is the API used to execute XPath queries on the DOM using the W3C DOM Level 3 XPath WG Note [3]. Until such time as IE implements XPath support, I’d love to see ReSpec work as well on IE9+ as any other modern web browser. To that end, I wrote up a quick-and-dirty patch (below and attached) that adds the specific XPath support that ReSpec needs for browsers without ‘evaluate’ support. I’ve tested it on IE9+ and it seems to work.

This is just amazing! Thank you so much! I've applied it, so we should now support IE9 :) Excellent!

Thanks again!

Robin Berjon - http://berjon.com/ - @robinberjon
Received on Monday, 28 November 2011 10:25:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:32 UTC