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/08/23 18:05:15 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/res XSLTErrorResources.java
mmidy 00/08/23 09:05:13
Modified: java/src/org/apache/xalan/res XSLTErrorResources.java
Log:
Error message for empty nodeset
Revision Changes Path
1.3 +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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XSLTErrorResources.java 2000/07/05 14:38:48 1.2
+++ XSLTErrorResources.java 2000/08/23 16:05:11 1.3
@@ -82,7 +82,7 @@
public static final String WARNING_SUFFIX = "WR";
public static final int MAX_CODE = 104; // this is needed to keep track of the number of messages
-public static final int MAX_WARNING = 25; // this is needed to keep track of the number of warnings
+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;
@@ -767,6 +767,11 @@
public static final int WG_ILLEGAL_ATTRIBUTE_VALUE = 25;
static {contents[WG_ILLEGAL_ATTRIBUTE_VALUE + MAX_CODE][1]
= "Illegal value used for attribute {0}: {1}";
+}
+
+public static final int WG_EMPTY_SECOND_ARG = 26;
+static {contents[WG_EMPTY_SECOND_ARG + MAX_CODE][1]
+ = "Resulting nodeset from second argument of document function is empty. The first agument will be used.";
}