You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Sauquet Dominique <ds...@prosodie.com> on 2002/09/27 15:49:41 UTC
Problem with the method
hello
I tried to use the method renameNode of the class
org.apache.xerces.dom.DocumentImpl
The node is effectively renamed but I generate an exception :
NullPointerException.
Please can you explain me what happens ?
is it a misuse ?
can I do otherwise ?
I attach a test file.
You can test it by launching java TestClass
<<TestClass.class>> <<TestClass.java>>
ps : I tried another method much more complex where a replaceChild is used
but does not work when I want to change the tag name of the root !!
Thanks a lot
> Dominique Sauquet
> Direction des Moyens Informatiques
> Tel : 01 46 84 13 12
> <ma...@prosodie.com>
>
> Prosodie
> 150, rue GalliƩni
> 92100 Boulogne
> <http://www.prosodie.com/>
>
>
>