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

ErrorListener callbacks are not being invoked.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1
    • 1.1
    • xml
    • 1.1fcs
    • sparc
    • solaris_2.6
    • Verified

      Upon implementing the methods of ErrorListener in MyErrorListener class, I have set MyErrorListener to TransformerFactory instance using setErrorListener() method. After this, I created a StreamSource for an erroneous xsl file and tried to create transformer using TransformerFactory.newTransformer(streamSource). It was supposed to invoke the callbacks of ErrorListener. But it is not invoking any callbacks.

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: