minchau 2003/09/03 12:49:41
Modified: java/src/org/apache/xalan/res XSLTErrorResources.java
Log:
PR: bugzilla 21478
Submitted by: Christine Li
Reviewed by: Brian Minchau
Added message key ER_FUNCTION_NOT_SUPPORTED that
maps to message (in English) "Function not supported!"
so that an error message comes out rather than a crash.
Revision Changes Path
1.41 +5 -4
xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.java
Index: XSLTErrorResources.java
===================================================================
RCS file:
/home/cvs/xml-xalan/java/src/org/apache/xalan/res/XSLTErrorResources.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- XSLTErrorResources.java 3 Sep 2003 12:51:54 -0000 1.40
+++ XSLTErrorResources.java 3 Sep 2003 19:49:41 -0000 1.41
@@ -128,7 +128,8 @@
/*
* Static variables
*/
- public static final String ER_NO_CURLYBRACE = "ER_NO_CURLYBRACE";;
+ public static final String ER_NO_CURLYBRACE = "ER_NO_CURLYBRACE";
+ public static final String ER_FUNCTION_NOT_SUPPORTED =
"ER_FUNCTION_NOT_SUPPORTED";
public static final String ER_ILLEGAL_ATTRIBUTE = "ER_ILLEGAL_ATTRIBUTE";
public static final String ER_NULL_SOURCENODE_APPLYIMPORTS =
"ER_NULL_SOURCENODE_APPLYIMPORTS";
public static final String ER_CANNOT_ADD = "ER_CANNOT_ADD";
@@ -1013,9 +1014,9 @@
/** ER_FUNCTION_NOT_SUPPORTED */
// public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
-
- //{ ER_FUNCTION_NOT_SUPPORTED,
- // "Function not supported!"},
+// add this message to fix bug 21478
+ { ER_FUNCTION_NOT_SUPPORTED,
+ "Function not supported!"},
/** ER_XSLT_ERROR */
// public static final int ER_XSLT_ERROR = 81;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]