< prev index next >

jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/ref/DTMNodeProxy.java

Print this page

        

@@ -2114,11 +2114,11 @@
      *   platform.
      * @since DOM Level 3
      */
     @Override
     public String getTextContent() throws DOMException {
-        return getNodeValue();  // overriden in some subclasses
+        return dtm.getStringValue(node).toString();
     }
 
      /**
      * Compares a node with this node with regard to their position in the
      * document.
< prev index next >