You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dl...@locus.apache.org on 2000/02/15 16:41:48 UTC
cvs commit: xml-xalan/samples/Servlet ApplyXSLListener.java
dleslie 00/02/15 07:41:48
Modified: samples/Servlet ApplyXSLListener.java
Log:
Was trying to inherit 3 private Strings; replaced with literals.
Revision Changes Path
1.2 +7 -7 xml-xalan/samples/Servlet/ApplyXSLListener.java
Index: ApplyXSLListener.java
===================================================================
RCS file: /home/cvs/xml-xalan/samples/Servlet/ApplyXSLListener.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ApplyXSLListener.java 2000/02/12 00:00:13 1.1
+++ ApplyXSLListener.java 2000/02/15 15:41:48 1.2
@@ -1,9 +1,9 @@
/*****************************************************************************************************
- * $Id: ApplyXSLListener.java,v 1.1 2000/02/12 00:00:13 dleslie Exp $
- *
+ * $Id: ApplyXSLListener.java,v 1.2 2000/02/15 15:41:48 dleslie Exp $
+ *
* Copyright (c) 1998-1999 Lotus Corporation, Inc. All Rights Reserved.
* This software is provided without a warranty of any kind.
- *
+ *
* $State: Exp $
*****************************************************************************************************/
@@ -22,7 +22,7 @@
*
*****************************************************************************************************/
-public class ApplyXSLListener extends org.apache.xalan.xpath.xml.ProblemListenerDefault implements ErrorHandler
+public class ApplyXSLListener extends org.apache.xalan.xpath.xml.ProblemListenerDefault implements ErrorHandler
{
/**
@@ -50,7 +50,7 @@
*/
public void warning(SAXParseException spe)
{
- out.println("Parser " + warningHeader + spe.getMessage());
+ out.println("Parser Warning: " + spe.getMessage());
}
/**
@@ -60,19 +60,19 @@
*/
public void error(SAXParseException spe)
{
- out.println("Parser " + errorHeader + spe.getMessage());
+ out.println("Parser Error: " + spe.getMessage());
}
/**
* Receive notification of a non-recoverable error.
*
* @param spe The error information encapsulated in a SAX parse exception.
- * @exception SAXException Always thrown
+ * @exception SAXException Always thrown
*/
public void fatalError(SAXParseException spe)
throws SAXException
{
- out.println("Parser Fatal " + errorHeader + spe.getMessage());
+ out.println("Parser Fatal Error: " + spe.getMessage());
throw spe;
}