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:


git-svn-id: https://svn.apache.org/repos/asf/xalan/java/branches/jaxp-1_3_0-branch@337650 13f79535-47bb-0310-9956-ffa450edef68
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)