Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8032908

getTextContent doesn't return string in JAXP

XMLWordPrintable

    • b26
    • Verified

        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

              aefimov Aleksej Efimov
              asaha Abhijit Saha
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: