[kupu-dev] Kupu and Opera

Manos Batsis manos_lists at geekologue.com
Mon Oct 30 21:45:23 CET 2006


Hello,

Quoting Joao Eiras <joao.eiras at gmail.com>:

> There are a few workarounds:
>   - instead of wrapping the xpath expression for selectSingleNode,
> with
> '('+...+')[1]', change the evaluate call to
>
>
document.evaluate(expr,context,resolver,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue

thanks, just commited this:

http://sarissa.cvs.sourceforge.net/sarissa/sarissa/sarissa_ieemu_xpath.js?r1=1.7&r2=1.5

Also in the main sarissa file there is

if( typeof XMLDocument == "undefined" ){ XMLDocument = Document; }

so opera should not "get" XMLDocument stuff. Duncan please let me know
if this fixes it for you. I havent even tested (got a deadline) so...

hth,

Maons


More information about the kupu-dev mailing list