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

Published JAXP1.3 javadoc differs from jdk1.5.0 javadoc

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.3
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Name: eaR10174 Date: 05/25/2004



        During porting JAXP 1.3 tests from JCK1.5 to JAXP TCK 1.3 it was found that there are
        two different versions of the javadoc for the class javax.xml.transform.dom.DOMResult.
        The first version of the javadoc has been published on the JCP site since
        December'2003, the second version is in jdk1.5.0-beta2-b51:

         --- published JAXP javadoc ---:

         Constructor Summary
         DOMResult()
                  Zero-argument default constructor.
         DOMResult(Node node)
                  Use a DOM node to create a new output target.
         DOMResult(Node node, Node nextSibling)
                  Use a DOM node to create a new output target specifying the child node
                  where the result nodes should be inserted before.
         DOMResult(Node node, Node nextSibling, java.lang.String systemId)
                  Use a DOM node to create a new output target specifying the child node
                  where the result nodes should be inserted before and the specified System
                  ID.
         DOMResult(Node node, java.lang.String systemId)
                  Use a DOM node to create a new output target with the specified System ID.

         --- jdk1.5.0-beta2-b51 javadoc ---:

         Constructor Summary
         DOMResult()
                  Zero-argument default constructor.
         DOMResult(Node node)
                  Use a DOM node to create a new output target.
         DOMResult(Node node, String systemID)
                  Create a new output target with a DOM node.


        According to the first javadoc some JAXP TCK 1.3 tests for the class DOMResult are
        invalid. But they are valid according to the jdk1.5.0 javadoc.

        The bug affects the new JAXP TCK 1.3 test

         api/javax_xml/transform/dom/DOMResult/index.html#Ctor

        which passes on jdk1.5.0-beta2-b51 and fails on jdk1.3.1 with jaxp1.3-b15 which
        includes extra DOMResult constructors.

        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jsuttorsunw Jeff Suttor (Inactive)
                Reporter:
                evgsunw Evg Evg (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: