Hi!
I want to use the Node.isEqualNode() method like e.g. (stupid example):
Node node=browser.getDocument();
boolean b=node.isEqualNode(node);
However the following error is returned:
java.lang.NullPointerException
at $Proxy1.isEqualNode(Unknown Source)
...
Exception occured..
java.lang.AbstractMethodError: com.jniwrapper.win32.ie.dom.e.isEqualNode(Lorg/w3c/dom/Node;)Z
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.jniwrapper.win32.ie.dom.j.run(SourceFile:571)
at com.jniwrapper.win32.MessageLoopThread$ThreadSynchronizedAction.run(MessageLoopThread.java:531)
Any idea what causes this?
Regards,
Jesper
Hi Jesper,
The Node.isEqualNode() method is supported since JDK 5.x.
JExplorer builds under JDK 1.4 and therefore the Node.isEqualNode() method is not supported.
But we are planning to support JDK 5.x in the one of nearest version of JExplorer and this method will be also supported.
Vladimir
Hi Vladimir,
Perfect, that explains it. I will be looking forward for that improvement. Any idea when to expect the implementation?
Regards,
Jesper
Hi Jesper,
We do not have a defined release date for JExplorer 1.7 but hopefully we'll release by the end of May.
Vladimir
Hi again Vladimir,
Has this has been fixed/upgraded in JExplorer 1.8 - I seem to get the same error?
I am running JExplorer 1.8 and JDK 1.5.
Regards,
Jesper
Hi again,
Any comments on this?
Regards,
Jesper
Hello Jesper,
Such ability wasn't included into JExplorer 1.8. If you wish we can raise the priority of this task and send you JExplorer update when the feature will be completed.
Regards,
Vladimir
Hi Vladimir,
Thanks for your reply, I will just wait for your official updates of JExplorer.
As I understand it Node.isEqualNode() is part of DOM Level 3. Is JExplorer 1.8 based on DOM Level 2, and are you planning to implement all/most new features of DOM Level 3 in a future release?
Furthermore: Is JExplorer 1.8 based on Java JDK 5.0 or 6.0?
Regards,
Jesper
Hello Jepser,
I have added this method into JExplorer 1.8 update. You can download it from our ftp: ftp://ftp.teamdev.com/updates/jexplorer-1.8.743.zip
Please let me know if you will have any issues with the new functionality.
JExplorer at present supports only DOM Level 2, because it based on JDK 1.4. We are planing to add DOM Level 3 support and migrate the sources to JDK 5.0 in one of the next release.
Regards,
Vladimir
Hi again Vladimir,
Thanks for the upgrade. I will be looking forward to the DOM3/JDK 1.5-implementation.
Regards,
Jesper