mmidy 00/02/14 13:24:14
Modified: src/org/apache/xalan/xslt/res XSLTErrorResources.java
Log:
Override namespace prefix if there is a namespace attribute specified.
Revision Changes Path
1.17 +7 -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.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- XSLTErrorResources.java 2000/02/10 20:45:43 1.16
+++ XSLTErrorResources.java 2000/02/14 21:24:14 1.17
@@ -21,7 +21,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 = 23; // this is needed to
keep track of the number of warnings
+public static final int MAX_WARNING = 24; // 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;
@@ -652,6 +652,12 @@
static {contents[WG_STYLESHEET_REQUIRES_VERSION_ATTRIB + MAX_CODE][1]
= "xsl:stylesheet requires a 'version' attribute!";
}
+
+public static final int WG_ILLEGAL_ATTRIBUTE_NAME = 24;
+static {contents[WG_ILLEGAL_ATTRIBUTE_NAME + MAX_CODE][1]
+ = "Illegal attribute name: {0}";
+}
+
// Other miscellaneous text used inside the code...