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.

git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@889881 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/org/apache/xml/dtm/ref/DTMNodeProxy.java b/src/org/apache/xml/dtm/ref/DTMNodeProxy.java
index 94080c8..03599cf 100644
--- a/src/org/apache/xml/dtm/ref/DTMNodeProxy.java
+++ b/src/org/apache/xml/dtm/ref/DTMNodeProxy.java
@@ -1940,7 +1940,7 @@
      * @since DOM Level 3
      */
     public String getTextContent() throws DOMException {
-        return getNodeValue();  // overriden in some subclasses
+        return dtm.getStringValue(node).toString();
     }
 
     /**