Description: As per JAXP1.3 spec, if an application does not  register an ErrorListener, errors are reported to System.err.
Errors and warnings should be  reported to System.err except the  fatal errors while tranformation.

PR:
Obtained from:
Submitted by:
Reviewed by:

diff --git a/src/org/apache/xml/utils/DefaultErrorHandler.java b/src/org/apache/xml/utils/DefaultErrorHandler.java
index e0c3947..4b4f239 100644
--- a/src/org/apache/xml/utils/DefaultErrorHandler.java
+++ b/src/org/apache/xml/utils/DefaultErrorHandler.java
@@ -232,8 +232,8 @@
   {
     // printLocation(exception);
     // ensureLocationSet(exception);
-
-    throw exception;
+    printLocation(m_pw, exception);
+    m_pw.println(exception.getMessage());
   }
 
   /**
@@ -260,8 +260,7 @@
   {
     // printLocation(exception);
     // ensureLocationSet(exception);
-
-    throw exception;
+    throw exception;    
   }
   
   public static void ensureLocationSet(TransformerException exception)