JDK-8032908 : getTextContent doesn't return string in JAXP
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 7u25
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-01-28
  • Updated: 2016-08-26
  • Resolved: 2014-07-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8 JDK 9
6u105Fixed 7u76Fixed 8u40Fixed 9 b26Fixed
Related Reports
Relates :  
Description
When Node#getTextContent gets text content of node which is passed to XSLT 
extension function, a string does not return but null returns.
Detailed Problem Statement Supporting Information: 
 
When all the following conditions are satisfied, problem seems to occur.  
1) A extension function is used in XSLT style sheet 
2) A node which has text of child element(descendants) is passed as an 
argument to the extension function. 
3) In the extension function, getTextContent is called for the node