Committing patch for Jira bug XALANJ-2473 submitted by Martin von Gagern. Corrects the implementation of the DOM Level 3 Node.getTextContent() method which was return null for element nodes, rather than the string values of all the text node descendants in document order.