KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xpath > internal > res > XPATHErrorResources_es


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

19 package com.sun.org.apache.xpath.internal.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_es 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, "\u00a1No est\u00e1 permitida la funci\u00f3n current() en un patr\u00f3n de coincidencia!" },
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, "\u00a1La funci\u00f3n current() no acepta argumentos!" },
372
373   /** Field ER_DOCUMENT_REPLACED */
374 // public static final int ER_DOCUMENT_REPLACED = 3;
375
{ ER_DOCUMENT_REPLACED,
376       "\u00a1La implementaci\u00f3n de la funci\u00f3n document() ha sido sustituida por com.sun.org.apache.xalan.internal.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       "\u00a1El contexto no tiene un documento propietario!"},
384
385   /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
386  // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
387

388   { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
389       "local-name() tiene demasiados argumentos."},
390
391   /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
392  //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
393

394   { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
395       "namespace-uri() tiene demasiados argumentos."},
396
397   /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
398 // public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
399
{ ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
400       "normalize-space() tiene demasiados argumentos."},
401
402   /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
403 // public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
404

405   { ER_NUMBER_HAS_TOO_MANY_ARGS,
406       "number() tiene demasiados argumentos."},
407
408   /** Field ER_NAME_HAS_TOO_MANY_ARGS */
409 // public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
410

411   { ER_NAME_HAS_TOO_MANY_ARGS,
412      "name() tiene demasiados argumentos."},
413
414   /** Field ER_STRING_HAS_TOO_MANY_ARGS */
415 // public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
416

417   { ER_STRING_HAS_TOO_MANY_ARGS,
418       "string() tiene demasiados argumentos."},
419
420   /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
421 // public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
422

423   { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
424       "string-length() tiene demasiados argumentos."},
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       "\u00a1La funci\u00f3n translate() utiliza tres argumentos!"},
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       "\u00a1La funci\u00f3n unparsed-entity-uri deber\u00eda utilizar un solo argumento!"},
437
438   /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
439 // public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
440

441   { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
442       "\u00a1Eje de espacio de nombres a\u00fan no implementado!"},
443
444   /** Field ER_UNKNOWN_AXIS */
445 // public static final int ER_UNKNOWN_AXIS = 15;
446

447   { ER_UNKNOWN_AXIS,
448      "Eje desconocido: {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      "\u00a1Operaci\u00f3n de coincidencia desconocida!"},
455
456   /** Field ER_INCORRECT_ARG_LENGTH */
457 // public static final int ER_INCORRECT_ARG_LENGTH = 17;
458

459   { ER_INCORRECT_ARG_LENGTH,
460       "\u00a1La longitud del argumento de prueba del nodo processing-instruction() es incorrecta!"},
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       "No se puede convertir {0} a un n\u00famero"},
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       "\u00a1No se puede convertir {0} a NodeList!"},
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       "\u00a1No se puede convertir {0} a NodeSetDTM!"},
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       "No se puede convertir {0} a un tipo {1}"},
485
486   /** Field ER_EXPECTED_MATCH_PATTERN */
487 // public static final int ER_EXPECTED_MATCH_PATTERN = 22;
488

489   { ER_EXPECTED_MATCH_PATTERN,
490       "\u00a1Se esperaba un patr\u00f3n de coincidencia en getMatchScore!"},
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       "No se ha podido obtener la variable de nombre {0}"},
497
498   /** Field ER_UNKNOWN_OPCODE */
499 // public static final int ER_UNKNOWN_OPCODE = 24;
500

501   { ER_UNKNOWN_OPCODE,
502      "\u00a1ERROR! C\u00f3digo de operaci\u00f3n desconocido: {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      "Se\u00f1ales extra no permitidas: {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       "Literal sin entrecomillar... \u00a1Se esperaban comillas dobles!"},
515
516   /** Field ER_EXPECTED_SINGLE_QUOTE */
517 // public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
518

519   { ER_EXPECTED_SINGLE_QUOTE,
520       "Literal sin entrecomillar... \u00a1Se esperaban comillas simples!"},
521
522   /** Field ER_EMPTY_EXPRESSION */
523 // public static final int ER_EMPTY_EXPRESSION = 28;
524

525   { ER_EMPTY_EXPRESSION,
526      "\u00a1Expresi\u00f3n vac\u00eda!"},
527
528   /** Field ER_EXPECTED_BUT_FOUND */
529 // public static final int ER_EXPECTED_BUT_FOUND = 29;
530

531   { ER_EXPECTED_BUT_FOUND,
532      "Se esperaba {0}, pero se ha encontrado: {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       "\u00a1La aserci\u00f3n del programador es incorrecta! - {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       "El argumento boolean(...) ya no es opcional con el borrador de XPath 19990709."},
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       "\u00a1Se ha encontrado ',' pero sin argumento precedente!"},
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       "\u00a1Se ha encontrado ',' pero sin argumento siguiente!"},
557
558   /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
559 // public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
560

561   { ER_PREDICATE_ILLEGAL_SYNTAX,
562       "'..[predicate]' o '.[predicate]' es una sintaxis no permitida. Utilice 'self::node()[predicate]' en su lugar."},
563
564   /** Field ER_ILLEGAL_AXIS_NAME */
565 // public static final int ER_ILLEGAL_AXIS_NAME = 35;
566

567   { ER_ILLEGAL_AXIS_NAME,
568      "Nombre de eje no permitido: {0}"},
569
570   /** Field ER_UNKNOWN_NODETYPE */
571 // public static final int ER_UNKNOWN_NODETYPE = 36;
572

573   { ER_UNKNOWN_NODETYPE,
574      "nodetype desconocido: {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       "\u00a1El literal del patr\u00f3n ({0}) tiene que estar entrecomillado!"},
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       "\u00a1No se ha podido formatear {0} como un n\u00famero!"},
587
588   /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
589 // public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
590

591   { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
592       "No se ha podido crear Liaison TransformerFactory XML: {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       "\u00a1Error! No se ha encontrado la expresi\u00f3n de selecci\u00f3n (-select) de xpath."},
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       "\u00a1ERROR! No se ha podido encontrar ENDOP despu\u00e9s de OP_LOCATIONPATH"},
605
606   /** Field ER_ERROR_OCCURED */
607 // public static final int ER_ERROR_OCCURED = 42;
608

609   { ER_ERROR_OCCURED,
610      "\u00a1Se ha producido un error!"},
611
612   /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
613 // public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
614

615   { ER_ILLEGAL_VARIABLE_REFERENCE,
616       "\u00a1La VariableReference dada para la variable est\u00e1 fuera de contexto o sin definici\u00f3n! Nombre = {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       "\u00a1S\u00f3lo se permiten los ejes child:: y attribute:: en patrones de coincidencia! Ejes incorrectos = {0}"},
623
624   /** Field ER_KEY_HAS_TOO_MANY_ARGS */
625 // public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
626

627   { ER_KEY_HAS_TOO_MANY_ARGS,
628       "key() tiene un n\u00famero incorrecto de argumentos."},
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       "\u00a1La funci\u00f3n count deber\u00eda utilizar un solo argumento!"},
635
636   /** Field ER_COULDNOT_FIND_FUNCTION */
637 // public static final int ER_COULDNOT_FIND_FUNCTION = 47;
638

639   { ER_COULDNOT_FIND_FUNCTION,
640      "No se ha podido encontrar la funci\u00f3n: {0}"},
641
642   /** Field ER_UNSUPPORTED_ENCODING */
643 // public static final int ER_UNSUPPORTED_ENCODING = 48;
644

645   { ER_UNSUPPORTED_ENCODING,
646      "Codificaci\u00f3n no soportada: {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       "Se ha producido un problema en DTM en getNextSibling... Intentando recuperar"},
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       "Error del programador: No se puede escribir enEmptyNodeList."},
659
660   /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
661 // public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
662

663   { ER_SETDOMFACTORY_NOT_SUPPORTED,
664       "\u00a1setDOMFactory no soportada por 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       "El prefijo debe resolverse como un espacio de nombres: {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       "\u00a1parse (InputSource source) no soportada en XPathContext! No se puede abrir {0}"},
677
678   /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */
679 // public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
680

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

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

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

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

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

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

699   { ER_SAX_API_NOT_HANDLED,
700       "\u00a1API SAX characters(char ch[]... no manejada por 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       "\u00a1ignorableWhitespace(char ch[]... no manejada por 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       "DTMLiaison no puede manejar nodos de tipo {0}"},
713
714   /** Field ER_XERCES_CANNOT_HANDLE_NODES */
715 // public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
716

717   { ER_XERCES_CANNOT_HANDLE_NODES,
718       "DOM2Helper no puede manejar nodos de tipo {0}"},
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       "Error DOM2Helper.parse: SystemID - {0} l\u00ednea - {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      "Error DOM2Helper.parse"},
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       "\u00bfSe ha detectado un sustituto UTF-16 no v\u00e1lido: {0}?"},
749
750   /** Field ER_OIERROR */
751   //public static final int ER_OIERROR = 66;
752

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

759   { ER_CANNOT_CREATE_URL,
760      "No se puede crear url para: {0}"},
761
762   /** Field ER_XPATH_READOBJECT */
763 // public static final int ER_XPATH_READOBJECT = 68;
764

765   { ER_XPATH_READOBJECT,
766      "En XPath.readObject: {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       "Se\u00f1al de funci\u00f3n no encontrada."},
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        "No se puede tratar con el tipo XPath: {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        "Este NodeSet no es mutable"},
791
792    /** This NodeSetDTM is not mutable */
793 // public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
794

795   { ER_NODESETDTM_NOT_MUTABLE,
796        "Este NodeSetDTM no es mutable"},
797
798    /** Variable not resolvable: */
799 // public static final int ER_VAR_NOT_RESOLVABLE = 74;
800

801   { ER_VAR_NOT_RESOLVABLE,
802         "Variable no resoluble: {0}"},
803
804    /** Null error handler */
805 // public static final int ER_NULL_ERROR_HANDLER = 75;
806

807   { ER_NULL_ERROR_HANDLER,
808         "Manejador de error nulo"},
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        "Aserci\u00f3n del programador: opcode desconocido: {0}"},
815
816    /** 0 or 1 */
817 // public static final int ER_ZERO_OR_ONE = 77;
818

819   { ER_ZERO_OR_ONE,
820        "0 \u00f3 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        "rtf() no soportada por 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        "asNodeIterator() no soportada por 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        "fsb() no soportada para XStringForChars"},
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       "No se ha podido encontrar la variable con el nombre {0}"},
846
847    /** XStringForChars can not take a string for an argument */
848 // public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
849

850   { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
851       "XStringForChars no puede utilizar una serie para un argumento"},
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       "El argumento FastStringBuffer no puede ser nulo"},
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 \u00f3 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        "\u00a1Se ha accedido a la variable antes de enlazarla!"},
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        "\u00a1XStringForFSB no puede utilizar una serie para un argumento!"},
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 !!!! \u00a1Error! Estableciendo ra\u00edz de walker como nulo!!!"},
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        "\u00a1Este NodeSetDTM no puede iterar a un nodo previo!"},
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        "\u00a1Este NodeSet no puede iterar a un nodo previo!"},
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        "\u00a1Este NodeSetDTM no puede realizar funciones de indexaci\u00f3n o recuento!"},
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        "\u00a1Este NodeSet no puede realizar funciones de indexaci\u00f3n o recuento!"},
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        "\u00a1No se puede llamar a setShouldCacheNodes despu\u00e9s de llamar a nextNode!"},
913
914   /** {0} only allows {1} arguments */
915 // public static final int ER_ONLY_ALLOWS = 93;
916

917   { ER_ONLY_ALLOWS,
918        "{0} s\u00f3lo admite {1} argumentos"},
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        "Aserci\u00f3n del programador en getNextStepPos: stepType desconocido: {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       "Se esperaba una v\u00eda de acceso de ubicaci\u00f3n relativa despu\u00e9s de la se\u00f1al '/' o '//'."},
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        "Se esperaba una v\u00eda de acceso de ubicaci\u00f3n, pero se ha encontrado la se\u00f1al siguiente\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        "Se esperaba un paso de ubicaci\u00f3n despu\u00e9s de la se\u00f1al '/' o '//'."},
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        "Se esperaba una prueba de nodo coincidente con NCName:* o QName."},
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        "Se esperaba un patr\u00f3n de paso, pero se ha encontrado '/'."},
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        "Se esperaba un patr\u00f3n de v\u00eda de acceso relativa."},
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       "No se puede convertir {0} a booleano."},
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       "No se puede convertir {0} a un solo nodo. Este obtenedor se aplica a los tipos ANY_UNORDERED_NODE_TYPE y FIRST_ORDERED_NODE_TYPE."},
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       "No se puede obtener longitud de instant\u00e1nea sobre el tipo: {0}. Este obtenedor se aplica a los tipos UNORDERED_NODE_SNAPSHOT_TYPE y ORDERED_NODE_SNAPSHOT_TYPE."},
1034
1035  /** Field ER_NON_ITERATOR_TYPE */
1036  //public static final int ER_NON_ITERATOR_TYPE = 106;
1037

1038  { ER_NON_ITERATOR_TYPE,
1039       "No se puede iterar sobre un tipo no iterador: {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       "El documento ha mutado desde que se devolvi\u00f3 el resultado. El iterador no es v\u00e1lido."},
1050
1051  /** Field ER_INVALID_XPATH_TYPE */
1052// public static final int ER_INVALID_XPATH_TYPE = 108;
1053

1054  { ER_INVALID_XPATH_TYPE,
1055       "Argumento de tipo XPath no v\u00e1lido: {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       "Objeto de resultado XPath vac\u00edo"},
1062
1063  /** Field ER_INCOMPATIBLE_TYPES */
1064// public static final int ER_INCOMPATIBLE_TYPES = 110;
1065

1066  { ER_INCOMPATIBLE_TYPES,
1067       "El tipo devuelto: {0} no se puede forzar al tipo especificado: {1}"},
1068
1069  /** Field ER_NULL_RESOLVER */
1070 // public static final int ER_NULL_RESOLVER = 111;
1071

1072  { ER_NULL_RESOLVER,
1073       "Imposible resolver prefijo con un solucionador de prefijo nulo."},
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       "No se puede convertir {0} a serie."},
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       "No se puede llamar a snapshotItem sobre el tipo: {0}. Este m\u00e9todo se aplica a los tipos UNORDERED_NODE_SNAPSHOT_TYPE y ORDERED_NODE_SNAPSHOT_TYPE."},
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       "El nodo de contexto no pertenece al documento que est\u00e1 enlazado a este XPathEvaluator."},
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       "El tipo de nodo de contexto no est\u00e1 soportado."},
1112
1113  /** Field ER_XPATH_ERROR */
1114// public static final int ER_XPATH_ERROR = 116;
1115

1116  { ER_XPATH_ERROR,
1117       "Error desconocido en XPath."},
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      "\u00a1No se maneja a\u00fan el nombre de entorno local en la funci\u00f3n format-number!"},
1127
1128  /** Field WG_PROPERTY_NOT_SUPPORTED */
1129// public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
1130

1131  { WG_PROPERTY_NOT_SUPPORTED,
1132      "Propiedad XSL no soportada: {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      "No hacer nada actualmente con el espacio de nombres {0} en la propiedad: {1}"},
1139
1140  /** Field WG_SECURITY_EXCEPTION */
1141// public static final int WG_SECURITY_EXCEPTION = 4;
1142

1143  { WG_SECURITY_EXCEPTION,
1144      "SecurityException al intentar acceder a la propiedad del sistema XSL: {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      "La antigua sintaxis: quo(...) ya no est\u00e1 definida en XPath."},
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      "\u00a1XPath necesita un objeto derivado para implementar nodeTest!"},
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      "Se\u00f1al de funci\u00f3n no encontrada."},
1163
1164  /** Field WG_COULDNOT_FIND_FUNCTION */
1165// public static final int WG_COULDNOT_FIND_FUNCTION = 8;
1166

1167  { WG_COULDNOT_FIND_FUNCTION,
1168      "No se ha podido encontrar la funci\u00f3n: {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      "No se puede crear URL desde: {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      "Opci\u00f3n -E no soportada para analizador DTM"},
1181
1182  /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
1183// public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
1184

1185  { WG_ILLEGAL_VARIABLE_REFERENCE,
1186      "\u00a1VariableReference dada para la variable est\u00e1 fuera de contexto o sin definici\u00f3n! Nombre = {0}"},
1187
1188  /** Field WG_UNSUPPORTED_ENCODING */
1189// public static final int WG_UNSUPPORTED_ENCODING = 12;
1190

1191  { WG_UNSUPPORTED_ENCODING,
1192     "Codificaci\u00f3n no soportada: {0}"},
1193
1194
1195
1196  // Other miscellaneous text used inside the code...
1197
{ "ui_language", "es"},
1198  { "help_language", "es"},
1199  { "language", "es"},
1200  { "BAD_CODE", "El par\u00e1metro para createMessage estaba fuera de los l\u00edmites"},
1201  { "FORMAT_FAILED", "Se ha generado una excepci\u00f3n durante la llamada messageFormat"},
1202  { "version", ">>>>>>> Xalan versi\u00f3n"},
1203  { "version2", "<<<<<<<"},
1204  { "yes", "s\u00ed"},
1205  { "line", "L\u00ednea n\u00fam."},
1206  { "column", "Columna n\u00fam."},
1207  { "xsldone", "XSLProcessor: terminado"},
1208  { "xpath_option", "Opciones de xpath:"},
1209  { "optionIN", "[-in URLXMLEntrada]"},
1210  { "optionSelect", "[-select expresi\u00f3n xpath]"},
1211  { "optionMatch", "[-match patr\u00f3n de coincidencia (para diagn\u00f3sticos de coincidencia)]"},
1212  { "optionAnyExpr", "O simplemente una expresi\u00f3n xpath realizar\u00e1 un vuelco de diagn\u00f3stico"},
1213  { "noParsermsg1", "El proceso XSL no ha sido satisfactorio."},
1214  { "noParsermsg2", "** No se ha podido encontrar el analizador **"},
1215  { "noParsermsg3", "Compruebe la classpath."},
1216  { "noParsermsg4", "Si no dispone del analizador XML para Java de IBM, puede bajarlo de "},
1217  { "noParsermsg5", "IBM AlphaWorks: 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    "com.sun.org.apache.xpath.internal.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 = "Error: ";
1244
1245  /** Field WARNING_HEADER */
1246  public static final String JavaDoc WARNING_HEADER = "Aviso: ";
1247
1248  /** Field XSL_HEADER */
1249  public static final String JavaDoc XSL_HEADER = "XSL ";
1250
1251  /** Field XML_HEADER */
1252  public static final String JavaDoc XML_HEADER = "XML ";
1253
1254  /** Field QUERY_HEADER */
1255  public static final String JavaDoc QUERY_HEADER = "PATTERN ";
1256
1257  /**
1258   * Get the association list.
1259   *
1260   * @return The association list.
1261   */

1262  protected Object JavaDoc[][] getContents() {
1263      // return a copy of contents; in theory we want a deep clone
1264
// of contents, but since it only contains (immutable) Strings,
1265
// this shallow copy is sufficient
1266
Object JavaDoc[][] msgCopy = new Object JavaDoc[contents.length][2];
1267      for (int i = 0; i < contents.length; i++) {
1268          msgCopy[i][0] = contents[i][0];
1269          msgCopy[i][1] = contents[i][1];
1270      }
1271      return msgCopy;
1272  }
1273
1274  /**
1275   * Return a named ResourceBundle for a particular locale. This method mimics the behavior
1276   * of ResourceBundle.getBundle().
1277   *
1278   * @param res the name of the resource to load.
1279   * @param locale the locale to prefer when searching for the bundle
1280   *
1281   * @param className Name of local-specific subclass.
1282   * @return the ResourceBundle
1283   * @throws MissingResourceException
1284   */

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

1328  private static final String JavaDoc getResourceSuffix(Locale JavaDoc locale)
1329  {
1330
1331    String JavaDoc suffix = "_" + locale.getLanguage();
1332    String JavaDoc country = locale.getCountry();
1333
1334    if (country.equals("TW"))
1335      suffix += "_" + country;
1336
1337    return suffix;
1338  }
1339
1340}
1341
Popular Tags