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

createDocument of DomImpl does not work in one case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1
    • 1.1
    • xml
    • 1.1fcs
    • sparc
    • solaris_8
    • Verified

      The createDocument method of the DomImpl does not work if the DocumentType passed to it is null.

      It throws an exception saying that the node is not allowed there.

      As per the spec it is supposed to work in both cases when a valid DocumentType is passed as a parameter or when the DocumentType passed is null.

            egoei Edwin Goei (Inactive)
            bhamehta Bhakti Mehta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: