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

StartElement#getAttributes and getNamespaces refer to incorrect package

    XMLWordPrintable

Details

    • b03
    • generic
    • generic
    • Not verified

    Description

      A DESCRIPTION OF THE PROBLEM :
      Replace "javax.xml.stream.Attribute" (which does not exist) by "javax.xml.stream.events.Attribute" (which exists and is actually what is returned)
      You could also link to that interface.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      javax.xml.stream.events.Attribute
      ACTUAL -
      javax.xml.stream.Attribute

      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/events/StartElement.html#getAttributes--

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: