You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mk...@apache.org on 2002/09/30 21:20:39 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util ErrorMessages.java ErrorMsg.java
mkwan 2002/09/30 12:20:39
Modified: java/src/org/apache/xalan/xsltc/compiler/util
ErrorMessages.java ErrorMsg.java
Log:
Add debug messages for -XX option in the Process command line. These messages
tell the user whether they are transforming using XSLTC.
Revision Changes Path
1.15 +15 -2 xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java
Index: ErrorMessages.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMessages.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ErrorMessages.java 27 Sep 2002 19:02:49 -0000 1.14
+++ ErrorMessages.java 30 Sep 2002 19:20:39 -0000 1.15
@@ -856,7 +856,20 @@
* of another message. The substitution text is an error message.
*/
//ERROR_MSG
- "ERROR: ''{0}''"
+ "ERROR: ''{0}''",
+
+ /*
+ * Note to translators: The substitution text is the name of a class.
+ */
+ //TRANSFORM_WITH_TRANSLET_STR
+ "Transform using translet ''{0}'' ",
+
+ /*
+ * Note to translators: The first substitution is the name of a class, while
+ * the second substitution is the name of a jar file.
+ */
+ //TRANSFORM_WITH_JAR_STR
+ "Transform using translet ''{0}'' from jar file ''{1}''"
};
private static Vector _keys;
1.17 +4 -2 xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java
Index: ErrorMsg.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/util/ErrorMsg.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ErrorMsg.java 27 Sep 2002 20:23:04 -0000 1.16
+++ ErrorMsg.java 30 Sep 2002 19:20:39 -0000 1.17
@@ -178,7 +178,9 @@
public static final int FATAL_ERR_MSG = 86;
public static final int ERROR_PLUS_WRAPPED_MSG = 87;
public static final int ERROR_MSG = 88;
-
+ public static final int TRANSFORM_WITH_TRANSLET_STR = 89;
+ public static final int TRANSFORM_WITH_JAR_STR = 90;
+
// All error messages are localized and are stored in resource bundles.
// This array and the following 4 strings are read from that bundle.
private static String[] _errorMessages;
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org