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

specification for javax.xml.stream.XMLStreamReader.getProperty(String name) is incomplete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 6
    • xml

      Specification for javax.xml.stream.XMLStreamReader.getProperty() states:

      "
      getProperty

      Object getProperty(String name)
                         throws IllegalArgumentException

          Get the value of a feature/property from the underlying implementation

          Parameters:
              name - The name of the property, may not be null
          Returns:
              The value of the property
          Throws:
              IllegalArgumentException - if name is null
      "

      but it does not describe method behavior in case if there is no property with name "name". Please note that there is no list of mandatory supported properties as well.

            joehw Joe Wang
            idergali Ilya Dergalin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: