KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xalan > res > XSLTErrorResources


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 /*
17  * $Id: XSLTErrorResources.java,v 1.44 2004/02/23 21:33:14 igorh Exp $
18  */

19 package org.apache.xalan.res;
20
21 import java.util.ListResourceBundle JavaDoc;
22 import java.util.Locale JavaDoc;
23 import java.util.MissingResourceException JavaDoc;
24 import java.util.ResourceBundle JavaDoc;
25
26 /**
27  * Set up error messages.
28  * We build a two dimensional array of message keys and
29  * message strings. In order to add a new message here,
30  * you need to first add a String constant. And
31  * you need to enter key , value pair as part of contents
32  * Array. You also need to update MAX_CODE for error strings
33  * and MAX_WARNING for warnings ( Needed for only information
34  * purpose )
35  */

36 public class XSLTErrorResources extends ListResourceBundle JavaDoc
37 {
38
39 /*
40  * This file contains error and warning messages related to Xalan Error
41  * Handling.
42  *
43  * General notes to translators:
44  *
45  * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
46  * components.
47  * XSLT is an acronym for "XML Stylesheet Language: Transformations".
48  * XSLTC is an acronym for XSLT Compiler.
49  *
50  * 2) A stylesheet is a description of how to transform an input XML document
51  * into a resultant XML document (or HTML document or text). The
52  * stylesheet itself is described in the form of an XML document.
53  *
54  * 3) A template is a component of a stylesheet that is used to match a
55  * particular portion of an input document and specifies the form of the
56  * corresponding portion of the output document.
57  *
58  * 4) An element is a mark-up tag in an XML document; an attribute is a
59  * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
60  * "elem" is an element name, "attr" and "attr2" are attribute names with
61  * the values "val" and "val2", respectively.
62  *
63  * 5) A namespace declaration is a special attribute that is used to associate
64  * a prefix with a URI (the namespace). The meanings of element names and
65  * attribute names that use that prefix are defined with respect to that
66  * namespace.
67  *
68  * 6) "Translet" is an invented term that describes the class file that
69  * results from compiling an XML stylesheet into a Java class.
70  *
71  * 7) XPath is a specification that describes a notation for identifying
72  * nodes in a tree-structured representation of an XML document. An
73  * instance of that notation is referred to as an XPath expression.
74  *
75  */

76
77   /** Maximum error messages, this is needed to keep track of the number of messages. */
78   public static final int MAX_CODE = 201;
79
80   /** Maximum warnings, this is needed to keep track of the number of warnings. */
81   public static final int MAX_WARNING = 29;
82
83   /** Maximum misc strings. */
84   public static final int MAX_OTHERS = 55;
85
86   /** Maximum total warnings and error messages. */
87   public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
88
89
90   /*
91    * Static variables
92    */

93   public static final String JavaDoc ER_NO_CURLYBRACE = "ER_NO_CURLYBRACE";
94   public static final String JavaDoc ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED";
95   public static final String JavaDoc ER_ILLEGAL_ATTRIBUTE = "ER_ILLEGAL_ATTRIBUTE";
96   public static final String JavaDoc ER_NULL_SOURCENODE_APPLYIMPORTS = "ER_NULL_SOURCENODE_APPLYIMPORTS";
97   public static final String JavaDoc ER_CANNOT_ADD = "ER_CANNOT_ADD";
98   public static final String JavaDoc ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES="ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES";
99   public static final String JavaDoc ER_NO_NAME_ATTRIB = "ER_NO_NAME_ATTRIB";
100   public static final String JavaDoc ER_TEMPLATE_NOT_FOUND = "ER_TEMPLATE_NOT_FOUND";
101   public static final String JavaDoc ER_CANT_RESOLVE_NAME_AVT = "ER_CANT_RESOLVE_NAME_AVT";
102   public static final String JavaDoc ER_REQUIRES_ATTRIB = "ER_REQUIRES_ATTRIB";
103   public static final String JavaDoc ER_MUST_HAVE_TEST_ATTRIB = "ER_MUST_HAVE_TEST_ATTRIB";
104   public static final String JavaDoc ER_BAD_VAL_ON_LEVEL_ATTRIB =
105      "ER_BAD_VAL_ON_LEVEL_ATTRIB";
106   public static final String JavaDoc ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
107      "ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
108   public static final String JavaDoc ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
109      "ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
110   public static final String JavaDoc ER_NEED_MATCH_ATTRIB = "ER_NEED_MATCH_ATTRIB";
111   public static final String JavaDoc ER_NEED_NAME_OR_MATCH_ATTRIB =
112      "ER_NEED_NAME_OR_MATCH_ATTRIB";
113   public static final String JavaDoc ER_CANT_RESOLVE_NSPREFIX =
114      "ER_CANT_RESOLVE_NSPREFIX";
115   public static final String JavaDoc ER_ILLEGAL_VALUE = "ER_ILLEGAL_VALUE";
116   public static final String JavaDoc ER_NO_OWNERDOC = "ER_NO_OWNERDOC";
117   public static final String JavaDoc ER_ELEMTEMPLATEELEM_ERR ="ER_ELEMTEMPLATEELEM_ERR";
118   public static final String JavaDoc ER_NULL_CHILD = "ER_NULL_CHILD";
119   public static final String JavaDoc ER_NEED_SELECT_ATTRIB = "ER_NEED_SELECT_ATTRIB";
120   public static final String JavaDoc ER_NEED_TEST_ATTRIB = "ER_NEED_TEST_ATTRIB";
121   public static final String JavaDoc ER_NEED_NAME_ATTRIB = "ER_NEED_NAME_ATTRIB";
122   public static final String JavaDoc ER_NO_CONTEXT_OWNERDOC = "ER_NO_CONTEXT_OWNERDOC";
123   public static final String JavaDoc ER_COULD_NOT_CREATE_XML_PROC_LIAISON =
124      "ER_COULD_NOT_CREATE_XML_PROC_LIAISON";
125   public static final String JavaDoc ER_PROCESS_NOT_SUCCESSFUL =
126      "ER_PROCESS_NOT_SUCCESSFUL";
127   public static final String JavaDoc ER_NOT_SUCCESSFUL = "ER_NOT_SUCCESSFUL";
128   public static final String JavaDoc ER_ENCODING_NOT_SUPPORTED =
129      "ER_ENCODING_NOT_SUPPORTED";
130   public static final String JavaDoc ER_COULD_NOT_CREATE_TRACELISTENER =
131      "ER_COULD_NOT_CREATE_TRACELISTENER";
132   public static final String JavaDoc ER_KEY_REQUIRES_NAME_ATTRIB =
133      "ER_KEY_REQUIRES_NAME_ATTRIB";
134   public static final String JavaDoc ER_KEY_REQUIRES_MATCH_ATTRIB =
135      "ER_KEY_REQUIRES_MATCH_ATTRIB";
136   public static final String JavaDoc ER_KEY_REQUIRES_USE_ATTRIB =
137      "ER_KEY_REQUIRES_USE_ATTRIB";
138   public static final String JavaDoc ER_REQUIRES_ELEMENTS_ATTRIB =
139      "ER_REQUIRES_ELEMENTS_ATTRIB";
140   public static final String JavaDoc ER_MISSING_PREFIX_ATTRIB =
141      "ER_MISSING_PREFIX_ATTRIB";
142   public static final String JavaDoc ER_BAD_STYLESHEET_URL = "ER_BAD_STYLESHEET_URL";
143   public static final String JavaDoc ER_FILE_NOT_FOUND = "ER_FILE_NOT_FOUND";
144   public static final String JavaDoc ER_IOEXCEPTION = "ER_IOEXCEPTION";
145   public static final String JavaDoc ER_NO_HREF_ATTRIB = "ER_NO_HREF_ATTRIB";
146   public static final String JavaDoc ER_STYLESHEET_INCLUDES_ITSELF =
147      "ER_STYLESHEET_INCLUDES_ITSELF";
148   public static final String JavaDoc ER_PROCESSINCLUDE_ERROR ="ER_PROCESSINCLUDE_ERROR";
149   public static final String JavaDoc ER_MISSING_LANG_ATTRIB = "ER_MISSING_LANG_ATTRIB";
150   public static final String JavaDoc ER_MISSING_CONTAINER_ELEMENT_COMPONENT =
151      "ER_MISSING_CONTAINER_ELEMENT_COMPONENT";
152   public static final String JavaDoc ER_CAN_ONLY_OUTPUT_TO_ELEMENT =
153      "ER_CAN_ONLY_OUTPUT_TO_ELEMENT";
154   public static final String JavaDoc ER_PROCESS_ERROR = "ER_PROCESS_ERROR";
155   public static final String JavaDoc ER_UNIMPLNODE_ERROR = "ER_UNIMPLNODE_ERROR";
156   public static final String JavaDoc ER_NO_SELECT_EXPRESSION ="ER_NO_SELECT_EXPRESSION";
157   public static final String JavaDoc ER_CANNOT_SERIALIZE_XSLPROCESSOR =
158      "ER_CANNOT_SERIALIZE_XSLPROCESSOR";
159   public static final String JavaDoc ER_NO_INPUT_STYLESHEET = "ER_NO_INPUT_STYLESHEET";
160   public static final String JavaDoc ER_FAILED_PROCESS_STYLESHEET =
161      "ER_FAILED_PROCESS_STYLESHEET";
162   public static final String JavaDoc ER_COULDNT_PARSE_DOC = "ER_COULDNT_PARSE_DOC";
163   public static final String JavaDoc ER_COULDNT_FIND_FRAGMENT =
164      "ER_COULDNT_FIND_FRAGMENT";
165   public static final String JavaDoc ER_NODE_NOT_ELEMENT = "ER_NODE_NOT_ELEMENT";
166   public static final String JavaDoc ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB =
167      "ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB";
168   public static final String JavaDoc ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB =
169      "ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB";
170   public static final String JavaDoc ER_NO_CLONE_OF_DOCUMENT_FRAG =
171      "ER_NO_CLONE_OF_DOCUMENT_FRAG";
172   public static final String JavaDoc ER_CANT_CREATE_ITEM = "ER_CANT_CREATE_ITEM";
173   public static final String JavaDoc ER_XMLSPACE_ILLEGAL_VALUE =
174      "ER_XMLSPACE_ILLEGAL_VALUE";
175   public static final String JavaDoc ER_NO_XSLKEY_DECLARATION =
176      "ER_NO_XSLKEY_DECLARATION";
177   public static final String JavaDoc ER_CANT_CREATE_URL = "ER_CANT_CREATE_URL";
178   public static final String JavaDoc ER_XSLFUNCTIONS_UNSUPPORTED =
179      "ER_XSLFUNCTIONS_UNSUPPORTED";
180   public static final String JavaDoc ER_PROCESSOR_ERROR = "ER_PROCESSOR_ERROR";
181   public static final String JavaDoc ER_NOT_ALLOWED_INSIDE_STYLESHEET =
182      "ER_NOT_ALLOWED_INSIDE_STYLESHEET";
183   public static final String JavaDoc ER_RESULTNS_NOT_SUPPORTED =
184      "ER_RESULTNS_NOT_SUPPORTED";
185   public static final String JavaDoc ER_DEFAULTSPACE_NOT_SUPPORTED =
186      "ER_DEFAULTSPACE_NOT_SUPPORTED";
187   public static final String JavaDoc ER_INDENTRESULT_NOT_SUPPORTED =
188      "ER_INDENTRESULT_NOT_SUPPORTED";
189   public static final String JavaDoc ER_ILLEGAL_ATTRIB = "ER_ILLEGAL_ATTRIB";
190   public static final String JavaDoc ER_UNKNOWN_XSL_ELEM = "ER_UNKNOWN_XSL_ELEM";
191   public static final String JavaDoc ER_BAD_XSLSORT_USE = "ER_BAD_XSLSORT_USE";
192   public static final String JavaDoc ER_MISPLACED_XSLWHEN = "ER_MISPLACED_XSLWHEN";
193   public static final String JavaDoc ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE =
194      "ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE";
195   public static final String JavaDoc ER_MISPLACED_XSLOTHERWISE =
196      "ER_MISPLACED_XSLOTHERWISE";
197   public static final String JavaDoc ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE =
198      "ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE";
199   public static final String JavaDoc ER_NOT_ALLOWED_INSIDE_TEMPLATE =
200      "ER_NOT_ALLOWED_INSIDE_TEMPLATE";
201   public static final String JavaDoc ER_UNKNOWN_EXT_NS_PREFIX =
202      "ER_UNKNOWN_EXT_NS_PREFIX";
203   public static final String JavaDoc ER_IMPORTS_AS_FIRST_ELEM =
204      "ER_IMPORTS_AS_FIRST_ELEM";
205   public static final String JavaDoc ER_IMPORTING_ITSELF = "ER_IMPORTING_ITSELF";
206   public static final String JavaDoc ER_XMLSPACE_ILLEGAL_VAL ="ER_XMLSPACE_ILLEGAL_VAL";
207   public static final String JavaDoc ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL =
208      "ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL";
209   public static final String JavaDoc ER_SAX_EXCEPTION = "ER_SAX_EXCEPTION";
210   public static final String JavaDoc ER_XSLT_ERROR = "ER_XSLT_ERROR";
211   public static final String JavaDoc ER_CURRENCY_SIGN_ILLEGAL=
212      "ER_CURRENCY_SIGN_ILLEGAL";
213   public static final String JavaDoc ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM =
214      "ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM";
215   public static final String JavaDoc ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER =
216      "ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER";
217   public static final String JavaDoc ER_REDIRECT_COULDNT_GET_FILENAME =
218      "ER_REDIRECT_COULDNT_GET_FILENAME";
219   public static final String JavaDoc ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT =
220      "ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT";
221   public static final String JavaDoc ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX =
222      "ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX";
223   public static final String JavaDoc ER_MISSING_NS_URI = "ER_MISSING_NS_URI";
224   public static final String JavaDoc ER_MISSING_ARG_FOR_OPTION =
225      "ER_MISSING_ARG_FOR_OPTION";
226   public static final String JavaDoc ER_INVALID_OPTION = "ER_INVALID_OPTION";
227   public static final String JavaDoc ER_MALFORMED_FORMAT_STRING =
228      "ER_MALFORMED_FORMAT_STRING";
229   public static final String JavaDoc ER_STYLESHEET_REQUIRES_VERSION_ATTRIB =
230      "ER_STYLESHEET_REQUIRES_VERSION_ATTRIB";
231   public static final String JavaDoc ER_ILLEGAL_ATTRIBUTE_VALUE =
232      "ER_ILLEGAL_ATTRIBUTE_VALUE";
233   public static final String JavaDoc ER_CHOOSE_REQUIRES_WHEN ="ER_CHOOSE_REQUIRES_WHEN";
234   public static final String JavaDoc ER_NO_APPLY_IMPORT_IN_FOR_EACH =
235      "ER_NO_APPLY_IMPORT_IN_FOR_EACH";
236   public static final String JavaDoc ER_CANT_USE_DTM_FOR_OUTPUT =
237      "ER_CANT_USE_DTM_FOR_OUTPUT";
238   public static final String JavaDoc ER_CANT_USE_DTM_FOR_INPUT =
239      "ER_CANT_USE_DTM_FOR_INPUT";
240   public static final String JavaDoc ER_CALL_TO_EXT_FAILED = "ER_CALL_TO_EXT_FAILED";
241   public static final String JavaDoc ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
242   public static final String JavaDoc ER_INVALID_UTF16_SURROGATE =
243      "ER_INVALID_UTF16_SURROGATE";
244   public static final String JavaDoc ER_XSLATTRSET_USED_ITSELF =
245      "ER_XSLATTRSET_USED_ITSELF";
246   public static final String JavaDoc ER_CANNOT_MIX_XERCESDOM ="ER_CANNOT_MIX_XERCESDOM";
247   public static final String JavaDoc ER_TOO_MANY_LISTENERS = "ER_TOO_MANY_LISTENERS";
248   public static final String JavaDoc ER_IN_ELEMTEMPLATEELEM_READOBJECT =
249      "ER_IN_ELEMTEMPLATEELEM_READOBJECT";
250   public static final String JavaDoc ER_DUPLICATE_NAMED_TEMPLATE =
251      "ER_DUPLICATE_NAMED_TEMPLATE";
252   public static final String JavaDoc ER_INVALID_KEY_CALL = "ER_INVALID_KEY_CALL";
253   public static final String JavaDoc ER_REFERENCING_ITSELF = "ER_REFERENCING_ITSELF";
254   public static final String JavaDoc ER_ILLEGAL_DOMSOURCE_INPUT =
255      "ER_ILLEGAL_DOMSOURCE_INPUT";
256   public static final String JavaDoc ER_CLASS_NOT_FOUND_FOR_OPTION =
257      "ER_CLASS_NOT_FOUND_FOR_OPTION";
258   public static final String JavaDoc ER_REQUIRED_ELEM_NOT_FOUND =
259      "ER_REQUIRED_ELEM_NOT_FOUND";
260   public static final String JavaDoc ER_INPUT_CANNOT_BE_NULL ="ER_INPUT_CANNOT_BE_NULL";
261   public static final String JavaDoc ER_URI_CANNOT_BE_NULL = "ER_URI_CANNOT_BE_NULL";
262   public static final String JavaDoc ER_FILE_CANNOT_BE_NULL = "ER_FILE_CANNOT_BE_NULL";
263   public static final String JavaDoc ER_SOURCE_CANNOT_BE_NULL =
264      "ER_SOURCE_CANNOT_BE_NULL";
265   public static final String JavaDoc ER_CANNOT_INIT_BSFMGR = "ER_CANNOT_INIT_BSFMGR";
266   public static final String JavaDoc ER_CANNOT_CMPL_EXTENSN = "ER_CANNOT_CMPL_EXTENSN";
267   public static final String JavaDoc ER_CANNOT_CREATE_EXTENSN =
268      "ER_CANNOT_CREATE_EXTENSN";
269   public static final String JavaDoc ER_INSTANCE_MTHD_CALL_REQUIRES =
270      "ER_INSTANCE_MTHD_CALL_REQUIRES";
271   public static final String JavaDoc ER_INVALID_ELEMENT_NAME ="ER_INVALID_ELEMENT_NAME";
272   public static final String JavaDoc ER_ELEMENT_NAME_METHOD_STATIC =
273      "ER_ELEMENT_NAME_METHOD_STATIC";
274   public static final String JavaDoc ER_EXTENSION_FUNC_UNKNOWN =
275      "ER_EXTENSION_FUNC_UNKNOWN";
276   public static final String JavaDoc ER_MORE_MATCH_CONSTRUCTOR =
277      "ER_MORE_MATCH_CONSTRUCTOR";
278   public static final String JavaDoc ER_MORE_MATCH_METHOD = "ER_MORE_MATCH_METHOD";
279   public static final String JavaDoc ER_MORE_MATCH_ELEMENT = "ER_MORE_MATCH_ELEMENT";
280   public static final String JavaDoc ER_INVALID_CONTEXT_PASSED =
281      "ER_INVALID_CONTEXT_PASSED";
282   public static final String JavaDoc ER_POOL_EXISTS = "ER_POOL_EXISTS";
283   public static final String JavaDoc ER_NO_DRIVER_NAME = "ER_NO_DRIVER_NAME";
284   public static final String JavaDoc ER_NO_URL = "ER_NO_URL";
285   public static final String JavaDoc ER_POOL_SIZE_LESSTHAN_ONE =
286      "ER_POOL_SIZE_LESSTHAN_ONE";
287   public static final String JavaDoc ER_INVALID_DRIVER = "ER_INVALID_DRIVER";
288   public static final String JavaDoc ER_NO_STYLESHEETROOT = "ER_NO_STYLESHEETROOT";
289   public static final String JavaDoc ER_ILLEGAL_XMLSPACE_VALUE =
290      "ER_ILLEGAL_XMLSPACE_VALUE";
291   public static final String JavaDoc ER_PROCESSFROMNODE_FAILED =
292      "ER_PROCESSFROMNODE_FAILED";
293   public static final String JavaDoc ER_RESOURCE_COULD_NOT_LOAD =
294      "ER_RESOURCE_COULD_NOT_LOAD";
295   public static final String JavaDoc ER_BUFFER_SIZE_LESSTHAN_ZERO =
296      "ER_BUFFER_SIZE_LESSTHAN_ZERO";
297   public static final String JavaDoc ER_UNKNOWN_ERROR_CALLING_EXTENSION =
298      "ER_UNKNOWN_ERROR_CALLING_EXTENSION";
299   public static final String JavaDoc ER_NO_NAMESPACE_DECL = "ER_NO_NAMESPACE_DECL";
300   public static final String JavaDoc ER_ELEM_CONTENT_NOT_ALLOWED =
301      "ER_ELEM_CONTENT_NOT_ALLOWED";
302   public static final String JavaDoc ER_STYLESHEET_DIRECTED_TERMINATION =
303      "ER_STYLESHEET_DIRECTED_TERMINATION";
304   public static final String JavaDoc ER_ONE_OR_TWO = "ER_ONE_OR_TWO";
305   public static final String JavaDoc ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
306   public static final String JavaDoc ER_COULD_NOT_LOAD_RESOURCE =
307      "ER_COULD_NOT_LOAD_RESOURCE";
308   public static final String JavaDoc ER_CANNOT_INIT_DEFAULT_TEMPLATES =
309      "ER_CANNOT_INIT_DEFAULT_TEMPLATES";
310   public static final String JavaDoc ER_RESULT_NULL = "ER_RESULT_NULL";
311   public static final String JavaDoc ER_RESULT_COULD_NOT_BE_SET =
312      "ER_RESULT_COULD_NOT_BE_SET";
313   public static final String JavaDoc ER_NO_OUTPUT_SPECIFIED = "ER_NO_OUTPUT_SPECIFIED";
314   public static final String JavaDoc ER_CANNOT_TRANSFORM_TO_RESULT_TYPE =
315      "ER_CANNOT_TRANSFORM_TO_RESULT_TYPE";
316   public static final String JavaDoc ER_CANNOT_TRANSFORM_SOURCE_TYPE =
317      "ER_CANNOT_TRANSFORM_SOURCE_TYPE";
318   public static final String JavaDoc ER_NULL_CONTENT_HANDLER ="ER_NULL_CONTENT_HANDLER";
319   public static final String JavaDoc ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
320   public static final String JavaDoc ER_CANNOT_CALL_PARSE = "ER_CANNOT_CALL_PARSE";
321   public static final String JavaDoc ER_NO_PARENT_FOR_FILTER ="ER_NO_PARENT_FOR_FILTER";
322   public static final String JavaDoc ER_NO_STYLESHEET_IN_MEDIA =
323      "ER_NO_STYLESHEET_IN_MEDIA";
324   public static final String JavaDoc ER_NO_STYLESHEET_PI = "ER_NO_STYLESHEET_PI";
325   public static final String JavaDoc ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED";
326   public static final String JavaDoc ER_PROPERTY_VALUE_BOOLEAN =
327      "ER_PROPERTY_VALUE_BOOLEAN";
328   public static final String JavaDoc ER_COULD_NOT_FIND_EXTERN_SCRIPT =
329      "ER_COULD_NOT_FIND_EXTERN_SCRIPT";
330   public static final String JavaDoc ER_RESOURCE_COULD_NOT_FIND =
331      "ER_RESOURCE_COULD_NOT_FIND";
332   public static final String JavaDoc ER_OUTPUT_PROPERTY_NOT_RECOGNIZED =
333      "ER_OUTPUT_PROPERTY_NOT_RECOGNIZED";
334   public static final String JavaDoc ER_FAILED_CREATING_ELEMLITRSLT =
335      "ER_FAILED_CREATING_ELEMLITRSLT";
336   public static final String JavaDoc ER_VALUE_SHOULD_BE_NUMBER =
337      "ER_VALUE_SHOULD_BE_NUMBER";
338   public static final String JavaDoc ER_VALUE_SHOULD_EQUAL = "ER_VALUE_SHOULD_EQUAL";
339   public static final String JavaDoc ER_FAILED_CALLING_METHOD =
340      "ER_FAILED_CALLING_METHOD";
341   public static final String JavaDoc ER_FAILED_CREATING_ELEMTMPL =
342      "ER_FAILED_CREATING_ELEMTMPL";
343   public static final String JavaDoc ER_CHARS_NOT_ALLOWED = "ER_CHARS_NOT_ALLOWED";
344   public static final String JavaDoc ER_ATTR_NOT_ALLOWED = "ER_ATTR_NOT_ALLOWED";
345   public static final String JavaDoc ER_BAD_VALUE = "ER_BAD_VALUE";
346   public static final String JavaDoc ER_ATTRIB_VALUE_NOT_FOUND =
347      "ER_ATTRIB_VALUE_NOT_FOUND";
348   public static final String JavaDoc ER_ATTRIB_VALUE_NOT_RECOGNIZED =
349      "ER_ATTRIB_VALUE_NOT_RECOGNIZED";
350   public static final String JavaDoc ER_NULL_URI_NAMESPACE = "ER_NULL_URI_NAMESPACE";
351   public static final String JavaDoc ER_NUMBER_TOO_BIG = "ER_NUMBER_TOO_BIG";
352   public static final String JavaDoc ER_CANNOT_FIND_SAX1_DRIVER =
353      "ER_CANNOT_FIND_SAX1_DRIVER";
354   public static final String JavaDoc ER_SAX1_DRIVER_NOT_LOADED =
355      "ER_SAX1_DRIVER_NOT_LOADED";
356   public static final String JavaDoc ER_SAX1_DRIVER_NOT_INSTANTIATED =
357      "ER_SAX1_DRIVER_NOT_INSTANTIATED" ;
358   public static final String JavaDoc ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER =
359      "ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER";
360   public static final String JavaDoc ER_PARSER_PROPERTY_NOT_SPECIFIED =
361      "ER_PARSER_PROPERTY_NOT_SPECIFIED";
362   public static final String JavaDoc ER_PARSER_ARG_CANNOT_BE_NULL =
363      "ER_PARSER_ARG_CANNOT_BE_NULL" ;
364   public static final String JavaDoc ER_FEATURE = "ER_FEATURE";
365   public static final String JavaDoc ER_PROPERTY = "ER_PROPERTY" ;
366   public static final String JavaDoc ER_NULL_ENTITY_RESOLVER ="ER_NULL_ENTITY_RESOLVER";
367   public static final String JavaDoc ER_NULL_DTD_HANDLER = "ER_NULL_DTD_HANDLER" ;
368   public static final String JavaDoc ER_NO_DRIVER_NAME_SPECIFIED =
369      "ER_NO_DRIVER_NAME_SPECIFIED";
370   public static final String JavaDoc ER_NO_URL_SPECIFIED = "ER_NO_URL_SPECIFIED";
371   public static final String JavaDoc ER_POOLSIZE_LESS_THAN_ONE =
372      "ER_POOLSIZE_LESS_THAN_ONE";
373   public static final String JavaDoc ER_INVALID_DRIVER_NAME = "ER_INVALID_DRIVER_NAME";
374   public static final String JavaDoc ER_ERRORLISTENER = "ER_ERRORLISTENER";
375   public static final String JavaDoc ER_ASSERT_NO_TEMPLATE_PARENT =
376      "ER_ASSERT_NO_TEMPLATE_PARENT";
377   public static final String JavaDoc ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR =
378      "ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR";
379   public static final String JavaDoc ER_NOT_ALLOWED_IN_POSITION =
380      "ER_NOT_ALLOWED_IN_POSITION";
381   public static final String JavaDoc ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION =
382      "ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION";
383   public static final String JavaDoc INVALID_TCHAR = "INVALID_TCHAR";
384   public static final String JavaDoc INVALID_QNAME = "INVALID_QNAME";
385   public static final String JavaDoc INVALID_ENUM = "INVALID_ENUM";
386   public static final String JavaDoc INVALID_NMTOKEN = "INVALID_NMTOKEN";
387   public static final String JavaDoc INVALID_NCNAME = "INVALID_NCNAME";
388   public static final String JavaDoc INVALID_BOOLEAN = "INVALID_BOOLEAN";
389   public static final String JavaDoc INVALID_NUMBER = "INVALID_NUMBER";
390   public static final String JavaDoc ER_ARG_LITERAL = "ER_ARG_LITERAL";
391   public static final String JavaDoc ER_DUPLICATE_GLOBAL_VAR ="ER_DUPLICATE_GLOBAL_VAR";
392   public static final String JavaDoc ER_DUPLICATE_VAR = "ER_DUPLICATE_VAR";
393   public static final String JavaDoc ER_TEMPLATE_NAME_MATCH = "ER_TEMPLATE_NAME_MATCH";
394   public static final String JavaDoc ER_INVALID_PREFIX = "ER_INVALID_PREFIX";
395   public static final String JavaDoc ER_NO_ATTRIB_SET = "ER_NO_ATTRIB_SET";
396   public static final String JavaDoc ER_FUNCTION_NOT_FOUND =
397      "ER_FUNCTION_NOT_FOUND";
398   public static final String JavaDoc ER_CANT_HAVE_CONTENT_AND_SELECT =
399      "ER_CANT_HAVE_CONTENT_AND_SELECT";
400   public static final String JavaDoc ER_INVALID_SET_PARAM_VALUE = "ER_INVALID_SET_PARAM_VALUE";
401      
402   public static final String JavaDoc WG_FOUND_CURLYBRACE = "WG_FOUND_CURLYBRACE";
403   public static final String JavaDoc WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR =
404      "WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR";
405   public static final String JavaDoc WG_EXPR_ATTRIB_CHANGED_TO_SELECT =
406      "WG_EXPR_ATTRIB_CHANGED_TO_SELECT";
407   public static final String JavaDoc WG_NO_LOCALE_IN_FORMATNUMBER =
408      "WG_NO_LOCALE_IN_FORMATNUMBER";
409   public static final String JavaDoc WG_LOCALE_NOT_FOUND = "WG_LOCALE_NOT_FOUND";
410   public static final String JavaDoc WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM";
411   public static final String JavaDoc WG_CANNOT_LOAD_REQUESTED_DOC =
412      "WG_CANNOT_LOAD_REQUESTED_DOC";
413   public static final String JavaDoc WG_CANNOT_FIND_COLLATOR ="WG_CANNOT_FIND_COLLATOR";
414   public static final String JavaDoc WG_FUNCTIONS_SHOULD_USE_URL =
415      "WG_FUNCTIONS_SHOULD_USE_URL";
416   public static final String JavaDoc WG_ENCODING_NOT_SUPPORTED_USING_UTF8 =
417      "WG_ENCODING_NOT_SUPPORTED_USING_UTF8";
418   public static final String JavaDoc WG_ENCODING_NOT_SUPPORTED_USING_JAVA =
419      "WG_ENCODING_NOT_SUPPORTED_USING_JAVA";
420   public static final String JavaDoc WG_SPECIFICITY_CONFLICTS =
421      "WG_SPECIFICITY_CONFLICTS";
422   public static final String JavaDoc WG_PARSING_AND_PREPARING =
423      "WG_PARSING_AND_PREPARING";
424   public static final String JavaDoc WG_ATTR_TEMPLATE = "WG_ATTR_TEMPLATE";
425   public static final String JavaDoc WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = "WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESP";
426   public static final String JavaDoc WG_ATTRIB_NOT_HANDLED = "WG_ATTRIB_NOT_HANDLED";
427   public static final String JavaDoc WG_NO_DECIMALFORMAT_DECLARATION =
428      "WG_NO_DECIMALFORMAT_DECLARATION";
429   public static final String JavaDoc WG_OLD_XSLT_NS = "WG_OLD_XSLT_NS";
430   public static final String JavaDoc WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED =
431      "WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED";
432   public static final String JavaDoc WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE =
433      "WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE";
434   public static final String JavaDoc WG_ILLEGAL_ATTRIBUTE = "WG_ILLEGAL_ATTRIBUTE";
435   public static final String JavaDoc WG_COULD_NOT_RESOLVE_PREFIX =
436      "WG_COULD_NOT_RESOLVE_PREFIX";
437   public static final String JavaDoc WG_STYLESHEET_REQUIRES_VERSION_ATTRIB =
438      "WG_STYLESHEET_REQUIRES_VERSION_ATTRIB";
439   public static final String JavaDoc WG_ILLEGAL_ATTRIBUTE_NAME =
440      "WG_ILLEGAL_ATTRIBUTE_NAME";
441   public static final String JavaDoc WG_ILLEGAL_ATTRIBUTE_VALUE =
442      "WG_ILLEGAL_ATTRIBUTE_VALUE";
443   public static final String JavaDoc WG_EMPTY_SECOND_ARG = "WG_EMPTY_SECOND_ARG";
444   public static final String JavaDoc WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
445      "WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
446   public static final String JavaDoc WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
447      "WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
448   public static final String JavaDoc WG_ILLEGAL_ATTRIBUTE_POSITION =
449      "WG_ILLEGAL_ATTRIBUTE_POSITION";
450
451
452 // public static final int ER_NO_CURLYBRACE = 1;
453
/*
454    * Now fill in the message text.
455    * Then fill in the message text for that message code in the
456    * array. Use the new error code as the index into the array.
457    */

458
459   // Error messages...
460

461   /** The lookup table for error messages. */
462   public static final Object JavaDoc[][] contents = {
463
464   /** Error message ID that has a null message, but takes in a single object. */
465   {"ER0000" , "{0}" },
466  
467
468   /** ER_NO_CURLYBRACE */
469  
470 // public static final int ER_NO_CURLYBRACE = 1;
471

472     { ER_NO_CURLYBRACE,
473       "Error: Can not have '{' within expression"},
474
475   /** ER_ILLEGAL_ATTRIBUTE */
476 // public static final int ER_ILLEGAL_ATTRIBUTE = 2;
477

478     { ER_ILLEGAL_ATTRIBUTE ,
479      "{0} has an illegal attribute: {1}"},
480
481   /** ER_NULL_SOURCENODE_APPLYIMPORTS */
482 // public static final int ER_NULL_SOURCENODE_APPLYIMPORTS = 3;
483

484   {ER_NULL_SOURCENODE_APPLYIMPORTS ,
485       "sourceNode is null in xsl:apply-imports!"},
486
487   /** ER_CANNOT_ADD */
488  // public static final int ER_CANNOT_ADD = 4;
489

490   {ER_CANNOT_ADD,
491       "Can not add {0} to {1}"},
492
493
494   /** ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES */
495 // public static final int ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES = 5;
496

497
498     { ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES,
499       "sourceNode is null in handleApplyTemplatesInstruction!"},
500
501   /** ER_NO_NAME_ATTRIB */
502 // public static final int ER_NO_NAME_ATTRIB = 6;
503

504
505     { ER_NO_NAME_ATTRIB,
506      "{0} must have a name attribute."},
507
508   /** ER_TEMPLATE_NOT_FOUND */
509   //public static final int ER_TEMPLATE_NOT_FOUND = 7;
510

511
512     {ER_TEMPLATE_NOT_FOUND,
513      "Could not find template named: {0}"},
514
515   /** ER_CANT_RESOLVE_NAME_AVT */
516   // public static final int ER_CANT_RESOLVE_NAME_AVT = 8;
517

518     {ER_CANT_RESOLVE_NAME_AVT,
519       "Could not resolve name AVT in xsl:call-template."},
520
521   /** ER_REQUIRES_ATTRIB */
522   //public static final int ER_REQUIRES_ATTRIB = 9;
523

524
525     {ER_REQUIRES_ATTRIB,
526      "{0} requires attribute: {1}"},
527
528   /** ER_MUST_HAVE_TEST_ATTRIB */
529  // public static final int ER_MUST_HAVE_TEST_ATTRIB = 10;
530

531
532     { ER_MUST_HAVE_TEST_ATTRIB,
533       "{0} must have a ''test'' attribute."},
534
535   /** ER_BAD_VAL_ON_LEVEL_ATTRIB */
536 // public static final int ER_BAD_VAL_ON_LEVEL_ATTRIB = 11;
537

538
539     {ER_BAD_VAL_ON_LEVEL_ATTRIB,
540       "Bad value on level attribute: {0}"},
541
542   /** ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */
543 // public static final int ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 12;
544

545
546     {ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
547       "processing-instruction name can not be 'xml'"},
548
549   /** ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */
550 // public static final int ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 13;
551

552
553     { ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
554       "processing-instruction name must be a valid NCName: {0}"},
555
556   /** ER_NEED_MATCH_ATTRIB */
557 // public static final int ER_NEED_MATCH_ATTRIB = 14;
558

559
560     { ER_NEED_MATCH_ATTRIB,
561       "{0} must have a match attribute if it has a mode."},
562
563   /** ER_NEED_NAME_OR_MATCH_ATTRIB */
564 // public static final int ER_NEED_NAME_OR_MATCH_ATTRIB = 15;
565

566
567     { ER_NEED_NAME_OR_MATCH_ATTRIB,
568       "{0} requires either a name or a match attribute."},
569
570   /** ER_CANT_RESOLVE_NSPREFIX */
571 // public static final int ER_CANT_RESOLVE_NSPREFIX = 16;
572

573
574     {ER_CANT_RESOLVE_NSPREFIX,
575       "Can not resolve namespace prefix: {0}"},
576
577   /** ER_ILLEGAL_VALUE */
578 // public static final int ER_ILLEGAL_VALUE = 17;
579

580
581     { ER_ILLEGAL_VALUE,
582      "xml:space has an illegal value: {0}"},
583
584   /** ER_NO_OWNERDOC */
585 // public static final int ER_NO_OWNERDOC = 18;
586

587
588     { ER_NO_OWNERDOC,
589       "Child node does not have an owner document!"},
590
591   /** ER_ELEMTEMPLATEELEM_ERR */
592 // public static final int ER_ELEMTEMPLATEELEM_ERR = 19;
593

594
595     { ER_ELEMTEMPLATEELEM_ERR,
596      "ElemTemplateElement error: {0}"},
597
598   /** ER_NULL_CHILD */
599 // public static final int ER_NULL_CHILD = 20;
600

601
602     { ER_NULL_CHILD,
603      "Trying to add a null child!"},
604
605   /** ER_NEED_SELECT_ATTRIB */
606 // public static final int ER_NEED_SELECT_ATTRIB = 21;
607

608
609     { ER_NEED_SELECT_ATTRIB,
610      "{0} requires a select attribute."},
611
612   /** ER_NEED_TEST_ATTRIB */
613 // public static final int ER_NEED_TEST_ATTRIB = 22;
614

615
616     { ER_NEED_TEST_ATTRIB ,
617       "xsl:when must have a 'test' attribute."},
618
619   /** ER_NEED_NAME_ATTRIB */
620 // public static final int ER_NEED_NAME_ATTRIB = 23;
621

622
623     { ER_NEED_NAME_ATTRIB,
624       "xsl:with-param must have a 'name' attribute."},
625
626   /** ER_NO_CONTEXT_OWNERDOC */
627 // public static final int ER_NO_CONTEXT_OWNERDOC = 24;
628

629
630     { ER_NO_CONTEXT_OWNERDOC,
631       "context does not have an owner document!"},
632
633   /** ER_COULD_NOT_CREATE_XML_PROC_LIAISON */
634 // public static final int ER_COULD_NOT_CREATE_XML_PROC_LIAISON = 25;
635

636
637     {ER_COULD_NOT_CREATE_XML_PROC_LIAISON,
638       "Could not create XML TransformerFactory Liaison: {0}"},
639
640   /** ER_PROCESS_NOT_SUCCESSFUL */
641 // public static final int ER_PROCESS_NOT_SUCCESSFUL = 26;
642

643
644     {ER_PROCESS_NOT_SUCCESSFUL,
645       "Xalan: Process was not successful."},
646
647   /** ER_NOT_SUCCESSFUL */
648 // public static final int ER_NOT_SUCCESSFUL = 27;
649

650
651     { ER_NOT_SUCCESSFUL,
652      "Xalan: was not successful."},
653
654   /** ER_ENCODING_NOT_SUPPORTED */
655 // public static final int ER_ENCODING_NOT_SUPPORTED = 28;
656

657
658     { ER_ENCODING_NOT_SUPPORTED,
659      "Encoding not supported: {0}"},
660
661   /** ER_COULD_NOT_CREATE_TRACELISTENER */
662 // public static final int ER_COULD_NOT_CREATE_TRACELISTENER = 29;
663

664
665     {ER_COULD_NOT_CREATE_TRACELISTENER,
666       "Could not create TraceListener: {0}"},
667
668   /** ER_KEY_REQUIRES_NAME_ATTRIB */
669 // public static final int ER_KEY_REQUIRES_NAME_ATTRIB = 30;
670

671
672     {ER_KEY_REQUIRES_NAME_ATTRIB,
673       "xsl:key requires a 'name' attribute!"},
674
675   /** ER_KEY_REQUIRES_MATCH_ATTRIB */
676 // public static final int ER_KEY_REQUIRES_MATCH_ATTRIB = 31;
677

678
679     { ER_KEY_REQUIRES_MATCH_ATTRIB,
680       "xsl:key requires a 'match' attribute!"},
681
682   /** ER_KEY_REQUIRES_USE_ATTRIB */
683 // public static final int ER_KEY_REQUIRES_USE_ATTRIB = 32;
684

685
686     { ER_KEY_REQUIRES_USE_ATTRIB,
687       "xsl:key requires a 'use' attribute!"},
688
689   /** ER_REQUIRES_ELEMENTS_ATTRIB */
690 // public static final int ER_REQUIRES_ELEMENTS_ATTRIB = 33;
691

692
693     { ER_REQUIRES_ELEMENTS_ATTRIB,
694       "(StylesheetHandler) {0} requires an ''elements'' attribute!"},
695
696   /** ER_MISSING_PREFIX_ATTRIB */
697 // public static final int ER_MISSING_PREFIX_ATTRIB = 34;
698

699
700     { ER_MISSING_PREFIX_ATTRIB,
701       "(StylesheetHandler) {0} attribute ''prefix'' is missing"},
702
703   /** ER_BAD_STYLESHEET_URL */
704 // public static final int ER_BAD_STYLESHEET_URL = 35;
705

706
707     { ER_BAD_STYLESHEET_URL,
708      "Stylesheet URL is bad: {0}"},
709
710   /** ER_FILE_NOT_FOUND */
711 // public static final int ER_FILE_NOT_FOUND = 36;
712

713
714     { ER_FILE_NOT_FOUND,
715      "Stylesheet file was not found: {0}"},
716
717   /** ER_IOEXCEPTION */
718 // public static final int ER_IOEXCEPTION = 37;
719

720
721     { ER_IOEXCEPTION,
722       "Had IO Exception with stylesheet file: {0}"},
723
724   /** ER_NO_HREF_ATTRIB */
725 // public static final int ER_NO_HREF_ATTRIB = 38;
726

727
728     { ER_NO_HREF_ATTRIB,
729       "(StylesheetHandler) Could not find href attribute for {0}"},
730
731   /** ER_STYLESHEET_INCLUDES_ITSELF */
732 // public static final int ER_STYLESHEET_INCLUDES_ITSELF = 39;
733

734
735     { ER_STYLESHEET_INCLUDES_ITSELF,
736       "(StylesheetHandler) {0} is directly or indirectly including itself!"},
737
738   /** ER_PROCESSINCLUDE_ERROR */
739 // public static final int ER_PROCESSINCLUDE_ERROR = 40;
740

741
742     { ER_PROCESSINCLUDE_ERROR,
743       "StylesheetHandler.processInclude error, {0}"},
744
745   /** ER_MISSING_LANG_ATTRIB */
746 // public static final int ER_MISSING_LANG_ATTRIB = 41;
747

748
749     { ER_MISSING_LANG_ATTRIB,
750       "(StylesheetHandler) {0} attribute ''lang'' is missing"},
751
752   /** ER_MISSING_CONTAINER_ELEMENT_COMPONENT */
753 // public static final int ER_MISSING_CONTAINER_ELEMENT_COMPONENT = 42;
754

755     { ER_MISSING_CONTAINER_ELEMENT_COMPONENT,
756       "(StylesheetHandler) misplaced {0} element?? Missing container element ''component''"},
757
758   /** ER_CAN_ONLY_OUTPUT_TO_ELEMENT */
759 // public static final int ER_CAN_ONLY_OUTPUT_TO_ELEMENT = 43;
760

761     { ER_CAN_ONLY_OUTPUT_TO_ELEMENT,
762       "Can only output to an Element, DocumentFragment, Document, or PrintWriter."},
763
764   /** ER_PROCESS_ERROR */
765 // public static final int ER_PROCESS_ERROR = 44;
766

767     { ER_PROCESS_ERROR,
768      "StylesheetRoot.process error"},
769
770   /** ER_UNIMPLNODE_ERROR */
771 // public static final int ER_UNIMPLNODE_ERROR = 45;
772

773     { ER_UNIMPLNODE_ERROR,
774      "UnImplNode error: {0}"},
775
776   /** ER_NO_SELECT_EXPRESSION */
777 // public static final int ER_NO_SELECT_EXPRESSION = 46;
778

779     { ER_NO_SELECT_EXPRESSION,
780       "Error! Did not find xpath select expression (-select)."},
781
782   /** ER_CANNOT_SERIALIZE_XSLPROCESSOR */
783 // public static final int ER_CANNOT_SERIALIZE_XSLPROCESSOR = 47;
784

785     { ER_CANNOT_SERIALIZE_XSLPROCESSOR,
786       "Can not serialize an XSLProcessor!"},
787
788   /** ER_NO_INPUT_STYLESHEET */
789 // public static final int ER_NO_INPUT_STYLESHEET = 48;
790

791     { ER_NO_INPUT_STYLESHEET,
792       "Stylesheet input was not specified!"},
793
794   /** ER_FAILED_PROCESS_STYLESHEET */
795 // public static final int ER_FAILED_PROCESS_STYLESHEET = 49;
796

797     { ER_FAILED_PROCESS_STYLESHEET,
798       "Failed to process stylesheet!"},
799
800   /** ER_COULDNT_PARSE_DOC */
801 // public static final int ER_COULDNT_PARSE_DOC = 50;
802

803     { ER_COULDNT_PARSE_DOC,
804      "Could not parse {0} document!"},
805
806   /** ER_COULDNT_FIND_FRAGMENT */
807 // public static final int ER_COULDNT_FIND_FRAGMENT = 51;
808

809     { ER_COULDNT_FIND_FRAGMENT,
810      "Could not find fragment: {0}"},
811
812   /** ER_NODE_NOT_ELEMENT */
813  // public static final int ER_NODE_NOT_ELEMENT = 52;
814

815     { ER_NODE_NOT_ELEMENT,
816       "Node pointed to by fragment identifier was not an element: {0}"},
817
818   /** ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB */
819 // public static final int ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB = 53;
820

821     { ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB,
822       "for-each must have either a match or name attribute"},
823
824   /** ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB */
825 // public static final int ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB = 54;
826

827     { ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB,
828       "templates must have either a match or name attribute"},
829
830   /** ER_NO_CLONE_OF_DOCUMENT_FRAG */
831 // public static final int ER_NO_CLONE_OF_DOCUMENT_FRAG = 55;
832

833     { ER_NO_CLONE_OF_DOCUMENT_FRAG,
834       "No clone of a document fragment!"},
835
836   /** ER_CANT_CREATE_ITEM */
837 // public static final int ER_CANT_CREATE_ITEM = 56;
838

839     { ER_CANT_CREATE_ITEM,
840       "Can not create item in result tree: {0}"},
841
842   /** ER_XMLSPACE_ILLEGAL_VALUE */
843 // public static final int ER_XMLSPACE_ILLEGAL_VALUE = 57;
844

845     { ER_XMLSPACE_ILLEGAL_VALUE,
846       "xml:space in the source XML has an illegal value: {0}"},
847
848   /** ER_NO_XSLKEY_DECLARATION */
849 // public static final int ER_NO_XSLKEY_DECLARATION = 58;
850

851     { ER_NO_XSLKEY_DECLARATION,
852       "There is no xsl:key declaration for {0}!"},
853
854   /** ER_CANT_CREATE_URL */
855 // public static final int ER_CANT_CREATE_URL = 59;
856

857     { ER_CANT_CREATE_URL,
858      "Error! Cannot create url for: {0}"},
859
860   /** ER_XSLFUNCTIONS_UNSUPPORTED */
861 // public static final int ER_XSLFUNCTIONS_UNSUPPORTED = 60;
862

863     { ER_XSLFUNCTIONS_UNSUPPORTED,
864      "xsl:functions is unsupported"},
865
866   /** ER_PROCESSOR_ERROR */
867 // public static final int ER_PROCESSOR_ERROR = 61;
868

869     { ER_PROCESSOR_ERROR,
870      "XSLT TransformerFactory Error"},
871
872   /** ER_NOT_ALLOWED_INSIDE_STYLESHEET */
873 // public static final int ER_NOT_ALLOWED_INSIDE_STYLESHEET = 62;
874

875     { ER_NOT_ALLOWED_INSIDE_STYLESHEET,
876       "(StylesheetHandler) {0} not allowed inside a stylesheet!"},
877
878   /** ER_RESULTNS_NOT_SUPPORTED */
879 // public static final int ER_RESULTNS_NOT_SUPPORTED = 63;
880

881     { ER_RESULTNS_NOT_SUPPORTED,
882       "result-ns no longer supported! Use xsl:output instead."},
883
884   /** ER_DEFAULTSPACE_NOT_SUPPORTED */
885 // public static final int ER_DEFAULTSPACE_NOT_SUPPORTED = 64;
886

887     { ER_DEFAULTSPACE_NOT_SUPPORTED,
888       "default-space no longer supported! Use xsl:strip-space or xsl:preserve-space instead."},
889
890   /** ER_INDENTRESULT_NOT_SUPPORTED */
891 // public static final int ER_INDENTRESULT_NOT_SUPPORTED = 65;
892

893     { ER_INDENTRESULT_NOT_SUPPORTED,
894       "indent-result no longer supported! Use xsl:output instead."},
895
896   /** ER_ILLEGAL_ATTRIB */
897 // public static final int ER_ILLEGAL_ATTRIB = 66;
898

899     { ER_ILLEGAL_ATTRIB,
900       "(StylesheetHandler) {0} has an illegal attribute: {1}"},
901
902   /** ER_UNKNOWN_XSL_ELEM */
903 // public static final int ER_UNKNOWN_XSL_ELEM = 67;
904

905     { ER_UNKNOWN_XSL_ELEM,
906      "Unknown XSL element: {0}"},
907
908   /** ER_BAD_XSLSORT_USE */
909 // public static final int ER_BAD_XSLSORT_USE = 68;
910

911     { ER_BAD_XSLSORT_USE,
912       "(StylesheetHandler) xsl:sort can only be used with xsl:apply-templates or xsl:for-each."},
913
914   /** ER_MISPLACED_XSLWHEN */
915 // public static final int ER_MISPLACED_XSLWHEN = 69;
916

917     { ER_MISPLACED_XSLWHEN,
918       "(StylesheetHandler) misplaced xsl:when!"},
919
920   /** ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE */
921 // public static final int ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE = 70;
922

923     { ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE,
924       "(StylesheetHandler) xsl:when not parented by xsl:choose!"},
925
926   /** ER_MISPLACED_XSLOTHERWISE */
927 // public static final int ER_MISPLACED_XSLOTHERWISE = 71;
928

929     { ER_MISPLACED_XSLOTHERWISE,
930       "(StylesheetHandler) misplaced xsl:otherwise!"},
931
932   /** ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE */
933 // public static final int ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE = 72;
934

935     { ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE,
936       "(StylesheetHandler) xsl:otherwise not parented by xsl:choose!"},
937
938   /** ER_NOT_ALLOWED_INSIDE_TEMPLATE */
939 // public static final int ER_NOT_ALLOWED_INSIDE_TEMPLATE = 73;
940

941     { ER_NOT_ALLOWED_INSIDE_TEMPLATE,
942       "(StylesheetHandler) {0} is not allowed inside a template!"},
943
944   /** ER_UNKNOWN_EXT_NS_PREFIX */
945 // public static final int ER_UNKNOWN_EXT_NS_PREFIX = 74;
946

947     { ER_UNKNOWN_EXT_NS_PREFIX,
948       "(StylesheetHandler) {0} extension namespace prefix {1} unknown"},
949
950   /** ER_IMPORTS_AS_FIRST_ELEM */
951 // public static final int ER_IMPORTS_AS_FIRST_ELEM = 75;
952

953     { ER_IMPORTS_AS_FIRST_ELEM,
954       "(StylesheetHandler) Imports can only occur as the first elements in the stylesheet!"},
955
956   /** ER_IMPORTING_ITSELF */
957 // public static final int ER_IMPORTING_ITSELF = 76;
958

959     { ER_IMPORTING_ITSELF,
960       "(StylesheetHandler) {0} is directly or indirectly importing itself!"},
961
962   /** ER_XMLSPACE_ILLEGAL_VAL */
963 // public static final int ER_XMLSPACE_ILLEGAL_VAL = 77;
964

965     { ER_XMLSPACE_ILLEGAL_VAL,
966       "(StylesheetHandler) " + "xml:space has an illegal value: {0}"},
967
968   /** ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL */
969 // public static final int ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL = 78;
970

971     { ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL,
972       "processStylesheet not succesfull!"},
973
974   /** ER_SAX_EXCEPTION */
975 // public static final int ER_SAX_EXCEPTION = 79;
976

977     { ER_SAX_EXCEPTION,
978      "SAX Exception"},
979
980   /** ER_FUNCTION_NOT_SUPPORTED */
981 // public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
982
// add this message to fix bug 21478
983
{ ER_FUNCTION_NOT_SUPPORTED,
984      "Function not supported!"},
985
986   /** ER_XSLT_ERROR */
987 // public static final int ER_XSLT_ERROR = 81;
988

989     { ER_XSLT_ERROR,
990      "XSLT Error"},
991
992   /** ER_CURRENCY_SIGN_ILLEGAL */
993 // public static final int ER_CURRENCY_SIGN_ILLEGAL = 82;
994

995     { ER_CURRENCY_SIGN_ILLEGAL,
996       "currency sign is not allowed in format pattern string"},
997
998   /** ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM */
999 // public static final int ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM = 83;
1000

1001    { ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM,
1002      "Document function not supported in Stylesheet DOM!"},
1003
1004  /** ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER */
1005// public static final int ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER = 84;
1006

1007    { ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER,
1008      "Can't resolve prefix of non-Prefix resolver!"},
1009
1010  /** ER_REDIRECT_COULDNT_GET_FILENAME */
1011// public static final int ER_REDIRECT_COULDNT_GET_FILENAME = 85;
1012

1013    { ER_REDIRECT_COULDNT_GET_FILENAME,
1014      "Redirect extension: Could not get filename - file or select attribute must return vald string."},
1015
1016  /** ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT */
1017// public static final int ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT = 86;
1018

1019    { ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT,
1020      "Can not build FormatterListener in Redirect extension!"},
1021
1022  /** ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX */
1023// public static final int ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX = 87;
1024

1025    { ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX,
1026      "Prefix in exclude-result-prefixes is not valid: {0}"},
1027
1028  /** ER_MISSING_NS_URI */
1029// public static final int ER_MISSING_NS_URI = 88;
1030

1031    { ER_MISSING_NS_URI,
1032      "Missing namespace URI for specified prefix"},
1033
1034  /** ER_MISSING_ARG_FOR_OPTION */
1035// public static final int ER_MISSING_ARG_FOR_OPTION = 89;
1036

1037    { ER_MISSING_ARG_FOR_OPTION,
1038      "Missing argument for option: {0}"},
1039
1040  /** ER_INVALID_OPTION */
1041// public static final int ER_INVALID_OPTION = 90;
1042

1043    { ER_INVALID_OPTION,
1044     "Invalid option: {0}"},
1045
1046  /** ER_MALFORMED_FORMAT_STRING */
1047// public static final int ER_MALFORMED_FORMAT_STRING = 91;
1048

1049    { ER_MALFORMED_FORMAT_STRING,
1050     "Malformed format string: {0}"},
1051
1052  /** ER_STYLESHEET_REQUIRES_VERSION_ATTRIB */
1053// public static final int ER_STYLESHEET_REQUIRES_VERSION_ATTRIB = 92;
1054

1055    { ER_STYLESHEET_REQUIRES_VERSION_ATTRIB,
1056      "xsl:stylesheet requires a 'version' attribute!"},
1057
1058  /** ER_ILLEGAL_ATTRIBUTE_VALUE */
1059// public static final int ER_ILLEGAL_ATTRIBUTE_VALUE = 93;
1060

1061    { ER_ILLEGAL_ATTRIBUTE_VALUE,
1062      "Attribute: {0} has an illegal value: {1}"},
1063
1064  /** ER_CHOOSE_REQUIRES_WHEN */
1065// public static final int ER_CHOOSE_REQUIRES_WHEN = 94;
1066

1067    { ER_CHOOSE_REQUIRES_WHEN,
1068     "xsl:choose requires an xsl:when"},
1069
1070  /** ER_NO_APPLY_IMPORT_IN_FOR_EACH */
1071// public static final int ER_NO_APPLY_IMPORT_IN_FOR_EACH = 95;
1072

1073    { ER_NO_APPLY_IMPORT_IN_FOR_EACH,
1074      "xsl:apply-imports not allowed in a xsl:for-each"},
1075
1076  /** ER_CANT_USE_DTM_FOR_OUTPUT */
1077// public static final int ER_CANT_USE_DTM_FOR_OUTPUT = 96;
1078

1079    { ER_CANT_USE_DTM_FOR_OUTPUT,
1080      "Cannot use a DTMLiaison for an output DOM node... pass a org.apache.xpath.DOM2Helper instead!"},
1081
1082  /** ER_CANT_USE_DTM_FOR_INPUT */
1083// public static final int ER_CANT_USE_DTM_FOR_INPUT = 97;
1084

1085    { ER_CANT_USE_DTM_FOR_INPUT,
1086      "Cannot use a DTMLiaison for a input DOM node... pass a org.apache.xpath.DOM2Helper instead!"},
1087
1088  /** ER_CALL_TO_EXT_FAILED */
1089// public static final int ER_CALL_TO_EXT_FAILED = 98;
1090

1091    { ER_CALL_TO_EXT_FAILED,
1092      "Call to extension element failed: {0}"},
1093
1094  /** ER_PREFIX_MUST_RESOLVE */
1095// public static final int ER_PREFIX_MUST_RESOLVE = 99;
1096

1097    { ER_PREFIX_MUST_RESOLVE,
1098      "Prefix must resolve to a namespace: {0}"},
1099
1100  /** ER_INVALID_UTF16_SURROGATE */
1101// public static final int ER_INVALID_UTF16_SURROGATE = 100;
1102

1103    { ER_INVALID_UTF16_SURROGATE,
1104      "Invalid UTF-16 surrogate detected: {0} ?"},
1105
1106  /** ER_XSLATTRSET_USED_ITSELF */
1107 // public static final int ER_XSLATTRSET_USED_ITSELF = 101;
1108

1109    { ER_XSLATTRSET_USED_ITSELF,
1110      "xsl:attribute-set {0} used itself, which will cause an infinite loop."},
1111
1112  /** ER_CANNOT_MIX_XERCESDOM */
1113// public static final int ER_CANNOT_MIX_XERCESDOM = 102;
1114

1115    { ER_CANNOT_MIX_XERCESDOM,
1116      "Can not mix non Xerces-DOM input with Xerces-DOM output!"},
1117
1118  /** ER_TOO_MANY_LISTENERS */
1119// public static final int ER_TOO_MANY_LISTENERS = 103;
1120

1121    { ER_TOO_MANY_LISTENERS,
1122      "addTraceListenersToStylesheet - TooManyListenersException"},
1123
1124  /** ER_IN_ELEMTEMPLATEELEM_READOBJECT */
1125// public static final int ER_IN_ELEMTEMPLATEELEM_READOBJECT = 104;
1126

1127    { ER_IN_ELEMTEMPLATEELEM_READOBJECT,
1128      "In ElemTemplateElement.readObject: {0}"},
1129
1130  /** ER_DUPLICATE_NAMED_TEMPLATE */
1131// public static final int ER_DUPLICATE_NAMED_TEMPLATE = 105;
1132

1133    { ER_DUPLICATE_NAMED_TEMPLATE,
1134      "Found more than one template named: {0}"},
1135
1136  /** ER_INVALID_KEY_CALL */
1137// public static final int ER_INVALID_KEY_CALL = 106;
1138

1139    { ER_INVALID_KEY_CALL,
1140      "Invalid function call: recursive key() calls are not allowed"},
1141
1142  /** Variable is referencing itself */
1143// public static final int ER_REFERENCING_ITSELF = 107;
1144

1145    { ER_REFERENCING_ITSELF,
1146      "Variable {0} is directly or indirectly referencing itself!"},
1147
1148  /** Illegal DOMSource input */
1149// public static final int ER_ILLEGAL_DOMSOURCE_INPUT = 108;
1150

1151    { ER_ILLEGAL_DOMSOURCE_INPUT,
1152      "The input node can not be null for a DOMSource for newTemplates!"},
1153
1154    /** Class not found for option */
1155// public static final int ER_CLASS_NOT_FOUND_FOR_OPTION = 109;
1156

1157    { ER_CLASS_NOT_FOUND_FOR_OPTION,
1158    "Class file not found for option {0}"},
1159
1160    /** Required Element not found */
1161// public static final int ER_REQUIRED_ELEM_NOT_FOUND = 110;
1162

1163    { ER_REQUIRED_ELEM_NOT_FOUND,
1164    "Required Element not found: {0}"},
1165
1166  /** InputStream cannot be null */
1167// public static final int ER_INPUT_CANNOT_BE_NULL = 111;
1168

1169    { ER_INPUT_CANNOT_BE_NULL,
1170    "InputStream cannot be null"},
1171
1172  /** URI cannot be null */
1173// public static final int ER_URI_CANNOT_BE_NULL = 112;
1174

1175    { ER_URI_CANNOT_BE_NULL,
1176    "URI cannot be null"},
1177
1178  /** File cannot be null */
1179// public static final int ER_FILE_CANNOT_BE_NULL = 113;
1180

1181    { ER_FILE_CANNOT_BE_NULL,
1182    "File cannot be null"},
1183
1184   /** InputSource cannot be null */
1185// public static final int ER_SOURCE_CANNOT_BE_NULL = 114;
1186

1187    { ER_SOURCE_CANNOT_BE_NULL,
1188        "InputSource cannot be null"},
1189
1190  /** Can't overwrite cause */
1191// public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
1192

1193    //{ ER_CANNOT_OVERWRITE_CAUSE,
1194
// "Cannot overwrite cause"},
1195

1196  /** Could not initialize BSF Manager */
1197// public static final int ER_CANNOT_INIT_BSFMGR = 116;
1198

1199    { ER_CANNOT_INIT_BSFMGR,
1200        "Could not initialize BSF Manager"},
1201
1202  /** Could not compile extension */
1203// public static final int ER_CANNOT_CMPL_EXTENSN = 117;
1204

1205    { ER_CANNOT_CMPL_EXTENSN,
1206        "Could not compile extension"},
1207
1208  /** Could not create extension */
1209// public static final int ER_CANNOT_CREATE_EXTENSN = 118;
1210

1211    { ER_CANNOT_CREATE_EXTENSN,
1212      "Could not create extension: {0} because of: {1}"},
1213
1214  /** Instance method call to method {0} requires an Object instance as first argument */
1215// public static final int ER_INSTANCE_MTHD_CALL_REQUIRES = 119;
1216

1217    { ER_INSTANCE_MTHD_CALL_REQUIRES,
1218      "Instance method call to method {0} requires an Object instance as first argument"},
1219
1220  /** Invalid element name specified */
1221// public static final int ER_INVALID_ELEMENT_NAME = 120;
1222

1223    { ER_INVALID_ELEMENT_NAME,
1224      "Invalid element name specified {0}"},
1225
1226   /** Element name method must be static */
1227// public static final int ER_ELEMENT_NAME_METHOD_STATIC = 121;
1228

1229    { ER_ELEMENT_NAME_METHOD_STATIC,
1230      "Element name method must be static {0}"},
1231
1232   /** Extension function {0} : {1} is unknown */
1233// public static final int ER_EXTENSION_FUNC_UNKNOWN = 122;
1234

1235    { ER_EXTENSION_FUNC_UNKNOWN,
1236             "Extension function {0} : {1} is unknown"},
1237
1238   /** More than one best match for constructor for */
1239// public static final int ER_MORE_MATCH_CONSTRUCTOR = 123;
1240

1241    { ER_MORE_MATCH_CONSTRUCTOR,
1242             "More than one best match for constructor for {0}"},
1243
1244   /** More than one best match for method */
1245// public static final int ER_MORE_MATCH_METHOD = 124;
1246

1247    { ER_MORE_MATCH_METHOD,
1248             "More than one best match for method {0}"},
1249
1250   /** More than one best match for element method */
1251// public static final int ER_MORE_MATCH_ELEMENT = 125;
1252

1253    { ER_MORE_MATCH_ELEMENT,
1254             "More than one best match for element method {0}"},
1255
1256   /** Invalid context passed to evaluate */
1257// public static final int ER_INVALID_CONTEXT_PASSED = 126;
1258

1259    { ER_INVALID_CONTEXT_PASSED,
1260             "Invalid context passed to evaluate {0}"},
1261
1262   /** Pool already exists */
1263// public static final int ER_POOL_EXISTS = 127;
1264

1265    { ER_POOL_EXISTS,
1266             "Pool already exists"},
1267
1268   /** No driver Name specified */
1269// public static final int ER_NO_DRIVER_NAME = 128;
1270

1271    { ER_NO_DRIVER_NAME,
1272             "No driver Name specified"},
1273
1274   /** No URL specified */
1275// public static final int ER_NO_URL = 129;
1276

1277    { ER_NO_URL,
1278             "No URL specified"},
1279
1280   /** Pool size is less than one */
1281// public static final int ER_POOL_SIZE_LESSTHAN_ONE = 130;
1282

1283    { ER_POOL_SIZE_LESSTHAN_ONE,
1284             "Pool size is less than one!"},
1285
1286   /** Invalid driver name specified */
1287// public static final int ER_INVALID_DRIVER = 131;
1288

1289    { ER_INVALID_DRIVER,
1290             "Invalid driver name specified!"},
1291
1292   /** Did not find the stylesheet root */
1293// public static final int ER_NO_STYLESHEETROOT = 132;
1294

1295    { ER_NO_STYLESHEETROOT,
1296             "Did not find the stylesheet root!"},
1297
1298   /** Illegal value for xml:space */
1299// public static final int ER_ILLEGAL_XMLSPACE_VALUE = 133;
1300

1301    { ER_ILLEGAL_XMLSPACE_VALUE,
1302         "Illegal value for xml:space"},
1303
1304   /** processFromNode failed */
1305// public static final int ER_PROCESSFROMNODE_FAILED = 134;
1306

1307    { ER_PROCESSFROMNODE_FAILED,
1308         "processFromNode failed"},
1309
1310   /** The resource [] could not load: */
1311// public static final int ER_RESOURCE_COULD_NOT_LOAD = 135;
1312

1313    { ER_RESOURCE_COULD_NOT_LOAD,
1314        "The resource [ {0} ] could not load: {1} \n {2} \t {3}"},
1315
1316
1317   /** Buffer size <=0 */
1318// public static final int ER_BUFFER_SIZE_LESSTHAN_ZERO = 136;
1319

1320    { ER_BUFFER_SIZE_LESSTHAN_ZERO,
1321        "Buffer size <=0"},
1322
1323   /** Unknown error when calling extension */
1324// public static final int ER_UNKNOWN_ERROR_CALLING_EXTENSION = 137;
1325

1326    { ER_UNKNOWN_ERROR_CALLING_EXTENSION,
1327        "Unknown error when calling extension"},
1328
1329   /** Prefix {0} does not have a corresponding namespace declaration */
1330// public static final int ER_NO_NAMESPACE_DECL = 138;
1331

1332    { ER_NO_NAMESPACE_DECL,
1333        "Prefix {0} does not have a corresponding namespace declaration"},
1334
1335   /** Element content not allowed for lang=javaclass */
1336// public static final int ER_ELEM_CONTENT_NOT_ALLOWED = 139;
1337

1338    { ER_ELEM_CONTENT_NOT_ALLOWED,
1339        "Element content not allowed for lang=javaclass {0}"},
1340
1341   /** Stylesheet directed termination */
1342// public static final int ER_STYLESHEET_DIRECTED_TERMINATION = 140;
1343

1344    { ER_STYLESHEET_DIRECTED_TERMINATION,
1345        "Stylesheet directed termination"},
1346
1347   /** 1 or 2 */
1348// public static final int ER_ONE_OR_TWO = 141;
1349

1350    { ER_ONE_OR_TWO,
1351        "1 or 2"},
1352
1353   /** 2 or 3 */
1354// public static final int ER_TWO_OR_THREE = 142;
1355

1356    { ER_TWO_OR_THREE,
1357        "2 or 3"},
1358
1359   /** Could not load {0} (check CLASSPATH), now using just the defaults */
1360// public static final int ER_COULD_NOT_LOAD_RESOURCE = 143;
1361

1362    { ER_COULD_NOT_LOAD_RESOURCE,
1363        "Could not load {0} (check CLASSPATH), now using just the defaults"},
1364
1365   /** Cannot initialize default templates */
1366// public static final int ER_CANNOT_INIT_DEFAULT_TEMPLATES = 144;
1367

1368    { ER_CANNOT_INIT_DEFAULT_TEMPLATES,
1369        "Cannot initialize default templates"},
1370
1371   /** Result should not be null */
1372// public static final int ER_RESULT_NULL = 145;
1373

1374    { ER_RESULT_NULL,
1375        "Result should not be null"},
1376
1377   /** Result could not be set */
1378// public static final int ER_RESULT_COULD_NOT_BE_SET = 146;
1379

1380    { ER_RESULT_COULD_NOT_BE_SET,
1381        "Result could not be set"},
1382
1383   /** No output specified */
1384// public static final int ER_NO_OUTPUT_SPECIFIED = 147;
1385

1386    { ER_NO_OUTPUT_SPECIFIED,
1387        "No output specified"},
1388
1389   /** Can't transform to a Result of type */
1390// public static final int ER_CANNOT_TRANSFORM_TO_RESULT_TYPE = 148;
1391

1392    { ER_CANNOT_TRANSFORM_TO_RESULT_TYPE,
1393        "Can''t transform to a Result of type {0}"},
1394
1395   /** Can't transform to a Source of type */
1396// public static final int ER_CANNOT_TRANSFORM_SOURCE_TYPE = 149;
1397

1398    { ER_CANNOT_TRANSFORM_SOURCE_TYPE,
1399        "Can''t transform a Source of type {0}"},
1400
1401   /** Null content handler */
1402// public static final int ER_NULL_CONTENT_HANDLER = 150;
1403

1404    { ER_NULL_CONTENT_HANDLER,
1405        "Null content handler"},
1406
1407   /** Null error handler */
1408// public static final int ER_NULL_ERROR_HANDLER = 151;
1409
{ ER_NULL_ERROR_HANDLER,
1410        "Null error handler"},
1411
1412   /** parse can not be called if the ContentHandler has not been set */
1413// public static final int ER_CANNOT_CALL_PARSE = 152;
1414

1415    { ER_CANNOT_CALL_PARSE,
1416        "parse can not be called if the ContentHandler has not been set"},
1417
1418   /** No parent for filter */
1419// public static final int ER_NO_PARENT_FOR_FILTER = 153;
1420

1421    { ER_NO_PARENT_FOR_FILTER,
1422        "No parent for filter"},
1423
1424
1425   /** No stylesheet found in: {0}, media */
1426// public static final int ER_NO_STYLESHEET_IN_MEDIA = 154;
1427

1428    { ER_NO_STYLESHEET_IN_MEDIA,
1429         "No stylesheet found in: {0}, media= {1}"},
1430
1431   /** No xml-stylesheet PI found in */
1432// public static final int ER_NO_STYLESHEET_PI = 155;
1433

1434    { ER_NO_STYLESHEET_PI,
1435         "No xml-stylesheet PI found in: {0}"},
1436
1437   /** No default implementation found */
1438// public static final int ER_NO_DEFAULT_IMPL = 156;
1439

1440    //{ ER_NO_DEFAULT_IMPL,
1441
// "No default implementation found "},
1442

1443   /** ChunkedIntArray({0}) not currently supported */
1444// public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
1445

1446    //{ ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
1447
// "ChunkedIntArray({0}) not currently supported"},
1448

1449   /** Offset bigger than slot */
1450// public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
1451

1452    //{ ER_OFFSET_BIGGER_THAN_SLOT,
1453
// "Offset bigger than slot"},
1454

1455   /** Coroutine not available, id= */
1456// public static final int ER_COROUTINE_NOT_AVAIL = 159;
1457

1458    //{ ER_COROUTINE_NOT_AVAIL,
1459
// "Coroutine not available, id={0}"},
1460

1461   /** CoroutineManager recieved co_exit() request */
1462// public static final int ER_COROUTINE_CO_EXIT = 160;
1463

1464    //{ ER_COROUTINE_CO_EXIT,
1465
// "CoroutineManager received co_exit() request"},
1466

1467   /** co_joinCoroutineSet() failed */
1468// public static final int ER_COJOINROUTINESET_FAILED = 161;
1469

1470    //{ ER_COJOINROUTINESET_FAILED,
1471
// "co_joinCoroutineSet() failed"},
1472

1473   /** Coroutine parameter error () */
1474// public static final int ER_COROUTINE_PARAM = 162;
1475

1476    //{ ER_COROUTINE_PARAM,
1477
// "Coroutine parameter error ({0})"},
1478

1479   /** UNEXPECTED: Parser doTerminate answers */
1480// public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
1481

1482    //{ ER_PARSER_DOTERMINATE_ANSWERS,
1483
// "\nUNEXPECTED: Parser doTerminate answers {0}"},
1484

1485   /** parse may not be called while parsing */
1486// public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
1487

1488    //{ ER_NO_PARSE_CALL_WHILE_PARSING,
1489
// "parse may not be called while parsing"},
1490

1491   /** Error: typed iterator for axis {0} not implemented */
1492// public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
1493

1494    //{ ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
1495
// "Error: typed iterator for axis {0} not implemented"},
1496

1497   /** Error: iterator for axis {0} not implemented */
1498// public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
1499

1500    //{ ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
1501
// "Error: iterator for axis {0} not implemented "},
1502

1503   /** Iterator clone not supported */
1504// public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
1505

1506    //{ ER_ITERATOR_CLONE_NOT_SUPPORTED,
1507
// "Iterator clone not supported"},
1508

1509   /** Unknown axis traversal type */
1510// public static final int ER_UNKNOWN_AXIS_TYPE = 168;
1511

1512    //{ ER_UNKNOWN_AXIS_TYPE,
1513
// "Unknown axis traversal type: {0}"},
1514

1515   /** Axis traverser not supported */
1516// public static final int ER_AXIS_NOT_SUPPORTED = 169;
1517

1518    //{ ER_AXIS_NOT_SUPPORTED,
1519
// "Axis traverser not supported: {0}"},
1520

1521   /** No more DTM IDs are available */
1522// public static final int ER_NO_DTMIDS_AVAIL = 170;
1523

1524    //{ ER_NO_DTMIDS_AVAIL,
1525
// "No more DTM IDs are available"},
1526

1527   /** Not supported */
1528// public static final int ER_NOT_SUPPORTED = 171;
1529

1530    { ER_NOT_SUPPORTED,
1531       "Not supported: {0}"},
1532
1533   /** node must be non-null for getDTMHandleFromNode */
1534// public static final int ER_NODE_NON_NULL = 172;
1535

1536    //{ ER_NODE_NON_NULL,
1537
// "Node must be non-null for getDTMHandleFromNode"},
1538

1539   /** Could not resolve the node to a handle */
1540// public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
1541

1542    //{ ER_COULD_NOT_RESOLVE_NODE,
1543
// "Could not resolve the node to a handle"},
1544

1545   /** startParse may not be called while parsing */
1546// public static final int ER_STARTPARSE_WHILE_PARSING = 174;
1547

1548    //{ ER_STARTPARSE_WHILE_PARSING,
1549
// "startParse may not be called while parsing"},
1550

1551   /** startParse needs a non-null SAXParser */
1552// public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
1553

1554    //{ ER_STARTPARSE_NEEDS_SAXPARSER,
1555
// "startParse needs a non-null SAXParser"},
1556

1557   /** could not initialize parser with */
1558// public static final int ER_COULD_NOT_INIT_PARSER = 176;
1559
//{ ER_COULD_NOT_INIT_PARSER,
1560
// "could not initialize parser with"},
1561

1562   /** Value for property {0} should be a Boolean instance */
1563// public static final int ER_PROPERTY_VALUE_BOOLEAN = 177;
1564

1565    { ER_PROPERTY_VALUE_BOOLEAN,
1566       "Value for property {0} should be a Boolean instance"},
1567
1568   /** exception creating new instance for pool */
1569// public static final int ER_EXCEPTION_CREATING_POOL = 178;
1570

1571    //{ ER_EXCEPTION_CREATING_POOL,
1572
// "exception creating new instance for pool"},
1573

1574   /** Path contains invalid escape sequence */
1575// public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
1576

1577    //{ ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
1578
// "Path contains invalid escape sequence"},
1579

1580   /** Scheme is required! */
1581// public static final int ER_SCHEME_REQUIRED = 180;
1582

1583    //{ ER_SCHEME_REQUIRED,
1584
// "Scheme is required!"},
1585

1586   /** No scheme found in URI */
1587// public static final int ER_NO_SCHEME_IN_URI = 181;
1588

1589    //{ ER_NO_SCHEME_IN_URI,
1590
// "No scheme found in URI: {0}"},
1591

1592   /** No scheme found in URI */
1593// public static final int ER_NO_SCHEME_INURI = 182;
1594

1595    //{ ER_NO_SCHEME_INURI,
1596
// "No scheme found in URI"},
1597

1598   /** Path contains invalid character: */
1599// public static final int ER_PATH_INVALID_CHAR = 183;
1600

1601    //{ ER_PATH_INVALID_CHAR,
1602
// "Path contains invalid character: {0}"},
1603

1604   /** Cannot set scheme from null string */
1605// public static final int ER_SCHEME_FROM_NULL_STRING = 184;
1606

1607    //{ ER_SCHEME_FROM_NULL_STRING,
1608
// "Cannot set scheme from null string"},
1609

1610   /** The scheme is not conformant. */
1611// public static final int ER_SCHEME_NOT_CONFORMANT = 185;
1612

1613    //{ ER_SCHEME_NOT_CONFORMANT,
1614
// "The scheme is not conformant."},
1615

1616   /** Host is not a well formed address */
1617// public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
1618

1619    //{ ER_HOST_ADDRESS_NOT_WELLFORMED,
1620
// "Host is not a well formed address"},
1621

1622   /** Port cannot be set when host is null */
1623// public static final int ER_PORT_WHEN_HOST_NULL = 187;
1624

1625    //{ ER_PORT_WHEN_HOST_NULL,
1626
// "Port cannot be set when host is null"},
1627

1628   /** Invalid port number */
1629// public static final int ER_INVALID_PORT = 188;
1630

1631    //{ ER_INVALID_PORT,
1632
// "Invalid port number"},
1633

1634   /** Fragment can only be set for a generic URI */
1635// public static final int ER_FRAG_FOR_GENERIC_URI = 189;
1636

1637    //{ ER_FRAG_FOR_GENERIC_URI,
1638
// "Fragment can only be set for a generic URI"},
1639

1640   /** Fragment cannot be set when path is null */
1641// public static final int ER_FRAG_WHEN_PATH_NULL = 190;
1642

1643    //{ ER_FRAG_WHEN_PATH_NULL,
1644
// "Fragment cannot be set when path is null"},
1645

1646   /** Fragment contains invalid character */
1647// public static final int ER_FRAG_INVALID_CHAR = 191;
1648

1649    //{ ER_FRAG_INVALID_CHAR,
1650
// "Fragment contains invalid character"},
1651

1652
1653
1654   /** Parser is already in use */
1655// public static final int ER_PARSER_IN_USE = 192;
1656

1657    //{ ER_PARSER_IN_USE,
1658
// "Parser is already in use"},
1659

1660   /** Parser is already in use */
1661// public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
1662

1663    //{ ER_CANNOT_CHANGE_WHILE_PARSING,
1664
// "Cannot change {0} {1} while parsing"},
1665

1666   /** Self-causation not permitted */
1667// public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
1668

1669    //{ ER_SELF_CAUSATION_NOT_PERMITTED,
1670
// "Self-causation not permitted"},
1671

1672   /** src attribute not yet supported for */
1673// public static final int ER_COULD_NOT_FIND_EXTERN_SCRIPT = 195;
1674

1675    { ER_COULD_NOT_FIND_EXTERN_SCRIPT,
1676         "Could not get to external script at {0}"},
1677
1678  /** The resource [] could not be found */
1679// public static final int ER_RESOURCE_COULD_NOT_FIND = 196;
1680

1681    { ER_RESOURCE_COULD_NOT_FIND,
1682        "The resource [ {0} ] could not be found.\n {1}"},
1683
1684   /** output property not recognized: */
1685// public static final int ER_OUTPUT_PROPERTY_NOT_RECOGNIZED = 197;
1686

1687    { ER_OUTPUT_PROPERTY_NOT_RECOGNIZED,
1688        "Output property not recognized: {0}"},
1689
1690   /** Userinfo may not be specified if host is not specified */
1691// public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
1692

1693    //{ ER_NO_USERINFO_IF_NO_HOST,
1694
// "Userinfo may not be specified if host is not specified"},
1695

1696   /** Port may not be specified if host is not specified */
1697// public static final int ER_NO_PORT_IF_NO_HOST = 199;
1698

1699    //{ ER_NO_PORT_IF_NO_HOST,
1700
// "Port may not be specified if host is not specified"},
1701

1702   /** Query string cannot be specified in path and query string */
1703// public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
1704

1705    //{ ER_NO_QUERY_STRING_IN_PATH,
1706
// "Query string cannot be specified in path and query string"},
1707

1708   /** Fragment cannot be specified in both the path and fragment */
1709// public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
1710

1711    //{ ER_NO_FRAGMENT_STRING_IN_PATH,
1712
// "Fragment cannot be specified in both the path and fragment"},
1713

1714   /** Cannot initialize URI with empty parameters */
1715// public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
1716

1717    //{ ER_CANNOT_INIT_URI_EMPTY_PARMS,
1718
// "Cannot initialize URI with empty parameters"},
1719

1720   /** Failed creating ElemLiteralResult instance */
1721// public static final int ER_FAILED_CREATING_ELEMLITRSLT = 203;
1722

1723    { ER_FAILED_CREATING_ELEMLITRSLT,
1724        "Failed creating ElemLiteralResult instance"},
1725
1726  //Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE
1727
// In latest Xalan code base key name is ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care
1728
//in locale specific files like XSLTErrorResources_de.java, XSLTErrorResources_fr.java etc.
1729
//NOTE: Not only the key name but message has also been changed.
1730

1731   /** Priority value does not contain a parsable number */
1732// public static final int ER_VALUE_SHOULD_BE_NUMBER = 204;
1733

1734    { ER_VALUE_SHOULD_BE_NUMBER,
1735        "Value for {0} should contain a parsable number"},
1736
1737   /** Value for {0} should equal 'yes' or 'no' */
1738// public static final int ER_VALUE_SHOULD_EQUAL = 205;
1739

1740    { ER_VALUE_SHOULD_EQUAL,
1741        "Value for {0} should equal yes or no"},
1742
1743   /** Failed calling {0} method */
1744// public static final int ER_FAILED_CALLING_METHOD = 206;
1745

1746    { ER_FAILED_CALLING_METHOD,
1747        "Failed calling {0} method"},
1748
1749   /** Failed creating ElemLiteralResult instance */
1750// public static final int ER_FAILED_CREATING_ELEMTMPL = 207;
1751

1752    { ER_FAILED_CREATING_ELEMTMPL,
1753        "Failed creating ElemTemplateElement instance"},
1754
1755   /** Characters are not allowed at this point in the document */
1756// public static final int ER_CHARS_NOT_ALLOWED = 208;
1757

1758    { ER_CHARS_NOT_ALLOWED,
1759        "Characters are not allowed at this point in the document"},
1760
1761  /** attribute is not allowed on the element */
1762// public static final int ER_ATTR_NOT_ALLOWED = 209;
1763
{ ER_ATTR_NOT_ALLOWED,
1764        "\"{0}\" attribute is not allowed on the {1} element!"},
1765
1766  /** Method not yet supported */
1767// public static final int ER_METHOD_NOT_SUPPORTED = 210;
1768

1769    //{ ER_METHOD_NOT_SUPPORTED,
1770
// "Method not yet supported "},
1771

1772  /** Bad value */
1773// public static final int ER_BAD_VALUE = 211;
1774

1775    { ER_BAD_VALUE,
1776     "{0} bad value {1} "},
1777
1778  /** attribute value not found */
1779// public static final int ER_ATTRIB_VALUE_NOT_FOUND = 212;
1780

1781    { ER_ATTRIB_VALUE_NOT_FOUND,
1782     "{0} attribute value not found "},
1783
1784  /** attribute value not recognized */
1785// public static final int ER_ATTRIB_VALUE_NOT_RECOGNIZED = 213;
1786

1787    { ER_ATTRIB_VALUE_NOT_RECOGNIZED,
1788     "{0} attribute value not recognized "},
1789
1790  /** IncrementalSAXSource_Filter not currently restartable */
1791// public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
1792

1793    //{ ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
1794
// "IncrementalSAXSource_Filter not currently restartable"},
1795

1796  /** IncrementalSAXSource_Filter not currently restartable */
1797// public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
1798

1799    //{ ER_XMLRDR_NOT_BEFORE_STARTPARSE,
1800
// "XMLReader not before startParse request"},
1801

1802  /** Attempting to generate a namespace prefix with a null URI */
1803// public static final int ER_NULL_URI_NAMESPACE = 216;
1804

1805    { ER_NULL_URI_NAMESPACE,
1806     "Attempting to generate a namespace prefix with a null URI"},
1807
1808  //New ERROR keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
1809

1810  /** Attempting to generate a namespace prefix with a null URI */
1811// public static final int ER_NUMBER_TOO_BIG = 217;
1812

1813    { ER_NUMBER_TOO_BIG,
1814     "Attempting to format a number bigger than the largest Long integer"},
1815
1816//ER_CANNOT_FIND_SAX1_DRIVER
1817

1818// public static final int ER_CANNOT_FIND_SAX1_DRIVER = 218;
1819

1820    { ER_CANNOT_FIND_SAX1_DRIVER,
1821     "Cannot find SAX1 driver class {0}"},
1822
1823//ER_SAX1_DRIVER_NOT_LOADED
1824
// public static final int ER_SAX1_DRIVER_NOT_LOADED = 219;
1825

1826    { ER_SAX1_DRIVER_NOT_LOADED,
1827     "SAX1 driver class {0} found but cannot be loaded"},
1828
1829//ER_SAX1_DRIVER_NOT_INSTANTIATED
1830
// public static final int ER_SAX1_DRIVER_NOT_INSTANTIATED = 220 ;
1831

1832    { ER_SAX1_DRIVER_NOT_INSTANTIATED,
1833     "SAX1 driver class {0} loaded but cannot be instantiated"},
1834
1835
1836// ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER
1837
// public static final int ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER = 221;
1838

1839    { ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER,
1840     "SAX1 driver class {0} does not implement org.xml.sax.Parser"},
1841
1842// ER_PARSER_PROPERTY_NOT_SPECIFIED
1843
// public static final int ER_PARSER_PROPERTY_NOT_SPECIFIED = 222;
1844

1845    { ER_PARSER_PROPERTY_NOT_SPECIFIED,
1846     "System property org.xml.sax.parser not specified"},
1847
1848//ER_PARSER_ARG_CANNOT_BE_NULL
1849
// public static final int ER_PARSER_ARG_CANNOT_BE_NULL = 223 ;
1850

1851    { ER_PARSER_ARG_CANNOT_BE_NULL,
1852     "Parser argument must not be null"},
1853
1854
1855// ER_FEATURE
1856
// public static final int ER_FEATURE = 224;
1857

1858    { ER_FEATURE,
1859     "Feature: {0}"},
1860
1861
1862// ER_PROPERTY
1863
// public static final int ER_PROPERTY = 225 ;
1864

1865    { ER_PROPERTY,
1866     "Property: {0}"},
1867
1868// ER_NULL_ENTITY_RESOLVER
1869
// public static final int ER_NULL_ENTITY_RESOLVER = 226;
1870

1871    { ER_NULL_ENTITY_RESOLVER,
1872     "Null entity resolver"},
1873
1874// ER_NULL_DTD_HANDLER
1875
// public static final int ER_NULL_DTD_HANDLER = 227 ;
1876

1877    { ER_NULL_DTD_HANDLER,
1878     "Null DTD handler"},
1879
1880// No Driver Name Specified!
1881
// public static final int ER_NO_DRIVER_NAME_SPECIFIED = 228;
1882
{ ER_NO_DRIVER_NAME_SPECIFIED,
1883     "No Driver Name Specified!"},
1884
1885
1886// No URL Specified!
1887
// public static final int ER_NO_URL_SPECIFIED = 229;
1888
{ ER_NO_URL_SPECIFIED,
1889     "No URL Specified!"},
1890
1891
1892// Pool size is less than 1!
1893
// public static final int ER_POOLSIZE_LESS_THAN_ONE = 230;
1894
{ ER_POOLSIZE_LESS_THAN_ONE,
1895     "Pool size is less than 1!"},
1896
1897
1898// Invalid Driver Name Specified!
1899
// public static final int ER_INVALID_DRIVER_NAME = 231;
1900
{ ER_INVALID_DRIVER_NAME,
1901     "Invalid Driver Name Specified!"},
1902
1903
1904
1905// ErrorListener
1906
// public static final int ER_ERRORLISTENER = 232;
1907
{ ER_ERRORLISTENER,
1908     "ErrorListener"},
1909
1910
1911// Note to translators: The following message should not normally be displayed
1912
// to users. It describes a situation in which the processor has detected
1913
// an internal consistency problem in itself, and it provides this message
1914
// for the developer to help diagnose the problem. The name
1915
// 'ElemTemplateElement' is the name of a class, and should not be
1916
// translated.
1917
// Programmer's error! expr has no ElemTemplateElement parent!
1918
// public static final int ER_ASSERT_NO_TEMPLATE_PARENT = 233;
1919
{ ER_ASSERT_NO_TEMPLATE_PARENT,
1920     "Programmer's error! The expression has no ElemTemplateElement parent!"},
1921
1922
1923// Note to translators: The following message should not normally be displayed
1924
// to users. It describes a situation in which the processor has detected
1925
// an internal consistency problem in itself, and it provides this message
1926
// for the developer to help diagnose the problem. The substitution text
1927
// provides further information in order to diagnose the problem. The name
1928
// 'RedundentExprEliminator' is the name of a class, and should not be
1929
// translated.
1930
// Programmer''s assertion in RedundentExprEliminator: {0}
1931
// public static final int ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR = 234;
1932
{ ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR,
1933     "Programmer''s assertion in RedundentExprEliminator: {0}"},
1934
1935// Axis traverser not supported: {0}
1936
// public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
1937
//{ ER_AXIS_TRAVERSER_NOT_SUPPORTED,
1938
// "Axis traverser not supported: {0}"},
1939

1940// ListingErrorHandler created with null PrintWriter!
1941
// public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
1942
//{ ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
1943
// "ListingErrorHandler created with null PrintWriter!"},
1944

1945  // {0}is not allowed in this position in the stylesheet!
1946
// public static final int ER_NOT_ALLOWED_IN_POSITION = 237;
1947
{ ER_NOT_ALLOWED_IN_POSITION,
1948     "{0} is not allowed in this position in the stylesheet!"},
1949
1950  // Non-whitespace text is not allowed in this position in the stylesheet!
1951
// public static final int ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION = 238;
1952
{ ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION,
1953     "Non-whitespace text is not allowed in this position in the stylesheet!"},
1954
1955  // This code is shared with warning codes.
1956
// Illegal value: {1} used for CHAR attribute: {0}. An attribute of type CHAR must be only 1 character!
1957
// public static final int INVALID_TCHAR = 239;
1958
// SystemId Unknown
1959
{ INVALID_TCHAR,
1960     "Illegal value: {1} used for CHAR attribute: {0}. An attribute of type CHAR must be only 1 character!"},
1961
1962// public static final int ER_SYSTEMID_UNKNOWN = 240;
1963
//{ ER_SYSTEMID_UNKNOWN,
1964
// "SystemId Unknown"},
1965

1966  // Location of error unknown
1967
// public static final int ER_LOCATION_UNKNOWN = 241;
1968
//{ ER_LOCATION_UNKNOWN,
1969
// "Location of error unknown"},
1970

1971    // Note to translators: The following message is used if the value of
1972
// an attribute in a stylesheet is invalid. "QNAME" is the XML data-type of
1973
// the attribute, and should not be translated. The substitution text {1} is
1974
// the attribute value and {0} is the attribute name.
1975
// INVALID_QNAME
1976

1977  //The following codes are shared with the warning codes...
1978
// Illegal value: {1} used for QNAME attribute: {0}
1979
// public static final int INVALID_QNAME = 242;
1980
{ INVALID_QNAME,
1981     "Illegal value: {1} used for QNAME attribute: {0}"},
1982
1983    // Note to translators: The following message is used if the value of
1984
// an attribute in a stylesheet is invalid. "ENUM" is the XML data-type of
1985
// the attribute, and should not be translated. The substitution text {1} is
1986
// the attribute value, {0} is the attribute name, and {2} is a list of valid
1987
// values.
1988
// INVALID_ENUM
1989

1990  // Illegal value: {1} used for ENUM attribute: {0}. Valid values are: {2}.
1991
// public static final int INVALID_ENUM = 243;
1992
{ INVALID_ENUM,
1993     "Illegal value: {1} used for ENUM attribute: {0}. Valid values are: {2}."},
1994
1995// Note to translators: The following message is used if the value of
1996
// an attribute in a stylesheet is invalid. "NMTOKEN" is the XML data-type
1997
// of the attribute, and should not be translated. The substitution text {1} is
1998
// the attribute value and {0} is the attribute name.
1999
// INVALID_NMTOKEN
2000

2001  // Illegal value: {1} used for NMTOKEN attribute: {0}.
2002
// public static final int INVALID_NMTOKEN = 244;
2003
{ INVALID_NMTOKEN,
2004     "Illegal value: {1} used for NMTOKEN attribute: {0} "},
2005
2006// Note to translators: The following message is used if the value of
2007
// an attribute in a stylesheet is invalid. "NCNAME" is the XML data-type
2008
// of the attribute, and should not be translated. The substitution text {1} is
2009
// the attribute value and {0} is the attribute name.
2010
// INVALID_NCNAME
2011

2012  // Illegal value: {1} used for NCNAME attribute: {0}.
2013
// public static final int INVALID_NCNAME = 245;
2014
{ INVALID_NCNAME,
2015     "Illegal value: {1} used for NCNAME attribute: {0} "},
2016
2017// Note to translators: The following message is used if the value of
2018
// an attribute in a stylesheet is invalid. "boolean" is the XSLT data-type
2019
// of the attribute, and should not be translated. The substitution text {1} is
2020
// the attribute value and {0} is the attribute name.
2021
// INVALID_BOOLEAN
2022

2023  // Illegal value: {1} used for boolean attribute: {0}.
2024
// public static final int INVALID_BOOLEAN = 246;
2025

2026    { INVALID_BOOLEAN,
2027     "Illegal value: {1} used for boolean attribute: {0} "},
2028
2029// Note to translators: The following message is used if the value of
2030
// an attribute in a stylesheet is invalid. "number" is the XSLT data-type
2031
// of the attribute, and should not be translated. The substitution text {1} is
2032
// the attribute value and {0} is the attribute name.
2033
// INVALID_NUMBER
2034

2035  // Illegal value: {1} used for number attribute: {0}.
2036
// public static final int INVALID_NUMBER = 247;
2037
{ INVALID_NUMBER,
2038     "Illegal value: {1} used for number attribute: {0} "},
2039
2040
2041  // End of shared codes...
2042

2043// Note to translators: A "match pattern" is a special form of XPath expression
2044
// that is used for matching patterns. The substitution text is the name of
2045
// a function. The message indicates that when this function is referenced in
2046
// a match pattern, its argument must be a string literal (or constant.)
2047
// ER_ARG_LITERAL - new error message for bugzilla //5202
2048

2049  // Argument to {0} in match pattern must be a literal.
2050
// public static final int ER_ARG_LITERAL = 248;
2051
{ ER_ARG_LITERAL,
2052     "Argument to {0} in match pattern must be a literal."},
2053
2054// Note to translators: The following message indicates that two definitions of
2055
// a variable. A "global variable" is a variable that is accessible everywher
2056
// in the stylesheet.
2057
// ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
2058

2059  // Duplicate global variable declaration.
2060
// public static final int ER_DUPLICATE_GLOBAL_VAR = 249;
2061
{ ER_DUPLICATE_GLOBAL_VAR,
2062     "Duplicate global variable declaration."},
2063
2064
2065// Note to translators: The following message indicates that two definitions of
2066
// a variable were encountered.
2067
// ER_DUPLICATE_VAR - new error message for bugzilla #790
2068

2069  // Duplicate variable declaration.
2070
// public static final int ER_DUPLICATE_VAR = 250;
2071
{ ER_DUPLICATE_VAR,
2072     "Duplicate variable declaration."},
2073
2074    // Note to translators: "xsl:template, "name" and "match" are XSLT keywords
2075
// which must not be translated.
2076
// ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
2077

2078  // xsl:template must have a name or match attribute (or both)
2079
// public static final int ER_TEMPLATE_NAME_MATCH = 251;
2080
{ ER_TEMPLATE_NAME_MATCH,
2081     "xsl:template must have a name or match attribute (or both)"},
2082
2083    // Note to translators: "exclude-result-prefixes" is an XSLT keyword which
2084
// should not be translated. The message indicates that a namespace prefix
2085
// encountered as part of the value of the exclude-result-prefixes attribute
2086
// was in error.
2087
// ER_INVALID_PREFIX - new error message for bugzilla #788
2088

2089  // Prefix in exclude-result-prefixes is not valid: {0}
2090
// public static final int ER_INVALID_PREFIX = 252;
2091
{ ER_INVALID_PREFIX,
2092     "Prefix in exclude-result-prefixes is not valid: {0}"},
2093
2094    // Note to translators: An "attribute set" is a set of attributes that can
2095
// be added to an element in the output document as a group. The message
2096
// indicates that there was a reference to an attribute set named {0} that
2097
// was never defined.
2098
// ER_NO_ATTRIB_SET - new error message for bugzilla #782
2099

2100  // attribute-set named {0} does not exist
2101
// public static final int ER_NO_ATTRIB_SET = 253;
2102
{ ER_NO_ATTRIB_SET,
2103     "attribute-set named {0} does not exist"},
2104     
2105    // Note to translators: This message indicates that there was a reference
2106
// to a function named {0} for which no function definition could be found.
2107
//ER_FUNCTION_NOT_FOUND
2108
// public static final int ER_FUNCTION_NOT_FOUND = 254;
2109

2110    { ER_FUNCTION_NOT_FOUND,
2111     "The function named {0} does not exist"},
2112
2113    // Note to translators: This message indicates that the XSLT instruction
2114
// that is named by the substitution text {0} must not contain other XSLT
2115
// instructions (content) or a "select" attribute. The word "select" is
2116
// an XSLT keyword in this case and must not be translated.
2117
// ER_CANT_HAVE_CONTENT_AND_SELECT
2118
// public static final int ER_CANT_HAVE_CONTENT_AND_SELECT = 255;
2119
{ ER_CANT_HAVE_CONTENT_AND_SELECT,
2120     "The {0} element must not have both content and a select attribute."},
2121
2122    // Note to translators: This message indicates that the value argument
2123
// of setParameter must be a valid Java Object.
2124
// ER_INVALID_SET_PARAM_VALUE
2125
// public static final int ER_INVALID_SET_PARAM_VALUE = 256;
2126
{ ER_INVALID_SET_PARAM_VALUE,
2127     "The value of param {0} must be a valid Java Object"},
2128
2129
2130
2131  // Warnings...
2132

2133  /** WG_FOUND_CURLYBRACE */
2134// public static final int WG_FOUND_CURLYBRACE = 1;
2135
{ WG_FOUND_CURLYBRACE,
2136      "Found '}' but no attribute template open!"},
2137
2138  /** WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR */
2139// public static final int WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR = 2;
2140

2141    { WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR,
2142      "Warning: count attribute does not match an ancestor in xsl:number! Target = {0}"},
2143
2144  /** WG_EXPR_ATTRIB_CHANGED_TO_SELECT */
2145// public static final int WG_EXPR_ATTRIB_CHANGED_TO_SELECT = 3;
2146

2147    { WG_EXPR_ATTRIB_CHANGED_TO_SELECT,
2148      "Old syntax: The name of the 'expr' attribute has been changed to 'select'."},
2149
2150  /** WG_NO_LOCALE_IN_FORMATNUMBER */
2151// public static final int WG_NO_LOCALE_IN_FORMATNUMBER = 4;
2152

2153    { WG_NO_LOCALE_IN_FORMATNUMBER,
2154      "Xalan doesn't yet handle the locale name in the format-number function."},
2155
2156  /** WG_LOCALE_NOT_FOUND */
2157// public static final int WG_LOCALE_NOT_FOUND = 5;
2158

2159    { WG_LOCALE_NOT_FOUND,
2160      "Warning: Could not find locale for xml:lang={0}"},
2161
2162  /** WG_CANNOT_MAKE_URL_FROM */
2163// public static final int WG_CANNOT_MAKE_URL_FROM = 6;
2164

2165    { WG_CANNOT_MAKE_URL_FROM,
2166      "Can not make URL from: {0}"},
2167
2168  /** WG_CANNOT_LOAD_REQUESTED_DOC */
2169// public static final int WG_CANNOT_LOAD_REQUESTED_DOC = 7;
2170

2171    { WG_CANNOT_LOAD_REQUESTED_DOC,
2172      "Can not load requested doc: {0}"},
2173
2174  /** WG_CANNOT_FIND_COLLATOR */
2175// public static final int WG_CANNOT_FIND_COLLATOR = 8;
2176
{ WG_CANNOT_FIND_COLLATOR,
2177      "Could not find Collator for <sort xml:lang={0}"},
2178
2179  /** WG_FUNCTIONS_SHOULD_USE_URL */
2180// public static final int WG_FUNCTIONS_SHOULD_USE_URL = 9;
2181

2182    { WG_FUNCTIONS_SHOULD_USE_URL,
2183      "Old syntax: the functions instruction should use a url of {0}"},
2184
2185  /** WG_ENCODING_NOT_SUPPORTED_USING_UTF8 */
2186// public static final int WG_ENCODING_NOT_SUPPORTED_USING_UTF8 = 10;
2187

2188    { WG_ENCODING_NOT_SUPPORTED_USING_UTF8,
2189      "encoding not supported: {0}, using UTF-8"},
2190
2191  /** WG_ENCODING_NOT_SUPPORTED_USING_JAVA */
2192// public static final int WG_ENCODING_NOT_SUPPORTED_USING_JAVA = 11;
2193

2194    { WG_ENCODING_NOT_SUPPORTED_USING_JAVA,
2195      "encoding not supported: {0}, using Java {1}"},
2196
2197  /** WG_SPECIFICITY_CONFLICTS */
2198// public static final int WG_SPECIFICITY_CONFLICTS = 12;
2199

2200    { WG_SPECIFICITY_CONFLICTS,
2201      "Specificity conflicts found: {0} Last found in stylesheet will be used."},
2202
2203  /** WG_PARSING_AND_PREPARING */
2204// public static final int WG_PARSING_AND_PREPARING = 13;
2205

2206    { WG_PARSING_AND_PREPARING,
2207      "========= Parsing and preparing {0} =========="},
2208
2209  /** WG_ATTR_TEMPLATE */
2210// public static final int WG_ATTR_TEMPLATE = 14;
2211

2212    { WG_ATTR_TEMPLATE,
2213     "Attr Template, {0}"},
2214
2215  /** WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE */
2216// public static final int WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = 15;
2217

2218    { WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE,
2219      "Match conflict between xsl:strip-space and xsl:preserve-space"},
2220
2221  /** WG_ATTRIB_NOT_HANDLED */
2222// public static final int WG_ATTRIB_NOT_HANDLED = 16;
2223

2224    { WG_ATTRIB_NOT_HANDLED,
2225      "Xalan does not yet handle the {0} attribute!"},
2226
2227  /** WG_NO_DECIMALFORMAT_DECLARATION */
2228// public static final int WG_NO_DECIMALFORMAT_DECLARATION = 17;
2229

2230    { WG_NO_DECIMALFORMAT_DECLARATION,
2231      "No declaration found for decimal format: {0}"},
2232
2233  /** WG_OLD_XSLT_NS */
2234// public static final int WG_OLD_XSLT_NS = 18;
2235

2236    { WG_OLD_XSLT_NS,
2237     "Missing or incorrect XSLT Namespace. "},
2238
2239  /** WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED */
2240// public static final int WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED = 19;
2241

2242    { WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED,
2243      "Only one default xsl:decimal-format declaration is allowed."},
2244
2245  /** WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE */
2246// public static final int WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE = 20;
2247

2248    { WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE,
2249      "xsl:decimal-format names must be unique. Name \"{0}\" has been duplicated."},
2250
2251  /** WG_ILLEGAL_ATTRIBUTE */
2252  //public static final int WG_ILLEGAL_ATTRIBUTE = 21;
2253

2254    { WG_ILLEGAL_ATTRIBUTE,
2255      "{0} has an illegal attribute: {1}"},
2256
2257  /** WG_COULD_NOT_RESOLVE_PREFIX */
2258// public static final int WG_COULD_NOT_RESOLVE_PREFIX = 22;
2259

2260    { WG_COULD_NOT_RESOLVE_PREFIX,
2261      "Could not resolve namespace prefix: {0}. The node will be ignored."},
2262
2263  /** WG_STYLESHEET_REQUIRES_VERSION_ATTRIB */
2264// public static final int WG_STYLESHEET_REQUIRES_VERSION_ATTRIB = 23;
2265
{ WG_STYLESHEET_REQUIRES_VERSION_ATTRIB,
2266      "xsl:stylesheet requires a 'version' attribute!"},
2267
2268  /** WG_ILLEGAL_ATTRIBUTE_NAME */
2269// public static final int WG_ILLEGAL_ATTRIBUTE_NAME = 24;
2270

2271    { WG_ILLEGAL_ATTRIBUTE_NAME,
2272      "Illegal attribute name: {0}"},
2273
2274  /** WG_ILLEGAL_ATTRIBUTE_VALUE */
2275// public static final int WG_ILLEGAL_ATTRIBUTE_VALUE = 25;
2276
{ WG_ILLEGAL_ATTRIBUTE_VALUE,
2277      "Illegal value used for attribute {0}: {1}"},
2278
2279  /** WG_EMPTY_SECOND_ARG */
2280// public static final int WG_EMPTY_SECOND_ARG = 26;
2281

2282    { WG_EMPTY_SECOND_ARG,
2283      "Resulting nodeset from second argument of document function is empty. Return an empty node-set."},
2284
2285  //Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
2286

2287    // Note to translators: "name" and "xsl:processing-instruction" are keywords
2288
// and must not be translated.
2289
// WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML
2290

2291
2292  /** WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */
2293// public static final int WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 27;
2294
{ WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
2295      "The value of the 'name' attribute of xsl:processing-instruction name must not be 'xml'"},
2296
2297    // Note to translators: "name" and "xsl:processing-instruction" are keywords
2298
// and must not be translated. "NCName" is an XML data-type and must not be
2299
// translated.
2300
// WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME
2301

2302  /** WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */
2303// public static final int WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 28;
2304
{ WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
2305      "The value of the 'name' attribute of xsl:processing-instruction must be a valid NCName: {0}"},
2306
2307    // Note to translators: This message is reported if the stylesheet that is
2308
// being processed attempted to construct an XML document with an attribute in a
2309
// place other than on an element. The substitution text specifies the name of
2310
// the attribute.
2311
// WG_ILLEGAL_ATTRIBUTE_POSITION
2312

2313  /** WG_ILLEGAL_ATTRIBUTE_POSITION */
2314// public static final int WG_ILLEGAL_ATTRIBUTE_POSITION = 29;
2315
{ WG_ILLEGAL_ATTRIBUTE_POSITION,
2316      "Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored."},
2317
2318    //Check: WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file?
2319

2320  // Other miscellaneous text used inside the code...
2321
{ "ui_language", "en"},
2322  { "help_language", "en" },
2323  { "language", "en" },
2324  { "BAD_CODE", "Parameter to createMessage was out of bounds"},
2325  { "FORMAT_FAILED", "Exception thrown during messageFormat call"},
2326  { "version", ">>>>>>> Xalan Version "},
2327  { "version2", "<<<<<<<"},
2328  { "yes", "yes"},
2329  { "line", "Line #"},
2330  { "column","Column #"},
2331  { "xsldone", "XSLProcessor: done"},
2332
2333
2334  // Note to translators: The following messages provide usage information
2335
// for the Xalan Process command line. "Process" is the name of a Java class,
2336
// and should not be translated.
2337
{ "xslProc_option", "Xalan-J command line Process class options:"},
2338  { "xslProc_option", "Xalan-J command line Process class options\u003a"},
2339  { "xslProc_invalid_xsltc_option", "The option {0} is not supported in XSLTC mode."},
2340  { "xslProc_invalid_xalan_option", "The option {0} can only be used with -XSLTC."},
2341  { "xslProc_no_input", "Error: No stylesheet or input xml is specified. Run this command without any option for usage instructions."},
2342  { "xslProc_common_options", "-Common Options-"},
2343  { "xslProc_xalan_options", "-Options for Xalan-"},
2344  { "xslProc_xsltc_options", "-Options for XSLTC-"},
2345  { "xslProc_return_to_continue", "(press <return> to continue)"},
2346
2347   // Note to translators: The option name and the parameter name do not need to
2348
// be translated. Only translate the messages in parentheses. Note also that
2349
// leading whitespace in the messages is used to indent the usage information
2350
// for each option in the English messages.
2351
// Do not translate the keywords: XSLTC, SAX, DOM and DTM.
2352
{ "optionXSLTC", " [-XSLTC (use XSLTC for transformation)]"},
2353  { "optionIN", " [-IN inputXMLURL]"},
2354  { "optionXSL", " [-XSL XSLTransformationURL]"},
2355  { "optionOUT", " [-OUT outputFileName]"},
2356  { "optionLXCIN", " [-LXCIN compiledStylesheetFileNameIn]"},
2357  { "optionLXCOUT", " [-LXCOUT compiledStylesheetFileNameOutOut]"},
2358  { "optionPARSER", " [-PARSER fully qualified class name of parser liaison]"},
2359  { "optionE", " [-E (Do not expand entity refs)]"},
2360  { "optionV", " [-E (Do not expand entity refs)]"},
2361  { "optionQC", " [-QC (Quiet Pattern Conflicts Warnings)]"},
2362  { "optionQ", " [-Q (Quiet Mode)]"},
2363  { "optionLF", " [-LF (Use linefeeds only on output {default is CR/LF})]"},
2364  { "optionCR", " [-CR (Use carriage returns only on output {default is CR/LF})]"},
2365  { "optionESCAPE", " [-ESCAPE (Which characters to escape {default is <>&\"\'\\r\\n}]"},
2366  { "optionINDENT", " [-INDENT (Control how many spaces to indent {default is 0})]"},
2367  { "optionTT", " [-TT (Trace the templates as they are being called.)]"},
2368  { "optionTG", " [-TG (Trace each generation event.)]"},
2369  { "optionTS", " [-TS (Trace each selection event.)]"},
2370  { "optionTTC", " [-TTC (Trace the template children as they are being processed.)]"},
2371  { "optionTCLASS", " [-TCLASS (TraceListener class for trace extensions.)]"},
2372  { "optionVALIDATE", " [-VALIDATE (Set whether validation occurs. Validation is off by default.)]"},
2373  { "optionEDUMP", " [-EDUMP {optional filename} (Do stackdump on error.)]"},
2374  { "optionXML", " [-XML (Use XML formatter and add XML header.)]"},
2375  { "optionTEXT", " [-TEXT (Use simple Text formatter.)]"},
2376  { "optionHTML", " [-HTML (Use HTML formatter.)]"},
2377  { "optionPARAM", " [-PARAM name expression (Set a stylesheet parameter)]"},
2378  { "noParsermsg1", "XSL Process was not successful."},
2379  { "noParsermsg2", "** Could not find parser **"},
2380  { "noParsermsg3", "Please check your classpath."},
2381  { "noParsermsg4", "If you don't have IBM's XML Parser for Java, you can download it from"},
2382  { "noParsermsg5", "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"},
2383  { "optionURIRESOLVER", " [-URIRESOLVER full class name (URIResolver to be used to resolve URIs)]"},
2384  { "optionENTITYRESOLVER", " [-ENTITYRESOLVER full class name (EntityResolver to be used to resolve entities)]"},
2385  { "optionCONTENTHANDLER", " [-CONTENTHANDLER full class name (ContentHandler to be used to serialize output)]"},
2386  { "optionLINENUMBERS", " [-L use line numbers for source document]"},
2387
2388    // Following are the new options added in XSLTErrorResources.properties files after Jdk 1.4 (Xalan 2.2-D11)
2389

2390
2391  { "optionMEDIA", " [-MEDIA mediaType (use media attribute to find stylesheet associated with a document.)]"},
2392  { "optionFLAVOR", " [-FLAVOR flavorName (Explicitly use s2s=SAX or d2d=DOM to do transform.)] "}, // Added by sboag/scurcuru; experimental
2393
{ "optionDIAG", " [-DIAG (Print overall milliseconds transform took.)]"},
2394  { "optionINCREMENTAL", " [-INCREMENTAL (request incremental DTM construction by setting http://xml.apache.org/xalan/features/incremental true.)]"},
2395  { "optionNOOPTIMIMIZE", " [-NOOPTIMIMIZE (request no stylesheet optimization processing by setting http://xml.apache.org/xalan/features/optimize false.)]"},
2396  { "optionRL", " [-RL recursionlimit (assert numeric limit on stylesheet recursion depth.)]"},
2397  { "optionXO", " [-XO [transletName] (assign the name to the generated translet)]"},
2398  { "optionXD", " [-XD destinationDirectory (specify a destination directory for translet)]"},
2399  { "optionXJ", " [-XJ jarfile (packages translet classes into a jar file of name <jarfile>)]"},
2400  { "optionXP", " [-XP package (specifies a package name prefix for all generated translet classes)]"},
2401
2402  //AddITIONAL STRINGS that need L10n
2403
// Note to translators: The following message describes usage of a particular
2404
// command-line option that is used to enable the "template inlining"
2405
// optimization. The optimization involves making a copy of the code
2406
// generated for a template in another template that refers to it.
2407
{ "optionXN", " [-XN (enables template inlining)]" },
2408  { "optionXX", " [-XX (turns on additional debugging message output)]"},
2409  { "optionXT" , " [-XT (use translet to transform if possible)]"},
2410  { "diagTiming"," --------- Transform of {0} via {1} took {2} ms" },
2411  { "recursionTooDeep","Template nesting too deep. nesting = {0}, template {1} {2}" },
2412  { "nameIs", "name is" },
2413  { "matchPatternIs", "match pattern is" }
2414
2415  };
2416
2417  // ================= INFRASTRUCTURE ======================
2418

2419  /** String for use when a bad error code was encountered. */
2420  public static final String JavaDoc BAD_CODE = "BAD_CODE";
2421
2422  /** String for use when formatting of the error string failed. */
2423  public static final String JavaDoc FORMAT_FAILED = "FORMAT_FAILED";
2424
2425  /** General error string. */
2426  public static final String JavaDoc ERROR_STRING = "#error";
2427
2428  /** String to prepend to error messages. */
2429  public static final String JavaDoc ERROR_HEADER = "Error: ";
2430
2431  /** String to prepend to warning messages. */
2432  public static final String JavaDoc WARNING_HEADER = "Warning: ";
2433
2434  /** String to specify the XSLT module. */
2435  public static final String JavaDoc XSL_HEADER = "XSLT ";
2436
2437  /** String to specify the XML parser module. */
2438  public static final String JavaDoc XML_HEADER = "XML ";
2439
2440  /** I don't think this is used any more.
2441   * @deprecated */

2442  public static final String JavaDoc QUERY_HEADER = "PATTERN ";
2443
2444  /**
2445   * Get the lookup table.
2446   *
2447   * @return The int to message lookup table.
2448   */

2449  public Object JavaDoc[][] getContents()
2450  {
2451    return contents;
2452  }
2453
2454  /**
2455   * Return a named ResourceBundle for a particular locale. This method mimics the behavior
2456   * of ResourceBundle.getBundle().
2457   *
2458   * @param className the name of the class that implements the resource bundle.
2459   * @return the ResourceBundle
2460   * @throws MissingResourceException
2461   */

2462  public static final XSLTErrorResources loadResourceBundle(String JavaDoc className)
2463          throws MissingResourceException JavaDoc
2464  {
2465
2466    Locale JavaDoc locale = Locale.getDefault();
2467    String JavaDoc suffix = getResourceSuffix(locale);
2468
2469    try
2470    {
2471
2472      // first try with the given locale
2473
return (XSLTErrorResources) ResourceBundle.getBundle(className
2474              + suffix, locale);
2475    }
2476    catch (MissingResourceException JavaDoc e)
2477    {
2478      try // try to fall back to en_US if we can't load
2479
{
2480
2481        // Since we can't find the localized property file,
2482
// fall back to en_US.
2483
return (XSLTErrorResources) ResourceBundle.getBundle(className,
2484                new Locale JavaDoc("en", "US"));
2485      }
2486      catch (MissingResourceException JavaDoc e2)
2487      {
2488
2489        // Now we are really in trouble.
2490
// very bad, definitely very bad...not going to get very far
2491
throw new MissingResourceException JavaDoc(
2492          "Could not load any resource bundles.", className, "");
2493      }
2494    }
2495  }
2496
2497  /**
2498   * Return the resource file suffic for the indicated locale
2499   * For most locales, this will be based the language code. However
2500   * for Chinese, we do distinguish between Taiwan and PRC
2501   *
2502   * @param locale the locale
2503   * @return an String suffix which canbe appended to a resource name
2504   */

2505  private static final String JavaDoc getResourceSuffix(Locale JavaDoc locale)
2506  {
2507
2508    String JavaDoc suffix = "_" + locale.getLanguage();
2509    String JavaDoc country = locale.getCountry();
2510
2511    if (country.equals("TW"))
2512      suffix += "_" + country;
2513
2514    return suffix;
2515  }
2516
2517
2518}
2519
Popular Tags