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

Default ErrorListener reports warnings and errors to the console

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • xml

      javax.xml.transform Interface ErrorListener
      The javadoc of the ErrorListener states that the default ErrorListener reports all warnings and errors to System.err. This is inappropriate since output to the console or server log (when it is so configured) could go unnoticed or unnecessarily clog the output channel. ErrorListener should not require implementations to do so.

      As is recommended, applications that wish to handle the warnings and errors shall always register their own listeners.

            joehw Joe Wang
            joehw Joe Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: