KickJava   Java API By Example, From Geeks To Geeks.

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


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_hu.java,v 1.3 2004/02/17 04:36:46 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_hu 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, "A current() f\u00fcggv\u00e9ny nem megengedett az illeszt\u00e9si mint\u00e1ban!" },
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, "A current() f\u00fcggv\u00e9ny nem fogad el argumentumokat!" },
372
373   /** Field ER_DOCUMENT_REPLACED */
374 // public static final int ER_DOCUMENT_REPLACED = 3;
375
{ ER_DOCUMENT_REPLACED,
376       "A document() f\u00fcggv\u00e9ny megval\u00f3s\u00edt\u00e1s\u00e1t lecser\u00e9lte az org.apache.xalan.xslt.FuncDocument!"},
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       "A k\u00f6rnyezetnek nincs tulajdonos dokumentuma!"},
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       "A local-name()-nek t\u00fal sok argumentuma van."},
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       "A namespace-uri()-nek t\u00fal sok argumentuma van."},
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       "A normalize-space()-nek t\u00fal sok argumentuma van."},
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       "A number()-nek t\u00fal sok argumentuma van."},
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      "A name()-nek t\u00fal sok argumentuma van."},
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       "A string()-nek t\u00fal sok argumentuma van."},
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       "A string-length()-nek t\u00fal sok argumentuma van."},
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       "A translate() f\u00fcggv\u00e9ny h\u00e1rom argumentumot k\u00e9r!"},
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       "Az unparsed-entity-uri f\u00fcggv\u00e9nyhez egy argumentum sz\u00fcks\u00e9ges!"},
437
438   /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
439 // public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
440

441   { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
442       "A n\u00e9vt\u00e9r tengely m\u00e9g nincs magval\u00f3s\u00edtva!"},
443
444   /** Field ER_UNKNOWN_AXIS */
445 // public static final int ER_UNKNOWN_AXIS = 15;
446

447   { ER_UNKNOWN_AXIS,
448      "Ismeretlen tengely: {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      "ismeretlen illeszt\u00e9si m\u0171velet!"},
455
456   /** Field ER_INCORRECT_ARG_LENGTH */
457 // public static final int ER_INCORRECT_ARG_LENGTH = 17;
458

459   { ER_INCORRECT_ARG_LENGTH,
460       "A processing-instruction() csom\u00f3pont teszt argumentum\u00e1nak hossza helytelen!"},
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       "A(z) {0} nem konvert\u00e1lhat\u00f3 sz\u00e1mm\u00e1"},
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       "A(z) {0} nem konvert\u00e1lhat\u00f3 NodeList-t\u00e9!"},
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       "A(z) {0} nem konvert\u00e1lhat\u00f3 NodeSetDTM-m\u00e9!"},
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       "{0} nem konvert\u00e1lhat\u00f3 type#{1} t\u00edpuss\u00e1"},
485
486   /** Field ER_EXPECTED_MATCH_PATTERN */
487 // public static final int ER_EXPECTED_MATCH_PATTERN = 22;
488

489   { ER_EXPECTED_MATCH_PATTERN,
490       "Illeszt\u00e9si mint\u00e1t v\u00e1rtunk a getMatchScore-ban!"},
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       "Nem lehet lek\u00e9rni a(z) {0} nev\u0171 v\u00e1ltoz\u00f3t"},
497
498   /** Field ER_UNKNOWN_OPCODE */
499 // public static final int ER_UNKNOWN_OPCODE = 24;
500

501   { ER_UNKNOWN_OPCODE,
502      "HIBA! Ismeretlen opk\u00f3d: {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      "Extra tiltott tokenek: {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       "rosszul id\u00e9zett liter\u00e1l... dupla id\u00e9z\u0151jelet v\u00e1rtunk!"},
515
516   /** Field ER_EXPECTED_SINGLE_QUOTE */
517 // public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
518

519   { ER_EXPECTED_SINGLE_QUOTE,
520       "rosszul id\u00e9zett liter\u00e1l... szimpla id\u00e9z\u0151jelet v\u00e1rtunk!"},
521
522   /** Field ER_EMPTY_EXPRESSION */
523 // public static final int ER_EMPTY_EXPRESSION = 28;
524

525   { ER_EMPTY_EXPRESSION,
526      "\u00dcres kifejez\u00e9s!"},
527
528   /** Field ER_EXPECTED_BUT_FOUND */
529 // public static final int ER_EXPECTED_BUT_FOUND = 29;
530

531   { ER_EXPECTED_BUT_FOUND,
532      "{0}-t v\u00e1rtunk, de ezt tal\u00e1ltuk: {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       "A programoz\u00f3 feltev\u00e9se hib\u00e1s! - {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       "A boolean(...) argumentuma t\u00f6bb\u00e9 nem opcion\u00e1lis az 19990709 XPath v\u00e1zlat szerint."},
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       "','-t tal\u00e1ltunk, de nincs el\u0151tte argumentum!"},
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       "','-t tal\u00e1ltunk, de nincs ut\u00e1na argumentum!"},
557
558   /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
559 // public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
560

561   { ER_PREDICATE_ILLEGAL_SYNTAX,
562       "A '..[felt\u00e9tel]' vagy '.[felt\u00e9tel]' szintaktika tiltott. Haszn\u00e1lja ink\u00e1bb a 'self::node()[predicate]' defin\u00edci\u00f3t."},
563
564   /** Field ER_ILLEGAL_AXIS_NAME */
565 // public static final int ER_ILLEGAL_AXIS_NAME = 35;
566

567   { ER_ILLEGAL_AXIS_NAME,
568      "Tiltott tengelyn\u00e9v: {0}"},
569
570   /** Field ER_UNKNOWN_NODETYPE */
571 // public static final int ER_UNKNOWN_NODETYPE = 36;
572

573   { ER_UNKNOWN_NODETYPE,
574      "Ismeretlen node-t\u00edpus: {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       "A minta-liter\u00e1lt ({0}) id\u00e9z\u0151jelek k\u00f6z\u00e9 kell tenni!"},
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       "A(z) {0} nem form\u00e1zhat\u00f3 sz\u00e1mm\u00e1!"},
587
588   /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
589 // public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
590

591   { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
592       "Nem lehet XML TransformerFactory Liaison-t l\u00e9trehozni: {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       "Hiba! Az xpath kiv\u00e1laszt\u00e1si kifejez\u00e9s nem tal\u00e1lhat\u00f3 (-select)."},
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       "HIBA! Nem tal\u00e1lhat\u00f3 ENDOP az OP_LOCATIONPATH ut\u00e1n"},
605
606   /** Field ER_ERROR_OCCURED */
607 // public static final int ER_ERROR_OCCURED = 42;
608

609   { ER_ERROR_OCCURED,
610      "Hiba t\u00f6rt\u00e9nt!"},
611
612   /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
613 // public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
614

615   { ER_ILLEGAL_VARIABLE_REFERENCE,
616       "A v\u00e1ltoz\u00f3ra adott VariableReference (v\u00e1ltoz\u00f3hivatkoz\u00e1s) k\u00edv\u00fcl van a k\u00f6rnyezeten vagy nincs defin\u00edci\u00f3ja! N\u00e9v = {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       "Csak a child:: \u00e9s az attribute:: tengelyek illeszkedhetnek mint\u00e1kra. Zavar\u00f3 tengelyek = {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       "A key()-nek nem megfelel\u0151 sz\u00e1m\u00fa argumentuma van."},
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       "A count f\u00fcggv\u00e9nyhez csak egy argumentumot lehet megadni!"},
635
636   /** Field ER_COULDNOT_FIND_FUNCTION */
637 // public static final int ER_COULDNOT_FIND_FUNCTION = 47;
638

639   { ER_COULDNOT_FIND_FUNCTION,
640      "Nem tal\u00e1lhat\u00f3 a f\u00fcggv\u00e9ny: {0}"},
641
642   /** Field ER_UNSUPPORTED_ENCODING */
643 // public static final int ER_UNSUPPORTED_ENCODING = 48;
644

645   { ER_UNSUPPORTED_ENCODING,
646      "Nem t\u00e1mogatott k\u00f3dol\u00e1s: {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       "Probl\u00e9ma mer\u00fclt fel a DTM-ben a getNextSibling-ben... megpr\u00f3b\u00e1ljuk helyrehozni"},
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       "Programoz\u00f3i hiba: az EmptyNodeList-be (\u00fcres csom\u00f3pontlist\u00e1ba) nem lehet \u00edrni."},
659
660   /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
661 // public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
662

663   { ER_SETDOMFACTORY_NOT_SUPPORTED,
664       "A setDOMFactory-t nem t\u00e1mogatja az XPathContext!"},
665
666   /** Field ER_PREFIX_MUST_RESOLVE */
667 // public static final int ER_PREFIX_MUST_RESOLVE = 52;
668

669   { ER_PREFIX_MUST_RESOLVE,
670       "Az el\u0151tagnak egy n\u00e9vt\u00e9rre kell felold\u00f3dnia: {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       "Az elem\u00e9s (InputSource forr\u00e1s) nem t\u00e1mogatott az XPathContext-ben! Nem lehet megnyitni a(z) {0}-t"},
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       "SAX API characters(char ch[]... f\u00fcggv\u00e9nyt nem kezeli a DTM!"},
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       "Az ignorableWhitespace(char ch[]... f\u00fcggv\u00e9nyt nem kezeli a DTM!"},
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       "A DTMLiaison nem tud {0} t\u00edpus\u00fa csom\u00f3pontokat kezelni"},
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       "A DOM2Helper nem tud {0} t\u00edpus\u00fa csom\u00f3pontokat kezelni"},
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 hiba: SystemID - {0} sor - {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 hiba"},
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       "\u00c9rv\u00e9nytelen UTF-16 helyettes\u00edt\u00e9s: {0} ?"},
749
750   /** Field ER_OIERROR */
751   //public static final int ER_OIERROR = 66;
752

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

759   { ER_CANNOT_CREATE_URL,
760      "Nem lehet URL-t l\u00e9trehozni ehhez: {0}"},
761
762   /** Field ER_XPATH_READOBJECT */
763 // public static final int ER_XPATH_READOBJECT = 68;
764

765   { ER_XPATH_READOBJECT,
766      "A XPath.readObject met\u00f3dusban: {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       "A f\u00fcggv\u00e9ny jelsor nem tal\u00e1lhat\u00f3."},
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        "Nem lehet megbirk\u00f3zni az XPath t\u00edpussal: {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        "Ez a NodeSet nem illeszthet\u0151 be"},
791
792    /** This NodeSetDTM is not mutable */
793 // public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
794

795   { ER_NODESETDTM_NOT_MUTABLE,
796        "Ez a NodeSetDTM nem illeszthet\u0151 be"},
797
798    /** Variable not resolvable: */
799 // public static final int ER_VAR_NOT_RESOLVABLE = 74;
800

801   { ER_VAR_NOT_RESOLVABLE,
802         "A v\u00e1ltoz\u00f3 nem oldhat\u00f3 fel: {0}"},
803
804    /** Null error handler */
805 // public static final int ER_NULL_ERROR_HANDLER = 75;
806

807   { ER_NULL_ERROR_HANDLER,
808         "Null hibakezel\u0151"},
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        "Programoz\u00f3i \u00e9rtes\u00edt\u00e9s: ismeretlen m\u0171veletk\u00f3d: {0}"},
815
816    /** 0 or 1 */
817 // public static final int ER_ZERO_OR_ONE = 77;
818

819   { ER_ZERO_OR_ONE,
820        "0 vagy 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        "Az rtf()-et nem t\u00e1mogatja az XRTreeFragSelectWrapper"},
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        "Az asNodeIterator()-t nem t\u00e1mogatja az XRTreeFragSelectWrapper"},
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        "Az fsb() nem t\u00e1mogatott az XStringForChars-n\u00e1l"},
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       "Nem tal\u00e1lhat\u00f3 {0} nev\u0171 v\u00e1ltoz\u00f3"},
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       "Az XStringForChars-nak nem adhat meg karakterl\u00e1nc argumentumot"},
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       "A FastStringBuffer argumentum nem lehet null"},
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 vagy 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        "V\u00e1ltoz\u00f3el\u00e9r\u00e9s \u00e9rt\u00e9kad\u00e1s el\u0151tt!"},
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 nem kaphat sztring argumentumot!"},
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 !!!! Hiba! A bej\u00e1r\u00f3 gy\u00f6ker\u00e9t null-ra \u00e1ll\u00edtotta!!!"},
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        "Ez a NodeSetDTM nem iter\u00e1lhat egy kor\u00e1bbi node-ra!"},
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        "Ez a NodeSet nem iter\u00e1lhat egy kor\u00e1bbi node-ra!"},
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        "Ez a NodeSetDTM nem indexelhet \u00e9s nem sz\u00e1ml\u00e1lhatja a funkci\u00f3kat!"},
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        "Ez a NodeSet nem indexelhet \u00e9s nem sz\u00e1ml\u00e1lhatja a funkci\u00f3kat!"},
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        "Nem h\u00edvhat\u00f3 setShouldCacheNodes nextNode h\u00edv\u00e1sa ut\u00e1n!"},
913
914   /** {0} only allows {1} arguments */
915 // public static final int ER_ONLY_ALLOWS = 93;
916

917   { ER_ONLY_ALLOWS,
918        "{0} csak {1} argumentumot enged\u00e9lyez"},
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        "Programoz\u00f3i \u00e9rtes\u00edt\u00e9s getNextStepPos h\u00edv\u00e1sban: ismeretlen stepType: {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       "Egy relat\u00edv elhelyez\u00e9si \u00fatvonalat v\u00e1rtunk a '/' vagy '//' token ut\u00e1n."},
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        "Egy hely \u00fatvonalat v\u00e1rtam, de a k\u00f6vetkez\u0151 tokent tal\u00e1ltam\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        "Egy elhelyez\u00e9si l\u00e9p\u00e9st v\u00e1rtunk a '/' vagy '//' token ut\u00e1n."},
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        "Egy olyan node-tesztet v\u00e1rtunk, ami vagy az NCName:*-ra vagy a QName-re illeszkedik."},
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        "Egy l\u00e9p\u00e9smint\u00e1t v\u00e1rtunk, de '/' szerepelt."},
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        "Relat\u00edv \u00fatvonalat v\u00e1rtunk."},
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       "Nem lehet {0}-t logikaiv\u00e1 konvert\u00e1lni."},
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       "Nem lehet {0}-t egyszer\u0171 node-d\u00e1 konvert\u00e1lni. Ez a ford\u00edt\u00f3 az ANY_UNORDERED_NODE_TYPE \u00e9s a FIRST_ORDERED_NODE_TYPE t\u00edpusokra haszn\u00e1lhat\u00f3."},
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       "Nem lehet megkapni a pillanatk\u00e9p hossz\u00e1t a k\u00f6vetkez\u0151 t\u00edpusra: {0}. Ez a ford\u00edt\u00f3 az UNORDERED_NODE_SNAPSHOT_TYPE \u00e9s az ORDERED_NODE_SNAPSHOT_TYPE t\u00edpusokra haszn\u00e1lhat\u00f3."},
1034
1035  /** Field ER_NON_ITERATOR_TYPE */
1036  //public static final int ER_NON_ITERATOR_TYPE = 106;
1037

1038  { ER_NON_ITERATOR_TYPE,
1039       "Nem lehet iter\u00e1lni nem iter\u00e1tor t\u00edpust: {0}"},
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       "A dokumentum megv\u00e1ltozott, mi\u00f3ta az eredm\u00e9ny visszat\u00e9rt. Az iter\u00e1tor \u00e9rv\u00e9nytelen."},
1050
1051  /** Field ER_INVALID_XPATH_TYPE */
1052// public static final int ER_INVALID_XPATH_TYPE = 108;
1053

1054  { ER_INVALID_XPATH_TYPE,
1055       "\u00c9rv\u00e9nytelen XPath t\u00edpus-argumentum: {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       "\u00dcres XPath eredm\u00e9nyobjektum"},
1062
1063  /** Field ER_INCOMPATIBLE_TYPES */
1064// public static final int ER_INCOMPATIBLE_TYPES = 110;
1065

1066  { ER_INCOMPATIBLE_TYPES,
1067       "A visszadott t\u00edpus: {0} nem lehet a megadott t\u00edpuss\u00e1 v\u00e1ltoztatni: {1}"},
1068
1069  /** Field ER_NULL_RESOLVER */
1070 // public static final int ER_NULL_RESOLVER = 111;
1071

1072  { ER_NULL_RESOLVER,
1073       "Nem lehet feloldani a prefixet null prefix-felold\u00f3val."},
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       "Nem lehet {0} t\u00edpust sztringg\u00e9 konvert\u00e1lni."},
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       "Nem lehet snapshotItem-et h\u00edvni a k\u00f6vetkez\u0151 t\u00edpusra: {0}. Ez a met\u00f3dust az UNORDERED_NODE_SNAPSHOT_TYPE \u00e9s ORDERED_NODE_SNAPSHOT_TYPE t\u00edpusokra alkalmazhat\u00f3."},
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       "A k\u00f6rnyezeti node nem az XPathEvaluator-hoz tartoz\u00f3 dokumentumhoz tartozik."},
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       "A k\u00f6rnyezeti node t\u00edpusa nem t\u00e1mogatott."},
1112
1113  /** Field ER_XPATH_ERROR */
1114// public static final int ER_XPATH_ERROR = 116;
1115

1116  { ER_XPATH_ERROR,
1117       "Ismeretlen hiba az XPath-ban."},
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      "A locale-n\u00e9v a format-number f\u00fcggv\u00e9nyben m\u00e9g nincs kezelve!"},
1127
1128  /** Field WG_PROPERTY_NOT_SUPPORTED */
1129// public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
1130

1131  { WG_PROPERTY_NOT_SUPPORTED,
1132      "Az XSL tulajdons\u00e1g nem t\u00e1mogatott: {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      "Jelenleg ne tegyen semmit a(z) {0} n\u00e9vt\u00e9rrel a tulajdons\u00e1gban: {1}"},
1139
1140  /** Field WG_SECURITY_EXCEPTION */
1141// public static final int WG_SECURITY_EXCEPTION = 4;
1142

1143  { WG_SECURITY_EXCEPTION,
1144      "SecurityException az XSL rendszertulajdons\u00e1g el\u00e9r\u00e9s\u00e9n\u00e9l: {0}"},
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      "A r\u00e9gi szintaktika: quo(...) t\u00f6bb\u00e9 nincs defini\u00e1lva az XPath-ban."},
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      "Az XPath-nak kell egy sz\u00e1rmaztatott objektum a nodeTest-hez!"},
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      "A f\u00fcggv\u00e9ny jelsor nem tal\u00e1lhat\u00f3."},
1163
1164  /** Field WG_COULDNOT_FIND_FUNCTION */
1165// public static final int WG_COULDNOT_FIND_FUNCTION = 8;
1166

1167  { WG_COULDNOT_FIND_FUNCTION,
1168      "Nem tal\u00e1lhat\u00f3 a f\u00fcggv\u00e9ny: {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      "Nem k\u00e9sz\u00edthet\u0151 URL ebb\u0151l: {0}"},
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      "A -E opci\u00f3 nem t\u00e1mogatott a DTM elemz\u0151h\u00f6z"},
1181
1182  /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
1183// public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
1184

1185  { WG_ILLEGAL_VARIABLE_REFERENCE,
1186      "A v\u00e1ltoz\u00f3ra adott VariableReference (v\u00e1ltoz\u00f3hivatkoz\u00e1s) k\u00edv\u00fcl van a k\u00f6rnyezeten vagy nincs defin\u00edci\u00f3ja! N\u00e9v = {0}"},
1187
1188  /** Field WG_UNSUPPORTED_ENCODING */
1189// public static final int WG_UNSUPPORTED_ENCODING = 12;
1190

1191  { WG_UNSUPPORTED_ENCODING,
1192     "Nem t\u00e1mogatott k\u00f3dol\u00e1s: {0}"},
1193
1194
1195
1196  // Other miscellaneous text used inside the code...
1197
{ "ui_language", "hu"},
1198  { "help_language", "hu"},
1199  { "language", "hu"},
1200  { "BAD_CODE", "A createMessage param\u00e9tere nincs a megfelel\u0151 tartom\u00e1nyban"},
1201  { "FORMAT_FAILED", "Kiv\u00e9tel t\u00f6rt\u00e9nt a messageFormat h\u00edv\u00e1s alatt"},
1202  { "version", ">>>>>>> Xalan verzi\u00f3 "},
1203  { "version2", "<<<<<<<"},
1204  { "yes", "igen"},
1205  { "line", "Sor #"},
1206  { "column", "Oszlop #"},
1207  { "xsldone", "XSLProcessor: k\u00e9sz"},
1208  { "xpath_option", "xpath opci\u00f3i: "},
1209  { "optionIN", " [-in bemenetiXMLURL]"},
1210  { "optionSelect", " [-select xpath kifejez\u00e9s]"},
1211  { "optionMatch", " [-match illeszt\u00e9si minta (az illeszt\u00e9si diagnosztik\u00e1hoz)]"},
1212  { "optionAnyExpr", "Vagy csak egy xpath kifejez\u00e9s megcsin\u00e1l egy diagnosztikai dump-ot"},
1213  { "noParsermsg1", "Az XSL processz sikertelen volt."},
1214  { "noParsermsg2", "** Az elemz\u0151 nem tal\u00e1lhat\u00f3 **"},
1215  { "noParsermsg3", "K\u00e9rem, ellen\u0151rizze az oszt\u00e1ly el\u00e9r\u00e9si utat."},
1216  { "noParsermsg4", "Ha \u00f6nnek nincs meg az IBM Java XML elemz\u0151je, akkor let\u00f6ltheti az"},
1217  { "noParsermsg5", "az IBM AlphaWorks weblapr\u00f3l: http://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 = "#error";
1241
1242  /** Field ERROR_HEADER */
1243  public static final String JavaDoc ERROR_HEADER = "Hiba: ";
1244
1245  /** Field WARNING_HEADER */
1246  public static final String JavaDoc WARNING_HEADER = "Figyelmeztet\u00e9s: ";
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 = "MINTA ";
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("hu", "HU"));
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          "Could not load any resource bundles.", 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