sboag 00/03/15 09:16:45
Modified: src/org/apache/xalan/xslt/res Tag: Bxalan_1_0_0
XSLTErrorResources.java
Log:
Merged branch to include WG_ILLEGAL_ATTRIBUTE_VALUE.
Revision Changes Path
No revision
No revision
1.19.2.1 +6 -1
xml-xalan/src/org/apache/xalan/xslt/res/XSLTErrorResources.java
Index: XSLTErrorResources.java
===================================================================
RCS file:
/home/cvs/xml-xalan/src/org/apache/xalan/xslt/res/XSLTErrorResources.java,v
retrieving revision 1.19
retrieving revision 1.19.2.1
diff -u -r1.19 -r1.19.2.1
--- XSLTErrorResources.java 2000/03/06 20:13:51 1.19
+++ XSLTErrorResources.java 2000/03/15 17:16:45 1.19.2.1
@@ -77,7 +77,7 @@
public static final String WARNING_SUFFIX = "WR";
public static final int MAX_CODE = 95; // this is needed to
keep track of the number of messages
-public static final int MAX_WARNING = 24; // this is needed to
keep track of the number of warnings
+public static final int MAX_WARNING = 25; // 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;
@@ -712,6 +712,11 @@
public static final int WG_ILLEGAL_ATTRIBUTE_NAME = 24;
static {contents[WG_ILLEGAL_ATTRIBUTE_NAME + MAX_CODE][1]
= "Illegal attribute name: {0}";
+}
+
+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}";
}