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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8, 13, 14
    • Fix Version/s: tbd
    • Component/s: xml

      Description

      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


        Attachments

          Activity

            People

            • Assignee:
              joehw Joe Wang
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: