KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > xpath > res > XPATHErrorResources_zh_CN


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: XPATHErrorResources_zh_CN.java,v 1.8 2004/02/17 04:36:45 minchau Exp $
18  */

19 package org.apache.xpath.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 Static string constant for the
31  * Key and update the contents array with Key, Value pair
32   * Also you need to update the count of messages(MAX_CODE)or
33  * the count of warnings(MAX_WARNING) [ Information purpose only]
34  * @xsl.usage advanced
35  */

36 public class XPATHErrorResources_zh_CN extends ListResourceBundle JavaDoc
37 {
38
39 /*
40  * General notes to translators:
41  *
42  * This file contains error and warning messages related to XPath Error
43  * Handling.
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  * 8) The context node is the node in the document with respect to which an
76  * XPath expression is being evaluated.
77  *
78  * 9) An iterator is an object that traverses nodes in the tree, one at a time.
79  *
80  * 10) NCName is an XML term used to describe a name that does not contain a
81  * colon (a "no-colon name").
82  *
83  * 11) QName is an XML term meaning "qualified name".
84  */

85
86   /** Field MAX_CODE */
87   public static final int MAX_CODE = 108; // this is needed to keep track of the number of messages
88

89   /** Field MAX_WARNING */
90   public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings
91

92   /** Field MAX_OTHERS */
93   public static final int MAX_OTHERS = 20;
94
95   /** Field MAX_MESSAGES */
96   public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
97
98
99   /*
100    * static variables
101    */

102   public static final String JavaDoc ERROR0000 = "ERROR0000";
103   public static final String JavaDoc ER_CURRENT_NOT_ALLOWED_IN_MATCH =
104          "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
105   public static final String JavaDoc ER_CURRENT_TAKES_NO_ARGS =
106          "ER_CURRENT_TAKES_NO_ARGS";
107   public static final String JavaDoc ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";
108   public static final String JavaDoc ER_CONTEXT_HAS_NO_OWNERDOC =
109          "ER_CONTEXT_HAS_NO_OWNERDOC";
110   public static final String JavaDoc ER_LOCALNAME_HAS_TOO_MANY_ARGS =
111          "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
112   public static final String JavaDoc ER_NAMESPACEURI_HAS_TOO_MANY_ARGS =
113          "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS";
114   public static final String JavaDoc ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS =
115          "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS";
116   public static final String JavaDoc ER_NUMBER_HAS_TOO_MANY_ARGS =
117          "ER_NUMBER_HAS_TOO_MANY_ARGS";
118   public static final String JavaDoc ER_NAME_HAS_TOO_MANY_ARGS =
119          "ER_NAME_HAS_TOO_MANY_ARGS";
120   public static final String JavaDoc ER_STRING_HAS_TOO_MANY_ARGS =
121          "ER_STRING_HAS_TOO_MANY_ARGS";
122   public static final String JavaDoc ER_STRINGLENGTH_HAS_TOO_MANY_ARGS =
123          "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS";
124   public static final String JavaDoc ER_TRANSLATE_TAKES_3_ARGS =
125          "ER_TRANSLATE_TAKES_3_ARGS";
126   public static final String JavaDoc ER_UNPARSEDENTITYURI_TAKES_1_ARG =
127          "ER_UNPARSEDENTITYURI_TAKES_1_ARG";
128   public static final String JavaDoc ER_NAMESPACEAXIS_NOT_IMPLEMENTED =
129          "ER_NAMESPACEAXIS_NOT_IMPLEMENTED";
130   public static final String JavaDoc ER_UNKNOWN_AXIS = "ER_UNKNOWN_AXIS";
131   public static final String JavaDoc ER_UNKNOWN_MATCH_OPERATION =
132          "ER_UNKNOWN_MATCH_OPERATION";
133   public static final String JavaDoc ER_INCORRECT_ARG_LENGTH ="ER_INCORRECT_ARG_LENGTH";
134   public static final String JavaDoc ER_CANT_CONVERT_TO_NUMBER =
135          "ER_CANT_CONVERT_TO_NUMBER";
136   public static final String JavaDoc ER_CANT_CONVERT_TO_NODELIST =
137          "ER_CANT_CONVERT_TO_NODELIST";
138   public static final String JavaDoc ER_CANT_CONVERT_TO_MUTABLENODELIST =
139          "ER_CANT_CONVERT_TO_MUTABLENODELIST";
140   public static final String JavaDoc ER_CANT_CONVERT_TO_TYPE ="ER_CANT_CONVERT_TO_TYPE";
141   public static final String JavaDoc ER_EXPECTED_MATCH_PATTERN =
142          "ER_EXPECTED_MATCH_PATTERN";
143   public static final String JavaDoc ER_COULDNOT_GET_VAR_NAMED =
144          "ER_COULDNOT_GET_VAR_NAMED";
145   public static final String JavaDoc ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE";
146   public static final String JavaDoc ER_EXTRA_ILLEGAL_TOKENS ="ER_EXTRA_ILLEGAL_TOKENS";
147   public static final String JavaDoc ER_EXPECTED_DOUBLE_QUOTE =
148          "ER_EXPECTED_DOUBLE_QUOTE";
149   public static final String JavaDoc ER_EXPECTED_SINGLE_QUOTE =
150          "ER_EXPECTED_SINGLE_QUOTE";
151   public static final String JavaDoc ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION";
152   public static final String JavaDoc ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND";
153   public static final String JavaDoc ER_INCORRECT_PROGRAMMER_ASSERTION =
154          "ER_INCORRECT_PROGRAMMER_ASSERTION";
155   public static final String JavaDoc ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL =
156          "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL";
157   public static final String JavaDoc ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG =
158          "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG";
159   public static final String JavaDoc ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG =
160          "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG";
161   public static final String JavaDoc ER_PREDICATE_ILLEGAL_SYNTAX =
162          "ER_PREDICATE_ILLEGAL_SYNTAX";
163   public static final String JavaDoc ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME";
164   public static final String JavaDoc ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE";
165   public static final String JavaDoc ER_PATTERN_LITERAL_NEEDS_BE_QUOTED =
166          "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED";
167   public static final String JavaDoc ER_COULDNOT_BE_FORMATTED_TO_NUMBER =
168          "ER_COULDNOT_BE_FORMATTED_TO_NUMBER";
169   public static final String JavaDoc ER_COULDNOT_CREATE_XMLPROCESSORLIAISON =
170          "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON";
171   public static final String JavaDoc ER_DIDNOT_FIND_XPATH_SELECT_EXP =
172          "ER_DIDNOT_FIND_XPATH_SELECT_EXP";
173   public static final String JavaDoc ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH =
174          "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH";
175   public static final String JavaDoc ER_ERROR_OCCURED = "ER_ERROR_OCCURED";
176   public static final String JavaDoc ER_ILLEGAL_VARIABLE_REFERENCE =
177          "ER_ILLEGAL_VARIABLE_REFERENCE";
178   public static final String JavaDoc ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED";
179   public static final String JavaDoc ER_KEY_HAS_TOO_MANY_ARGS =
180          "ER_KEY_HAS_TOO_MANY_ARGS";
181   public static final String JavaDoc ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG";
182   public static final String JavaDoc ER_COULDNOT_FIND_FUNCTION =
183          "ER_COULDNOT_FIND_FUNCTION";
184   public static final String JavaDoc ER_UNSUPPORTED_ENCODING ="ER_UNSUPPORTED_ENCODING";
185   public static final String JavaDoc ER_PROBLEM_IN_DTM_NEXTSIBLING =
186          "ER_PROBLEM_IN_DTM_NEXTSIBLING";
187   public static final String JavaDoc ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL =
188          "ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL";
189   public static final String JavaDoc ER_SETDOMFACTORY_NOT_SUPPORTED =
190          "ER_SETDOMFACTORY_NOT_SUPPORTED";
191   public static final String JavaDoc ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
192   public static final String JavaDoc ER_PARSE_NOT_SUPPORTED = "ER_PARSE_NOT_SUPPORTED";
193   //public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED =
194
// "ER_CREATEDOCUMENT_NOT_SUPPORTED";
195
//public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT =
196
// "ER_CHILD_HAS_NO_OWNER_DOCUMENT";
197
//public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT =
198
// "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT";
199
public static final String JavaDoc ER_SAX_API_NOT_HANDLED = "ER_SAX_API_NOT_HANDLED";
200 public static final String JavaDoc ER_IGNORABLE_WHITESPACE_NOT_HANDLED =
201          "ER_IGNORABLE_WHITESPACE_NOT_HANDLED";
202   public static final String JavaDoc ER_DTM_CANNOT_HANDLE_NODES =
203          "ER_DTM_CANNOT_HANDLE_NODES";
204   public static final String JavaDoc ER_XERCES_CANNOT_HANDLE_NODES =
205          "ER_XERCES_CANNOT_HANDLE_NODES";
206   public static final String JavaDoc ER_XERCES_PARSE_ERROR_DETAILS =
207          "ER_XERCES_PARSE_ERROR_DETAILS";
208   public static final String JavaDoc ER_XERCES_PARSE_ERROR = "ER_XERCES_PARSE_ERROR";
209   //public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC =
210
// "ER_CANT_OUTPUT_TEXT_BEFORE_DOC";
211
//public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT =
212
// "ER_CANT_HAVE_MORE_THAN_ONE_ROOT";
213
public static final String JavaDoc ER_INVALID_UTF16_SURROGATE =
214          "ER_INVALID_UTF16_SURROGATE";
215   public static final String JavaDoc ER_OIERROR = "ER_OIERROR";
216   public static final String JavaDoc ER_CANNOT_CREATE_URL = "ER_CANNOT_CREATE_URL";
217   public static final String JavaDoc ER_XPATH_READOBJECT = "ER_XPATH_READOBJECT";
218  public static final String JavaDoc ER_FUNCTION_TOKEN_NOT_FOUND =
219          "ER_FUNCTION_TOKEN_NOT_FOUND";
220  //public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
221
public static final String JavaDoc ER_CANNOT_DEAL_XPATH_TYPE =
222          "ER_CANNOT_DEAL_XPATH_TYPE";
223   public static final String JavaDoc ER_NODESET_NOT_MUTABLE = "ER_NODESET_NOT_MUTABLE";
224   public static final String JavaDoc ER_NODESETDTM_NOT_MUTABLE =
225          "ER_NODESETDTM_NOT_MUTABLE";
226    /** Variable not resolvable: */
227   public static final String JavaDoc ER_VAR_NOT_RESOLVABLE = "ER_VAR_NOT_RESOLVABLE";
228    /** Null error handler */
229  public static final String JavaDoc ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
230    /** Programmer's assertion: unknown opcode */
231   public static final String JavaDoc ER_PROG_ASSERT_UNKNOWN_OPCODE =
232          "ER_PROG_ASSERT_UNKNOWN_OPCODE";
233    /** 0 or 1 */
234   public static final String JavaDoc ER_ZERO_OR_ONE = "ER_ZERO_OR_ONE";
235    /** rtf() not supported by XRTreeFragSelectWrapper */
236   public static final String JavaDoc ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
237          "ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
238    /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
239   public static final String JavaDoc ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
240    /** fsb() not supported for XStringForChars */
241   public static final String JavaDoc ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS =
242          "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS";
243    /** Could not find variable with the name of */
244  public static final String JavaDoc ER_COULD_NOT_FIND_VAR = "ER_COULD_NOT_FIND_VAR";
245    /** XStringForChars can not take a string for an argument */
246  public static final String JavaDoc ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING =
247          "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING";
248    /** The FastStringBuffer argument can not be null */
249  public static final String JavaDoc ER_FASTSTRINGBUFFER_CANNOT_BE_NULL =
250          "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL";
251    /** 2 or 3 */
252   public static final String JavaDoc ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
253    /** Variable accessed before it is bound! */
254   public static final String JavaDoc ER_VARIABLE_ACCESSED_BEFORE_BIND =
255          "ER_VARIABLE_ACCESSED_BEFORE_BIND";
256    /** XStringForFSB can not take a string for an argument! */
257  public static final String JavaDoc ER_FSB_CANNOT_TAKE_STRING =
258          "ER_FSB_CANNOT_TAKE_STRING";
259    /** Error! Setting the root of a walker to null! */
260   public static final String JavaDoc ER_SETTING_WALKER_ROOT_TO_NULL =
261          "ER_SETTING_WALKER_ROOT_TO_NULL";
262    /** This NodeSetDTM can not iterate to a previous node! */
263   public static final String JavaDoc ER_NODESETDTM_CANNOT_ITERATE =
264          "ER_NODESETDTM_CANNOT_ITERATE";
265   /** This NodeSet can not iterate to a previous node! */
266  public static final String JavaDoc ER_NODESET_CANNOT_ITERATE =
267          "ER_NODESET_CANNOT_ITERATE";
268   /** This NodeSetDTM can not do indexing or counting functions! */
269   public static final String JavaDoc ER_NODESETDTM_CANNOT_INDEX =
270          "ER_NODESETDTM_CANNOT_INDEX";
271   /** This NodeSet can not do indexing or counting functions! */
272   public static final String JavaDoc ER_NODESET_CANNOT_INDEX =
273          "ER_NODESET_CANNOT_INDEX";
274   /** Can not call setShouldCacheNodes after nextNode has been called! */
275   public static final String JavaDoc ER_CANNOT_CALL_SETSHOULDCACHENODE =
276          "ER_CANNOT_CALL_SETSHOULDCACHENODE";
277   /** {0} only allows {1} arguments */
278  public static final String JavaDoc ER_ONLY_ALLOWS = "ER_ONLY_ALLOWS";
279   /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
280   public static final String JavaDoc ER_UNKNOWN_STEP = "ER_UNKNOWN_STEP";
281   /** Problem with RelativeLocationPath */
282   public static final String JavaDoc ER_EXPECTED_REL_LOC_PATH =
283          "ER_EXPECTED_REL_LOC_PATH";
284   /** Problem with LocationPath */
285   public static final String JavaDoc ER_EXPECTED_LOC_PATH = "ER_EXPECTED_LOC_PATH";
286   /** Problem with Step */
287   public static final String JavaDoc ER_EXPECTED_LOC_STEP = "ER_EXPECTED_LOC_STEP";
288   /** Problem with NodeTest */
289   public static final String JavaDoc ER_EXPECTED_NODE_TEST = "ER_EXPECTED_NODE_TEST";
290   /** Expected step pattern */
291   public static final String JavaDoc ER_EXPECTED_STEP_PATTERN =
292         "ER_EXPECTED_STEP_PATTERN";
293   /** Expected relative path pattern */
294   public static final String JavaDoc ER_EXPECTED_REL_PATH_PATTERN =
295          "ER_EXPECTED_REL_PATH_PATTERN";
296   /** localname in QNAME should be a valid NCName */
297   //public static final String ER_ARG_LOCALNAME_INVALID =
298
// "ER_ARG_LOCALNAME_INVALID";
299
/** prefix in QNAME should be a valid NCName */
300   //public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
301
/** Field ER_CANT_CONVERT_TO_BOOLEAN */
302   public static final String JavaDoc ER_CANT_CONVERT_TO_BOOLEAN =
303          "ER_CANT_CONVERT_TO_BOOLEAN";
304   /** Field ER_CANT_CONVERT_TO_SINGLENODE */
305   public static final String JavaDoc ER_CANT_CONVERT_TO_SINGLENODE =
306          "ER_CANT_CONVERT_TO_SINGLENODE";
307   /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
308   public static final String JavaDoc ER_CANT_GET_SNAPSHOT_LENGTH =
309          "ER_CANT_GET_SNAPSHOT_LENGTH";
310   /** Field ER_NON_ITERATOR_TYPE */
311   public static final String JavaDoc ER_NON_ITERATOR_TYPE = "ER_NON_ITERATOR_TYPE";
312   /** Field ER_DOC_MUTATED */
313   public static final String JavaDoc ER_DOC_MUTATED = "ER_DOC_MUTATED";
314   public static final String JavaDoc ER_INVALID_XPATH_TYPE = "ER_INVALID_XPATH_TYPE";
315   public static final String JavaDoc ER_EMPTY_XPATH_RESULT = "ER_EMPTY_XPATH_RESULT";
316   public static final String JavaDoc ER_INCOMPATIBLE_TYPES = "ER_INCOMPATIBLE_TYPES";
317   public static final String JavaDoc ER_NULL_RESOLVER = "ER_NULL_RESOLVER";
318   public static final String JavaDoc ER_CANT_CONVERT_TO_STRING =
319          "ER_CANT_CONVERT_TO_STRING";
320   public static final String JavaDoc ER_NON_SNAPSHOT_TYPE = "ER_NON_SNAPSHOT_TYPE";
321   public static final String JavaDoc ER_WRONG_DOCUMENT = "ER_WRONG_DOCUMENT";
322   /* Note to translators: The XPath expression cannot be evaluated with respect
323    * to this type of node.
324    */

325   /** Field ER_WRONG_NODETYPE */
326   public static final String JavaDoc ER_WRONG_NODETYPE = "ER_WRONG_NODETYPE";
327   public static final String JavaDoc ER_XPATH_ERROR = "ER_XPATH_ERROR";
328
329   public static final String JavaDoc WG_LOCALE_NAME_NOT_HANDLED =
330          "WG_LOCALE_NAME_NOT_HANDLED";
331   public static final String JavaDoc WG_PROPERTY_NOT_SUPPORTED =
332          "WG_PROPERTY_NOT_SUPPORTED";
333   public static final String JavaDoc WG_DONT_DO_ANYTHING_WITH_NS =
334          "WG_DONT_DO_ANYTHING_WITH_NS";
335   public static final String JavaDoc WG_SECURITY_EXCEPTION = "WG_SECURITY_EXCEPTION";
336   public static final String JavaDoc WG_QUO_NO_LONGER_DEFINED =
337          "WG_QUO_NO_LONGER_DEFINED";
338   public static final String JavaDoc WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST =
339          "WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST";
340   public static final String JavaDoc WG_FUNCTION_TOKEN_NOT_FOUND =
341          "WG_FUNCTION_TOKEN_NOT_FOUND";
342   public static final String JavaDoc WG_COULDNOT_FIND_FUNCTION =
343          "WG_COULDNOT_FIND_FUNCTION";
344   public static final String JavaDoc WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM";
345   public static final String JavaDoc WG_EXPAND_ENTITIES_NOT_SUPPORTED =
346          "WG_EXPAND_ENTITIES_NOT_SUPPORTED";
347   public static final String JavaDoc WG_ILLEGAL_VARIABLE_REFERENCE =
348          "WG_ILLEGAL_VARIABLE_REFERENCE";
349   public static final String JavaDoc WG_UNSUPPORTED_ENCODING ="WG_UNSUPPORTED_ENCODING";
350
351
352   // Error messages...
353

354   public static final Object JavaDoc[][] contents = {
355
356   /** Field ERROR0000 */
357
358 // public static final int ERROR0000 = 0;
359

360   { "ERROR0000" , "{0}" },
361
362
363   /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH */
364 // public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1;
365

366   { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "\u5339\u914d\u6a21\u5f0f\u4e2d\u4e0d\u5141\u8bb8\u51fa\u73b0 current() \u51fd\u6570\uff01" },
367
368   /** Field ER_CURRENT_TAKES_NO_ARGS */
369   //public static final int ER_CURRENT_TAKES_NO_ARGS = 2;
370

371   { ER_CURRENT_TAKES_NO_ARGS, "current() \u51fd\u6570\u4e0d\u63a5\u53d7\u81ea\u53d8\u91cf\uff01" },
372
373   /** Field ER_DOCUMENT_REPLACED */
374 // public static final int ER_DOCUMENT_REPLACED = 3;
375
{ ER_DOCUMENT_REPLACED,
376       "document() \u51fd\u6570\u5b9e\u73b0\u5df2\u88ab org.apache.xalan.xslt.FuncDocument \u66ff\u6362\uff01"},
377
378
379   /** Field ER_CONTEXT_HAS_NO_OWNERDOC */
380  // public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4;
381

382   { ER_CONTEXT_HAS_NO_OWNERDOC,
383       "\u4e0a\u4e0b\u6587\u6ca1\u6709\u6240\u6709\u8005\u6587\u6863\uff01"},
384
385   /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
386  // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
387

388   { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
389       "local-name() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002"},
390
391   /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
392  //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
393

394   { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
395       "namespace-uri() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002"},
396
397   /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
398 // public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
399
{ ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
400       "normalize-space() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002"},
401
402   /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
403 // public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
404

405   { ER_NUMBER_HAS_TOO_MANY_ARGS,
406       "number() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002"},
407
408   /** Field ER_NAME_HAS_TOO_MANY_ARGS */
409 // public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
410

411   { ER_NAME_HAS_TOO_MANY_ARGS,
412      "name() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002"},
413
414   /** Field ER_STRING_HAS_TOO_MANY_ARGS */
415 // public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
416

417   { ER_STRING_HAS_TOO_MANY_ARGS,
418       "string() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002"},
419
420   /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
421 // public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
422

423   { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
424       "string-length() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002"},
425
426   /** Field ER_TRANSLATE_TAKES_3_ARGS */
427 // public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
428

429   { ER_TRANSLATE_TAKES_3_ARGS,
430       "translate() \u51fd\u6570\u6709\u4e09\u4e2a\u81ea\u53d8\u91cf\uff01"},
431
432   /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */
433 // public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
434

435   { ER_UNPARSEDENTITYURI_TAKES_1_ARG,
436       "unparsed-entity-uri \u51fd\u6570\u5e94\u6709\u4e00\u4e2a\u81ea\u53d8\u91cf\uff01"},
437
438   /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
439 // public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
440

441   { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
442       "\u540d\u79f0\u7a7a\u95f4\u8f74\u5c1a\u672a\u5b9e\u73b0\uff01"},
443
444   /** Field ER_UNKNOWN_AXIS */
445 // public static final int ER_UNKNOWN_AXIS = 15;
446

447   { ER_UNKNOWN_AXIS,
448      "\u672a\u77e5\u8f74\uff1a{0}"},
449
450   /** Field ER_UNKNOWN_MATCH_OPERATION */
451 // public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
452

453   { ER_UNKNOWN_MATCH_OPERATION,
454      "\u672a\u77e5\u7684\u5339\u914d\u64cd\u4f5c\uff01"},
455
456   /** Field ER_INCORRECT_ARG_LENGTH */
457 // public static final int ER_INCORRECT_ARG_LENGTH = 17;
458

459   { ER_INCORRECT_ARG_LENGTH,
460       "processing-instruction() \u8282\u70b9\u6d4b\u8bd5\u7684\u81ea\u53d8\u91cf\u957f\u5ea6\u4e0d\u6b63\u786e\uff01"},
461
462   /** Field ER_CANT_CONVERT_TO_NUMBER */
463 // public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
464

465   { ER_CANT_CONVERT_TO_NUMBER,
466       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u6570\u5b57"},
467
468   /** Field ER_CANT_CONVERT_TO_NODELIST */
469   //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
470

471   { ER_CANT_CONVERT_TO_NODELIST,
472       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210 NodeList\uff01"},
473
474   /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */
475 // public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
476

477   { ER_CANT_CONVERT_TO_MUTABLENODELIST,
478       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210 NodeSetDTM\uff01"},
479
480   /** Field ER_CANT_CONVERT_TO_TYPE */
481 // public static final int ER_CANT_CONVERT_TO_TYPE = 21;
482

483   { ER_CANT_CONVERT_TO_TYPE,
484       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210 type#{1}"},
485
486   /** Field ER_EXPECTED_MATCH_PATTERN */
487 // public static final int ER_EXPECTED_MATCH_PATTERN = 22;
488

489   { ER_EXPECTED_MATCH_PATTERN,
490       "getMatchScore \u4e2d\u671f\u671b\u7684\u5339\u914d\u6a21\u5f0f\uff01"},
491
492   /** Field ER_COULDNOT_GET_VAR_NAMED */
493 // public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
494

495   { ER_COULDNOT_GET_VAR_NAMED,
496       "\u65e0\u6cd5\u83b7\u53d6\u540d\u4e3a {0} \u7684\u53d8\u91cf"},
497
498   /** Field ER_UNKNOWN_OPCODE */
499 // public static final int ER_UNKNOWN_OPCODE = 24;
500

501   { ER_UNKNOWN_OPCODE,
502      "\u9519\u8bef\uff01\u672a\u77e5\u64cd\u4f5c\u7801\uff1a{0}"},
503
504   /** Field ER_EXTRA_ILLEGAL_TOKENS */
505 // public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
506

507   { ER_EXTRA_ILLEGAL_TOKENS,
508      "\u989d\u5916\u7684\u975e\u6cd5\u6807\u8bb0\uff1a{0}"},
509
510   /** Field ER_EXPECTED_DOUBLE_QUOTE */
511 // public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
512

513   { ER_EXPECTED_DOUBLE_QUOTE,
514       "\u9519\u8bef\u5f15\u7528\u7684\u6587\u5b57... \u671f\u671b\u4e3a\u53cc\u5f15\u53f7\uff01"},
515
516   /** Field ER_EXPECTED_SINGLE_QUOTE */
517 // public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
518

519   { ER_EXPECTED_SINGLE_QUOTE,
520       "\u9519\u8bef\u5f15\u7528\u7684\u6587\u5b57... \u671f\u671b\u4e3a\u5355\u5f15\u53f7\uff01"},
521
522   /** Field ER_EMPTY_EXPRESSION */
523 // public static final int ER_EMPTY_EXPRESSION = 28;
524

525   { ER_EMPTY_EXPRESSION,
526      "\u7a7a\u8868\u8fbe\u5f0f\uff01"},
527
528   /** Field ER_EXPECTED_BUT_FOUND */
529 // public static final int ER_EXPECTED_BUT_FOUND = 29;
530

531   { ER_EXPECTED_BUT_FOUND,
532      "\u671f\u671b {0}\uff0c\u4f46\u627e\u5230\u4e86\uff1a{1}"},
533
534   /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */
535 // public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
536

537   { ER_INCORRECT_PROGRAMMER_ASSERTION,
538       "\u7a0b\u5e8f\u5458\u7684\u65ad\u5b9a\u4e0d\u6b63\u786e\uff01\u2015 {0}"},
539
540   /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */
541 // public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
542

543   { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
544       "19990709 XPath \u8349\u7a3f\u4e2d\uff0c\u5e03\u5c14\uff08...\uff09\u81ea\u53d8\u91cf\u4e0d\u518d\u662f\u53ef\u9009\u7684\u4e86\u3002"},
545
546   /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */
547 // public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
548

549   { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
550       "\u5df2\u627e\u5230\u201c\uff0c\u201d\u4f46\u524d\u9762\u6ca1\u6709\u81ea\u53d8\u91cf\uff01"},
551
552   /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */
553 // public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
554

555   { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
556       "\u5df2\u627e\u5230\u201c\uff0c\u201d\u4f46\u540e\u9762\u6ca1\u6709\u81ea\u53d8\u91cf\uff01"},
557
558   /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
559 // public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
560

561   { ER_PREDICATE_ILLEGAL_SYNTAX,
562       "\u201c..[predicate]\u201d\u6216\u201c.[predicate]\u201d\u662f\u975e\u6cd5\u7684\u8bed\u6cd5\u3002\u8bf7\u6539\u4e3a\u4f7f\u7528\u201cself::node()[predicate]\u201d\u3002"},
563
564   /** Field ER_ILLEGAL_AXIS_NAME */
565 // public static final int ER_ILLEGAL_AXIS_NAME = 35;
566

567   { ER_ILLEGAL_AXIS_NAME,
568      "\u975e\u6cd5\u7684\u8f74\u540d\u79f0\uff1a{0}"},
569
570   /** Field ER_UNKNOWN_NODETYPE */
571 // public static final int ER_UNKNOWN_NODETYPE = 36;
572

573   { ER_UNKNOWN_NODETYPE,
574      "\u672a\u77e5\u8282\u70b9\u7c7b\u578b\uff1a{0}"},
575
576   /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */
577 // public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
578

579   { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
580       "\u9700\u8981\u5f15\u7528\u6a21\u5f0f\u6587\u5b57\uff08{0}\uff09\uff01"},
581
582   /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */
583 // public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
584

585   { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
586       "{0} \u65e0\u6cd5\u683c\u5f0f\u5316\u4e3a\u6570\u5b57\uff01"},
587
588   /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
589 // public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
590

591   { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
592       "\u65e0\u6cd5\u521b\u5efa XML TransformerFactory \u8054\u7cfb\uff1a{0}"},
593
594   /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */
595 // public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
596

597   { ER_DIDNOT_FIND_XPATH_SELECT_EXP,
598       "\u9519\u8bef\uff01\u627e\u4e0d\u5230 xpath \u9009\u62e9\u8868\u8fbe\u5f0f\uff08-select\uff09\u3002"},
599
600   /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
601 // public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
602

603   { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
604       "\u9519\u8bef\uff01\u5728 OP_LOCATIONPATH \u4e4b\u540e\u627e\u4e0d\u5230 ENDOP"},
605
606   /** Field ER_ERROR_OCCURED */
607 // public static final int ER_ERROR_OCCURED = 42;
608

609   { ER_ERROR_OCCURED,
610      "\u51fa\u73b0\u9519\u8bef\uff01"},
611
612   /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
613 // public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
614

615   { ER_ILLEGAL_VARIABLE_REFERENCE,
616       "\u5c06 VariableReference \u8d4b\u7ed9\u4e0a\u4e0b\u6587\u5916\u7684\u53d8\u91cf\u6216\u6ca1\u6709\u5b9a\u4e49\u7684\u53d8\u91cf\uff01\u540d\u79f0 = {0}"},
617
618   /** Field ER_AXES_NOT_ALLOWED */
619 // public static final int ER_AXES_NOT_ALLOWED = 44;
620

621   { ER_AXES_NOT_ALLOWED,
622       "\u5728\u5339\u914d\u6a21\u5f0f\u4e2d\u53ea\u5141\u8bb8 child:: \u548c attribute:: \u8f74\uff01\u8fdd\u53cd\u7684\u8f74 = {0}"},
623
624   /** Field ER_KEY_HAS_TOO_MANY_ARGS */
625 // public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
626

627   { ER_KEY_HAS_TOO_MANY_ARGS,
628       "key() \u7684\u81ea\u53d8\u91cf\u4e2a\u6570\u4e0d\u6b63\u786e\u3002"},
629
630   /** Field ER_COUNT_TAKES_1_ARG */
631 // public static final int ER_COUNT_TAKES_1_ARG = 46;
632

633   { ER_COUNT_TAKES_1_ARG,
634       "count \u51fd\u6570\u5e94\u8be5\u6709\u4e00\u4e2a\u81ea\u53d8\u91cf\uff01"},
635
636   /** Field ER_COULDNOT_FIND_FUNCTION */
637 // public static final int ER_COULDNOT_FIND_FUNCTION = 47;
638

639   { ER_COULDNOT_FIND_FUNCTION,
640      "\u627e\u4e0d\u5230\u51fd\u6570\uff1a{0}"},
641
642   /** Field ER_UNSUPPORTED_ENCODING */
643 // public static final int ER_UNSUPPORTED_ENCODING = 48;
644

645   { ER_UNSUPPORTED_ENCODING,
646      "\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\uff1a{0}"},
647
648   /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */
649 // public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
650

651   { ER_PROBLEM_IN_DTM_NEXTSIBLING,
652       "getNextSibling \u8fc7\u7a0b\u4e2d\uff0cDTM \u4e2d\u51fa\u73b0\u95ee\u9898...\u6b63\u5728\u5c1d\u8bd5\u6062\u590d"},
653
654   /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */
655 // public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
656

657   { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
658       "\u7a0b\u5e8f\u5458\u9519\u8bef\uff1aEmptyNodeList \u4e0d\u53ef\u5199\u3002"},
659
660   /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
661 // public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
662

663   { ER_SETDOMFACTORY_NOT_SUPPORTED,
664       "XPathContext \u4e0d\u652f\u6301 setDOMFactory\uff01"},
665
666   /** Field ER_PREFIX_MUST_RESOLVE */
667 // public static final int ER_PREFIX_MUST_RESOLVE = 52;
668

669   { ER_PREFIX_MUST_RESOLVE,
670       "\u524d\u7f00\u5fc5\u987b\u89e3\u6790\u4e3a\u540d\u79f0\u7a7a\u95f4\uff1a{0}"},
671
672   /** Field ER_PARSE_NOT_SUPPORTED */
673 // public static final int ER_PARSE_NOT_SUPPORTED = 53;
674

675   { ER_PARSE_NOT_SUPPORTED,
676       "XPathContext \u4e2d\u4e0d\u652f\u6301 parse (InputSource source)\uff01\u65e0\u6cd5\u6253\u5f00 {0}"},
677
678   /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */
679 // public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
680

681   //{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
682
// "createDocument() not supported in XPathContext!"},
683

684   /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT */
685 // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
686

687   //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
688
// "Attribute child does not have an owner document!"},
689

690   /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT */
691 // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
692

693   //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
694
// "Attribute child does not have an owner document element!"},
695

696   /** Field ER_SAX_API_NOT_HANDLED */
697 // public static final int ER_SAX_API_NOT_HANDLED = 57;
698

699   { ER_SAX_API_NOT_HANDLED,
700       "DTM \u4e0d\u5904\u7406 SAX API characters(char ch[]...\uff01"},
701
702   /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */
703 //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
704

705   { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
706       "DTM \u4e0d\u5904\u7406 ignorableWhitespace(char ch[]...\uff01"},
707
708   /** Field ER_DTM_CANNOT_HANDLE_NODES */
709 // public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
710

711   { ER_DTM_CANNOT_HANDLE_NODES,
712       "DTMLiaison \u4e0d\u80fd\u5904\u7406\u7c7b\u578b {0} \u7684\u8282\u70b9"},
713
714   /** Field ER_XERCES_CANNOT_HANDLE_NODES */
715 // public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
716

717   { ER_XERCES_CANNOT_HANDLE_NODES,
718       "DOM2Helper \u4e0d\u80fd\u5904\u7406\u7c7b\u578b {0} \u7684\u8282\u70b9"},
719
720   /** Field ER_XERCES_PARSE_ERROR_DETAILS */
721 // public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
722

723   { ER_XERCES_PARSE_ERROR_DETAILS,
724       "DOM2Helper.parse \u9519\u8bef\uff1aSystemID \uff0d \u7b2c {0} \u884c \uff0d {1}"},
725
726   /** Field ER_XERCES_PARSE_ERROR */
727 // public static final int ER_XERCES_PARSE_ERROR = 62;
728

729   { ER_XERCES_PARSE_ERROR,
730      "DOM2Helper.parse \u9519\u8bef"},
731
732   /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC */
733 // public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
734

735   //{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
736
// "Warning: can't output text before document element! Ignoring..."},
737

738   /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT */
739 // public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
740

741   //{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
742
// "Can't have more than one root on a DOM!"},
743

744   /** Field ER_INVALID_UTF16_SURROGATE */
745 // public static final int ER_INVALID_UTF16_SURROGATE = 65;
746

747   { ER_INVALID_UTF16_SURROGATE,
748       "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u66ff\u4ee3\u8005\uff1a{0}\uff1f"},
749
750   /** Field ER_OIERROR */
751   //public static final int ER_OIERROR = 66;
752

753   { ER_OIERROR,
754      "IO \u9519\u8bef"},
755
756   /** Field ER_CANNOT_CREATE_URL */
757   //public static final int ER_CANNOT_CREATE_URL = 67;
758

759   { ER_CANNOT_CREATE_URL,
760      "\u65e0\u6cd5\u4e3a {0} \u521b\u5efa URL"},
761
762   /** Field ER_XPATH_READOBJECT */
763 // public static final int ER_XPATH_READOBJECT = 68;
764

765   { ER_XPATH_READOBJECT,
766      "\u5728 XPath.readObject \u4e2d\uff1a{0}"},
767
768   /** Field ER_FUNCTION_TOKEN_NOT_FOUND */
769 // public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
770

771   { ER_FUNCTION_TOKEN_NOT_FOUND,
772       "\u627e\u4e0d\u5230\u51fd\u6570\u4ee4\u724c\u3002"},
773
774    /** Argument 'localName' is null */
775 // public static final int ER_ARG_LOCALNAME_NULL = 70;
776

777   //{ ER_ARG_LOCALNAME_NULL,
778
// "Argument 'localName' is null"},
779

780    /** Can not deal with XPath type: */
781 // public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
782

783   { ER_CANNOT_DEAL_XPATH_TYPE,
784        "\u65e0\u6cd5\u5904\u7406 XPath \u7c7b\u578b\uff1a{0}"},
785
786    /** This NodeSet is not mutable */
787  // public static final int ER_NODESET_NOT_MUTABLE = 72;
788

789   { ER_NODESET_NOT_MUTABLE,
790        "\u6b64 NodeSet \u662f\u4e0d\u6613\u53d8\u7684"},
791
792    /** This NodeSetDTM is not mutable */
793 // public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
794

795   { ER_NODESETDTM_NOT_MUTABLE,
796        "\u6b64 NodeSetDTM \u662f\u4e0d\u6613\u53d8\u7684"},
797
798    /** Variable not resolvable: */
799 // public static final int ER_VAR_NOT_RESOLVABLE = 74;
800

801   { ER_VAR_NOT_RESOLVABLE,
802         "\u53d8\u91cf\u4e0d\u53ef\u89e3\u6790\uff1a{0}"},
803
804    /** Null error handler */
805 // public static final int ER_NULL_ERROR_HANDLER = 75;
806

807   { ER_NULL_ERROR_HANDLER,
808         "\u9519\u8bef\u5904\u7406\u7a0b\u5e8f\u4e3a\u7a7a"},
809
810    /** Programmer's assertion: unknown opcode */
811  // public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
812

813   { ER_PROG_ASSERT_UNKNOWN_OPCODE,
814        "\u7a0b\u5e8f\u5458\u65ad\u8a00\uff1a\u672a\u77e5\u64cd\u4f5c\u7801\uff1a{0}"},
815
816    /** 0 or 1 */
817 // public static final int ER_ZERO_OR_ONE = 77;
818

819   { ER_ZERO_OR_ONE,
820        "0 \u6216 1"},
821
822
823    /** rtf() not supported by XRTreeFragSelectWrapper */
824   //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
825

826   { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
827        "XRTreeFragSelectWrapper \u4e0d\u652f\u6301 rtf()"},
828
829    /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
830   //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
831

832   { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
833        "XRTreeFragSelectWrapper \u4e0d\u652f\u6301 asNodeIterator()"},
834
835    /** fsb() not supported for XStringForChars */
836  // public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
837

838   { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
839        "XStringForChars \u4e0d\u652f\u6301 fsb()"},
840
841    /** Could not find variable with the name of */
842 // public static final int ER_COULD_NOT_FIND_VAR = 81;
843

844   { ER_COULD_NOT_FIND_VAR,
845       "\u627e\u4e0d\u5230\u540d\u4e3a {0} \u7684\u53d8\u91cf"},
846
847    /** XStringForChars can not take a string for an argument */
848 // public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
849

850   { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
851       "XStringForChars \u65e0\u6cd5\u5c06\u5b57\u7b26\u4e32\u4f5c\u4e3a\u81ea\u53d8\u91cf"},
852
853    /** The FastStringBuffer argument can not be null */
854 // public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
855

856   { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
857       "FastStringBuffer \u81ea\u53d8\u91cf\u4e0d\u80fd\u4e3a\u7a7a"},
858
859   /* MANTIS_XALAN CHANGE: BEGIN */
860    /** 2 or 3 */
861 // public static final int ER_TWO_OR_THREE = 84;
862

863   { ER_TWO_OR_THREE,
864        "2 \u6216 3"},
865
866    /** Variable accessed before it is bound! */
867 // public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
868

869   { ER_VARIABLE_ACCESSED_BEFORE_BIND,
870        "\u5728\u7ed1\u5b9a\u524d\u5df2\u8bbf\u95ee\u53d8\u91cf\uff01"},
871
872    /** XStringForFSB can not take a string for an argument! */
873 // public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
874

875   { ER_FSB_CANNOT_TAKE_STRING,
876        "XStringForFSB \u65e0\u6cd5\u5c06\u5b57\u7b26\u4e32\u4f5c\u4e3a\u81ea\u53d8\u91cf\uff01"},
877
878    /** Error! Setting the root of a walker to null! */
879 // public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
880

881   { ER_SETTING_WALKER_ROOT_TO_NULL,
882        "\n \uff01\uff01\uff01\uff01\u9519\u8bef\uff01\u6b63\u5728\u5c06\u6b65\u884c\u7a0b\u5e8f\u7684\u6839\u8bbe\u7f6e\u4e3a\u7a7a\uff01\uff01\uff01"},
883
884    /** This NodeSetDTM can not iterate to a previous node! */
885 // public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
886

887   { ER_NODESETDTM_CANNOT_ITERATE,
888        "\u6b64 NodeSetDTM \u65e0\u6cd5\u8fed\u4ee3\u5230\u5148\u524d\u7684\u8282\u70b9\uff01"},
889
890   /** This NodeSet can not iterate to a previous node! */
891 // public static final int ER_NODESET_CANNOT_ITERATE = 89;
892

893   { ER_NODESET_CANNOT_ITERATE,
894        "\u6b64 NodeSet \u65e0\u6cd5\u8fed\u4ee3\u5230\u5148\u524d\u7684\u8282\u70b9\uff01"},
895
896   /** This NodeSetDTM can not do indexing or counting functions! */
897 // public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
898

899   { ER_NODESETDTM_CANNOT_INDEX,
900        "\u6b64 NodeSetDTM \u65e0\u6cd5\u6267\u884c\u7d22\u5f15\u6216\u8ba1\u6570\u529f\u80fd\uff01"},
901
902   /** This NodeSet can not do indexing or counting functions! */
903 // public static final int ER_NODESET_CANNOT_INDEX = 91;
904

905   { ER_NODESET_CANNOT_INDEX,
906        "\u6b64 NodeSet \u65e0\u6cd5\u6267\u884c\u7d22\u5f15\u6216\u8ba1\u6570\u529f\u80fd\uff01"},
907
908   /** Can not call setShouldCacheNodes after nextNode has been called! */
909 // public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
910

911   { ER_CANNOT_CALL_SETSHOULDCACHENODE,
912        "\u5df2\u7ecf\u8c03\u7528 nextNode \u540e\u65e0\u6cd5\u8c03\u7528 setShouldCacheNodes\uff01"},
913
914   /** {0} only allows {1} arguments */
915 // public static final int ER_ONLY_ALLOWS = 93;
916

917   { ER_ONLY_ALLOWS,
918        "{0} \u4ec5\u5141\u8bb8 {1} \u4e2a\u81ea\u53d8\u91cf"},
919
920   /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
921 // public static final int ER_UNKNOWN_STEP = 94;
922

923   { ER_UNKNOWN_STEP,
924        "\u7a0b\u5e8f\u5458\u5728 getNextStepPos \u4e2d\u7684\u65ad\u8a00\uff1a\u672a\u77e5\u7684 stepType\uff1a{0}"},
925
926   //Note to translators: A relative location path is a form of XPath expression.
927
// The message indicates that such an expression was expected following the
928
// characters '/' or '//', but was not found.
929

930   /** Problem with RelativeLocationPath */
931 // public static final int ER_EXPECTED_REL_LOC_PATH = 95;
932

933   { ER_EXPECTED_REL_LOC_PATH,
934       "\u5728\u201c/\u201d\u6216\u201c//\u201d\u6807\u8bb0\u540e\u671f\u671b\u51fa\u73b0\u76f8\u5bf9\u4f4d\u7f6e\u8def\u5f84\u3002"},
935
936   // Note to translators: A location path is a form of XPath expression.
937
// The message indicates that syntactically such an expression was expected,but
938
// the characters specified by the substitution text were encountered instead.
939

940   /** Problem with LocationPath */
941 // public static final int ER_EXPECTED_LOC_PATH = 96;
942

943   { ER_EXPECTED_LOC_PATH,
944        "\u671f\u671b\u51fa\u73b0\u4f4d\u7f6e\u8def\u5f84\uff0c\u4f46\u9047\u5230\u4ee5\u4e0b\u6807\u8bb0\u003a{0}"},
945
946   // Note to translators: A location step is part of an XPath expression.
947
// The message indicates that syntactically such an expression was expected
948
// following the specified characters.
949

950   /** Problem with Step */
951 // public static final int ER_EXPECTED_LOC_STEP = 97;
952

953   { ER_EXPECTED_LOC_STEP,
954        "\u201c/\u201d\u6216\u201c//\u201d\u6807\u8bb0\u540e\u671f\u671b\u51fa\u73b0\u4f4d\u7f6e\u6b65\u9aa4\u3002"},
955
956   // Note to translators: A node test is part of an XPath expression that is
957
// used to test for particular kinds of nodes. In this case, a node test that
958
// consists of an NCName followed by a colon and an asterisk or that consists
959
// of a QName was expected, but was not found.
960

961   /** Problem with NodeTest */
962 // public static final int ER_EXPECTED_NODE_TEST = 98;
963

964   { ER_EXPECTED_NODE_TEST,
965        "\u671f\u671b\u51fa\u73b0\u4e0e NCName:* \u6216 QName \u5339\u914d\u7684\u8282\u70b9\u6d4b\u8bd5\u3002"},
966
967   // Note to translators: A step pattern is part of an XPath expression.
968
// The message indicates that syntactically such an expression was expected,
969
// but the specified character was found in the expression instead.
970

971   /** Expected step pattern */
972 // public static final int ER_EXPECTED_STEP_PATTERN = 99;
973

974   { ER_EXPECTED_STEP_PATTERN,
975        "\u671f\u671b\u51fa\u73b0\u6b65\u9aa4\u6a21\u5f0f\uff0c\u4f46\u9047\u5230\u4e86\u201c/\u201d\u3002"},
976
977   // Note to translators: A relative path pattern is part of an XPath expression.
978
// The message indicates that syntactically such an expression was expected,
979
// but was not found.
980

981   /** Expected relative path pattern */
982 // public static final int ER_EXPECTED_REL_PATH_PATTERN = 100;
983

984   { ER_EXPECTED_REL_PATH_PATTERN,
985        "\u671f\u671b\u51fa\u73b0\u76f8\u5bf9\u8def\u5f84\u6a21\u5f0f\u3002"},
986
987   // Note to translators: A QNAME has the syntactic form [NCName:]NCName
988
// The localname is the portion after the optional colon; the message indicates
989
// that there is a problem with that part of the QNAME.
990

991   /** localname in QNAME should be a valid NCName */
992 // public static final int ER_ARG_LOCALNAME_INVALID = 101;
993

994   //{ ER_ARG_LOCALNAME_INVALID,
995
// "Localname in QNAME should be a valid NCName"},
996

997   // Note to translators: A QNAME has the syntactic form [NCName:]NCName
998
// The prefix is the portion before the optional colon; the message indicates
999
// that there is a problem with that part of the QNAME.
1000

1001  /** prefix in QNAME should be a valid NCName */
1002 // public static final int ER_ARG_PREFIX_INVALID = 102;
1003

1004  //{ ER_ARG_PREFIX_INVALID,
1005
// "Prefix in QNAME should be a valid NCName"},
1006

1007  // Note to translators: The substitution text is the name of a data type. The
1008
// message indicates that a value of a particular type could not be converted
1009
// to a value of type string.
1010

1011  /** Field ER_CANT_CONVERT_TO_BOOLEAN */
1012// public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;
1013

1014  { ER_CANT_CONVERT_TO_BOOLEAN,
1015       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5e03\u5c14\u578b\u3002"},
1016
1017  // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
1018
// FIRST_ORDERED_NODE_TYPE.
1019

1020  /** Field ER_CANT_CONVERT_TO_SINGLENODE */
1021  //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;
1022

1023  { ER_CANT_CONVERT_TO_SINGLENODE,
1024       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5355\u8282\u70b9\u3002\u6b64\u83b7\u53d6\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b ANY_UNORDERED_NODE_TYPE \u548c FIRST_ORDERED_NODE_TYPE\u3002"},
1025
1026  // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
1027
// ORDERED_NODE_SNAPSHOT_TYPE.
1028

1029  /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
1030// public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;
1031

1032  { ER_CANT_GET_SNAPSHOT_LENGTH,
1033       "\u65e0\u6cd5\u5728\u7c7b\u578b {0} \u4e0a\u83b7\u53d6\u5feb\u7167\u957f\u5ea6\u3002\u6b64\u83b7\u53d6\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE\u3002"},
1034
1035  /** Field ER_NON_ITERATOR_TYPE */
1036  //public static final int ER_NON_ITERATOR_TYPE = 106;
1037

1038  { ER_NON_ITERATOR_TYPE,
1039       "\u65e0\u6cd5\u5bf9\u975e\u8fed\u4ee3\u7c7b\u578b {0} \u8fdb\u884c\u8fed\u4ee3"},
1040
1041  // Note to translators: This message indicates that the document being operated
1042
// upon changed, so the iterator object that was being used to traverse the
1043
// document has now become invalid.
1044

1045  /** Field ER_DOC_MUTATED */
1046// public static final int ER_DOC_MUTATED = 107;
1047

1048  { ER_DOC_MUTATED,
1049       "\u8fd4\u56de\u7ed3\u679c\u540e\u6587\u6863\u53d1\u751f\u53d8\u5316\u3002\u8fed\u4ee3\u5668\u65e0\u6548\u3002"},
1050
1051  /** Field ER_INVALID_XPATH_TYPE */
1052// public static final int ER_INVALID_XPATH_TYPE = 108;
1053

1054  { ER_INVALID_XPATH_TYPE,
1055       "\u65e0\u6548\u7684 XPath \u7c7b\u578b\u81ea\u53d8\u91cf\uff1a{0}"},
1056
1057  /** Field ER_EMPTY_XPATH_RESULT */
1058// public static final int ER_EMPTY_XPATH_RESULT = 109;
1059

1060  { ER_EMPTY_XPATH_RESULT,
1061       "\u7a7a\u7684 XPath \u7ed3\u679c\u5bf9\u8c61"},
1062
1063  /** Field ER_INCOMPATIBLE_TYPES */
1064// public static final int ER_INCOMPATIBLE_TYPES = 110;
1065

1066  { ER_INCOMPATIBLE_TYPES,
1067       "\u8fd4\u56de\u7c7b\u578b {0} \u65e0\u6cd5\u5f3a\u5236\u8f6c\u6362\u4e3a\u6307\u5b9a\u7684\u7c7b\u578b\uff1a{1}"},
1068
1069  /** Field ER_NULL_RESOLVER */
1070 // public static final int ER_NULL_RESOLVER = 111;
1071

1072  { ER_NULL_RESOLVER,
1073       "\u65e0\u6cd5\u4f7f\u7528\u7a7a\u524d\u7f00\u89e3\u6790\u5668\u89e3\u6790\u524d\u7f00\u3002"},
1074
1075  // Note to translators: The substitution text is the name of a data type. The
1076
// message indicates that a value of a particular type could not be converted
1077
// to a value of type string.
1078

1079  /** Field ER_CANT_CONVERT_TO_STRING */
1080// public static final int ER_CANT_CONVERT_TO_STRING = 112;
1081

1082  { ER_CANT_CONVERT_TO_STRING,
1083       "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5b57\u7b26\u4e32\u3002"},
1084
1085  // Note to translators: Do not translate snapshotItem,
1086
// UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
1087

1088  /** Field ER_NON_SNAPSHOT_TYPE */
1089// public static final int ER_NON_SNAPSHOT_TYPE = 113;
1090

1091  { ER_NON_SNAPSHOT_TYPE,
1092       "\u65e0\u6cd5\u5728\u7c7b\u578b {0} \u4e0a\u8c03\u7528 snapshotItem\u3002\u6b64\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE\u3002"},
1093
1094  // Note to translators: XPathEvaluator is a Java interface name. An
1095
// XPathEvaluator is created with respect to a particular XML document, and in
1096
// this case the expression represented by this object was being evaluated with
1097
// respect to a context node from a different document.
1098

1099  /** Field ER_WRONG_DOCUMENT */
1100// public static final int ER_WRONG_DOCUMENT = 114;
1101

1102  { ER_WRONG_DOCUMENT,
1103       "\u4e0a\u4e0b\u6587\u8282\u70b9\u4e0d\u5c5e\u4e8e\u7ed1\u5b9a\u5230\u6b64 XPathEvaluator \u7684\u6587\u6863\u3002"},
1104
1105  // Note to translators: The XPath expression cannot be evaluated with respect
1106
// to this type of node.
1107
/** Field ER_WRONG_NODETYPE */
1108// public static final int ER_WRONG_NODETYPE = 115;
1109

1110  { ER_WRONG_NODETYPE,
1111       "\u4e0d\u652f\u6301\u4e0a\u4e0b\u6587\u8282\u70b9\u7c7b\u578b\u3002"},
1112
1113  /** Field ER_XPATH_ERROR */
1114// public static final int ER_XPATH_ERROR = 116;
1115

1116  { ER_XPATH_ERROR,
1117       "XPath \u672a\u77e5\u9519\u8bef"},
1118
1119
1120  // Warnings...
1121

1122  /** Field WG_LOCALE_NAME_NOT_HANDLED */
1123// public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
1124

1125  { WG_LOCALE_NAME_NOT_HANDLED,
1126      "format-number \u51fd\u6570\u4e2d\u672a\u5904\u7406\u8fc7\u7684\u8bed\u8a00\u73af\u5883\u540d\uff01"},
1127
1128  /** Field WG_PROPERTY_NOT_SUPPORTED */
1129// public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
1130

1131  { WG_PROPERTY_NOT_SUPPORTED,
1132      "\u4e0d\u652f\u6301 XSL \u5c5e\u6027\uff1a{0}"},
1133
1134  /** Field WG_DONT_DO_ANYTHING_WITH_NS */
1135// public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
1136

1137  { WG_DONT_DO_ANYTHING_WITH_NS,
1138      "\u5f53\u524d\u4e0d\u8981\u5728\u5c5e\u6027 {1} \u4e2d\u5bf9\u540d\u79f0\u7a7a\u95f4 {0} \u8fdb\u884c\u4efb\u4f55\u5904\u7406"},
1139
1140  /** Field WG_SECURITY_EXCEPTION */
1141// public static final int WG_SECURITY_EXCEPTION = 4;
1142

1143  { WG_SECURITY_EXCEPTION,
1144      "\u5728\u8bd5\u56fe\u8bbf\u95ee XSL \u7cfb\u7edf\u5c5e\u6027 {0} \u65f6\u53d1\u751f SecurityException \u5f02\u5e38"},
1145
1146  /** Field WG_QUO_NO_LONGER_DEFINED */
1147// public static final int WG_QUO_NO_LONGER_DEFINED = 5;
1148

1149  { WG_QUO_NO_LONGER_DEFINED,
1150      "XPath \u4e2d\u4e0d\u518d\u5b9a\u4e49\u65e7\u8bed\u6cd5\uff1aquo(...)\u3002"},
1151
1152  /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */
1153// public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
1154

1155  { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
1156      "XPath \u9700\u8981\u4e00\u4e2a\u6d3e\u751f\u7684\u5bf9\u8c61\u4ee5\u5b9e\u73b0 nodeTest\uff01"},
1157
1158  /** Field WG_FUNCTION_TOKEN_NOT_FOUND */
1159// public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
1160

1161  { WG_FUNCTION_TOKEN_NOT_FOUND,
1162      "\u627e\u4e0d\u5230\u51fd\u6570\u4ee4\u724c\u3002"},
1163
1164  /** Field WG_COULDNOT_FIND_FUNCTION */
1165// public static final int WG_COULDNOT_FIND_FUNCTION = 8;
1166

1167  { WG_COULDNOT_FIND_FUNCTION,
1168      "\u627e\u4e0d\u5230\u51fd\u6570\uff1a{0}"},
1169
1170  /** Field WG_CANNOT_MAKE_URL_FROM */
1171// public static final int WG_CANNOT_MAKE_URL_FROM = 9;
1172

1173  { WG_CANNOT_MAKE_URL_FROM,
1174      "\u65e0\u6cd5\u4ece {0} \u751f\u6210 URL"},
1175
1176  /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */
1177// public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
1178

1179  { WG_EXPAND_ENTITIES_NOT_SUPPORTED,
1180      "DTM \u89e3\u6790\u5668\u4e0d\u652f\u6301 -E \u9009\u9879"},
1181
1182  /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
1183// public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
1184

1185  { WG_ILLEGAL_VARIABLE_REFERENCE,
1186      "\u5c06 VariableReference \u8d4b\u7ed9\u4e0a\u4e0b\u6587\u5916\u7684\u53d8\u91cf\u6216\u6ca1\u6709\u5b9a\u4e49\u7684\u53d8\u91cf\uff01\u540d\u79f0 = {0}"},
1187
1188  /** Field WG_UNSUPPORTED_ENCODING */
1189// public static final int WG_UNSUPPORTED_ENCODING = 12;
1190

1191  { WG_UNSUPPORTED_ENCODING,
1192     "\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\uff1a{0}"},
1193
1194
1195
1196  // Other miscellaneous text used inside the code...
1197
{ "ui_language", "zh"},
1198  { "help_language", "zh"},
1199  { "language", "zh"},
1200  { "BAD_CODE", "createMessage \u7684\u53c2\u6570\u8d85\u51fa\u8303\u56f4"},
1201  { "FORMAT_FAILED", "\u5728 messageFormat \u8c03\u7528\u8fc7\u7a0b\u4e2d\u629b\u51fa\u7684\u5f02\u5e38"},
1202  { "version", ">>>>>>> Xalan \u7248\u672c"},
1203  { "version2", "<<<<<<<"},
1204  { "yes", "\u662f"},
1205  { "line", "\u884c\u53f7"},
1206  { "column", "\u5217\u53f7"},
1207  { "xsldone", "XSLProcessor\uff1a\u5b8c\u6210"},
1208  { "xpath_option", "xpath \u9009\u9879\uff1a"},
1209  { "optionIN", "[-in inputXMLURL]"},
1210  { "optionSelect", "[-select xpath \u8868\u8fbe\u5f0f]"},
1211  { "optionMatch", "[-match \u5339\u914d\u6a21\u5f0f\uff08\u7528\u4e8e\u5339\u914d\u8bca\u65ad\uff09]"},
1212  { "optionAnyExpr", "\u6216\u8005\u4ec5\u4e00\u4e2a xpath \u8868\u8fbe\u5f0f\u5c31\u5c06\u5b8c\u6210\u4e00\u4e2a\u8bca\u65ad\u8f6c\u50a8"},
1213  { "noParsermsg1", "XSL \u5904\u7406\u4e0d\u6210\u529f\u3002"},
1214  { "noParsermsg2", "** \u627e\u4e0d\u5230\u89e3\u6790\u5668 **"},
1215  { "noParsermsg3", "\u8bf7\u68c0\u67e5\u60a8\u7684\u7c7b\u8def\u5f84\u3002"},
1216  { "noParsermsg4", "\u5982\u679c\u6ca1\u6709 IBM \u7684 XML Parser for Java\uff0c\u60a8\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u4f4d\u7f6e\u4e0b\u8f7d\u5b83\uff1a"},
1217  { "noParsermsg5", "IBM \u7684 AlphaWorks\uff1ahttp://www.alphaworks.ibm.com/formula/xml"},
1218  { "gtone", ">1" },
1219  { "zero", "0" },
1220  { "one", "1" },
1221  { "two" , "2" },
1222  { "three", "3" }
1223
1224  };
1225
1226
1227  // ================= INFRASTRUCTURE ======================
1228

1229  /** Field BAD_CODE */
1230  public static final String JavaDoc BAD_CODE = "BAD_CODE";
1231
1232  /** Field FORMAT_FAILED */
1233  public static final String JavaDoc FORMAT_FAILED = "FORMAT_FAILED";
1234
1235  /** Field ERROR_RESOURCES */
1236  public static final String JavaDoc ERROR_RESOURCES =
1237    "org.apache.xpath.res.XPATHErrorResources";
1238
1239  /** Field ERROR_STRING */
1240  public static final String JavaDoc ERROR_STRING = "#\u9519\u8bef";
1241
1242  /** Field ERROR_HEADER */
1243  public static final String JavaDoc ERROR_HEADER = "\u9519\u8bef:";
1244
1245  /** Field WARNING_HEADER */
1246  public static final String JavaDoc WARNING_HEADER = "\u8b66\u544a:";
1247
1248  /** Field XSL_HEADER */
1249  public static final String JavaDoc XSL_HEADER = "XSL ";
1250
1251  /** Field XML_HEADER */
1252  public static final String JavaDoc XML_HEADER = "XML ";
1253
1254  /** Field QUERY_HEADER */
1255  public static final String JavaDoc QUERY_HEADER = "PATTERN ";
1256
1257  /**
1258   * Get the association list.
1259   *
1260   * @return The association list.
1261   */

1262  public Object JavaDoc[][] getContents()
1263  {
1264    return contents;
1265  }
1266
1267  /**
1268   * Return a named ResourceBundle for a particular locale. This method mimics the behavior
1269   * of ResourceBundle.getBundle().
1270   *
1271   * @param res the name of the resource to load.
1272   * @param locale the locale to prefer when searching for the bundle
1273   *
1274   * @param className Name of local-specific subclass.
1275   * @return the ResourceBundle
1276   * @throws MissingResourceException
1277   */

1278  public static final XPATHErrorResources loadResourceBundle(String JavaDoc className)
1279          throws MissingResourceException JavaDoc
1280  {
1281
1282    Locale JavaDoc locale = Locale.getDefault();
1283    String JavaDoc suffix = getResourceSuffix(locale);
1284
1285    try
1286    {
1287
1288      // first try with the given locale
1289
return (XPATHErrorResources) ResourceBundle.getBundle(className
1290              + suffix, locale);
1291    }
1292    catch (MissingResourceException JavaDoc e)
1293    {
1294      try // try to fall back to en_US if we can't load
1295
{
1296
1297        // Since we can't find the localized property file,
1298
// fall back to en_US.
1299
return (XPATHErrorResources) ResourceBundle.getBundle(className,
1300                new Locale JavaDoc("zh", "CN"));
1301      }
1302      catch (MissingResourceException JavaDoc e2)
1303      {
1304
1305        // Now we are really in trouble.
1306
// very bad, definitely very bad...not going to get very far
1307
throw new MissingResourceException JavaDoc(
1308          "\u65e0\u6cd5\u88c5\u5165\u4efb\u4f55\u8d44\u6e90\u5305\u3002", className, "");
1309      }
1310    }
1311  }
1312
1313  /**
1314   * Return the resource file suffic for the indicated locale
1315   * For most locales, this will be based the language code. However
1316   * for Chinese, we do distinguish between Taiwan and PRC
1317   *
1318   * @param locale the locale
1319   * @return an String suffix which canbe appended to a resource name
1320   */

1321  private static final String JavaDoc getResourceSuffix(Locale JavaDoc locale)
1322  {
1323
1324    String JavaDoc suffix = "_" + locale.getLanguage();
1325    String JavaDoc country = locale.getCountry();
1326
1327    if (country.equals("TW"))
1328      suffix += "_" + country;
1329
1330    return suffix;
1331  }
1332
1333}
1334
Popular Tags