implement the setter for Node.nodeValue.(fixes #1825)