You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mm...@locus.apache.org on 2000/09/27 23:43:24 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/res XSLTErrorResources.java
mmidy 00/09/27 14:43:23
Modified: java/src/org/apache/xalan/res XSLTErrorResources.java
Log:
Disallow recursive key calls
Revision Changes Path
1.5 +6 -1 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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XSLTErrorResources.java 2000/08/30 19:46:22 1.4
+++ XSLTErrorResources.java 2000/09/27 21:43:21 1.5
@@ -81,7 +81,7 @@
public static final String ERROR_SUFFIX = "ER";
public static final String WARNING_SUFFIX = "WR";
-public static final int MAX_CODE = 105; // this is needed to keep track of the number of messages
+public static final int MAX_CODE = 106; // this is needed to keep track of the number of messages
public static final int MAX_WARNING = 26; // this is needed to keep track of the number of warnings
public static final int MAX_OTHERS = 41;
public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING +1;
@@ -645,6 +645,11 @@
public static final int ER_DUPLICATE_NAMED_TEMPLATE = 105;
static {contents[ER_DUPLICATE_NAMED_TEMPLATE][1]
= "Found more than one template named: {0}";
+}
+
+public static final int ER_INVALID_KEY_CALL = 106;
+static {contents[ER_INVALID_KEY_CALL][1]
+ = "Invalid function call: recursive key() calls are not allowed";
}
// Warnings...