001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one
003     * or more contributor license agreements. See the NOTICE file
004     * distributed with this work for additional information
005     * regarding copyright ownership. The ASF licenses this file
006     * to you under the Apache License, Version 2.0 (the  "License");
007     * you may not use this file except in compliance with the License.
008     * You may obtain a copy of the License at
009     *
010     *     http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing, software
013     * distributed under the License is distributed on an "AS IS" BASIS,
014     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015     * See the License for the specific language governing permissions and
016     * limitations under the License.
017     */
018    /*
019     * $Id: XSLTErrorResources_zh.java 1225426 2011-12-29 04:13:08Z mrglavas $
020     */
021    package org.apache.xalan.res;
022    
023    import java.util.ListResourceBundle;
024    import java.util.Locale;
025    import java.util.MissingResourceException;
026    import java.util.ResourceBundle;
027    
028    /**
029     * Set up error messages.
030     * We build a two dimensional array of message keys and
031     * message strings. In order to add a new message here,
032     * you need to first add a String constant. And
033     *  you need to enter key , value pair as part of contents
034     * Array. You also need to update MAX_CODE for error strings
035     * and MAX_WARNING for warnings ( Needed for only information
036     * purpose )
037     */
038    public class XSLTErrorResources_zh extends ListResourceBundle
039    {
040    
041    /*
042     * This file contains error and warning messages related to Xalan Error
043     * Handling.
044     *
045     *  General notes to translators:
046     *
047     *  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
048     *     components.
049     *     XSLT is an acronym for "XML Stylesheet Language: Transformations".
050     *     XSLTC is an acronym for XSLT Compiler.
051     *
052     *  2) A stylesheet is a description of how to transform an input XML document
053     *     into a resultant XML document (or HTML document or text).  The
054     *     stylesheet itself is described in the form of an XML document.
055     *
056     *  3) A template is a component of a stylesheet that is used to match a
057     *     particular portion of an input document and specifies the form of the
058     *     corresponding portion of the output document.
059     *
060     *  4) An element is a mark-up tag in an XML document; an attribute is a
061     *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
062     *     "elem" is an element name, "attr" and "attr2" are attribute names with
063     *     the values "val" and "val2", respectively.
064     *
065     *  5) A namespace declaration is a special attribute that is used to associate
066     *     a prefix with a URI (the namespace).  The meanings of element names and
067     *     attribute names that use that prefix are defined with respect to that
068     *     namespace.
069     *
070     *  6) "Translet" is an invented term that describes the class file that
071     *     results from compiling an XML stylesheet into a Java class.
072     *
073     *  7) XPath is a specification that describes a notation for identifying
074     *     nodes in a tree-structured representation of an XML document.  An
075     *     instance of that notation is referred to as an XPath expression.
076     *
077     */
078    
079      /** Maximum error messages, this is needed to keep track of the number of messages.    */
080      public static final int MAX_CODE = 201;
081    
082      /** Maximum warnings, this is needed to keep track of the number of warnings.          */
083      public static final int MAX_WARNING = 29;
084    
085      /** Maximum misc strings.   */
086      public static final int MAX_OTHERS = 55;
087    
088      /** Maximum total warnings and error messages.          */
089      public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
090    
091    
092      /*
093       * Static variables
094       */
095      public static final String ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX =
096            "ER_INVALID_SET_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX";
097    
098      public static final String ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT =
099            "ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT";
100    
101      public static final String ER_NO_CURLYBRACE = "ER_NO_CURLYBRACE";
102      public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED";
103      public static final String ER_ILLEGAL_ATTRIBUTE = "ER_ILLEGAL_ATTRIBUTE";
104      public static final String ER_NULL_SOURCENODE_APPLYIMPORTS = "ER_NULL_SOURCENODE_APPLYIMPORTS";
105      public static final String ER_CANNOT_ADD = "ER_CANNOT_ADD";
106      public static final String ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES="ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES";
107      public static final String ER_NO_NAME_ATTRIB = "ER_NO_NAME_ATTRIB";
108      public static final String ER_TEMPLATE_NOT_FOUND = "ER_TEMPLATE_NOT_FOUND";
109      public static final String ER_CANT_RESOLVE_NAME_AVT = "ER_CANT_RESOLVE_NAME_AVT";
110      public static final String ER_REQUIRES_ATTRIB = "ER_REQUIRES_ATTRIB";
111      public static final String ER_MUST_HAVE_TEST_ATTRIB = "ER_MUST_HAVE_TEST_ATTRIB";
112      public static final String ER_BAD_VAL_ON_LEVEL_ATTRIB =
113             "ER_BAD_VAL_ON_LEVEL_ATTRIB";
114      public static final String ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
115             "ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
116      public static final String ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
117             "ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
118      public static final String ER_NEED_MATCH_ATTRIB = "ER_NEED_MATCH_ATTRIB";
119      public static final String ER_NEED_NAME_OR_MATCH_ATTRIB =
120             "ER_NEED_NAME_OR_MATCH_ATTRIB";
121      public static final String ER_CANT_RESOLVE_NSPREFIX =
122             "ER_CANT_RESOLVE_NSPREFIX";
123      public static final String ER_ILLEGAL_VALUE = "ER_ILLEGAL_VALUE";
124      public static final String ER_NO_OWNERDOC = "ER_NO_OWNERDOC";
125      public static final String ER_ELEMTEMPLATEELEM_ERR ="ER_ELEMTEMPLATEELEM_ERR";
126      public static final String ER_NULL_CHILD = "ER_NULL_CHILD";
127      public static final String ER_NEED_SELECT_ATTRIB = "ER_NEED_SELECT_ATTRIB";
128      public static final String ER_NEED_TEST_ATTRIB = "ER_NEED_TEST_ATTRIB";
129      public static final String ER_NEED_NAME_ATTRIB = "ER_NEED_NAME_ATTRIB";
130      public static final String ER_NO_CONTEXT_OWNERDOC = "ER_NO_CONTEXT_OWNERDOC";
131      public static final String ER_COULD_NOT_CREATE_XML_PROC_LIAISON =
132             "ER_COULD_NOT_CREATE_XML_PROC_LIAISON";
133      public static final String ER_PROCESS_NOT_SUCCESSFUL =
134             "ER_PROCESS_NOT_SUCCESSFUL";
135      public static final String ER_NOT_SUCCESSFUL = "ER_NOT_SUCCESSFUL";
136      public static final String ER_ENCODING_NOT_SUPPORTED =
137             "ER_ENCODING_NOT_SUPPORTED";
138      public static final String ER_COULD_NOT_CREATE_TRACELISTENER =
139             "ER_COULD_NOT_CREATE_TRACELISTENER";
140      public static final String ER_KEY_REQUIRES_NAME_ATTRIB =
141             "ER_KEY_REQUIRES_NAME_ATTRIB";
142      public static final String ER_KEY_REQUIRES_MATCH_ATTRIB =
143             "ER_KEY_REQUIRES_MATCH_ATTRIB";
144      public static final String ER_KEY_REQUIRES_USE_ATTRIB =
145             "ER_KEY_REQUIRES_USE_ATTRIB";
146      public static final String ER_REQUIRES_ELEMENTS_ATTRIB =
147             "ER_REQUIRES_ELEMENTS_ATTRIB";
148      public static final String ER_MISSING_PREFIX_ATTRIB =
149             "ER_MISSING_PREFIX_ATTRIB";
150      public static final String ER_BAD_STYLESHEET_URL = "ER_BAD_STYLESHEET_URL";
151      public static final String ER_FILE_NOT_FOUND = "ER_FILE_NOT_FOUND";
152      public static final String ER_IOEXCEPTION = "ER_IOEXCEPTION";
153      public static final String ER_NO_HREF_ATTRIB = "ER_NO_HREF_ATTRIB";
154      public static final String ER_STYLESHEET_INCLUDES_ITSELF =
155             "ER_STYLESHEET_INCLUDES_ITSELF";
156      public static final String ER_PROCESSINCLUDE_ERROR ="ER_PROCESSINCLUDE_ERROR";
157      public static final String ER_MISSING_LANG_ATTRIB = "ER_MISSING_LANG_ATTRIB";
158      public static final String ER_MISSING_CONTAINER_ELEMENT_COMPONENT =
159             "ER_MISSING_CONTAINER_ELEMENT_COMPONENT";
160      public static final String ER_CAN_ONLY_OUTPUT_TO_ELEMENT =
161             "ER_CAN_ONLY_OUTPUT_TO_ELEMENT";
162      public static final String ER_PROCESS_ERROR = "ER_PROCESS_ERROR";
163      public static final String ER_UNIMPLNODE_ERROR = "ER_UNIMPLNODE_ERROR";
164      public static final String ER_NO_SELECT_EXPRESSION ="ER_NO_SELECT_EXPRESSION";
165      public static final String ER_CANNOT_SERIALIZE_XSLPROCESSOR =
166             "ER_CANNOT_SERIALIZE_XSLPROCESSOR";
167      public static final String ER_NO_INPUT_STYLESHEET = "ER_NO_INPUT_STYLESHEET";
168      public static final String ER_FAILED_PROCESS_STYLESHEET =
169             "ER_FAILED_PROCESS_STYLESHEET";
170      public static final String ER_COULDNT_PARSE_DOC = "ER_COULDNT_PARSE_DOC";
171      public static final String ER_COULDNT_FIND_FRAGMENT =
172             "ER_COULDNT_FIND_FRAGMENT";
173      public static final String ER_NODE_NOT_ELEMENT = "ER_NODE_NOT_ELEMENT";
174      public static final String ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB =
175             "ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB";
176      public static final String ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB =
177             "ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB";
178      public static final String ER_NO_CLONE_OF_DOCUMENT_FRAG =
179             "ER_NO_CLONE_OF_DOCUMENT_FRAG";
180      public static final String ER_CANT_CREATE_ITEM = "ER_CANT_CREATE_ITEM";
181      public static final String ER_XMLSPACE_ILLEGAL_VALUE =
182             "ER_XMLSPACE_ILLEGAL_VALUE";
183      public static final String ER_NO_XSLKEY_DECLARATION =
184             "ER_NO_XSLKEY_DECLARATION";
185      public static final String ER_CANT_CREATE_URL = "ER_CANT_CREATE_URL";
186      public static final String ER_XSLFUNCTIONS_UNSUPPORTED =
187             "ER_XSLFUNCTIONS_UNSUPPORTED";
188      public static final String ER_PROCESSOR_ERROR = "ER_PROCESSOR_ERROR";
189      public static final String ER_NOT_ALLOWED_INSIDE_STYLESHEET =
190             "ER_NOT_ALLOWED_INSIDE_STYLESHEET";
191      public static final String ER_RESULTNS_NOT_SUPPORTED =
192             "ER_RESULTNS_NOT_SUPPORTED";
193      public static final String ER_DEFAULTSPACE_NOT_SUPPORTED =
194             "ER_DEFAULTSPACE_NOT_SUPPORTED";
195      public static final String ER_INDENTRESULT_NOT_SUPPORTED =
196             "ER_INDENTRESULT_NOT_SUPPORTED";
197      public static final String ER_ILLEGAL_ATTRIB = "ER_ILLEGAL_ATTRIB";
198      public static final String ER_UNKNOWN_XSL_ELEM = "ER_UNKNOWN_XSL_ELEM";
199      public static final String ER_BAD_XSLSORT_USE = "ER_BAD_XSLSORT_USE";
200      public static final String ER_MISPLACED_XSLWHEN = "ER_MISPLACED_XSLWHEN";
201      public static final String ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE =
202             "ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE";
203      public static final String ER_MISPLACED_XSLOTHERWISE =
204             "ER_MISPLACED_XSLOTHERWISE";
205      public static final String ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE =
206             "ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE";
207      public static final String ER_NOT_ALLOWED_INSIDE_TEMPLATE =
208             "ER_NOT_ALLOWED_INSIDE_TEMPLATE";
209      public static final String ER_UNKNOWN_EXT_NS_PREFIX =
210             "ER_UNKNOWN_EXT_NS_PREFIX";
211      public static final String ER_IMPORTS_AS_FIRST_ELEM =
212             "ER_IMPORTS_AS_FIRST_ELEM";
213      public static final String ER_IMPORTING_ITSELF = "ER_IMPORTING_ITSELF";
214      public static final String ER_XMLSPACE_ILLEGAL_VAL ="ER_XMLSPACE_ILLEGAL_VAL";
215      public static final String ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL =
216             "ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL";
217      public static final String ER_SAX_EXCEPTION = "ER_SAX_EXCEPTION";
218      public static final String ER_XSLT_ERROR = "ER_XSLT_ERROR";
219      public static final String ER_CURRENCY_SIGN_ILLEGAL=
220             "ER_CURRENCY_SIGN_ILLEGAL";
221      public static final String ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM =
222             "ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM";
223      public static final String ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER =
224             "ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER";
225      public static final String ER_REDIRECT_COULDNT_GET_FILENAME =
226             "ER_REDIRECT_COULDNT_GET_FILENAME";
227      public static final String ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT =
228             "ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT";
229      public static final String ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX =
230             "ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX";
231      public static final String ER_MISSING_NS_URI = "ER_MISSING_NS_URI";
232      public static final String ER_MISSING_ARG_FOR_OPTION =
233             "ER_MISSING_ARG_FOR_OPTION";
234      public static final String ER_INVALID_OPTION = "ER_INVALID_OPTION";
235      public static final String ER_MALFORMED_FORMAT_STRING =
236             "ER_MALFORMED_FORMAT_STRING";
237      public static final String ER_STYLESHEET_REQUIRES_VERSION_ATTRIB =
238             "ER_STYLESHEET_REQUIRES_VERSION_ATTRIB";
239      public static final String ER_ILLEGAL_ATTRIBUTE_VALUE =
240             "ER_ILLEGAL_ATTRIBUTE_VALUE";
241      public static final String ER_CHOOSE_REQUIRES_WHEN ="ER_CHOOSE_REQUIRES_WHEN";
242      public static final String ER_NO_APPLY_IMPORT_IN_FOR_EACH =
243             "ER_NO_APPLY_IMPORT_IN_FOR_EACH";
244      public static final String ER_CANT_USE_DTM_FOR_OUTPUT =
245             "ER_CANT_USE_DTM_FOR_OUTPUT";
246      public static final String ER_CANT_USE_DTM_FOR_INPUT =
247             "ER_CANT_USE_DTM_FOR_INPUT";
248      public static final String ER_CALL_TO_EXT_FAILED = "ER_CALL_TO_EXT_FAILED";
249      public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
250      public static final String ER_INVALID_UTF16_SURROGATE =
251             "ER_INVALID_UTF16_SURROGATE";
252      public static final String ER_XSLATTRSET_USED_ITSELF =
253             "ER_XSLATTRSET_USED_ITSELF";
254      public static final String ER_CANNOT_MIX_XERCESDOM ="ER_CANNOT_MIX_XERCESDOM";
255      public static final String ER_TOO_MANY_LISTENERS = "ER_TOO_MANY_LISTENERS";
256      public static final String ER_IN_ELEMTEMPLATEELEM_READOBJECT =
257             "ER_IN_ELEMTEMPLATEELEM_READOBJECT";
258      public static final String ER_DUPLICATE_NAMED_TEMPLATE =
259             "ER_DUPLICATE_NAMED_TEMPLATE";
260      public static final String ER_INVALID_KEY_CALL = "ER_INVALID_KEY_CALL";
261      public static final String ER_REFERENCING_ITSELF = "ER_REFERENCING_ITSELF";
262      public static final String ER_ILLEGAL_DOMSOURCE_INPUT =
263             "ER_ILLEGAL_DOMSOURCE_INPUT";
264      public static final String ER_CLASS_NOT_FOUND_FOR_OPTION =
265             "ER_CLASS_NOT_FOUND_FOR_OPTION";
266      public static final String ER_REQUIRED_ELEM_NOT_FOUND =
267             "ER_REQUIRED_ELEM_NOT_FOUND";
268      public static final String ER_INPUT_CANNOT_BE_NULL ="ER_INPUT_CANNOT_BE_NULL";
269      public static final String ER_URI_CANNOT_BE_NULL = "ER_URI_CANNOT_BE_NULL";
270      public static final String ER_FILE_CANNOT_BE_NULL = "ER_FILE_CANNOT_BE_NULL";
271      public static final String ER_SOURCE_CANNOT_BE_NULL =
272             "ER_SOURCE_CANNOT_BE_NULL";
273      public static final String ER_CANNOT_INIT_BSFMGR = "ER_CANNOT_INIT_BSFMGR";
274      public static final String ER_CANNOT_CMPL_EXTENSN = "ER_CANNOT_CMPL_EXTENSN";
275      public static final String ER_CANNOT_CREATE_EXTENSN =
276             "ER_CANNOT_CREATE_EXTENSN";
277      public static final String ER_INSTANCE_MTHD_CALL_REQUIRES =
278             "ER_INSTANCE_MTHD_CALL_REQUIRES";
279      public static final String ER_INVALID_ELEMENT_NAME ="ER_INVALID_ELEMENT_NAME";
280      public static final String ER_ELEMENT_NAME_METHOD_STATIC =
281             "ER_ELEMENT_NAME_METHOD_STATIC";
282      public static final String ER_EXTENSION_FUNC_UNKNOWN =
283             "ER_EXTENSION_FUNC_UNKNOWN";
284      public static final String ER_MORE_MATCH_CONSTRUCTOR =
285             "ER_MORE_MATCH_CONSTRUCTOR";
286      public static final String ER_MORE_MATCH_METHOD = "ER_MORE_MATCH_METHOD";
287      public static final String ER_MORE_MATCH_ELEMENT = "ER_MORE_MATCH_ELEMENT";
288      public static final String ER_INVALID_CONTEXT_PASSED =
289             "ER_INVALID_CONTEXT_PASSED";
290      public static final String ER_POOL_EXISTS = "ER_POOL_EXISTS";
291      public static final String ER_NO_DRIVER_NAME = "ER_NO_DRIVER_NAME";
292      public static final String ER_NO_URL = "ER_NO_URL";
293      public static final String ER_POOL_SIZE_LESSTHAN_ONE =
294             "ER_POOL_SIZE_LESSTHAN_ONE";
295      public static final String ER_INVALID_DRIVER = "ER_INVALID_DRIVER";
296      public static final String ER_NO_STYLESHEETROOT = "ER_NO_STYLESHEETROOT";
297      public static final String ER_ILLEGAL_XMLSPACE_VALUE =
298             "ER_ILLEGAL_XMLSPACE_VALUE";
299      public static final String ER_PROCESSFROMNODE_FAILED =
300             "ER_PROCESSFROMNODE_FAILED";
301      public static final String ER_RESOURCE_COULD_NOT_LOAD =
302             "ER_RESOURCE_COULD_NOT_LOAD";
303      public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO =
304             "ER_BUFFER_SIZE_LESSTHAN_ZERO";
305      public static final String ER_UNKNOWN_ERROR_CALLING_EXTENSION =
306             "ER_UNKNOWN_ERROR_CALLING_EXTENSION";
307      public static final String ER_NO_NAMESPACE_DECL = "ER_NO_NAMESPACE_DECL";
308      public static final String ER_ELEM_CONTENT_NOT_ALLOWED =
309             "ER_ELEM_CONTENT_NOT_ALLOWED";
310      public static final String ER_STYLESHEET_DIRECTED_TERMINATION =
311             "ER_STYLESHEET_DIRECTED_TERMINATION";
312      public static final String ER_ONE_OR_TWO = "ER_ONE_OR_TWO";
313      public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
314      public static final String ER_COULD_NOT_LOAD_RESOURCE =
315             "ER_COULD_NOT_LOAD_RESOURCE";
316      public static final String ER_CANNOT_INIT_DEFAULT_TEMPLATES =
317             "ER_CANNOT_INIT_DEFAULT_TEMPLATES";
318      public static final String ER_RESULT_NULL = "ER_RESULT_NULL";
319      public static final String ER_RESULT_COULD_NOT_BE_SET =
320             "ER_RESULT_COULD_NOT_BE_SET";
321      public static final String ER_NO_OUTPUT_SPECIFIED = "ER_NO_OUTPUT_SPECIFIED";
322      public static final String ER_CANNOT_TRANSFORM_TO_RESULT_TYPE =
323             "ER_CANNOT_TRANSFORM_TO_RESULT_TYPE";
324      public static final String ER_CANNOT_TRANSFORM_SOURCE_TYPE =
325             "ER_CANNOT_TRANSFORM_SOURCE_TYPE";
326      public static final String ER_NULL_CONTENT_HANDLER ="ER_NULL_CONTENT_HANDLER";
327      public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
328      public static final String ER_CANNOT_CALL_PARSE = "ER_CANNOT_CALL_PARSE";
329      public static final String ER_NO_PARENT_FOR_FILTER ="ER_NO_PARENT_FOR_FILTER";
330      public static final String ER_NO_STYLESHEET_IN_MEDIA =
331             "ER_NO_STYLESHEET_IN_MEDIA";
332      public static final String ER_NO_STYLESHEET_PI = "ER_NO_STYLESHEET_PI";
333      public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED";
334      public static final String ER_PROPERTY_VALUE_BOOLEAN =
335             "ER_PROPERTY_VALUE_BOOLEAN";
336      public static final String ER_COULD_NOT_FIND_EXTERN_SCRIPT =
337             "ER_COULD_NOT_FIND_EXTERN_SCRIPT";
338      public static final String ER_RESOURCE_COULD_NOT_FIND =
339             "ER_RESOURCE_COULD_NOT_FIND";
340      public static final String ER_OUTPUT_PROPERTY_NOT_RECOGNIZED =
341             "ER_OUTPUT_PROPERTY_NOT_RECOGNIZED";
342      public static final String ER_FAILED_CREATING_ELEMLITRSLT =
343             "ER_FAILED_CREATING_ELEMLITRSLT";
344      public static final String ER_VALUE_SHOULD_BE_NUMBER =
345             "ER_VALUE_SHOULD_BE_NUMBER";
346      public static final String ER_VALUE_SHOULD_EQUAL = "ER_VALUE_SHOULD_EQUAL";
347      public static final String ER_FAILED_CALLING_METHOD =
348             "ER_FAILED_CALLING_METHOD";
349      public static final String ER_FAILED_CREATING_ELEMTMPL =
350             "ER_FAILED_CREATING_ELEMTMPL";
351      public static final String ER_CHARS_NOT_ALLOWED = "ER_CHARS_NOT_ALLOWED";
352      public static final String ER_ATTR_NOT_ALLOWED = "ER_ATTR_NOT_ALLOWED";
353      public static final String ER_BAD_VALUE = "ER_BAD_VALUE";
354      public static final String ER_ATTRIB_VALUE_NOT_FOUND =
355             "ER_ATTRIB_VALUE_NOT_FOUND";
356      public static final String ER_ATTRIB_VALUE_NOT_RECOGNIZED =
357             "ER_ATTRIB_VALUE_NOT_RECOGNIZED";
358      public static final String ER_NULL_URI_NAMESPACE = "ER_NULL_URI_NAMESPACE";
359      public static final String ER_NUMBER_TOO_BIG = "ER_NUMBER_TOO_BIG";
360      public static final String  ER_CANNOT_FIND_SAX1_DRIVER =
361             "ER_CANNOT_FIND_SAX1_DRIVER";
362      public static final String  ER_SAX1_DRIVER_NOT_LOADED =
363             "ER_SAX1_DRIVER_NOT_LOADED";
364      public static final String  ER_SAX1_DRIVER_NOT_INSTANTIATED =
365             "ER_SAX1_DRIVER_NOT_INSTANTIATED" ;
366      public static final String ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER =
367             "ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER";
368      public static final String  ER_PARSER_PROPERTY_NOT_SPECIFIED =
369             "ER_PARSER_PROPERTY_NOT_SPECIFIED";
370      public static final String  ER_PARSER_ARG_CANNOT_BE_NULL =
371             "ER_PARSER_ARG_CANNOT_BE_NULL" ;
372      public static final String  ER_FEATURE = "ER_FEATURE";
373      public static final String ER_PROPERTY = "ER_PROPERTY" ;
374      public static final String ER_NULL_ENTITY_RESOLVER ="ER_NULL_ENTITY_RESOLVER";
375      public static final String  ER_NULL_DTD_HANDLER = "ER_NULL_DTD_HANDLER" ;
376      public static final String ER_NO_DRIVER_NAME_SPECIFIED =
377             "ER_NO_DRIVER_NAME_SPECIFIED";
378      public static final String ER_NO_URL_SPECIFIED = "ER_NO_URL_SPECIFIED";
379      public static final String ER_POOLSIZE_LESS_THAN_ONE =
380             "ER_POOLSIZE_LESS_THAN_ONE";
381      public static final String ER_INVALID_DRIVER_NAME = "ER_INVALID_DRIVER_NAME";
382      public static final String ER_ERRORLISTENER = "ER_ERRORLISTENER";
383      public static final String ER_ASSERT_NO_TEMPLATE_PARENT =
384             "ER_ASSERT_NO_TEMPLATE_PARENT";
385      public static final String ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR =
386             "ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR";
387      public static final String ER_NOT_ALLOWED_IN_POSITION =
388             "ER_NOT_ALLOWED_IN_POSITION";
389      public static final String ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION =
390             "ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION";
391      public static final String ER_NAMESPACE_CONTEXT_NULL_NAMESPACE =
392             "ER_NAMESPACE_CONTEXT_NULL_NAMESPACE";
393      public static final String ER_NAMESPACE_CONTEXT_NULL_PREFIX =
394             "ER_NAMESPACE_CONTEXT_NULL_PREFIX";
395      public static final String ER_XPATH_RESOLVER_NULL_QNAME =
396             "ER_XPATH_RESOLVER_NULL_QNAME";
397      public static final String ER_XPATH_RESOLVER_NEGATIVE_ARITY =
398             "ER_XPATH_RESOLVER_NEGATIVE_ARITY";
399      public static final String INVALID_TCHAR = "INVALID_TCHAR";
400      public static final String INVALID_QNAME = "INVALID_QNAME";
401      public static final String INVALID_ENUM = "INVALID_ENUM";
402      public static final String INVALID_NMTOKEN = "INVALID_NMTOKEN";
403      public static final String INVALID_NCNAME = "INVALID_NCNAME";
404      public static final String INVALID_BOOLEAN = "INVALID_BOOLEAN";
405      public static final String INVALID_NUMBER = "INVALID_NUMBER";
406      public static final String ER_ARG_LITERAL = "ER_ARG_LITERAL";
407      public static final String ER_DUPLICATE_GLOBAL_VAR ="ER_DUPLICATE_GLOBAL_VAR";
408      public static final String ER_DUPLICATE_VAR = "ER_DUPLICATE_VAR";
409      public static final String ER_TEMPLATE_NAME_MATCH = "ER_TEMPLATE_NAME_MATCH";
410      public static final String ER_INVALID_PREFIX = "ER_INVALID_PREFIX";
411      public static final String ER_NO_ATTRIB_SET = "ER_NO_ATTRIB_SET";
412      public static final String ER_FUNCTION_NOT_FOUND =
413             "ER_FUNCTION_NOT_FOUND";
414      public static final String ER_CANT_HAVE_CONTENT_AND_SELECT =
415         "ER_CANT_HAVE_CONTENT_AND_SELECT";
416      public static final String ER_INVALID_SET_PARAM_VALUE = "ER_INVALID_SET_PARAM_VALUE";
417      public static final String ER_SET_FEATURE_NULL_NAME =
418            "ER_SET_FEATURE_NULL_NAME";
419      public static final String ER_GET_FEATURE_NULL_NAME =
420            "ER_GET_FEATURE_NULL_NAME";
421      public static final String ER_UNSUPPORTED_FEATURE =
422            "ER_UNSUPPORTED_FEATURE";
423      public static final String ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING =
424            "ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING";
425    
426      public static final String WG_FOUND_CURLYBRACE = "WG_FOUND_CURLYBRACE";
427      public static final String WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR =
428             "WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR";
429      public static final String WG_EXPR_ATTRIB_CHANGED_TO_SELECT =
430             "WG_EXPR_ATTRIB_CHANGED_TO_SELECT";
431      public static final String WG_NO_LOCALE_IN_FORMATNUMBER =
432             "WG_NO_LOCALE_IN_FORMATNUMBER";
433      public static final String WG_LOCALE_NOT_FOUND = "WG_LOCALE_NOT_FOUND";
434      public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM";
435      public static final String WG_CANNOT_LOAD_REQUESTED_DOC =
436             "WG_CANNOT_LOAD_REQUESTED_DOC";
437      public static final String WG_CANNOT_FIND_COLLATOR ="WG_CANNOT_FIND_COLLATOR";
438      public static final String WG_FUNCTIONS_SHOULD_USE_URL =
439             "WG_FUNCTIONS_SHOULD_USE_URL";
440      public static final String WG_ENCODING_NOT_SUPPORTED_USING_UTF8 =
441             "WG_ENCODING_NOT_SUPPORTED_USING_UTF8";
442      public static final String WG_ENCODING_NOT_SUPPORTED_USING_JAVA =
443             "WG_ENCODING_NOT_SUPPORTED_USING_JAVA";
444      public static final String WG_SPECIFICITY_CONFLICTS =
445             "WG_SPECIFICITY_CONFLICTS";
446      public static final String WG_PARSING_AND_PREPARING =
447             "WG_PARSING_AND_PREPARING";
448      public static final String WG_ATTR_TEMPLATE = "WG_ATTR_TEMPLATE";
449      public static final String WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = "WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESP";
450      public static final String WG_ATTRIB_NOT_HANDLED = "WG_ATTRIB_NOT_HANDLED";
451      public static final String WG_NO_DECIMALFORMAT_DECLARATION =
452             "WG_NO_DECIMALFORMAT_DECLARATION";
453      public static final String WG_OLD_XSLT_NS = "WG_OLD_XSLT_NS";
454      public static final String WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED =
455             "WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED";
456      public static final String WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE =
457             "WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE";
458      public static final String WG_ILLEGAL_ATTRIBUTE = "WG_ILLEGAL_ATTRIBUTE";
459      public static final String WG_COULD_NOT_RESOLVE_PREFIX =
460             "WG_COULD_NOT_RESOLVE_PREFIX";
461      public static final String WG_STYLESHEET_REQUIRES_VERSION_ATTRIB =
462             "WG_STYLESHEET_REQUIRES_VERSION_ATTRIB";
463      public static final String WG_ILLEGAL_ATTRIBUTE_NAME =
464             "WG_ILLEGAL_ATTRIBUTE_NAME";
465      public static final String WG_ILLEGAL_ATTRIBUTE_VALUE =
466             "WG_ILLEGAL_ATTRIBUTE_VALUE";
467      public static final String WG_EMPTY_SECOND_ARG = "WG_EMPTY_SECOND_ARG";
468      public static final String WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
469             "WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
470      public static final String WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
471             "WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
472      public static final String WG_ILLEGAL_ATTRIBUTE_POSITION =
473             "WG_ILLEGAL_ATTRIBUTE_POSITION";
474      public static final String NO_MODIFICATION_ALLOWED_ERR =
475             "NO_MODIFICATION_ALLOWED_ERR";
476    
477      /*
478       * Now fill in the message text.
479       * Then fill in the message text for that message code in the
480       * array. Use the new error code as the index into the array.
481       */
482    
483      // Error messages...
484    
485      /** Get the lookup table for error messages.
486       *
487       * @return The message lookup table.
488       */
489      public Object[][] getContents()
490      {
491        return new Object[][] {
492    
493      /** Error message ID that has a null message, but takes in a single object.    */
494      {"ER0000" , "{0}" },
495    
496    
497        { ER_NO_CURLYBRACE,
498          "\u9519\u8bef\uff1a\u8868\u8fbe\u5f0f\u4e2d\u4e0d\u80fd\u6709\u201c{\u201d"},
499    
500        { ER_ILLEGAL_ATTRIBUTE ,
501         "{0} \u6709\u4e00\u4e2a\u975e\u6cd5\u5c5e\u6027\uff1a{1}"},
502    
503      {ER_NULL_SOURCENODE_APPLYIMPORTS ,
504          "sourceNode \u5728 xsl:apply-imports \u4e2d\u4e3a\u7a7a\uff01"},
505    
506      {ER_CANNOT_ADD,
507          "\u65e0\u6cd5\u5c06\u201c{0}\u201d\u6dfb\u52a0\u5230\u201c{1}\u201d"},
508    
509        { ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES,
510          "sourceNode \u5728 handleApplyTemplatesInstruction \u4e2d\u4e3a\u7a7a\uff01"},
511    
512        { ER_NO_NAME_ATTRIB,
513         "\u201c{0}\u201d\u5fc5\u987b\u6709 name \u5c5e\u6027\u3002"},
514    
515        {ER_TEMPLATE_NOT_FOUND,
516         "\u627e\u4e0d\u5230\u4ee5\u4e0b\u540d\u79f0\u7684\u6a21\u677f\uff1a{0}"},
517    
518        {ER_CANT_RESOLVE_NAME_AVT,
519          "\u65e0\u6cd5\u89e3\u6790 xsl:call-template \u4e2d\u7684\u540d\u79f0 AVT\u3002"},
520    
521        {ER_REQUIRES_ATTRIB,
522         "\u201c{0}\u201d\u9700\u8981\u5c5e\u6027\uff1a{1}"},
523    
524        { ER_MUST_HAVE_TEST_ATTRIB,
525          "\u201c{0}\u201d\u5fc5\u987b\u6709\u201ctest\u201d\u5c5e\u6027\u3002"},
526    
527        {ER_BAD_VAL_ON_LEVEL_ATTRIB,
528          "\u7ea7\u522b\u5c5e\u6027\u4e0a\u51fa\u73b0\u9519\u8bef\u503c\uff1a{0}"},
529    
530        {ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
531          "processing-instruction \u540d\u79f0\u4e0d\u80fd\u662f\u201cxml\u201d"},
532    
533        { ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
534          "processing-instruction \u540d\u79f0\u5fc5\u987b\u662f\u6709\u6548\u7684 NCName\uff1a{0}"},
535    
536        { ER_NEED_MATCH_ATTRIB,
537          "\u201c{0}\u201d\u5982\u679c\u6709\u67d0\u79cd\u65b9\u5f0f\uff0c\u5c31\u5fc5\u987b\u6709 match \u5c5e\u6027\u3002"},
538    
539        { ER_NEED_NAME_OR_MATCH_ATTRIB,
540          "\u201c{0}\u201d\u9700\u8981 name \u5c5e\u6027\u6216 match \u5c5e\u6027\u3002"},
541    
542        {ER_CANT_RESOLVE_NSPREFIX,
543          "\u65e0\u6cd5\u89e3\u6790\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\uff1a{0}"},
544    
545        { ER_ILLEGAL_VALUE,
546         "xml:space \u6709\u975e\u6cd5\u7684\u503c\uff1a{0}"},
547    
548        { ER_NO_OWNERDOC,
549          "\u5b50\u8282\u70b9\u6ca1\u6709\u6240\u6709\u8005\u6587\u6863\uff01"},
550    
551        { ER_ELEMTEMPLATEELEM_ERR,
552         "ElemTemplateElement \u9519\u8bef\uff1a{0}"},
553    
554        { ER_NULL_CHILD,
555         "\u6b63\u5728\u5c1d\u8bd5\u6dfb\u52a0\u7a7a\u7684\u5b50\u4ee3\uff01"},
556    
557        { ER_NEED_SELECT_ATTRIB,
558         "{0} \u9700\u8981 select \u5c5e\u6027\u3002"},
559    
560        { ER_NEED_TEST_ATTRIB ,
561          "xsl:when \u5fc5\u987b\u6709\u201ctest\u201d\u5c5e\u6027\u3002"},
562    
563        { ER_NEED_NAME_ATTRIB,
564          "xsl:with-param \u5fc5\u987b\u6709\u201cname\u201d\u5c5e\u6027\u3002"},
565    
566        { ER_NO_CONTEXT_OWNERDOC,
567          "\u4e0a\u4e0b\u6587\u6ca1\u6709\u6240\u6709\u8005\u6587\u6863\uff01"},
568    
569        {ER_COULD_NOT_CREATE_XML_PROC_LIAISON,
570          "\u65e0\u6cd5\u521b\u5efa XML TransformerFactory \u8054\u7cfb\uff1a{0}"},
571    
572        {ER_PROCESS_NOT_SUCCESSFUL,
573          "Xalan: Process \u4e0d\u6210\u529f\u3002"},
574    
575        { ER_NOT_SUCCESSFUL,
576         "Xalan: \u4e0d\u6210\u529f\u3002"},
577    
578        { ER_ENCODING_NOT_SUPPORTED,
579         "\u4e0d\u652f\u6301\u7f16\u7801\uff1a{0}"},
580    
581        {ER_COULD_NOT_CREATE_TRACELISTENER,
582          "\u65e0\u6cd5\u521b\u5efa TraceListener\uff1a{0}"},
583    
584        {ER_KEY_REQUIRES_NAME_ATTRIB,
585          "xsl:key \u9700\u8981\u201cname\u201d\u5c5e\u6027\uff01"},
586    
587        { ER_KEY_REQUIRES_MATCH_ATTRIB,
588          "xsl:key \u9700\u8981\u201cmatch\u201d\u5c5e\u6027\uff01"},
589    
590        { ER_KEY_REQUIRES_USE_ATTRIB,
591          "xsl:key \u9700\u8981\u201cuse\u201d\u5c5e\u6027\uff01"},
592    
593        { ER_REQUIRES_ELEMENTS_ATTRIB,
594          "(StylesheetHandler) {0} \u9700\u8981\u201celements\u201d\u5c5e\u6027\uff01"},
595    
596        { ER_MISSING_PREFIX_ATTRIB,
597          "(StylesheetHandler) {0} \u5c5e\u6027\u201cprefix\u201d\u4e22\u5931"},
598    
599        { ER_BAD_STYLESHEET_URL,
600         "\u6837\u5f0f\u8868 URL \u9519\u8bef\uff1a{0}"},
601    
602        { ER_FILE_NOT_FOUND,
603         "\u627e\u4e0d\u5230\u6837\u5f0f\u8868\u6587\u4ef6\uff1a{0}"},
604    
605        { ER_IOEXCEPTION,
606          "\u6837\u5f0f\u8868\u6587\u4ef6\u53d1\u751f IO \u5f02\u5e38\uff1a{0}"},
607    
608        { ER_NO_HREF_ATTRIB,
609          "\uff08StylesheetHandler\uff09\u65e0\u6cd5\u4e3a {0} \u627e\u5230 href \u5c5e\u6027"},
610    
611        { ER_STYLESHEET_INCLUDES_ITSELF,
612          "\uff08StylesheetHandler\uff09{0} \u6b63\u5728\u76f4\u63a5\u6216\u95f4\u63a5\u5730\u5305\u542b\u5b83\u81ea\u8eab\uff01"},
613    
614        { ER_PROCESSINCLUDE_ERROR,
615          "StylesheetHandler.processInclude \u9519\u8bef\uff0c{0}"},
616    
617        { ER_MISSING_LANG_ATTRIB,
618          "(StylesheetHandler) {0} \u5c5e\u6027\u201clang\u201d\u4e22\u5931"},
619    
620        { ER_MISSING_CONTAINER_ELEMENT_COMPONENT,
621          "\uff08StylesheetHandler\uff09\u662f\u5426\u9519\u653e\u4e86 {0} \u5143\u7d20\uff1f\uff1f\u7f3a\u5c11\u5bb9\u5668\u5143\u7d20\u201ccomponent\u201d"},
622    
623        { ER_CAN_ONLY_OUTPUT_TO_ELEMENT,
624          "\u53ea\u80fd\u8f93\u51fa\u5230 Element\u3001DocumentFragment\u3001Document \u6216 PrintWriter\u3002"},
625    
626        { ER_PROCESS_ERROR,
627         "StylesheetRoot.process \u9519\u8bef"},
628    
629        { ER_UNIMPLNODE_ERROR,
630         "UnImplNode \u9519\u8bef\uff1a{0}"},
631    
632        { ER_NO_SELECT_EXPRESSION,
633          "\u9519\u8bef\uff01\u627e\u4e0d\u5230 xpath \u9009\u62e9\u8868\u8fbe\u5f0f\uff08-select\uff09\u3002"},
634    
635        { ER_CANNOT_SERIALIZE_XSLPROCESSOR,
636          "\u65e0\u6cd5\u5e8f\u5217\u5316 XSLProcessor\uff01"},
637    
638        { ER_NO_INPUT_STYLESHEET,
639          "\u6ca1\u6709\u6307\u5b9a\u6837\u5f0f\u8868\u8f93\u5165\uff01"},
640    
641        { ER_FAILED_PROCESS_STYLESHEET,
642          "\u65e0\u6cd5\u5904\u7406\u6837\u5f0f\u8868\uff01"},
643    
644        { ER_COULDNT_PARSE_DOC,
645         "\u65e0\u6cd5\u89e3\u6790 {0} \u6587\u6863\uff01"},
646    
647        { ER_COULDNT_FIND_FRAGMENT,
648         "\u627e\u4e0d\u5230\u7247\u6bb5\uff1a{0}"},
649    
650        { ER_NODE_NOT_ELEMENT,
651          "\u7247\u6bb5\u6807\u8bc6\u6307\u5411\u7684\u8282\u70b9\u4e0d\u662f\u5143\u7d20\uff1a{0}"},
652    
653        { ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB,
654          "for-each \u5fc5\u987b\u6709 match \u6216 name \u5c5e\u6027"},
655    
656        { ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB,
657          "templates \u5fc5\u987b\u6709 match \u6216 name \u5c5e\u6027"},
658    
659        { ER_NO_CLONE_OF_DOCUMENT_FRAG,
660          "\u65e0\u6587\u6863\u7247\u6bb5\u7684\u514b\u9686\uff01"},
661    
662        { ER_CANT_CREATE_ITEM,
663          "\u65e0\u6cd5\u5728\u7ed3\u679c\u6811\u4e2d\u521b\u5efa\u9879\uff1a{0}"},
664    
665        { ER_XMLSPACE_ILLEGAL_VALUE,
666          "\u6e90 XML \u4e2d\u7684 xml:space \u6709\u975e\u6cd5\u503c\uff1a{0}"},
667    
668        { ER_NO_XSLKEY_DECLARATION,
669          "{0} \u6ca1\u6709 xsl:key \u58f0\u660e\uff01"},
670    
671        { ER_CANT_CREATE_URL,
672         "\u9519\u8bef\uff01\u65e0\u6cd5\u4e3a {0} \u521b\u5efa URL"},
673    
674        { ER_XSLFUNCTIONS_UNSUPPORTED,
675         "\u4e0d\u652f\u6301 xsl:functions"},
676    
677        { ER_PROCESSOR_ERROR,
678         "XSLT TransformerFactory \u9519\u8bef"},
679    
680        { ER_NOT_ALLOWED_INSIDE_STYLESHEET,
681          "\uff08StylesheetHandler\uff09\u6837\u5f0f\u8868\u5185\u4e0d\u5141\u8bb8 {0}\uff01"},
682    
683        { ER_RESULTNS_NOT_SUPPORTED,
684          "\u4e0d\u518d\u652f\u6301 result-ns\uff01\u8bf7\u6539\u4e3a\u4f7f\u7528 xsl:output\u3002"},
685    
686        { ER_DEFAULTSPACE_NOT_SUPPORTED,
687          "\u4e0d\u518d\u652f\u6301 default-space\uff01\u8bf7\u6539\u4e3a\u4f7f\u7528 xsl:strip-space \u6216 xsl:preserve-space\u3002"},
688    
689        { ER_INDENTRESULT_NOT_SUPPORTED,
690          "\u4e0d\u518d\u652f\u6301 indent-result\uff01\u8bf7\u6539\u4e3a\u4f7f\u7528 xsl:output\u3002"},
691    
692        { ER_ILLEGAL_ATTRIB,
693          "\uff08StylesheetHandler\uff09{0} \u6709\u975e\u6cd5\u5c5e\u6027\uff1a{1}"},
694    
695        { ER_UNKNOWN_XSL_ELEM,
696         "\u672a\u77e5 XSL \u5143\u7d20\uff1a{0}"},
697    
698        { ER_BAD_XSLSORT_USE,
699          "\uff08StylesheetHandler\uff09xsl:sort \u53ea\u80fd\u4e0e xsl:apply-templates \u6216 xsl:for-each \u4e00\u8d77\u4f7f\u7528\u3002"},
700    
701        { ER_MISPLACED_XSLWHEN,
702          "\uff08StylesheetHandler\uff09\u9519\u653e\u4e86 xsl:when\uff01"},
703    
704        { ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE,
705          "\uff08StylesheetHandler\uff09xsl:choose \u4e0d\u662f xsl:when \u7684\u7236\u4ee3\uff01"},
706    
707        { ER_MISPLACED_XSLOTHERWISE,
708          "\uff08StylesheetHandler\uff09\u9519\u653e\u4e86 xsl:otherwise\uff01"},
709    
710        { ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE,
711          "\uff08StylesheetHandler\uff09xsl:choose \u4e0d\u662f xsl:otherwise \u7684\u7236\u4ee3\uff01"},
712    
713        { ER_NOT_ALLOWED_INSIDE_TEMPLATE,
714          "\uff08StylesheetHandler\uff09\u6a21\u677f\u5185\u4e0d\u5141\u8bb8\u51fa\u73b0 {0}\uff01"},
715    
716        { ER_UNKNOWN_EXT_NS_PREFIX,
717          "\uff08StylesheetHandler\uff09{0} \u6269\u5c55\u540d\u79f0\u7a7a\u95f4\u524d\u7f00 {1} \u672a\u77e5"},
718    
719        { ER_IMPORTS_AS_FIRST_ELEM,
720          "\uff08StylesheetHandler\uff09\u5bfc\u5165\u53ea\u80fd\u4f5c\u4e3a\u6837\u5f0f\u8868\u4e2d\u6700\u524d\u9762\u7684\u5143\u7d20\u53d1\u751f\uff01"},
721    
722        { ER_IMPORTING_ITSELF,
723          "\uff08StylesheetHandler\uff09{0} \u6b63\u5728\u76f4\u63a5\u6216\u95f4\u63a5\u5730\u5bfc\u5165\u5b83\u81ea\u8eab\uff01"},
724    
725        { ER_XMLSPACE_ILLEGAL_VAL,
726          "\uff08StylesheetHandler\uff09xml:space \u6709\u975e\u6cd5\u503c\uff1a{0}"},
727    
728        { ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL,
729          "processStylesheet \u4e0d\u6210\u529f\uff01"},
730    
731        { ER_SAX_EXCEPTION,
732         "SAX \u5f02\u5e38"},
733    
734    //  add this message to fix bug 21478
735        { ER_FUNCTION_NOT_SUPPORTED,
736         "\u51fd\u6570\u4e0d\u53d7\u652f\u6301\uff01"},
737    
738    
739        { ER_XSLT_ERROR,
740         "XSLT \u9519\u8bef"},
741    
742        { ER_CURRENCY_SIGN_ILLEGAL,
743          "\u683c\u5f0f\u6a21\u5f0f\u5b57\u7b26\u4e32\u4e2d\u4e0d\u5141\u8bb8\u5b58\u5728\u8d27\u5e01\u7b26\u53f7"},
744    
745        { ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM,
746          "\u6837\u5f0f\u8868 DOM \u4e2d\u4e0d\u652f\u6301\u6587\u6863\u51fd\u6570\uff01"},
747    
748        { ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER,
749          "\u65e0\u6cd5\u89e3\u6790\u975e\u524d\u7f00\u89e3\u6790\u5668\u7684\u524d\u7f00\uff01"},
750    
751        { ER_REDIRECT_COULDNT_GET_FILENAME,
752          "\u91cd\u5b9a\u5411\u6269\u5c55\uff1a\u65e0\u6cd5\u83b7\u53d6\u6587\u4ef6\u540d \uff0d file \u6216 select \u5c5e\u6027\u5fc5\u987b\u8fd4\u56de\u6709\u6548\u5b57\u7b26\u4e32\u3002"},
753    
754        { ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT,
755          "\u65e0\u6cd5\u5728\u91cd\u5b9a\u5411\u6269\u5c55\u4e2d\u6784\u5efa FormatterListener\uff01"},
756    
757        { ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX,
758          "exclude-result-prefixes \u4e2d\u7684\u524d\u7f00\u65e0\u6548\uff1a{0}"},
759    
760        { ER_MISSING_NS_URI,
761          "\u6307\u5b9a\u7684\u524d\u7f00\u7f3a\u5c11\u540d\u79f0\u7a7a\u95f4 URI"},
762    
763        { ER_MISSING_ARG_FOR_OPTION,
764          "\u9009\u9879 {0} \u7f3a\u5c11\u81ea\u53d8\u91cf"},
765    
766        { ER_INVALID_OPTION,
767         "\u9009\u9879 {0} \u65e0\u6548"},
768    
769        { ER_MALFORMED_FORMAT_STRING,
770         "\u683c\u5f0f\u5b57\u7b26\u4e32 {0} \u7684\u683c\u5f0f\u9519\u8bef"},
771    
772        { ER_STYLESHEET_REQUIRES_VERSION_ATTRIB,
773          "xsl:stylesheet \u9700\u8981\u201cversion\u201d\u5c5e\u6027\uff01"},
774    
775        { ER_ILLEGAL_ATTRIBUTE_VALUE,
776          "\u5c5e\u6027\uff1a{0} \u6709\u975e\u6cd5\u7684\u503c\uff1a{1}"},
777    
778        { ER_CHOOSE_REQUIRES_WHEN,
779         "xsl:choose \u9700\u8981 xsl:when"},
780    
781        { ER_NO_APPLY_IMPORT_IN_FOR_EACH,
782          "xsl:for-each \u4e2d\u4e0d\u5141\u8bb8\u6709 xsl:apply-imports"},
783    
784        { ER_CANT_USE_DTM_FOR_OUTPUT,
785          "\u65e0\u6cd5\u5c06 DTMLiaison \u7528\u4e8e\u8f93\u51fa DOM \u8282\u70b9... \u6539\u4e3a\u4f20\u9012 org.apache.xpath.DOM2Helper\uff01"},
786    
787        { ER_CANT_USE_DTM_FOR_INPUT,
788          "\u65e0\u6cd5\u5c06 DTMLiaison \u7528\u4e8e\u8f93\u5165 DOM \u8282\u70b9... \u6539\u4e3a\u4f20\u9012 org.apache.xpath.DOM2Helper\uff01"},
789    
790        { ER_CALL_TO_EXT_FAILED,
791          "\u8c03\u7528\u6269\u5c55\u5143\u7d20\u5931\u8d25\uff1a{0}"},
792    
793        { ER_PREFIX_MUST_RESOLVE,
794          "\u524d\u7f00\u5fc5\u987b\u89e3\u6790\u4e3a\u540d\u79f0\u7a7a\u95f4\uff1a{0}"},
795    
796        { ER_INVALID_UTF16_SURROGATE,
797          "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u8d85\u5927\u5b57\u7b26\u96c6\uff1a{0}\uff1f"},
798    
799        { ER_XSLATTRSET_USED_ITSELF,
800          "xsl:attribute-set {0} \u4f7f\u7528\u4e86\u81ea\u8eab\uff0c\u8fd9\u5c06\u5bfc\u81f4\u65e0\u9650\u5faa\u73af\u3002"},
801    
802        { ER_CANNOT_MIX_XERCESDOM,
803          "\u65e0\u6cd5\u5c06\u975e Xerces-DOM \u8f93\u5165\u4e0e Xerces-DOM \u8f93\u51fa\u6df7\u5408\uff01"},
804    
805        { ER_TOO_MANY_LISTENERS,
806          "addTraceListenersToStylesheet \u2015 TooManyListenersException"},
807    
808        { ER_IN_ELEMTEMPLATEELEM_READOBJECT,
809          "\u5728 ElemTemplateElement.readObject \u4e2d\uff1a{0}"},
810    
811        { ER_DUPLICATE_NAMED_TEMPLATE,
812          "\u627e\u5230\u591a\u4e2a\u540d\u4e3a {0} \u7684\u6a21\u677f"},
813    
814        { ER_INVALID_KEY_CALL,
815          "\u65e0\u6548\u7684\u51fd\u6570\u8c03\u7528\uff1a\u4e0d\u5141\u8bb8\u9012\u5f52 key() \u8c03\u7528"},
816    
817        { ER_REFERENCING_ITSELF,
818          "\u53d8\u91cf {0} \u6b63\u5728\u76f4\u63a5\u6216\u95f4\u63a5\u5730\u5f15\u7528\u5b83\u81ea\u8eab\uff01"},
819    
820        { ER_ILLEGAL_DOMSOURCE_INPUT,
821          "\u8f93\u5165\u8282\u70b9\u5bf9\u4e8e newTemplates \u7684 DOMSource \u4e0d\u80fd\u4e3a\u7a7a\uff01"},
822    
823        { ER_CLASS_NOT_FOUND_FOR_OPTION,
824            "\u627e\u4e0d\u5230\u9009\u9879 {0} \u7684\u7c7b\u6587\u4ef6"},
825    
826        { ER_REQUIRED_ELEM_NOT_FOUND,
827            "\u627e\u4e0d\u5230\u5fc5\u9700\u7684\u5143\u7d20\uff1a{0}"},
828    
829        { ER_INPUT_CANNOT_BE_NULL,
830            "InputStream \u4e0d\u80fd\u4e3a\u7a7a"},
831    
832        { ER_URI_CANNOT_BE_NULL,
833            "URI \u4e0d\u80fd\u4e3a\u7a7a"},
834    
835        { ER_FILE_CANNOT_BE_NULL,
836            "File \u4e0d\u80fd\u4e3a\u7a7a"},
837    
838        { ER_SOURCE_CANNOT_BE_NULL,
839                    "InputSource \u4e0d\u80fd\u4e3a\u7a7a"},
840    
841        { ER_CANNOT_INIT_BSFMGR,
842                    "\u65e0\u6cd5\u521d\u59cb\u5316 BSF \u7ba1\u7406\u5668"},
843    
844        { ER_CANNOT_CMPL_EXTENSN,
845                    "\u65e0\u6cd5\u7f16\u8bd1\u6269\u5c55"},
846    
847        { ER_CANNOT_CREATE_EXTENSN,
848          "\u7531\u4e8e {1}\uff0c\u65e0\u6cd5\u521b\u5efa\u6269\u5c55 {0}"},
849    
850        { ER_INSTANCE_MTHD_CALL_REQUIRES,
851          "\u5bf9\u65b9\u6cd5 {0} \u7684\u5b9e\u4f8b\u65b9\u6cd5\u8c03\u7528\u8981\u6c42\u4ee5\u5bf9\u8c61\u5b9e\u4f8b\u4f5c\u4e3a\u7b2c\u4e00\u53c2\u6570"},
852    
853        { ER_INVALID_ELEMENT_NAME,
854          "\u6307\u5b9a\u4e86\u65e0\u6548\u7684\u5143\u7d20\u540d\u79f0 {0}"},
855    
856        { ER_ELEMENT_NAME_METHOD_STATIC,
857          "\u5143\u7d20\u540d\u79f0\u65b9\u6cd5\u5fc5\u987b\u662f static {0}"},
858    
859        { ER_EXTENSION_FUNC_UNKNOWN,
860                 "\u6269\u5c55\u51fd\u6570 {0} : {1} \u672a\u77e5"},
861    
862        { ER_MORE_MATCH_CONSTRUCTOR,
863                 "\u5bf9\u4e8e {0}\uff0c\u6784\u9020\u51fd\u6570\u6709\u591a\u4e2a\u6700\u4f73\u5339\u914d"},
864    
865        { ER_MORE_MATCH_METHOD,
866                 "\u65b9\u6cd5 {0} \u6709\u591a\u4e2a\u6700\u4f73\u5339\u914d"},
867    
868        { ER_MORE_MATCH_ELEMENT,
869                 "element \u65b9\u6cd5 {0} \u6709\u591a\u4e2a\u6700\u4f73\u5339\u914d"},
870    
871        { ER_INVALID_CONTEXT_PASSED,
872                 "\u8bc4\u4f30 {0} \u65f6\u4f20\u9012\u4e86\u65e0\u6548\u7684\u4e0a\u4e0b\u6587"},
873    
874        { ER_POOL_EXISTS,
875                 "\u6c60\u5df2\u7ecf\u5b58\u5728"},
876    
877        { ER_NO_DRIVER_NAME,
878                 "\u672a\u6307\u5b9a\u9a71\u52a8\u7a0b\u5e8f\u540d\u79f0"},
879    
880        { ER_NO_URL,
881                 "\u672a\u6307\u5b9a URL"},
882    
883        { ER_POOL_SIZE_LESSTHAN_ONE,
884                 "\u6c60\u5927\u5c0f\u5c0f\u4e8e 1\uff01"},
885    
886        { ER_INVALID_DRIVER,
887                 "\u6307\u5b9a\u4e86\u65e0\u6548\u7684\u9a71\u52a8\u7a0b\u5e8f\u540d\u79f0\uff01"},
888    
889        { ER_NO_STYLESHEETROOT,
890                 "\u627e\u4e0d\u5230\u6837\u5f0f\u8868\u6839\u76ee\u5f55\uff01"},
891    
892        { ER_ILLEGAL_XMLSPACE_VALUE,
893             "xml:space \u7684\u503c\u975e\u6cd5"},
894    
895        { ER_PROCESSFROMNODE_FAILED,
896             "processFromNode \u5931\u8d25"},
897    
898        { ER_RESOURCE_COULD_NOT_LOAD,
899            "\u8d44\u6e90 [ {0} ] \u65e0\u6cd5\u88c5\u5165\uff1a{1} \n {2} \t {3}"},
900    
901        { ER_BUFFER_SIZE_LESSTHAN_ZERO,
902            "\u7f13\u51b2\u533a\u5927\u5c0f <=0"},
903    
904        { ER_UNKNOWN_ERROR_CALLING_EXTENSION,
905            "\u8c03\u7528\u6269\u5c55\u65f6\u53d1\u751f\u672a\u77e5\u9519\u8bef"},
906    
907        { ER_NO_NAMESPACE_DECL,
908            "\u524d\u7f00 {0} \u6ca1\u6709\u76f8\u5e94\u7684\u540d\u79f0\u7a7a\u95f4\u58f0\u660e"},
909    
910        { ER_ELEM_CONTENT_NOT_ALLOWED,
911            "lang=javaclass {0} \u4e0d\u5141\u8bb8\u51fa\u73b0\u5143\u7d20\u5185\u5bb9"},
912    
913        { ER_STYLESHEET_DIRECTED_TERMINATION,
914            "\u6837\u5f0f\u8868\u5b9a\u5411\u7684\u7ec8\u6b62"},
915    
916        { ER_ONE_OR_TWO,
917            "1 \u6216 2"},
918    
919        { ER_TWO_OR_THREE,
920            "2 \u6216 3"},
921    
922        { ER_COULD_NOT_LOAD_RESOURCE,
923            "\u65e0\u6cd5\u88c5\u5165 {0}\uff08\u68c0\u67e5 CLASSPATH\uff09\uff0c\u73b0\u5728\u53ea\u4f7f\u7528\u7f3a\u7701\u503c"},
924    
925        { ER_CANNOT_INIT_DEFAULT_TEMPLATES,
926            "\u65e0\u6cd5\u521d\u59cb\u5316\u7f3a\u7701\u6a21\u677f"},
927    
928        { ER_RESULT_NULL,
929            "\u7ed3\u679c\u4e0d\u5e94\u4e3a\u7a7a"},
930    
931        { ER_RESULT_COULD_NOT_BE_SET,
932            "\u65e0\u6cd5\u8bbe\u7f6e\u7ed3\u679c"},
933    
934        { ER_NO_OUTPUT_SPECIFIED,
935            "\u672a\u6307\u5b9a\u8f93\u51fa"},
936    
937        { ER_CANNOT_TRANSFORM_TO_RESULT_TYPE,
938            "\u65e0\u6cd5\u8f6c\u6362\u6210\u7c7b\u578b\u4e3a {0} \u7684\u7ed3\u679c"},
939    
940        { ER_CANNOT_TRANSFORM_SOURCE_TYPE,
941            "\u65e0\u6cd5\u8f6c\u6362\u7c7b\u578b\u4e3a {0} \u7684\u6e90"},
942    
943        { ER_NULL_CONTENT_HANDLER,
944            "\u5185\u5bb9\u5904\u7406\u7a0b\u5e8f\u4e3a\u7a7a"},
945    
946        { ER_NULL_ERROR_HANDLER,
947            "\u9519\u8bef\u5904\u7406\u7a0b\u5e8f\u4e3a\u7a7a"},
948    
949        { ER_CANNOT_CALL_PARSE,
950            "\u5982\u679c\u6ca1\u6709\u8bbe\u7f6e ContentHandler\uff0c\u5219\u65e0\u6cd5\u8c03\u7528\u89e3\u6790"},
951    
952        { ER_NO_PARENT_FOR_FILTER,
953            "\u8fc7\u6ee4\u5668\u65e0\u7236\u4ee3"},
954    
955        { ER_NO_STYLESHEET_IN_MEDIA,
956             "\u5728 {0} \u4e2d\u627e\u4e0d\u5230\u6837\u5f0f\u8868\uff0c\u4ecb\u8d28 = {1}"},
957    
958        { ER_NO_STYLESHEET_PI,
959             "\u5728 {0} \u4e2d\u627e\u4e0d\u5230 xml-stylesheet PI"},
960    
961        { ER_NOT_SUPPORTED,
962           "\u4e0d\u652f\u6301\uff1a{0}"},
963    
964        { ER_PROPERTY_VALUE_BOOLEAN,
965           "\u7279\u6027 {0} \u7684\u503c\u5e94\u5f53\u662f\u5e03\u5c14\u5b9e\u4f8b"},
966    
967        { ER_COULD_NOT_FIND_EXTERN_SCRIPT,
968             "\u627e\u4e0d\u5230 {0} \u4e0a\u7684\u5916\u90e8\u811a\u672c"},
969    
970        { ER_RESOURCE_COULD_NOT_FIND,
971            "\u627e\u4e0d\u5230\u8d44\u6e90 [ {0} ]\u3002\n {1}"},
972    
973        { ER_OUTPUT_PROPERTY_NOT_RECOGNIZED,
974            "\u672a\u8bc6\u522b\u51fa\u8f93\u51fa\u5c5e\u6027\uff1a{0}"},
975    
976        { ER_FAILED_CREATING_ELEMLITRSLT,
977            "\u521b\u5efa ElemLiteralResult \u5b9e\u4f8b\u5931\u8d25"},
978    
979      //Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE
980      // In latest Xalan code base key name is  ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care
981      //in locale specific files like XSLTErrorResources_de.java, XSLTErrorResources_fr.java etc.
982      //NOTE: Not only the key name but message has also been changed.
983    
984        { ER_VALUE_SHOULD_BE_NUMBER,
985            "{0} \u7684\u503c\u5e94\u5f53\u5305\u542b\u53ef\u8fdb\u884c\u89e3\u6790\u7684\u6570\u5b57"},
986    
987        { ER_VALUE_SHOULD_EQUAL,
988            "{0} \u7684\u503c\u5e94\u5f53\u7b49\u4e8e yes \u6216 no"},
989    
990        { ER_FAILED_CALLING_METHOD,
991            "\u8c03\u7528 {0} \u65b9\u6cd5\u5931\u8d25"},
992    
993        { ER_FAILED_CREATING_ELEMTMPL,
994            "\u521b\u5efa ElemTemplateElement \u5b9e\u4f8b\u5931\u8d25"},
995    
996        { ER_CHARS_NOT_ALLOWED,
997            "\u6b64\u65f6\u6587\u6863\u4e2d\u4e0d\u5141\u8bb8\u6709\u5b57\u7b26"},
998    
999        { ER_ATTR_NOT_ALLOWED,
1000            "{1} \u5143\u7d20\u4e0a\u4e0d\u5141\u8bb8\u4f7f\u7528\u201c{0}\u201d\u5c5e\u6027\uff01"},
1001    
1002        { ER_BAD_VALUE,
1003         "{0} \u9519\u8bef\u503c {1}"},
1004    
1005        { ER_ATTRIB_VALUE_NOT_FOUND,
1006         "\u627e\u4e0d\u5230 {0} \u5c5e\u6027\u503c"},
1007    
1008        { ER_ATTRIB_VALUE_NOT_RECOGNIZED,
1009         "\u672a\u8bc6\u522b\u51fa {0} \u5c5e\u6027\u503c"},
1010    
1011        { ER_NULL_URI_NAMESPACE,
1012         "\u6b63\u5728\u8bd5\u56fe\u4ee5\u7a7a\u7684 URI \u751f\u6210\u540d\u79f0\u7a7a\u95f4\u524d\u7f00"},
1013    
1014      //New ERROR keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
1015    
1016        { ER_NUMBER_TOO_BIG,
1017         "\u6b63\u5728\u8bd5\u56fe\u683c\u5f0f\u5316\u5927\u4e8e\u6700\u5927\u957f\u6574\u6570\u7684\u6570\u5b57"},
1018    
1019        { ER_CANNOT_FIND_SAX1_DRIVER,
1020         "\u627e\u4e0d\u5230 SAX1 \u9a71\u52a8\u7a0b\u5e8f\u7c7b {0}"},
1021    
1022        { ER_SAX1_DRIVER_NOT_LOADED,
1023         "\u627e\u5230\u4e86 SAX1 \u9a71\u52a8\u7a0b\u5e8f\u7c7b {0}\uff0c\u4f46\u65e0\u6cd5\u88c5\u5165\u5b83"},
1024    
1025        { ER_SAX1_DRIVER_NOT_INSTANTIATED,
1026         "\u88c5\u5165\u4e86 SAX1 \u9a71\u52a8\u7a0b\u5e8f\u7c7b {0}\uff0c\u4f46\u65e0\u6cd5\u5c06\u5b83\u5b9e\u4f8b\u5316"},
1027    
1028        { ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER,
1029         "SAX1 \u9a71\u52a8\u7a0b\u5e8f\u7c7b {0} \u4e0d\u5b9e\u73b0 org.xml.sax.Parser"},
1030    
1031        { ER_PARSER_PROPERTY_NOT_SPECIFIED,
1032         "\u6ca1\u6709\u6307\u5b9a\u7cfb\u7edf\u5c5e\u6027 org.xml.sax.parser"},
1033    
1034        { ER_PARSER_ARG_CANNOT_BE_NULL,
1035         "\u89e3\u6790\u5668\u53c2\u6570\u4e0d\u5f97\u4e3a\u7a7a"},
1036    
1037        { ER_FEATURE,
1038         "\u7279\u5f81\uff1a{0}"},
1039    
1040        { ER_PROPERTY,
1041         "\u5c5e\u6027\uff1a{0}"},
1042    
1043        { ER_NULL_ENTITY_RESOLVER,
1044         "\u5b9e\u4f53\u89e3\u6790\u5668\u4e3a\u7a7a"},
1045    
1046        { ER_NULL_DTD_HANDLER,
1047         "DTD \u5904\u7406\u7a0b\u5e8f\u4e3a\u7a7a"},
1048    
1049        { ER_NO_DRIVER_NAME_SPECIFIED,
1050         "\u672a\u6307\u5b9a\u9a71\u52a8\u7a0b\u5e8f\u540d\u79f0\uff01"},
1051    
1052        { ER_NO_URL_SPECIFIED,
1053         "\u672a\u6307\u5b9a URL\uff01"},
1054    
1055        { ER_POOLSIZE_LESS_THAN_ONE,
1056         "\u6c60\u5927\u5c0f\u5c0f\u4e8e 1\uff01"},
1057    
1058        { ER_INVALID_DRIVER_NAME,
1059         "\u6307\u5b9a\u4e86\u65e0\u6548\u7684\u9a71\u52a8\u7a0b\u5e8f\u540d\u79f0\uff01"},
1060    
1061        { ER_ERRORLISTENER,
1062         "ErrorListener"},
1063    
1064    
1065    // Note to translators:  The following message should not normally be displayed
1066    //   to users.  It describes a situation in which the processor has detected
1067    //   an internal consistency problem in itself, and it provides this message
1068    //   for the developer to help diagnose the problem.  The name
1069    //   'ElemTemplateElement' is the name of a class, and should not be
1070    //   translated.
1071        { ER_ASSERT_NO_TEMPLATE_PARENT,
1072         "\u7a0b\u5e8f\u5458\u7684\u9519\u8bef\uff01\u8868\u8fbe\u5f0f\u6ca1\u6709 ElemTemplateElement \u7236\u4ee3\uff01"},
1073    
1074    
1075    // Note to translators:  The following message should not normally be displayed
1076    //   to users.  It describes a situation in which the processor has detected
1077    //   an internal consistency problem in itself, and it provides this message
1078    //   for the developer to help diagnose the problem.  The substitution text
1079    //   provides further information in order to diagnose the problem.  The name
1080    //   'RedundentExprEliminator' is the name of a class, and should not be
1081    //   translated.
1082        { ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR,
1083         "\u7a0b\u5e8f\u5458\u5728 RedundentExprEliminator \u4e2d\u7684\u65ad\u8a00\uff1a{0}"},
1084    
1085        { ER_NOT_ALLOWED_IN_POSITION,
1086         "\u6837\u5f0f\u8868\u7684\u6b64\u4f4d\u7f6e\u4e2d\u4e0d\u5141\u8bb8\u6709 {0}\uff01"},
1087    
1088        { ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION,
1089         "\u6837\u5f0f\u8868\u7684\u6b64\u4f4d\u7f6e\u4e2d\u4e0d\u5141\u8bb8\u6709\u975e\u7a7a\u683c\u7684\u6587\u672c\uff01"},
1090    
1091      // This code is shared with warning codes.
1092      // SystemId Unknown
1093        { INVALID_TCHAR,
1094         "\u7528\u4e8e CHAR \u5c5e\u6027 {0} \u7684\u503c {1} \u975e\u6cd5\u3002\u7c7b\u578b CHAR \u7684\u5c5e\u6027\u5fc5\u987b\u53ea\u6709 1 \u4e2a\u5b57\u7b26\uff01"},
1095    
1096        // Note to translators:  The following message is used if the value of
1097        // an attribute in a stylesheet is invalid.  "QNAME" is the XML data-type of
1098        // the attribute, and should not be translated.  The substitution text {1} is
1099        // the attribute value and {0} is the attribute name.
1100        //The following codes are shared with the warning codes...
1101        { INVALID_QNAME,
1102         "\u7528\u4e8e QNAME \u5c5e\u6027 {0} \u7684\u503c {1} \u975e\u6cd5"},
1103    
1104        // Note to translators:  The following message is used if the value of
1105        // an attribute in a stylesheet is invalid.  "ENUM" is the XML data-type of
1106        // the attribute, and should not be translated.  The substitution text {1} is
1107        // the attribute value, {0} is the attribute name, and {2} is a list of valid
1108        // values.
1109        { INVALID_ENUM,
1110         "\u7528\u4e8e ENUM \u5c5e\u6027 {0} \u7684\u503c {1} \u975e\u6cd5\u3002\u6709\u6548\u7684\u503c\u662f\uff1a{2}\u3002"},
1111    
1112    // Note to translators:  The following message is used if the value of
1113    // an attribute in a stylesheet is invalid.  "NMTOKEN" is the XML data-type
1114    // of the attribute, and should not be translated.  The substitution text {1} is
1115    // the attribute value and {0} is the attribute name.
1116        { INVALID_NMTOKEN,
1117         "\u7528\u4e8e NMTOKEN \u5c5e\u6027 {0} \u7684\u503c {1} \u975e\u6cd5"},
1118    
1119    // Note to translators:  The following message is used if the value of
1120    // an attribute in a stylesheet is invalid.  "NCNAME" is the XML data-type
1121    // of the attribute, and should not be translated.  The substitution text {1} is
1122    // the attribute value and {0} is the attribute name.
1123        { INVALID_NCNAME,
1124         "\u7528\u4e8e NCNAME \u5c5e\u6027 {0} \u7684\u503c {1} \u975e\u6cd5"},
1125    
1126    // Note to translators:  The following message is used if the value of
1127    // an attribute in a stylesheet is invalid.  "boolean" is the XSLT data-type
1128    // of the attribute, and should not be translated.  The substitution text {1} is
1129    // the attribute value and {0} is the attribute name.
1130        { INVALID_BOOLEAN,
1131         "\u7528\u4e8e boolean \u5c5e\u6027 {0} \u7684\u503c {1} \u975e\u6cd5"},
1132    
1133    // Note to translators:  The following message is used if the value of
1134    // an attribute in a stylesheet is invalid.  "number" is the XSLT data-type
1135    // of the attribute, and should not be translated.  The substitution text {1} is
1136    // the attribute value and {0} is the attribute name.
1137         { INVALID_NUMBER,
1138         "\u7528\u4e8e number \u5c5e\u6027 {0} \u7684\u503c {1} \u975e\u6cd5"},
1139    
1140    
1141      // End of shared codes...
1142    
1143    // Note to translators:  A "match pattern" is a special form of XPath expression
1144    // that is used for matching patterns.  The substitution text is the name of
1145    // a function.  The message indicates that when this function is referenced in
1146    // a match pattern, its argument must be a string literal (or constant.)
1147    // ER_ARG_LITERAL - new error message for bugzilla //5202
1148        { ER_ARG_LITERAL,
1149         "\u5339\u914d\u6a21\u5f0f\u4e2d {0} \u7684\u81ea\u53d8\u91cf\u5fc5\u987b\u662f\u6587\u5b57\u3002"},
1150    
1151    // Note to translators:  The following message indicates that two definitions of
1152    // a variable.  A "global variable" is a variable that is accessible everywher
1153    // in the stylesheet.
1154    // ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
1155        { ER_DUPLICATE_GLOBAL_VAR,
1156         "\u5168\u5c40\u53d8\u91cf\u7684\u58f0\u660e\u91cd\u590d\u3002"},
1157    
1158    
1159    // Note to translators:  The following message indicates that two definitions of
1160    // a variable were encountered.
1161    // ER_DUPLICATE_VAR - new error message for bugzilla #790
1162        { ER_DUPLICATE_VAR,
1163         "\u53d8\u91cf\u58f0\u660e\u91cd\u590d\u3002"},
1164    
1165        // Note to translators:  "xsl:template, "name" and "match" are XSLT keywords
1166        // which must not be translated.
1167        // ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
1168        { ER_TEMPLATE_NAME_MATCH,
1169         "xsl:template \u5fc5\u987b\u6709\u4e00\u4e2a name \u6216 match \u5c5e\u6027\uff08\u6216\u4e24\u8005\u517c\u6709\uff09"},
1170    
1171        // Note to translators:  "exclude-result-prefixes" is an XSLT keyword which
1172        // should not be translated.  The message indicates that a namespace prefix
1173        // encountered as part of the value of the exclude-result-prefixes attribute
1174        // was in error.
1175        // ER_INVALID_PREFIX - new error message for bugzilla #788
1176        { ER_INVALID_PREFIX,
1177         "exclude-result-prefixes \u4e2d\u7684\u524d\u7f00\u65e0\u6548\uff1a{0}"},
1178    
1179        // Note to translators:  An "attribute set" is a set of attributes that can
1180        // be added to an element in the output document as a group.  The message
1181        // indicates that there was a reference to an attribute set named {0} that
1182        // was never defined.
1183        // ER_NO_ATTRIB_SET - new error message for bugzilla #782
1184        { ER_NO_ATTRIB_SET,
1185         "\u540d\u4e3a {0} \u7684\u5c5e\u6027\u96c6\u4e0d\u5b58\u5728"},
1186    
1187        // Note to translators:  This message indicates that there was a reference
1188        // to a function named {0} for which no function definition could be found.
1189        { ER_FUNCTION_NOT_FOUND,
1190         "\u540d\u4e3a {0} \u7684\u51fd\u6570\u4e0d\u5b58\u5728"},
1191    
1192        // Note to translators:  This message indicates that the XSLT instruction
1193        // that is named by the substitution text {0} must not contain other XSLT
1194        // instructions (content) or a "select" attribute.  The word "select" is
1195        // an XSLT keyword in this case and must not be translated.
1196        { ER_CANT_HAVE_CONTENT_AND_SELECT,
1197         "{0} \u5143\u7d20\u4e0d\u5f97\u540c\u65f6\u5177\u6709\u5185\u5bb9\u548c select \u5c5e\u6027\u3002"},
1198    
1199        // Note to translators:  This message indicates that the value argument
1200        // of setParameter must be a valid Java Object.
1201        { ER_INVALID_SET_PARAM_VALUE,
1202         "\u53c2\u6570 {0} \u7684\u503c\u5fc5\u987b\u4e3a\u6709\u6548\u7684 Java \u5bf9\u8c61"},
1203    
1204            { ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT,
1205             "xsl:namespace-alias \u5143\u7d20\u7684 result-prefix \u5c5e\u6027\u542b\u6709\u201c#default\u201d\u503c\uff0c\u4f46\u5728\u8be5\u5143\u7d20\u7684\u4f5c\u7528\u57df\u4e2d\u6ca1\u6709\u7f3a\u7701\u540d\u79f0\u7a7a\u95f4\u7684\u58f0\u660e\u3002"},
1206    
1207            { ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX,
1208             "xsl:namespace-alias \u5143\u7d20\u7684 result-prefix \u5c5e\u6027\u542b\u6709\u201c{0}\u201d\u503c\uff0c\u4f46\u662f\u5728\u8be5\u5143\u7d20\u7684\u4f5c\u7528\u57df\u4e2d\u6ca1\u6709\u524d\u7f00\u201c{0}\u201d\u7684\u540d\u79f0\u7a7a\u95f4\u58f0\u660e\u3002"},
1209    
1210        { ER_SET_FEATURE_NULL_NAME,
1211          "\u5728 TransformerFactory.setFeature(String name, boolean value) \u4e2d\u7279\u5f81\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002"},
1212    
1213        { ER_GET_FEATURE_NULL_NAME,
1214          "\u5728 TransformerFactory.getFeature(String name) \u4e2d\u7279\u5f81\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002"},
1215    
1216        { ER_UNSUPPORTED_FEATURE,
1217          "\u65e0\u6cd5\u5bf9\u6b64 TransformerFactory \u8bbe\u7f6e\u7279\u5f81\u201c{0}\u201d\u3002"},
1218    
1219        { ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING,
1220            "\u5f53\u5b89\u5168\u5904\u7406\u529f\u80fd\u8bbe\u7f6e\u4e3a true \u65f6\uff0c\u4e0d\u5141\u8bb8\u4f7f\u7528\u6269\u5c55\u5143\u7d20\u201c{0}\u201d\u3002"},
1221    
1222            { ER_NAMESPACE_CONTEXT_NULL_NAMESPACE,
1223              "\u65e0\u6cd5\u4e3a\u7a7a\u540d\u79f0\u7a7a\u95f4 uri \u83b7\u53d6\u524d\u7f00\u3002"},
1224    
1225            { ER_NAMESPACE_CONTEXT_NULL_PREFIX,
1226              "\u65e0\u6cd5\u4e3a\u7a7a\u524d\u7f00\u83b7\u53d6\u540d\u79f0\u7a7a\u95f4 uri\u3002"},
1227    
1228            { ER_XPATH_RESOLVER_NULL_QNAME,
1229              "\u51fd\u6570\u540d\u4e0d\u80fd\u4e3a\u7a7a\u3002"},
1230    
1231            { ER_XPATH_RESOLVER_NEGATIVE_ARITY,
1232              "\u6570\u91cf\u4e0d\u80fd\u4e3a\u8d1f\u3002"},
1233    
1234      // Warnings...
1235    
1236        { WG_FOUND_CURLYBRACE,
1237          "\u627e\u5230\u201c}\u201d\uff0c\u4f46\u6ca1\u6709\u6253\u5f00\u5c5e\u6027\u6a21\u677f\uff01"},
1238    
1239        { WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR,
1240          "\u8b66\u544a\uff1acount \u5c5e\u6027\u4e0e xsl:number \u4e2d\u7684\u4e0a\u7ea7\u4e0d\u5339\u914d\uff01\u76ee\u6807 = {0}"},
1241    
1242        { WG_EXPR_ATTRIB_CHANGED_TO_SELECT,
1243          "\u65e7\u8bed\u6cd5\uff1a\u201cexpr\u201d\u5c5e\u6027\u7684\u540d\u79f0\u5df2\u7ecf\u66f4\u6539\u4e3a\u201cselect\u201d\u3002"},
1244    
1245        { WG_NO_LOCALE_IN_FORMATNUMBER,
1246          "Xalan \u5728 format-number \u51fd\u6570\u4e2d\u5c1a\u672a\u5904\u7406\u8bed\u8a00\u73af\u5883\u540d\u3002"},
1247    
1248        { WG_LOCALE_NOT_FOUND,
1249          "\u8b66\u544a\uff1a\u627e\u4e0d\u5230 xml:lang={0} \u7684\u8bed\u8a00\u73af\u5883"},
1250    
1251        { WG_CANNOT_MAKE_URL_FROM,
1252          "\u65e0\u6cd5\u4ece {0} \u751f\u6210 URL"},
1253    
1254        { WG_CANNOT_LOAD_REQUESTED_DOC,
1255          "\u65e0\u6cd5\u88c5\u5165\u8bf7\u6c42\u7684\u6587\u6863\uff1a{0}"},
1256    
1257        { WG_CANNOT_FIND_COLLATOR,
1258          "\u627e\u4e0d\u5230 <sort xml:lang={0} \u7684\u6574\u7406\u5668"},
1259    
1260        { WG_FUNCTIONS_SHOULD_USE_URL,
1261          "\u65e7\u8bed\u6cd5\uff1a\u51fd\u6570\u6307\u4ee4\u5e94\u5f53\u4f7f\u7528 {0} \u7684 URL"},
1262    
1263        { WG_ENCODING_NOT_SUPPORTED_USING_UTF8,
1264          "\u4e0d\u652f\u6301\u7f16\u7801\uff1a{0}\uff0c\u6b63\u5728\u4f7f\u7528 UTF-8"},
1265    
1266        { WG_ENCODING_NOT_SUPPORTED_USING_JAVA,
1267          "\u4e0d\u652f\u6301\u7f16\u7801\uff1a{0}\uff0c\u6b63\u5728\u4f7f\u7528 Java {1}"},
1268    
1269        { WG_SPECIFICITY_CONFLICTS,
1270          "\u53d1\u73b0\u7279\u6027\u51b2\u7a81\uff1a\u5c06\u4f7f\u7528\u6837\u5f0f\u8868\u4e2d\u6700\u540e\u627e\u5230\u7684 {0}\u3002"},
1271    
1272        { WG_PARSING_AND_PREPARING,
1273          "========= \u89e3\u6790\u548c\u51c6\u5907 {0} =========="},
1274    
1275        { WG_ATTR_TEMPLATE,
1276         "\u5c5e\u6027\u6a21\u677f\uff0c{0}"},
1277    
1278        { WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE,
1279          "xsl:strip-space \u548c xsl:preserve-space \u4e4b\u95f4\u7684\u5339\u914d\u51b2\u7a81"},
1280    
1281        { WG_ATTRIB_NOT_HANDLED,
1282          "Xalan \u5c1a\u672a\u5904\u7406 {0} \u5c5e\u6027\uff01"},
1283    
1284        { WG_NO_DECIMALFORMAT_DECLARATION,
1285          "\u627e\u4e0d\u5230\u5341\u8fdb\u5236\u683c\u5f0f\u7684\u58f0\u660e\uff1a{0}"},
1286    
1287        { WG_OLD_XSLT_NS,
1288         "XSLT \u540d\u79f0\u7a7a\u95f4\u4e22\u5931\u6216\u4e0d\u6b63\u786e\u3002"},
1289    
1290        { WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED,
1291          "\u53ea\u5141\u8bb8\u4e00\u4e2a\u7f3a\u7701\u7684 xsl:decimal-format \u58f0\u660e\u3002"},
1292    
1293        { WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE,
1294          "xsl:decimal-format \u540d\u79f0\u5fc5\u987b\u662f\u552f\u4e00\u7684\u3002\u540d\u79f0\u201c{0}\u201d\u6709\u91cd\u590d\u3002"},
1295    
1296        { WG_ILLEGAL_ATTRIBUTE,
1297          "{0} \u6709\u4e00\u4e2a\u975e\u6cd5\u5c5e\u6027\uff1a{1}"},
1298    
1299        { WG_COULD_NOT_RESOLVE_PREFIX,
1300          "\u65e0\u6cd5\u89e3\u6790\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\uff1a{0}\u3002\u5c06\u5ffd\u7565\u8be5\u8282\u70b9\u3002"},
1301    
1302        { WG_STYLESHEET_REQUIRES_VERSION_ATTRIB,
1303          "xsl:stylesheet \u9700\u8981\u201cversion\u201d\u5c5e\u6027\uff01"},
1304    
1305        { WG_ILLEGAL_ATTRIBUTE_NAME,
1306          "\u975e\u6cd5\u5c5e\u6027\u540d\u79f0\uff1a{0}"},
1307    
1308        { WG_ILLEGAL_ATTRIBUTE_VALUE,
1309          "\u7528\u4e8e\u5c5e\u6027 {0} \u7684\u503c\u975e\u6cd5\uff1a{1}"},
1310    
1311        { WG_EMPTY_SECOND_ARG,
1312          "\u4ece\u6587\u6863\u51fd\u6570\u7684\u7b2c\u4e8c\u53c2\u6570\u4ea7\u751f\u7684\u8282\u70b9\u96c6\u662f\u7a7a\u7684\u3002\u8fd4\u56de\u4e00\u4e2a\u7a7a\u8282\u70b9\u96c6\u3002"},
1313    
1314      //Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
1315    
1316        // Note to translators:  "name" and "xsl:processing-instruction" are keywords
1317        // and must not be translated.
1318        { WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
1319          "xsl:processing-instruction \u540d\u79f0\u7684\u201cname\u201d\u5c5e\u6027\u7684\u503c\u4e0d\u5f97\u4e3a\u201cxml\u201d"},
1320    
1321        // Note to translators:  "name" and "xsl:processing-instruction" are keywords
1322        // and must not be translated.  "NCName" is an XML data-type and must not be
1323        // translated.
1324        { WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
1325          "xsl:processing-instruction \u7684\u201cname\u201d\u5c5e\u6027\u7684\u503c\u5fc5\u987b\u662f\u6709\u6548\u7684 NCName\uff1a{0}"},
1326    
1327        // Note to translators:  This message is reported if the stylesheet that is
1328        // being processed attempted to construct an XML document with an attribute in a
1329        // place other than on an element.  The substitution text specifies the name of
1330        // the attribute.
1331        { WG_ILLEGAL_ATTRIBUTE_POSITION,
1332          "\u5728\u751f\u6210\u5b50\u8282\u70b9\u4e4b\u540e\u6216\u5728\u751f\u6210\u5143\u7d20\u4e4b\u524d\u65e0\u6cd5\u6dfb\u52a0\u5c5e\u6027 {0}\u3002\u5c06\u5ffd\u7565\u5c5e\u6027\u3002"},
1333    
1334        { NO_MODIFICATION_ALLOWED_ERR,
1335          "\u8bd5\u56fe\u4fee\u6539\u4e0d\u5141\u8bb8\u4fee\u6539\u7684\u5bf9\u8c61\u3002"
1336        },
1337    
1338        //Check: WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file?
1339    
1340      // Other miscellaneous text used inside the code...
1341      { "ui_language", "zh"},
1342      {  "help_language",  "zh" },
1343      {  "language",  "zh" },
1344      { "BAD_CODE", "createMessage \u7684\u53c2\u6570\u8d85\u51fa\u8303\u56f4"},
1345      {  "FORMAT_FAILED", "\u5728 messageFormat \u8c03\u7528\u8fc7\u7a0b\u4e2d\u629b\u51fa\u4e86\u5f02\u5e38"},
1346      {  "version", ">>>>>>> Xalan \u7248\u672c"},
1347      {  "version2",  "<<<<<<<"},
1348      {  "yes", "\u662f"},
1349      { "line", "\u884c\u53f7"},
1350      { "column","\u5217\u53f7"},
1351      { "xsldone", "XSLProcessor\uff1a\u5b8c\u6210"},
1352    
1353    
1354      // Note to translators:  The following messages provide usage information
1355      // for the Xalan Process command line.  "Process" is the name of a Java class,
1356      // and should not be translated.
1357      { "xslProc_option", "Xalan-J \u547d\u4ee4\u884c Process \u7c7b\u9009\u9879\uff1a"},
1358      { "xslProc_option", "Xalan-J \u547d\u4ee4\u884c Process \u7c7b\u9009\u9879\uff1a"},
1359      { "xslProc_invalid_xsltc_option", "\u5728 XSLTC \u65b9\u5f0f\u4e2d\uff0c\u4e0d\u652f\u6301\u9009\u9879 {0}\u3002"},
1360      { "xslProc_invalid_xalan_option", "\u9009\u9879 {0} \u53ea\u80fd\u4e0e -XSLTC \u4e00\u8d77\u4f7f\u7528\u3002"},
1361      { "xslProc_no_input", "\u9519\u8bef\uff1a\u6ca1\u6709\u6307\u5b9a\u6837\u5f0f\u8868\u6216\u8f93\u5165 xml\u3002\u4e0d\u5e26\u4efb\u4f55\u9009\u9879\u8fd0\u884c\u6b64\u547d\u4ee4\uff0c\u4ee5\u4e86\u89e3\u4f7f\u7528\u8bf4\u660e\u3002"},
1362      { "xslProc_common_options", "\uff0d \u5e38\u7528\u9009\u9879 \uff0d"},
1363      { "xslProc_xalan_options", "\u2015 Xalan \u9009\u9879 \u2015"},
1364      { "xslProc_xsltc_options", "\u2015 XSLTC \u9009\u9879 \u2015"},
1365      { "xslProc_return_to_continue", "\uff08\u8bf7\u6309 <return> \u952e\u7ee7\u7eed\uff09"},
1366    
1367       // Note to translators: The option name and the parameter name do not need to
1368       // be translated. Only translate the messages in parentheses.  Note also that
1369       // leading whitespace in the messages is used to indent the usage information
1370       // for each option in the English messages.
1371       // Do not translate the keywords: XSLTC, SAX, DOM and DTM.
1372      { "optionXSLTC", "   [-XSLTC \uff08\u4f7f\u7528 XSLTC \u8f6c\u6362\uff09]"},
1373      { "optionIN", "   [-IN inputXMLURL]"},
1374      { "optionXSL", "[-XSL XSLTransformationURL]"},
1375      { "optionOUT",  "[-OUT outputFileName]"},
1376      { "optionLXCIN", "[-LXCIN compiledStylesheetFileNameIn]"},
1377      { "optionLXCOUT", "[-LXCOUT compiledStylesheetFileNameOutOut]"},
1378      { "optionPARSER", "   [-PARSER fully qualified class name of parser liaison]"},
1379      {  "optionE", "[-E \uff08\u4e0d\u8981\u5c55\u5f00\u5b9e\u4f53\u5f15\u7528\uff09]"},
1380      {  "optionV",  "[-E \uff08\u4e0d\u8981\u5c55\u5f00\u5b9e\u4f53\u5f15\u7528\uff09]"},
1381      {  "optionQC", "[-QC \uff08\u9759\u9ed8\u6a21\u5f0f\u51b2\u7a81\u8b66\u544a\uff09]"},
1382      {  "optionQ", "[-Q \uff08\u9759\u9ed8\u65b9\u5f0f\uff09]"},
1383      {  "optionLF", "[-LF \uff08\u4ec5\u5728\u8f93\u51fa\u65f6\u4f7f\u7528\u6362\u884c {\u7f3a\u7701\u503c\u662f CR/LF}\uff09]"},
1384      {  "optionCR", "[-CR \uff08\u4ec5\u5728\u8f93\u51fa\u65f6\u4f7f\u7528\u56de\u8f66\u7b26 {\u7f3a\u7701\u503c\u662f CR/LF}\uff09]"},
1385      { "optionESCAPE", "[-ESCAPE \uff08\u8bbe\u7f6e\u8f6c\u4e49\u5b57\u7b26 {\u7f3a\u7701\u503c\u662f <>&\"\'\\r\\n}\uff09]"},
1386      { "optionINDENT", "[-INDENT \uff08\u63a7\u5236\u7f29\u8fdb\u591a\u5c11\u7a7a\u683c {\u7f3a\u7701\u503c\u662f 0}\uff09]"},
1387      { "optionTT", "[-TT \uff08\u5728\u6a21\u677f\u88ab\u8c03\u7528\u65f6\u8ddf\u8e2a\u6a21\u677f\u3002\uff09]"},
1388      { "optionTG", "[-TG \uff08\u8ddf\u8e2a\u6bcf\u4e00\u4e2a\u751f\u6210\u4e8b\u4ef6\u3002\uff09]"},
1389      { "optionTS", "[-TS \uff08\u8ddf\u8e2a\u6bcf\u4e00\u4e2a\u9009\u62e9\u4e8b\u4ef6\u3002\uff09]"},
1390      {  "optionTTC", "[-TTC \uff08\u5728\u5b50\u6a21\u677f\u88ab\u5904\u7406\u65f6\u5bf9\u5176\u8fdb\u884c\u8ddf\u8e2a\u3002\uff09]"},
1391      { "optionTCLASS", "[-TCLASS \uff08\u8ddf\u8e2a\u6269\u5c55\u7684 TraceListener \u7c7b\u3002\uff09]"},
1392      { "optionVALIDATE", "[-VALIDATE \uff08\u8bbe\u7f6e\u662f\u5426\u8fdb\u884c\u9a8c\u8bc1\u3002\u7f3a\u7701\u65f6\u9a8c\u8bc1\u662f\u5173\u95ed\u7684\u3002\uff09]"},
1393      { "optionEDUMP", "[-EDUMP {\u53ef\u9009\u6587\u4ef6\u540d} \uff08\u53d1\u751f\u9519\u8bef\u65f6\u5806\u6808\u8f6c\u50a8\u3002\uff09]"},
1394      {  "optionXML", "[-XML \uff08\u4f7f\u7528 XML \u683c\u5f0f\u5316\u7a0b\u5e8f\u5e76\u6dfb\u52a0 XML \u5934\u3002\uff09]"},
1395      {  "optionTEXT", "[-TEXT \uff08\u4f7f\u7528\u7b80\u5355\u6587\u672c\u683c\u5f0f\u5316\u7a0b\u5e8f\u3002\uff09]"},
1396      {  "optionHTML", "[-HTML \uff08\u4f7f\u7528 HTML \u683c\u5f0f\u5316\u7a0b\u5e8f\uff09]"},
1397      {  "optionPARAM", "[-PARAM name expression \uff08\u8bbe\u7f6e\u6837\u8bc6\u8868\u53c2\u6570\uff09]"},
1398      {  "noParsermsg1", "XSL \u5904\u7406\u4e0d\u6210\u529f\u3002"},
1399      {  "noParsermsg2", "** \u627e\u4e0d\u5230\u89e3\u6790\u5668 **"},
1400      { "noParsermsg3",  "\u8bf7\u68c0\u67e5\u60a8\u7684\u7c7b\u8def\u5f84\u3002"},
1401      { "noParsermsg4", "\u5982\u679c\u6ca1\u6709 IBM \u7684 XML Parser for Java\uff0c\u60a8\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u4f4d\u7f6e\u4e0b\u8f7d\u5b83\uff1a"},
1402      { "noParsermsg5", "IBM \u7684 AlphaWorks\uff1ahttp://www.alphaworks.ibm.com/formula/xml"},
1403      { "optionURIRESOLVER", "[-URIRESOLVER full class name \uff08\u4f7f\u7528 URIResolver \u89e3\u6790 URI\uff09]"},
1404      { "optionENTITYRESOLVER",  "[-ENTITYRESOLVER full class name \uff08\u4f7f\u7528 EntityResolver \u89e3\u6790\u5b9e\u4f53\uff09]"},
1405      { "optionCONTENTHANDLER",  "[-CONTENTHANDLER full class name \uff08\u4f7f\u7528 ContentHandler \u4e32\u884c\u5316\u8f93\u51fa\uff09]"},
1406      {  "optionLINENUMBERS",  "[-L use line numbers for source document]"},
1407      { "optionSECUREPROCESSING", "   [-SECURE \uff08\u5c06\u5b89\u5168\u5904\u7406\u529f\u80fd\u8bbe\u7f6e\u4e3a true\u3002\uff09]"},
1408    
1409        // Following are the new options added in XSLTErrorResources.properties files after Jdk 1.4 (Xalan 2.2-D11)
1410    
1411    
1412      {  "optionMEDIA",  "   [-MEDIA mediaType \uff08\u4f7f\u7528 media \u5c5e\u6027\u67e5\u627e\u4e0e\u6587\u6863\u5173\u8054\u7684\u6837\u5f0f\u8868\u3002\uff09]"},
1413      {  "optionFLAVOR",  "   [-FLAVOR flavorName \uff08\u663e\u5f0f\u4f7f\u7528 s2s=SAX \u6216 d2d=DOM \u8fdb\u884c\u8f6c\u6362\u3002\uff09]"}, // Added by sboag/scurcuru; experimental
1414      { "optionDIAG", "[-DIAG \uff08\u6253\u5370\u5168\u90e8\u6beb\u79d2\u8f6c\u6362\u6807\u8bb0\u3002\uff09]"},
1415      { "optionINCREMENTAL",  "   [-INCREMENTAL \uff08\u901a\u8fc7\u5c06 http://xml.apache.org/xalan/features/incremental \u8bbe\u7f6e\u4e3a true \u8bf7\u6c42\u589e\u91cf DTM \u6784\u9020\u3002\uff09]"},
1416      {  "optionNOOPTIMIMIZE",  "   [-NOOPTIMIMIZE \uff08\u901a\u8fc7\u5c06 http://xml.apache.org/xalan/features/optimize \u8bbe\u7f6e\u4e3a false \u8bf7\u6c42\u65e0\u6837\u5f0f\u8868\u7684\u4f18\u5316\u5904\u7406\u3002\uff09]"},
1417      { "optionRL",  "   [-RL recursionlimit \uff08\u65ad\u8a00\u6837\u5f0f\u8868\u9012\u5f52\u6df1\u5ea6\u7684\u6570\u5b57\u6781\u9650\u3002\uff09]"},
1418      {   "optionXO",  "[-XO [transletName] \uff08\u65ad\u8a00\u751f\u6210\u7684 translet \u7684\u540d\u79f0\uff09]"},
1419      {  "optionXD", "[-XD destinationDirectory \uff08\u6307\u5b9a translet \u7684\u76ee\u6807\u76ee\u5f55\uff09]"},
1420      {  "optionXJ",  "[-XJ jarfile \uff08\u5c06 translet \u7c7b\u6253\u5305\u6210\u540d\u79f0\u4e3a <jarfile> \u7684 jar \u6587\u4ef6\uff09]"},
1421      {   "optionXP",  "[-XP package \uff08\u6307\u51fa\u6240\u6709\u751f\u6210\u7684 translet \u7c7b\u7684\u8f6f\u4ef6\u5305\u540d\u79f0\u524d\u7f00\uff09]"},
1422    
1423      //AddITIONAL  STRINGS that need L10n
1424      // Note to translators:  The following message describes usage of a particular
1425      // command-line option that is used to enable the "template inlining"
1426      // optimization.  The optimization involves making a copy of the code
1427      // generated for a template in another template that refers to it.
1428      { "optionXN",  "[-XN \uff08\u542f\u7528\u6a21\u677f\u4ee3\u7801\u5d4c\u5165\uff09]" },
1429      { "optionXX",  "[-XX \uff08\u6253\u5f00\u9644\u52a0\u8c03\u8bd5\u6d88\u606f\u8f93\u51fa\uff09]"},
1430      { "optionXT" , "[-XT \uff08\u53ef\u80fd\u7684\u8bdd\u4f7f\u7528 translet \u8fdb\u884c\u8f6c\u6362\uff09]"},
1431      { "diagTiming","--------- {0} \u901a\u8fc7 {1} \u7684\u8f6c\u6362\u8017\u65f6 {2} \u6beb\u79d2" },
1432      { "recursionTooDeep","\u6a21\u677f\u5d4c\u5957\u592a\u6df1\u3002\u5d4c\u5957 = {0}\uff0c\u6a21\u677f {1} {2}" },
1433      { "nameIs", "\u540d\u79f0\u4e3a" },
1434      { "matchPatternIs", "\u5339\u914d\u6a21\u5f0f\u4e3a" }
1435    
1436      };
1437      }
1438      // ================= INFRASTRUCTURE ======================
1439    
1440      /** String for use when a bad error code was encountered.    */
1441      public static final String BAD_CODE = "BAD_CODE";
1442    
1443      /** String for use when formatting of the error string failed.   */
1444      public static final String FORMAT_FAILED = "FORMAT_FAILED";
1445    
1446      /** General error string.   */
1447      public static final String ERROR_STRING = "#\u9519\u8bef";
1448    
1449      /** String to prepend to error messages.  */
1450      public static final String ERROR_HEADER = "\u9519\u8bef\uff1a";
1451    
1452      /** String to prepend to warning messages.    */
1453      public static final String WARNING_HEADER = "\u8b66\u544a\uff1a";
1454    
1455      /** String to specify the XSLT module.  */
1456      public static final String XSL_HEADER = "XSLT ";
1457    
1458      /** String to specify the XML parser module.  */
1459      public static final String XML_HEADER = "XML ";
1460    
1461      /** I don't think this is used any more.
1462       * @deprecated  */
1463      public static final String QUERY_HEADER = "PATTERN ";
1464    
1465    
1466      /**
1467       *   Return a named ResourceBundle for a particular locale.  This method mimics the behavior
1468       *   of ResourceBundle.getBundle().
1469       *
1470       *   @param className the name of the class that implements the resource bundle.
1471       *   @return the ResourceBundle
1472       *   @throws MissingResourceException
1473       */
1474      public static final XSLTErrorResources loadResourceBundle(String className)
1475              throws MissingResourceException
1476      {
1477    
1478        Locale locale = Locale.getDefault();
1479        String suffix = getResourceSuffix(locale);
1480    
1481        try
1482        {
1483    
1484          // first try with the given locale
1485          return (XSLTErrorResources) ResourceBundle.getBundle(className
1486                  + suffix, locale);
1487        }
1488        catch (MissingResourceException e)
1489        {
1490          try  // try to fall back to en_US if we can't load
1491          {
1492    
1493            // Since we can't find the localized property file,
1494            // fall back to en_US.
1495            return (XSLTErrorResources) ResourceBundle.getBundle(className,
1496                    new Locale("zh", "CN"));
1497          }
1498          catch (MissingResourceException e2)
1499          {
1500    
1501            // Now we are really in trouble.
1502            // very bad, definitely very bad...not going to get very far
1503            throw new MissingResourceException(
1504              "Could not load any resource bundles.", className, "");
1505          }
1506        }
1507      }
1508    
1509      /**
1510       * Return the resource file suffic for the indicated locale
1511       * For most locales, this will be based the language code.  However
1512       * for Chinese, we do distinguish between Taiwan and PRC
1513       *
1514       * @param locale the locale
1515       * @return an String suffix which canbe appended to a resource name
1516       */
1517      private static final String getResourceSuffix(Locale locale)
1518      {
1519    
1520        String suffix = "_" + locale.getLanguage();
1521        String country = locale.getCountry();
1522    
1523        if (country.equals("TW"))
1524          suffix += "_" + country;
1525    
1526        return suffix;
1527      }
1528    
1529    
1530    }