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

Documentation for org.w3c.dom.Node.setTextContent is for getTextContent

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      documentation error

      A DESCRIPTION OF THE PROBLEM :
      The documentation for the org.w3c.dom.Node.setTextContent method in the API doc is a copy of the documentation for org.w3c.dom.Node.getTextContent right above it. The methods are actually different. It appears the getTextContent explanation was improperly copied.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Documentation error

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Understand how org.w3c.dom.Node.setTextContent method works.
      ACTUAL -
      I'm going to have to guess.

      FREQUENCY : always


            joehw Joe Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: