Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Committing patch for Jira bug XALANJ-2473 submitted by Martin von Gag…


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: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit a00015c6277a96a3b3920ee1935328fab189d3ab 1 parent 5bb3325
Henry Zongaro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/org/apache/xml/dtm/ref/
2  src/org/apache/xml/dtm/ref/
@@ -1940,7 +1940,7 @@ public void setTextContent(String textContent)
* @since DOM Level 3
public String getTextContent() throws DOMException {
- return getNodeValue(); // overriden in some subclasses
+ return dtm.getStringValue(node).toString();
Please sign in to comment.
Something went wrong with that request. Please try again.