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

Default ErrorListener reports warnings and errors to the console

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: