001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one
003     * or more contributor license agreements. See the NOTICE file
004     * distributed with this work for additional information
005     * regarding copyright ownership. The ASF licenses this file
006     * to you under the Apache License, Version 2.0 (the  "License");
007     * you may not use this file except in compliance with the License.
008     * You may obtain a copy of the License at
009     *
010     *     http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing, software
013     * distributed under the License is distributed on an "AS IS" BASIS,
014     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015     * See the License for the specific language governing permissions and
016     * limitations under the License.
017     */
018    /*
019     * $Id: XPATHErrorResources_sl.java 1225426 2011-12-29 04:13:08Z mrglavas $
020     */
021    
022    package org.apache.xpath.res;
023    
024    import java.util.ListResourceBundle;
025    import java.util.Locale;
026    import java.util.MissingResourceException;
027    import java.util.ResourceBundle;
028    
029    /**
030     * Set up error messages.
031     * We build a two dimensional array of message keys and
032     * message strings. In order to add a new message here,
033     * you need to first add a Static string constant for the
034     * Key and update the contents array with Key, Value pair
035      * Also you need to  update the count of messages(MAX_CODE)or
036     * the count of warnings(MAX_WARNING) [ Information purpose only]
037     * @xsl.usage advanced
038     */
039    public class XPATHErrorResources_sl extends ListResourceBundle
040    {
041    
042    /*
043     * General notes to translators:
044     *
045     * This file contains error and warning messages related to XPath Error
046     * Handling.
047     *
048     *  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
049     *     components.
050     *     XSLT is an acronym for "XML Stylesheet Language: Transformations".
051     *     XSLTC is an acronym for XSLT Compiler.
052     *
053     *  2) A stylesheet is a description of how to transform an input XML document
054     *     into a resultant XML document (or HTML document or text).  The
055     *     stylesheet itself is described in the form of an XML document.
056     *
057     *  3) A template is a component of a stylesheet that is used to match a
058     *     particular portion of an input document and specifies the form of the
059     *     corresponding portion of the output document.
060     *
061     *  4) An element is a mark-up tag in an XML document; an attribute is a
062     *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
063     *     "elem" is an element name, "attr" and "attr2" are attribute names with
064     *     the values "val" and "val2", respectively.
065     *
066     *  5) A namespace declaration is a special attribute that is used to associate
067     *     a prefix with a URI (the namespace).  The meanings of element names and
068     *     attribute names that use that prefix are defined with respect to that
069     *     namespace.
070     *
071     *  6) "Translet" is an invented term that describes the class file that
072     *     results from compiling an XML stylesheet into a Java class.
073     *
074     *  7) XPath is a specification that describes a notation for identifying
075     *     nodes in a tree-structured representation of an XML document.  An
076     *     instance of that notation is referred to as an XPath expression.
077     *
078     *  8) The context node is the node in the document with respect to which an
079     *     XPath expression is being evaluated.
080     *
081     *  9) An iterator is an object that traverses nodes in the tree, one at a time.
082     *
083     *  10) NCName is an XML term used to describe a name that does not contain a
084     *     colon (a "no-colon name").
085     *
086     *  11) QName is an XML term meaning "qualified name".
087     */
088    
089      /*
090       * static variables
091       */
092      public static final String ERROR0000 = "ERROR0000";
093      public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH =
094             "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
095      public static final String ER_CURRENT_TAKES_NO_ARGS =
096             "ER_CURRENT_TAKES_NO_ARGS";
097      public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";
098      public static final String ER_CONTEXT_HAS_NO_OWNERDOC =
099             "ER_CONTEXT_HAS_NO_OWNERDOC";
100      public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS =
101             "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
102      public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS =
103             "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS";
104      public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS =
105             "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS";
106      public static final String ER_NUMBER_HAS_TOO_MANY_ARGS =
107             "ER_NUMBER_HAS_TOO_MANY_ARGS";
108      public static final String ER_NAME_HAS_TOO_MANY_ARGS =
109             "ER_NAME_HAS_TOO_MANY_ARGS";
110      public static final String ER_STRING_HAS_TOO_MANY_ARGS =
111             "ER_STRING_HAS_TOO_MANY_ARGS";
112      public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS =
113             "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS";
114      public static final String ER_TRANSLATE_TAKES_3_ARGS =
115             "ER_TRANSLATE_TAKES_3_ARGS";
116      public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG =
117             "ER_UNPARSEDENTITYURI_TAKES_1_ARG";
118      public static final String ER_NAMESPACEAXIS_NOT_IMPLEMENTED =
119             "ER_NAMESPACEAXIS_NOT_IMPLEMENTED";
120      public static final String ER_UNKNOWN_AXIS = "ER_UNKNOWN_AXIS";
121      public static final String ER_UNKNOWN_MATCH_OPERATION =
122             "ER_UNKNOWN_MATCH_OPERATION";
123      public static final String ER_INCORRECT_ARG_LENGTH ="ER_INCORRECT_ARG_LENGTH";
124      public static final String ER_CANT_CONVERT_TO_NUMBER =
125             "ER_CANT_CONVERT_TO_NUMBER";
126      public static final String ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBER =
127               "ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBER";
128      public static final String ER_CANT_CONVERT_TO_NODELIST =
129             "ER_CANT_CONVERT_TO_NODELIST";
130      public static final String ER_CANT_CONVERT_TO_MUTABLENODELIST =
131             "ER_CANT_CONVERT_TO_MUTABLENODELIST";
132      public static final String ER_CANT_CONVERT_TO_TYPE ="ER_CANT_CONVERT_TO_TYPE";
133      public static final String ER_EXPECTED_MATCH_PATTERN =
134             "ER_EXPECTED_MATCH_PATTERN";
135      public static final String ER_COULDNOT_GET_VAR_NAMED =
136             "ER_COULDNOT_GET_VAR_NAMED";
137      public static final String ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE";
138      public static final String ER_EXTRA_ILLEGAL_TOKENS ="ER_EXTRA_ILLEGAL_TOKENS";
139      public static final String ER_EXPECTED_DOUBLE_QUOTE =
140             "ER_EXPECTED_DOUBLE_QUOTE";
141      public static final String ER_EXPECTED_SINGLE_QUOTE =
142             "ER_EXPECTED_SINGLE_QUOTE";
143      public static final String ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION";
144      public static final String ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND";
145      public static final String ER_INCORRECT_PROGRAMMER_ASSERTION =
146             "ER_INCORRECT_PROGRAMMER_ASSERTION";
147      public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL =
148             "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL";
149      public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG =
150             "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG";
151      public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG =
152             "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG";
153      public static final String ER_PREDICATE_ILLEGAL_SYNTAX =
154             "ER_PREDICATE_ILLEGAL_SYNTAX";
155      public static final String ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME";
156      public static final String ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE";
157      public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED =
158             "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED";
159      public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER =
160             "ER_COULDNOT_BE_FORMATTED_TO_NUMBER";
161      public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON =
162             "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON";
163      public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP =
164             "ER_DIDNOT_FIND_XPATH_SELECT_EXP";
165      public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH =
166             "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH";
167      public static final String ER_ERROR_OCCURED = "ER_ERROR_OCCURED";
168      public static final String ER_ILLEGAL_VARIABLE_REFERENCE =
169             "ER_ILLEGAL_VARIABLE_REFERENCE";
170      public static final String ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED";
171      public static final String ER_KEY_HAS_TOO_MANY_ARGS =
172             "ER_KEY_HAS_TOO_MANY_ARGS";
173      public static final String ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG";
174      public static final String ER_COULDNOT_FIND_FUNCTION =
175             "ER_COULDNOT_FIND_FUNCTION";
176      public static final String ER_UNSUPPORTED_ENCODING ="ER_UNSUPPORTED_ENCODING";
177      public static final String ER_PROBLEM_IN_DTM_NEXTSIBLING =
178             "ER_PROBLEM_IN_DTM_NEXTSIBLING";
179      public static final String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL =
180             "ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL";
181      public static final String ER_SETDOMFACTORY_NOT_SUPPORTED =
182             "ER_SETDOMFACTORY_NOT_SUPPORTED";
183      public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
184      public static final String ER_PARSE_NOT_SUPPORTED = "ER_PARSE_NOT_SUPPORTED";
185      public static final String ER_SAX_API_NOT_HANDLED = "ER_SAX_API_NOT_HANDLED";
186    public static final String ER_IGNORABLE_WHITESPACE_NOT_HANDLED =
187             "ER_IGNORABLE_WHITESPACE_NOT_HANDLED";
188      public static final String ER_DTM_CANNOT_HANDLE_NODES =
189             "ER_DTM_CANNOT_HANDLE_NODES";
190      public static final String ER_XERCES_CANNOT_HANDLE_NODES =
191             "ER_XERCES_CANNOT_HANDLE_NODES";
192      public static final String ER_XERCES_PARSE_ERROR_DETAILS =
193             "ER_XERCES_PARSE_ERROR_DETAILS";
194      public static final String ER_XERCES_PARSE_ERROR = "ER_XERCES_PARSE_ERROR";
195      public static final String ER_INVALID_UTF16_SURROGATE =
196             "ER_INVALID_UTF16_SURROGATE";
197      public static final String ER_OIERROR = "ER_OIERROR";
198      public static final String ER_CANNOT_CREATE_URL = "ER_CANNOT_CREATE_URL";
199      public static final String ER_XPATH_READOBJECT = "ER_XPATH_READOBJECT";
200     public static final String ER_FUNCTION_TOKEN_NOT_FOUND =
201             "ER_FUNCTION_TOKEN_NOT_FOUND";
202      public static final String ER_CANNOT_DEAL_XPATH_TYPE =
203             "ER_CANNOT_DEAL_XPATH_TYPE";
204      public static final String ER_NODESET_NOT_MUTABLE = "ER_NODESET_NOT_MUTABLE";
205      public static final String ER_NODESETDTM_NOT_MUTABLE =
206             "ER_NODESETDTM_NOT_MUTABLE";
207       /**  Variable not resolvable:   */
208      public static final String ER_VAR_NOT_RESOLVABLE = "ER_VAR_NOT_RESOLVABLE";
209       /** Null error handler  */
210     public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
211       /**  Programmer's assertion: unknown opcode  */
212      public static final String ER_PROG_ASSERT_UNKNOWN_OPCODE =
213             "ER_PROG_ASSERT_UNKNOWN_OPCODE";
214       /**  0 or 1   */
215      public static final String ER_ZERO_OR_ONE = "ER_ZERO_OR_ONE";
216       /**  rtf() not supported by XRTreeFragSelectWrapper   */
217      public static final String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
218             "ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
219       /**  asNodeIterator() not supported by XRTreeFragSelectWrapper   */
220      public static final String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
221       /**  fsb() not supported for XStringForChars   */
222      public static final String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS =
223             "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS";
224       /**  Could not find variable with the name of   */
225     public static final String ER_COULD_NOT_FIND_VAR = "ER_COULD_NOT_FIND_VAR";
226       /**  XStringForChars can not take a string for an argument   */
227     public static final String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING =
228             "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING";
229       /**  The FastStringBuffer argument can not be null   */
230     public static final String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL =
231             "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL";
232       /**  2 or 3   */
233      public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
234       /** Variable accessed before it is bound! */
235      public static final String ER_VARIABLE_ACCESSED_BEFORE_BIND =
236             "ER_VARIABLE_ACCESSED_BEFORE_BIND";
237       /** XStringForFSB can not take a string for an argument! */
238     public static final String ER_FSB_CANNOT_TAKE_STRING =
239             "ER_FSB_CANNOT_TAKE_STRING";
240       /** Error! Setting the root of a walker to null! */
241      public static final String ER_SETTING_WALKER_ROOT_TO_NULL =
242             "ER_SETTING_WALKER_ROOT_TO_NULL";
243       /** This NodeSetDTM can not iterate to a previous node! */
244      public static final String ER_NODESETDTM_CANNOT_ITERATE =
245             "ER_NODESETDTM_CANNOT_ITERATE";
246      /** This NodeSet can not iterate to a previous node! */
247     public static final String ER_NODESET_CANNOT_ITERATE =
248             "ER_NODESET_CANNOT_ITERATE";
249      /** This NodeSetDTM can not do indexing or counting functions! */
250      public static final String ER_NODESETDTM_CANNOT_INDEX =
251             "ER_NODESETDTM_CANNOT_INDEX";
252      /** This NodeSet can not do indexing or counting functions! */
253      public static final String ER_NODESET_CANNOT_INDEX =
254             "ER_NODESET_CANNOT_INDEX";
255      /** Can not call setShouldCacheNodes after nextNode has been called! */
256      public static final String ER_CANNOT_CALL_SETSHOULDCACHENODE =
257             "ER_CANNOT_CALL_SETSHOULDCACHENODE";
258      /** {0} only allows {1} arguments */
259     public static final String ER_ONLY_ALLOWS = "ER_ONLY_ALLOWS";
260      /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
261      public static final String ER_UNKNOWN_STEP = "ER_UNKNOWN_STEP";
262      /** Problem with RelativeLocationPath */
263      public static final String ER_EXPECTED_REL_LOC_PATH =
264             "ER_EXPECTED_REL_LOC_PATH";
265      /** Problem with LocationPath */
266      public static final String ER_EXPECTED_LOC_PATH = "ER_EXPECTED_LOC_PATH";
267      public static final String ER_EXPECTED_LOC_PATH_AT_END_EXPR =
268                                            "ER_EXPECTED_LOC_PATH_AT_END_EXPR";
269      /** Problem with Step */
270      public static final String ER_EXPECTED_LOC_STEP = "ER_EXPECTED_LOC_STEP";
271      /** Problem with NodeTest */
272      public static final String ER_EXPECTED_NODE_TEST = "ER_EXPECTED_NODE_TEST";
273      /** Expected step pattern */
274      public static final String ER_EXPECTED_STEP_PATTERN =
275            "ER_EXPECTED_STEP_PATTERN";
276      /** Expected relative path pattern */
277      public static final String ER_EXPECTED_REL_PATH_PATTERN =
278             "ER_EXPECTED_REL_PATH_PATTERN";
279      /** ER_CANT_CONVERT_XPATHRESULTTYPE_TO_BOOLEAN          */
280      public static final String ER_CANT_CONVERT_TO_BOOLEAN =
281             "ER_CANT_CONVERT_TO_BOOLEAN";
282      /** Field ER_CANT_CONVERT_TO_SINGLENODE       */
283      public static final String ER_CANT_CONVERT_TO_SINGLENODE =
284             "ER_CANT_CONVERT_TO_SINGLENODE";
285      /** Field ER_CANT_GET_SNAPSHOT_LENGTH         */
286      public static final String ER_CANT_GET_SNAPSHOT_LENGTH =
287             "ER_CANT_GET_SNAPSHOT_LENGTH";
288      /** Field ER_NON_ITERATOR_TYPE                */
289      public static final String ER_NON_ITERATOR_TYPE = "ER_NON_ITERATOR_TYPE";
290      /** Field ER_DOC_MUTATED                      */
291      public static final String ER_DOC_MUTATED = "ER_DOC_MUTATED";
292      public static final String ER_INVALID_XPATH_TYPE = "ER_INVALID_XPATH_TYPE";
293      public static final String ER_EMPTY_XPATH_RESULT = "ER_EMPTY_XPATH_RESULT";
294      public static final String ER_INCOMPATIBLE_TYPES = "ER_INCOMPATIBLE_TYPES";
295      public static final String ER_NULL_RESOLVER = "ER_NULL_RESOLVER";
296      public static final String ER_CANT_CONVERT_TO_STRING =
297             "ER_CANT_CONVERT_TO_STRING";
298      public static final String ER_NON_SNAPSHOT_TYPE = "ER_NON_SNAPSHOT_TYPE";
299      public static final String ER_WRONG_DOCUMENT = "ER_WRONG_DOCUMENT";
300      /* Note to translators:  The XPath expression cannot be evaluated with respect
301       * to this type of node.
302       */
303      /** Field ER_WRONG_NODETYPE                    */
304      public static final String ER_WRONG_NODETYPE = "ER_WRONG_NODETYPE";
305      public static final String ER_XPATH_ERROR = "ER_XPATH_ERROR";
306    
307      //BEGIN: Keys needed for exception messages of  JAXP 1.3 XPath API implementation
308      public static final String ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED = "ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED";
309      public static final String ER_RESOLVE_VARIABLE_RETURNS_NULL = "ER_RESOLVE_VARIABLE_RETURNS_NULL";
310      public static final String ER_UNSUPPORTED_RETURN_TYPE = "ER_UNSUPPORTED_RETURN_TYPE";
311      public static final String ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL = "ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL";
312      public static final String ER_ARG_CANNOT_BE_NULL = "ER_ARG_CANNOT_BE_NULL";
313    
314      public static final String ER_OBJECT_MODEL_NULL = "ER_OBJECT_MODEL_NULL";
315      public static final String ER_OBJECT_MODEL_EMPTY = "ER_OBJECT_MODEL_EMPTY";
316      public static final String ER_FEATURE_NAME_NULL = "ER_FEATURE_NAME_NULL";
317      public static final String ER_FEATURE_UNKNOWN = "ER_FEATURE_UNKNOWN";
318      public static final String ER_GETTING_NULL_FEATURE = "ER_GETTING_NULL_FEATURE";
319      public static final String ER_GETTING_UNKNOWN_FEATURE = "ER_GETTING_UNKNOWN_FEATURE";
320      public static final String ER_NULL_XPATH_FUNCTION_RESOLVER = "ER_NULL_XPATH_FUNCTION_RESOLVER";
321      public static final String ER_NULL_XPATH_VARIABLE_RESOLVER = "ER_NULL_XPATH_VARIABLE_RESOLVER";
322      //END: Keys needed for exception messages of  JAXP 1.3 XPath API implementation
323    
324      public static final String WG_LOCALE_NAME_NOT_HANDLED =
325             "WG_LOCALE_NAME_NOT_HANDLED";
326      public static final String WG_PROPERTY_NOT_SUPPORTED =
327             "WG_PROPERTY_NOT_SUPPORTED";
328      public static final String WG_DONT_DO_ANYTHING_WITH_NS =
329             "WG_DONT_DO_ANYTHING_WITH_NS";
330      public static final String WG_SECURITY_EXCEPTION = "WG_SECURITY_EXCEPTION";
331      public static final String WG_QUO_NO_LONGER_DEFINED =
332             "WG_QUO_NO_LONGER_DEFINED";
333      public static final String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST =
334             "WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST";
335      public static final String WG_FUNCTION_TOKEN_NOT_FOUND =
336             "WG_FUNCTION_TOKEN_NOT_FOUND";
337      public static final String WG_COULDNOT_FIND_FUNCTION =
338             "WG_COULDNOT_FIND_FUNCTION";
339      public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM";
340      public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED =
341             "WG_EXPAND_ENTITIES_NOT_SUPPORTED";
342      public static final String WG_ILLEGAL_VARIABLE_REFERENCE =
343             "WG_ILLEGAL_VARIABLE_REFERENCE";
344      public static final String WG_UNSUPPORTED_ENCODING ="WG_UNSUPPORTED_ENCODING";
345    
346      /**  detach() not supported by XRTreeFragSelectWrapper   */
347      public static final String ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
348             "ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
349      /**  num() not supported by XRTreeFragSelectWrapper   */
350      public static final String ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
351             "ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
352      /**  xstr() not supported by XRTreeFragSelectWrapper   */
353      public static final String ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
354             "ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
355      /**  str() not supported by XRTreeFragSelectWrapper   */
356      public static final String ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
357             "ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
358    
359      // Error messages...
360    
361    
362      /**
363       * Get the association list.
364       *
365       * @return The association list.
366       */
367      public Object[][] getContents()
368      {
369        return new Object[][]{
370    
371      { "ERROR0000" , "{0}" },
372    
373      { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "Funkcija current() v primerjalnem vzorcu ni dovoljena!" },
374    
375      { ER_CURRENT_TAKES_NO_ARGS, "Funkcija current() ne sprejema argumentov!" },
376    
377      { ER_DOCUMENT_REPLACED,
378          "Implementacija funkcije document() je bila nadome\u0161\u010dena z org.apache.xalan.xslt.FuncDocument!"},
379    
380      { ER_CONTEXT_HAS_NO_OWNERDOC,
381          "Kontekst ne vsebuje lastni\u0161kega dokumenta!"},
382    
383      { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
384          "local-name() ima preve\u010d argumentov."},
385    
386      { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
387          "namespace-uri() ima preve\u010d argumentov."},
388    
389      { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
390          "normalize-space() ima preve\u010d argumentov."},
391    
392      { ER_NUMBER_HAS_TOO_MANY_ARGS,
393          "number() ima preve\u010d argumentov."},
394    
395      { ER_NAME_HAS_TOO_MANY_ARGS,
396         "name() ima preve\u010d argumentov."},
397    
398      { ER_STRING_HAS_TOO_MANY_ARGS,
399          "string() ima preve\u010d argumentov."},
400    
401      { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
402          "string-length() ima preve\u010d argumentov."},
403    
404      { ER_TRANSLATE_TAKES_3_ARGS,
405          "Funkcija translate() sprejme tri argumente!"},
406    
407      { ER_UNPARSEDENTITYURI_TAKES_1_ARG,
408          "Funkcija unparsed-entity-uri bi morala vsebovati en argument!"},
409    
410      { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
411          "Os imenskega prostora \u0161e ni implementirana!"},
412    
413      { ER_UNKNOWN_AXIS,
414         "neznana os: {0}"},
415    
416      { ER_UNKNOWN_MATCH_OPERATION,
417         "neznana operacija ujemanja!"},
418    
419      { ER_INCORRECT_ARG_LENGTH,
420          "Dol\u017eina argumenta pri preskusu vozli\u0161\u010da s processing-instruction() ni pravilna!"},
421    
422      { ER_CANT_CONVERT_TO_NUMBER,
423          "{0} ni mogo\u010de pretvoriti v \u0161tevilko"},
424    
425      { ER_CANT_CONVERT_TO_NODELIST,
426          "{0} ni mogo\u010de pretvoriti v seznam vozli\u0161\u010d (NodeList)"},
427    
428      { ER_CANT_CONVERT_TO_MUTABLENODELIST,
429          "{0} ni mogo\u010de pretvoriti v NodeSetDTM"},
430    
431      { ER_CANT_CONVERT_TO_TYPE,
432          "{0} ni mogo\u010de pretvoriti v type#{1}"},
433    
434      { ER_EXPECTED_MATCH_PATTERN,
435          "Pri\u010dakovan primerjalni vzorec v getMatchScore!"},
436    
437      { ER_COULDNOT_GET_VAR_NAMED,
438          "Nisem na\u0161el predloge z imenom {0}"},
439    
440      { ER_UNKNOWN_OPCODE,
441         "NAPAKA! Neznana op. koda: {0}"},
442    
443      { ER_EXTRA_ILLEGAL_TOKENS,
444         "Dodatni neveljavni \u017eetoni: {0}"},
445    
446    
447      { ER_EXPECTED_DOUBLE_QUOTE,
448          "Napa\u010dno postavljena dobesedna navedba... pri\u010dakovani dvojni narekovaji!"},
449    
450      { ER_EXPECTED_SINGLE_QUOTE,
451          "Napa\u010dno postavljena dobesedna navedba... pri\u010dakovani enojni narekovaji!"},
452    
453      { ER_EMPTY_EXPRESSION,
454         "Prazen izraz!"},
455    
456      { ER_EXPECTED_BUT_FOUND,
457         "Pri\u010dakovano {0}, najdeno: {1}"},
458    
459      { ER_INCORRECT_PROGRAMMER_ASSERTION,
460          "Programerjeva predpostavka ni pravilna! - {0}"},
461    
462      { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
463          "Argument logi\u010dne vrednosti(...) ni ve\u010d izbiren z osnutkom 19990709 XPath."},
464    
465      { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
466          "Najdeno ',' vendar ni predhodnih argumentov!"},
467    
468      { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
469          "Najdeno ',' vendar ni slede\u010dih argumentov!"},
470    
471      { ER_PREDICATE_ILLEGAL_SYNTAX,
472          "'..[predicate]' ali '.[predicate]' je neveljavna sintaksa.  Namesto tega uporabite 'self::node()[predicate]'."},
473    
474      { ER_ILLEGAL_AXIS_NAME,
475         "Neveljavno ime osi: {0}"},
476    
477      { ER_UNKNOWN_NODETYPE,
478         "Neveljavni tip vozli\u0161\u010da: {0}"},
479    
480      { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
481          "Navedek vzorca ({0}) mora biti v navednicah!"},
482    
483      { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
484          "{0} ni mogo\u010de oblikovati v \u0161tevilko!"},
485    
486      { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
487          "Ne morem ustvariti zveze XML TransformerFactory: {0}"},
488    
489      { ER_DIDNOT_FIND_XPATH_SELECT_EXP,
490          "Napaka! Ne najdem izbirnega izraza xpath (-select)."},
491    
492      { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
493          "NAPAKA! Ne najdem ENDOP po OP_LOCATIONPATH"},
494    
495      { ER_ERROR_OCCURED,
496         "Pri\u0161lo je do napake!"},
497    
498      { ER_ILLEGAL_VARIABLE_REFERENCE,
499          "Dani VariableReference je izven konteksta ali brez definicije!  Ime = {0}"},
500    
501      { ER_AXES_NOT_ALLOWED,
502          "V primerjalnih vzorcih so dovoljene samo osi podrejenega:: in atributa::!  Sporne osi = {0}"},
503    
504      { ER_KEY_HAS_TOO_MANY_ARGS,
505          "key()ima nepravilno \u0161tevilo argumentov."},
506    
507      { ER_COUNT_TAKES_1_ARG,
508          "\u0160tevna funkcija zahteva en argument!"},
509    
510      { ER_COULDNOT_FIND_FUNCTION,
511         "Ne najdem funkcije: {0}"},
512    
513      { ER_UNSUPPORTED_ENCODING,
514         "Nepodprto kodiranje: {0}"},
515    
516      { ER_PROBLEM_IN_DTM_NEXTSIBLING,
517          "Pri\u0161lo je do te\u017eave v DTM pri getNextSibling... poskus obnovitve"},
518    
519      { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
520          "Programerska napaka: pisanje v EmptyNodeList ni mogo\u010de."},
521    
522      { ER_SETDOMFACTORY_NOT_SUPPORTED,
523          "setDOMFactory v XPathContext ni podprt!"},
524    
525      { ER_PREFIX_MUST_RESOLVE,
526          "Predpona se mora razre\u0161iti v imenski prostor: {0}"},
527    
528      { ER_PARSE_NOT_SUPPORTED,
529          "Raz\u010dlenitev (vir InputSource) v XPathContext ni podprta! Ne morem odpreti {0}"},
530    
531      { ER_SAX_API_NOT_HANDLED,
532          "Znaki SAX API(znaka ch[]... ne obravnava DTM!"},
533    
534      { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
535          "ignorableWhitespace(znaka ch[]... ne obravnava DTM!"},
536    
537      { ER_DTM_CANNOT_HANDLE_NODES,
538          "DTMLiaison ne more upravljati z vozli\u0161\u010di tipa {0}"},
539    
540      { ER_XERCES_CANNOT_HANDLE_NODES,
541          "DOM2Helper ne more upravljati z vozli\u0161\u010di tipa {0}"},
542    
543      { ER_XERCES_PARSE_ERROR_DETAILS,
544          "Napaka DOM2Helper.parse: ID sistema - {0} vrstica - {1}"},
545    
546      { ER_XERCES_PARSE_ERROR,
547         "Napaka DOM2Helper.parse"},
548    
549      { ER_INVALID_UTF16_SURROGATE,
550          "Zaznan neveljaven nadomestek UTF-16: {0} ?"},
551    
552      { ER_OIERROR,
553         "Napaka V/I"},
554    
555      { ER_CANNOT_CREATE_URL,
556         "Ne morem ustvariti naslova URL za: {0}"},
557    
558      { ER_XPATH_READOBJECT,
559         "V XPath.readObject: {0}"},
560    
561      { ER_FUNCTION_TOKEN_NOT_FOUND,
562          "ne najdem \u017eetona funkcije."},
563    
564      { ER_CANNOT_DEAL_XPATH_TYPE,
565           "Ne morem ravnati z tipom XPath: {0}"},
566    
567      { ER_NODESET_NOT_MUTABLE,
568           "Ta NodeSet ni spremenljiv"},
569    
570      { ER_NODESETDTM_NOT_MUTABLE,
571           "Ta NodeSetDTM ni spremenljiv"},
572    
573      { ER_VAR_NOT_RESOLVABLE,
574            "Spremenljivka ni razre\u0161ljiva: {0}"},
575    
576      { ER_NULL_ERROR_HANDLER,
577            "Program za obravnavo napak NULL"},
578    
579      { ER_PROG_ASSERT_UNKNOWN_OPCODE,
580           "Programerjeva izjava: neznana opkoda: {0}"},
581    
582      { ER_ZERO_OR_ONE,
583           "0 ali 1"},
584    
585      { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
586           "XRTreeFragSelectWrapper ne podpira rtf()"},
587    
588      { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
589           "XRTreeFragSelectWrapper ne podpira asNodeIterator()"},
590    
591       { ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
592                    "XRTreeFragSelectWrapper ne podpira detach()"},
593    
594       { ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
595                    "XRTreeFragSelectWrapper ne podpira num()"},
596    
597       { ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
598                    "XRTreeFragSelectWrapper ne podpira xstr()"},
599    
600       { ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
601                    "XRTreeFragSelectWrapper ne podpira str()"},
602    
603      { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
604           "fsb() ni podprt za XStringForChars"},
605    
606      { ER_COULD_NOT_FIND_VAR,
607          "Spremenljivke z imenom {0} ni mogo\u010de najti"},
608    
609      { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
610          "XStringForChars ne more uporabiti niza za argument"},
611    
612      { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
613          "Argument FastStringBuffer ne more biti NULL"},
614    
615      { ER_TWO_OR_THREE,
616           "2 ali 3"},
617    
618      { ER_VARIABLE_ACCESSED_BEFORE_BIND,
619           "Spremenljivka uporabljena \u0161e pred njeno vezavo!"},
620    
621      { ER_FSB_CANNOT_TAKE_STRING,
622           "XStringForFSB ne more uporabiti niza za argument!"},
623    
624      { ER_SETTING_WALKER_ROOT_TO_NULL,
625           "\n !!!! Napaka! Koren sprehajalca nastavljam na NULL!!!"},
626    
627      { ER_NODESETDTM_CANNOT_ITERATE,
628           "Tega NodeSetDTM ni mogo\u010de ponavljati do prej\u0161njega vozli\u0161\u010da!"},
629    
630      { ER_NODESET_CANNOT_ITERATE,
631           "Tega NodeSet ni mogo\u010de ponavljati do prej\u0161njega vozli\u0161\u010da!"},
632    
633      { ER_NODESETDTM_CANNOT_INDEX,
634           "Ta NodeSetDTM ne more opravljati funkcij priprave kazala ali \u0161tetja!"},
635    
636      { ER_NODESET_CANNOT_INDEX,
637           "Ta NodeSet ne more opravljati funkcij priprave kazala ali \u0161tetja!"},
638    
639      { ER_CANNOT_CALL_SETSHOULDCACHENODE,
640           "Za klicem nextNode klic setShouldCacheNodes ni mogo\u010d!"},
641    
642      { ER_ONLY_ALLOWS,
643           "{0} dovoljuje samo argumente {1}"},
644    
645      { ER_UNKNOWN_STEP,
646           "Programerjeva izjava v getNextStepPos: neznan stepType: {0}"},
647    
648      //Note to translators:  A relative location path is a form of XPath expression.
649      // The message indicates that such an expression was expected following the
650      // characters '/' or '//', but was not found.
651      { ER_EXPECTED_REL_LOC_PATH,
652          "Za \u017eetonom '/' ali '//' je pri\u010dakovana relativna pot do mesta."},
653    
654      // Note to translators:  A location path is a form of XPath expression.
655      // The message indicates that syntactically such an expression was expected,but
656      // the characters specified by the substitution text were encountered instead.
657      { ER_EXPECTED_LOC_PATH,
658           "Pri\u010dakovana pot do lokacije, na\u0161jden pa je naslednji \u017eeton\u003a  {0}"},
659    
660      // Note to translators:  A location path is a form of XPath expression.
661      // The message indicates that syntactically such a subexpression was expected,
662      // but no more characters were found in the expression.
663      { ER_EXPECTED_LOC_PATH_AT_END_EXPR,
664           "Namesto pri\u010dakovane poti do lokacije je najden konec izraza XPath."},
665    
666      // Note to translators:  A location step is part of an XPath expression.
667      // The message indicates that syntactically such an expression was expected
668      // following the specified characters.
669      { ER_EXPECTED_LOC_STEP,
670           "Za \u017eetonom '/' ali '//' je pri\u010dakovan korak mesta."},
671    
672      // Note to translators:  A node test is part of an XPath expression that is
673      // used to test for particular kinds of nodes.  In this case, a node test that
674      // consists of an NCName followed by a colon and an asterisk or that consists
675      // of a QName was expected, but was not found.
676      { ER_EXPECTED_NODE_TEST,
677           "Pri\u010dakovan preskus vozli\u0161\u010da, ki ustreza NCImenu:* ali QImenu."},
678    
679      // Note to translators:  A step pattern is part of an XPath expression.
680      // The message indicates that syntactically such an expression was expected,
681      // but the specified character was found in the expression instead.
682      { ER_EXPECTED_STEP_PATTERN,
683           "Pri\u010dakovan stopnjevalni vzorec, najden pa je '/'."},
684    
685      // Note to translators: A relative path pattern is part of an XPath expression.
686      // The message indicates that syntactically such an expression was expected,
687      // but was not found.
688      { ER_EXPECTED_REL_PATH_PATTERN,
689           "Pri\u010dakovan vzorec z relativno potjo."},
690    
691      // Note to translators:  The substitution text is the name of a data type.  The
692      // message indicates that a value of a particular type could not be converted
693      // to a value of type boolean.
694      { ER_CANT_CONVERT_TO_BOOLEAN,
695           "XPathResult izraza XPath ''{0}'' ima XPathResultType {1}, ki ga ni mogoe\u010de pretvoriti v boolovo vrednost."},
696    
697      // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
698      // FIRST_ORDERED_NODE_TYPE.
699      { ER_CANT_CONVERT_TO_SINGLENODE,
700           "XPathResult izraza XPath ''{0}'' ima XPathResultType {1}, ki ga ni mogo\u010de pretvoriti v eno vozli\u0161\u010de. Metoda getSingleNodeValue velja samo za tipa ANY_UNORDERED_NODE_TYPE in FIRST_ORDERED_NODE_TYPE."},
701    
702      // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
703      // ORDERED_NODE_SNAPSHOT_TYPE.
704      { ER_CANT_GET_SNAPSHOT_LENGTH,
705           "Metoda getSnapshotLength ne more biti priklicana za XPathResult izraza XPath ''{0}'', ker je tip XPathResultType {1}. Ta metoda se nana\u0161a samo na tipa UNORDERED_NODE_SNAPSHOT_TYPE in ORDERED_NODE_SNAPSHOT_TYPE."},
706    
707      { ER_NON_ITERATOR_TYPE,
708           "Metoda iterateNext ne more biti priklicana za XPathResult izraza XPath ''{0}'', ker je tip XPathResultType {1}. Ta metoda se nana\u0161a samo na tipa UNORDERED_NODE_ITERATOR_TYPE in ORDERED_NODE_ITERATOR_TYPE."},
709    
710      // Note to translators: This message indicates that the document being operated
711      // upon changed, so the iterator object that was being used to traverse the
712      // document has now become invalid.
713      { ER_DOC_MUTATED,
714           "Dokument se je spremenil po vrnitvi rezultatov. Iterator je neveljaven."},
715    
716      { ER_INVALID_XPATH_TYPE,
717           "Neveljaven argument tipa XPath: {0}"},
718    
719      { ER_EMPTY_XPATH_RESULT,
720           "Prazen objekt rezultatov XPath"},
721    
722      { ER_INCOMPATIBLE_TYPES,
723           "Rezultat XPathResult izraza XPath ''{0}'' ima XPathResultType {1}, ki ga ni mogo\u010de prisiliti v dolo\u010den tip XPathResultType {2}."},
724    
725      { ER_NULL_RESOLVER,
726           "Predpone ni bilo mogo\u010de razre\u0161iti z razre\u0161evalnikom predpon NULL."},
727    
728      // Note to translators:  The substitution text is the name of a data type.  The
729      // message indicates that a value of a particular type could not be converted
730      // to a value of type string.
731      { ER_CANT_CONVERT_TO_STRING,
732           "Rezultat XPathResult izraza XPath''{0}'' ima XPathResultType {1}, ki ga ni mogo\u010de pretvoriti v niz."},
733    
734      // Note to translators: Do not translate snapshotItem,
735      // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
736      { ER_NON_SNAPSHOT_TYPE,
737           "Metoda snapshotItem ne more biti priklicana za XPathResult izraza XPath ''{0}'', ker je tip XPathResultType {1}. Ta metoda se nana\u0161a samo na tipa UNORDERED_NODE_SNAPSHOT_TYPE in ORDERED_NODE_SNAPSHOT_TYPE."},
738    
739      // Note to translators:  XPathEvaluator is a Java interface name.  An
740      // XPathEvaluator is created with respect to a particular XML document, and in
741      // this case the expression represented by this object was being evaluated with
742      // respect to a context node from a different document.
743      { ER_WRONG_DOCUMENT,
744           "Kontekstno vozli\u0161\u010de ne pripada dokumentu, povezanem s tem XPathEvaluator."},
745    
746      // Note to translators:  The XPath expression cannot be evaluated with respect
747      // to this type of node.
748      { ER_WRONG_NODETYPE,
749           "Tip kontekstnega vozli\u0161\u010da ni podprt."},
750    
751      { ER_XPATH_ERROR,
752           "Neznana napaka v XPath."},
753    
754            { ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBER,
755                    "XPathResult izraza XPath ''{0}'' ima XPathResultType {1}, ki ga ni mogo\u010de pretvoriti v \u0161tevilko."},
756    
757      //BEGIN:  Definitions of error keys used  in exception messages of  JAXP 1.3 XPath API implementation
758    
759      /** Field ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED                       */
760    
761      { ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED,
762           "Raz\u0161iritvene funkcije: ''{0}'' ni mogo\u010de priklicati, kadar je zna\u010dilnost XMLConstants.FEATURE_SECURE_PROCESSING nastavljena na True."},
763    
764      /** Field ER_RESOLVE_VARIABLE_RETURNS_NULL                       */
765    
766      { ER_RESOLVE_VARIABLE_RETURNS_NULL,
767           "Funkcija resolveVariable za spremenljivko {0} vra\u010da rezultat ni\u010d"},
768    
769      /** Field ER_UNSUPPORTED_RETURN_TYPE                       */
770    
771      { ER_UNSUPPORTED_RETURN_TYPE,
772           "Nepodprt tip vrnitve : {0}"},
773    
774      /** Field ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL                       */
775    
776      { ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL,
777           "Vir in/ali Tip vrnitve ne moreta biti ni\u010d"},
778    
779      /** Field ER_ARG_CANNOT_BE_NULL                       */
780    
781      { ER_ARG_CANNOT_BE_NULL,
782           "Argument {0} ne more biti ni\u010d"},
783    
784      /** Field ER_OBJECT_MODEL_NULL                       */
785    
786      { ER_OBJECT_MODEL_NULL,
787           "Funkcije {0}#isObjectModelSupported( String objectModel ) ni mogo\u010de priklicati, kadar je objectModel == null"},
788    
789      /** Field ER_OBJECT_MODEL_EMPTY                       */
790    
791      { ER_OBJECT_MODEL_EMPTY,
792           "Funkcije {0}#isObjectModelSupported( String objectModel ) ni mogo\u010de priklicati, kadar je objectModel == \"\""},
793    
794      /** Field ER_OBJECT_MODEL_EMPTY                       */
795    
796      { ER_FEATURE_NAME_NULL,
797           "Poskus nastavitve funkcije brez imena (null name): {0}#setFeature( null, {1})"},
798    
799      /** Field ER_FEATURE_UNKNOWN                       */
800    
801      { ER_FEATURE_UNKNOWN,
802           "Poskus nastavitve neznane funkcije \"{0}\":{1}#setFeature({0},{2})"},
803    
804      /** Field ER_GETTING_NULL_FEATURE                       */
805    
806      { ER_GETTING_NULL_FEATURE,
807           "Poskus pridobitve funkcije brez imena (null name): {0}#getFeature(null)"},
808    
809      /** Field ER_GETTING_NULL_FEATURE                       */
810    
811      { ER_GETTING_UNKNOWN_FEATURE,
812           "Poskus pridobitve neznane funkcije \"{0}\":{1}#getFeature({0})"},
813    
814      /** Field ER_NULL_XPATH_FUNCTION_RESOLVER                       */
815    
816      { ER_NULL_XPATH_FUNCTION_RESOLVER,
817           "Poskus nastavitve XPathFunctionResolver na ni\u010d:{0}#setXPathFunctionResolver(null)"},
818    
819      /** Field ER_NULL_XPATH_VARIABLE_RESOLVER                       */
820    
821      { ER_NULL_XPATH_VARIABLE_RESOLVER,
822           "Poskus nastavitve funkcije XPathVariableResolver na ni\u010d:{0}#setXPathVariableResolver(null)"},
823    
824      //END:  Definitions of error keys used  in exception messages of  JAXP 1.3 XPath API implementation
825    
826      // Warnings...
827    
828      { WG_LOCALE_NAME_NOT_HANDLED,
829          "Podro\u010dno ime v funkciji za oblikovanje \u0161tevilk \u0161e ni podprto!"},
830    
831      { WG_PROPERTY_NOT_SUPPORTED,
832          "Lastnost XSL ni podprta: {0}"},
833    
834      { WG_DONT_DO_ANYTHING_WITH_NS,
835          "V tem trenutku ne po\u010dnite ni\u010desar z imenskim prostorom {0} v lastnosti: {1}"},
836    
837      { WG_SECURITY_EXCEPTION,
838          "Pri\u0161lo je do SecurityException (varnostna izjema) pri poskusu dostopa do sistemske lastnosti XSL: {0}"},
839    
840      { WG_QUO_NO_LONGER_DEFINED,
841          "Stara sintaksa: quo(...) v XPath ni ve\u010d definiran."},
842    
843      { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
844          "XPath potrebuje izpeljani objekt za implementacijo nodeTest!"},
845    
846      { WG_FUNCTION_TOKEN_NOT_FOUND,
847          "ne najdem \u017eetona funkcije."},
848    
849      { WG_COULDNOT_FIND_FUNCTION,
850          "Ne najdem funkcije: {0}"},
851    
852      { WG_CANNOT_MAKE_URL_FROM,
853          "Ne morem narediti naslova URL iz: {0}"},
854    
855      { WG_EXPAND_ENTITIES_NOT_SUPPORTED,
856          "Mo\u017enost -E za raz\u010dlenjevalnik DTM ni podprta."},
857    
858      { WG_ILLEGAL_VARIABLE_REFERENCE,
859          "Dani VariableReference je izven konteksta ali brez definicije!  Ime = {0}"},
860    
861      { WG_UNSUPPORTED_ENCODING,
862         "Nepodprto kodiranje: {0}"},
863    
864    
865    
866      // Other miscellaneous text used inside the code...
867      { "ui_language", "sl"},
868      { "help_language", "sl"},
869      { "language", "sl"},
870      { "BAD_CODE", "Parameter za createMessage presega meje"},
871      { "FORMAT_FAILED", "Med klicem je messageFormat naletel na izjemo"},
872      { "version", ">>>>>>> Razli\u010dica Xalan "},
873      { "version2", "<<<<<<<"},
874      { "yes", "da"},
875      { "line", "Vrstica #"},
876      { "column", "Stolpec #"},
877      { "xsldone", "XSLProcessor: dokon\u010dano"},
878      { "xpath_option", "Mo\u017enosti xpath: "},
879      { "optionIN", "   [-in inputXMLURL]"},
880      { "optionSelect", "   [-select izraz xpath]"},
881      { "optionMatch", "   [-match primerjalni vzorec (za diagnostiko ujemanja)]"},
882      { "optionAnyExpr", "Ali pa bo samo izraz xpath izvedel diagnosti\u010dni izvoz podatkov"},
883      { "noParsermsg1", "Postopek XSL ni uspel."},
884      { "noParsermsg2", "** Nisem na\u0161el raz\u010dlenjevalnika **"},
885      { "noParsermsg3", "Preverite pot razreda."},
886      { "noParsermsg4", "\u010ce nimate IBM raz\u010dlenjevalnika za Javo, ga lahko prenesete iz"},
887      { "noParsermsg5", "IBM AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"},
888      { "gtone", ">1" },
889      { "zero", "0" },
890      { "one", "1" },
891      { "two" , "2" },
892      { "three", "3" }
893    
894      };
895      }
896    
897    
898      // ================= INFRASTRUCTURE ======================
899    
900      /** Field BAD_CODE          */
901      public static final String BAD_CODE = "BAD_CODE";
902    
903      /** Field FORMAT_FAILED          */
904      public static final String FORMAT_FAILED = "FORMAT_FAILED";
905    
906      /** Field ERROR_RESOURCES          */
907      public static final String ERROR_RESOURCES =
908        "org.apache.xpath.res.XPATHErrorResources";
909    
910      /** Field ERROR_STRING          */
911      public static final String ERROR_STRING = "#error";
912    
913      /** Field ERROR_HEADER          */
914      public static final String ERROR_HEADER = "Napaka: ";
915    
916      /** Field WARNING_HEADER          */
917      public static final String WARNING_HEADER = "Opozorilo: ";
918    
919      /** Field XSL_HEADER          */
920      public static final String XSL_HEADER = "XSL ";
921    
922      /** Field XML_HEADER          */
923      public static final String XML_HEADER = "XML ";
924    
925      /** Field QUERY_HEADER          */
926      public static final String QUERY_HEADER = "VZOREC ";
927    
928    
929      /**
930       * Return a named ResourceBundle for a particular locale.  This method mimics the behavior
931       * of ResourceBundle.getBundle().
932       *
933       * @param className Name of local-specific subclass.
934       * @return the ResourceBundle
935       * @throws MissingResourceException
936       */
937      public static final XPATHErrorResources loadResourceBundle(String className)
938              throws MissingResourceException
939      {
940    
941        Locale locale = Locale.getDefault();
942        String suffix = getResourceSuffix(locale);
943    
944        try
945        {
946    
947          // first try with the given locale
948          return (XPATHErrorResources) ResourceBundle.getBundle(className
949                  + suffix, locale);
950        }
951        catch (MissingResourceException e)
952        {
953          try  // try to fall back to en_US if we can't load
954          {
955    
956            // Since we can't find the localized property file,
957            // fall back to en_US.
958            return (XPATHErrorResources) ResourceBundle.getBundle(className,
959                    new Locale("sl", "SL"));
960          }
961          catch (MissingResourceException e2)
962          {
963    
964            // Now we are really in trouble.
965            // very bad, definitely very bad...not going to get very far
966            throw new MissingResourceException(
967              "Could not load any resource bundles.", className, "");
968          }
969        }
970      }
971    
972      /**
973       * Return the resource file suffic for the indicated locale
974       * For most locales, this will be based the language code.  However
975       * for Chinese, we do distinguish between Taiwan and PRC
976       *
977       * @param locale the locale
978       * @return an String suffix which canbe appended to a resource name
979       */
980      private static final String getResourceSuffix(Locale locale)
981      {
982    
983        String suffix = "_" + locale.getLanguage();
984        String country = locale.getCountry();
985    
986        if (country.equals("TW"))
987          suffix += "_" + country;
988    
989        return suffix;
990      }
991    
992    }