1 16 19 package com.sun.org.apache.xpath.internal.res; 20 21 import java.util.ListResourceBundle ; 22 import java.util.Locale ; 23 import java.util.MissingResourceException ; 24 import java.util.ResourceBundle ; 25 26 36 public class XPATHErrorResources_es extends ListResourceBundle 37 { 38 39 85 86 87 public static final int MAX_CODE = 108; 89 90 public static final int MAX_WARNING = 11; 92 93 public static final int MAX_OTHERS = 20; 94 95 96 public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; 97 98 99 102 public static final String ERROR0000 = "ERROR0000"; 103 public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH = 104 "ER_CURRENT_NOT_ALLOWED_IN_MATCH"; 105 public static final String ER_CURRENT_TAKES_NO_ARGS = 106 "ER_CURRENT_TAKES_NO_ARGS"; 107 public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED"; 108 public static final String ER_CONTEXT_HAS_NO_OWNERDOC = 109 "ER_CONTEXT_HAS_NO_OWNERDOC"; 110 public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS = 111 "ER_LOCALNAME_HAS_TOO_MANY_ARGS"; 112 public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 113 "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS"; 114 public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 115 "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS"; 116 public static final String ER_NUMBER_HAS_TOO_MANY_ARGS = 117 "ER_NUMBER_HAS_TOO_MANY_ARGS"; 118 public static final String ER_NAME_HAS_TOO_MANY_ARGS = 119 "ER_NAME_HAS_TOO_MANY_ARGS"; 120 public static final String ER_STRING_HAS_TOO_MANY_ARGS = 121 "ER_STRING_HAS_TOO_MANY_ARGS"; 122 public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 123 "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS"; 124 public static final String ER_TRANSLATE_TAKES_3_ARGS = 125 "ER_TRANSLATE_TAKES_3_ARGS"; 126 public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG = 127 "ER_UNPARSEDENTITYURI_TAKES_1_ARG"; 128 public static final String ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 129 "ER_NAMESPACEAXIS_NOT_IMPLEMENTED"; 130 public static final String ER_UNKNOWN_AXIS = "ER_UNKNOWN_AXIS"; 131 public static final String ER_UNKNOWN_MATCH_OPERATION = 132 "ER_UNKNOWN_MATCH_OPERATION"; 133 public static final String ER_INCORRECT_ARG_LENGTH ="ER_INCORRECT_ARG_LENGTH"; 134 public static final String ER_CANT_CONVERT_TO_NUMBER = 135 "ER_CANT_CONVERT_TO_NUMBER"; 136 public static final String ER_CANT_CONVERT_TO_NODELIST = 137 "ER_CANT_CONVERT_TO_NODELIST"; 138 public static final String ER_CANT_CONVERT_TO_MUTABLENODELIST = 139 "ER_CANT_CONVERT_TO_MUTABLENODELIST"; 140 public static final String ER_CANT_CONVERT_TO_TYPE ="ER_CANT_CONVERT_TO_TYPE"; 141 public static final String ER_EXPECTED_MATCH_PATTERN = 142 "ER_EXPECTED_MATCH_PATTERN"; 143 public static final String ER_COULDNOT_GET_VAR_NAMED = 144 "ER_COULDNOT_GET_VAR_NAMED"; 145 public static final String ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE"; 146 public static final String ER_EXTRA_ILLEGAL_TOKENS ="ER_EXTRA_ILLEGAL_TOKENS"; 147 public static final String ER_EXPECTED_DOUBLE_QUOTE = 148 "ER_EXPECTED_DOUBLE_QUOTE"; 149 public static final String ER_EXPECTED_SINGLE_QUOTE = 150 "ER_EXPECTED_SINGLE_QUOTE"; 151 public static final String ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION"; 152 public static final String ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND"; 153 public static final String ER_INCORRECT_PROGRAMMER_ASSERTION = 154 "ER_INCORRECT_PROGRAMMER_ASSERTION"; 155 public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 156 "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL"; 157 public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 158 "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG"; 159 public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 160 "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG"; 161 public static final String ER_PREDICATE_ILLEGAL_SYNTAX = 162 "ER_PREDICATE_ILLEGAL_SYNTAX"; 163 public static final String ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME"; 164 public static final String ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE"; 165 public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 166 "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED"; 167 public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 168 "ER_COULDNOT_BE_FORMATTED_TO_NUMBER"; 169 public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 170 "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON"; 171 public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP = 172 "ER_DIDNOT_FIND_XPATH_SELECT_EXP"; 173 public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 174 "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH"; 175 public static final String ER_ERROR_OCCURED = "ER_ERROR_OCCURED"; 176 public static final String ER_ILLEGAL_VARIABLE_REFERENCE = 177 "ER_ILLEGAL_VARIABLE_REFERENCE"; 178 public static final String ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED"; 179 public static final String ER_KEY_HAS_TOO_MANY_ARGS = 180 "ER_KEY_HAS_TOO_MANY_ARGS"; 181 public static final String ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG"; 182 public static final String ER_COULDNOT_FIND_FUNCTION = 183 "ER_COULDNOT_FIND_FUNCTION"; 184 public static final String ER_UNSUPPORTED_ENCODING ="ER_UNSUPPORTED_ENCODING"; 185 public static final String ER_PROBLEM_IN_DTM_NEXTSIBLING = 186 "ER_PROBLEM_IN_DTM_NEXTSIBLING"; 187 public static final String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 188 "ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL"; 189 public static final String ER_SETDOMFACTORY_NOT_SUPPORTED = 190 "ER_SETDOMFACTORY_NOT_SUPPORTED"; 191 public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; 192 public static final String ER_PARSE_NOT_SUPPORTED = "ER_PARSE_NOT_SUPPORTED"; 193 public static final String ER_SAX_API_NOT_HANDLED = "ER_SAX_API_NOT_HANDLED"; 200 public static final String ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 201 "ER_IGNORABLE_WHITESPACE_NOT_HANDLED"; 202 public static final String ER_DTM_CANNOT_HANDLE_NODES = 203 "ER_DTM_CANNOT_HANDLE_NODES"; 204 public static final String ER_XERCES_CANNOT_HANDLE_NODES = 205 "ER_XERCES_CANNOT_HANDLE_NODES"; 206 public static final String ER_XERCES_PARSE_ERROR_DETAILS = 207 "ER_XERCES_PARSE_ERROR_DETAILS"; 208 public static final String ER_XERCES_PARSE_ERROR = "ER_XERCES_PARSE_ERROR"; 209 public static final String ER_INVALID_UTF16_SURROGATE = 214 "ER_INVALID_UTF16_SURROGATE"; 215 public static final String ER_OIERROR = "ER_OIERROR"; 216 public static final String ER_CANNOT_CREATE_URL = "ER_CANNOT_CREATE_URL"; 217 public static final String ER_XPATH_READOBJECT = "ER_XPATH_READOBJECT"; 218 public static final String ER_FUNCTION_TOKEN_NOT_FOUND = 219 "ER_FUNCTION_TOKEN_NOT_FOUND"; 220 public static final String ER_CANNOT_DEAL_XPATH_TYPE = 222 "ER_CANNOT_DEAL_XPATH_TYPE"; 223 public static final String ER_NODESET_NOT_MUTABLE = "ER_NODESET_NOT_MUTABLE"; 224 public static final String ER_NODESETDTM_NOT_MUTABLE = 225 "ER_NODESETDTM_NOT_MUTABLE"; 226 227 public static final String ER_VAR_NOT_RESOLVABLE = "ER_VAR_NOT_RESOLVABLE"; 228 229 public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER"; 230 231 public static final String ER_PROG_ASSERT_UNKNOWN_OPCODE = 232 "ER_PROG_ASSERT_UNKNOWN_OPCODE"; 233 234 public static final String ER_ZERO_OR_ONE = "ER_ZERO_OR_ONE"; 235 236 public static final String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 237 "ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 238 239 public static final String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 240 241 public static final String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 242 "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS"; 243 244 public static final String ER_COULD_NOT_FIND_VAR = "ER_COULD_NOT_FIND_VAR"; 245 246 public static final String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 247 "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING"; 248 249 public static final String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 250 "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL"; 251 252 public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE"; 253 254 public static final String ER_VARIABLE_ACCESSED_BEFORE_BIND = 255 "ER_VARIABLE_ACCESSED_BEFORE_BIND"; 256 257 public static final String ER_FSB_CANNOT_TAKE_STRING = 258 "ER_FSB_CANNOT_TAKE_STRING"; 259 260 public static final String ER_SETTING_WALKER_ROOT_TO_NULL = 261 "ER_SETTING_WALKER_ROOT_TO_NULL"; 262 263 public static final String ER_NODESETDTM_CANNOT_ITERATE = 264 "ER_NODESETDTM_CANNOT_ITERATE"; 265 266 public static final String ER_NODESET_CANNOT_ITERATE = 267 "ER_NODESET_CANNOT_ITERATE"; 268 269 public static final String ER_NODESETDTM_CANNOT_INDEX = 270 "ER_NODESETDTM_CANNOT_INDEX"; 271 272 public static final String ER_NODESET_CANNOT_INDEX = 273 "ER_NODESET_CANNOT_INDEX"; 274 275 public static final String ER_CANNOT_CALL_SETSHOULDCACHENODE = 276 "ER_CANNOT_CALL_SETSHOULDCACHENODE"; 277 278 public static final String ER_ONLY_ALLOWS = "ER_ONLY_ALLOWS"; 279 280 public static final String ER_UNKNOWN_STEP = "ER_UNKNOWN_STEP"; 281 282 public static final String ER_EXPECTED_REL_LOC_PATH = 283 "ER_EXPECTED_REL_LOC_PATH"; 284 285 public static final String ER_EXPECTED_LOC_PATH = "ER_EXPECTED_LOC_PATH"; 286 287 public static final String ER_EXPECTED_LOC_STEP = "ER_EXPECTED_LOC_STEP"; 288 289 public static final String ER_EXPECTED_NODE_TEST = "ER_EXPECTED_NODE_TEST"; 290 291 public static final String ER_EXPECTED_STEP_PATTERN = 292 "ER_EXPECTED_STEP_PATTERN"; 293 294 public static final String ER_EXPECTED_REL_PATH_PATTERN = 295 "ER_EXPECTED_REL_PATH_PATTERN"; 296 297 300 302 public static final String ER_CANT_CONVERT_TO_BOOLEAN = 303 "ER_CANT_CONVERT_TO_BOOLEAN"; 304 305 public static final String ER_CANT_CONVERT_TO_SINGLENODE = 306 "ER_CANT_CONVERT_TO_SINGLENODE"; 307 308 public static final String ER_CANT_GET_SNAPSHOT_LENGTH = 309 "ER_CANT_GET_SNAPSHOT_LENGTH"; 310 311 public static final String ER_NON_ITERATOR_TYPE = "ER_NON_ITERATOR_TYPE"; 312 313 public static final String ER_DOC_MUTATED = "ER_DOC_MUTATED"; 314 public static final String ER_INVALID_XPATH_TYPE = "ER_INVALID_XPATH_TYPE"; 315 public static final String ER_EMPTY_XPATH_RESULT = "ER_EMPTY_XPATH_RESULT"; 316 public static final String ER_INCOMPATIBLE_TYPES = "ER_INCOMPATIBLE_TYPES"; 317 public static final String ER_NULL_RESOLVER = "ER_NULL_RESOLVER"; 318 public static final String ER_CANT_CONVERT_TO_STRING = 319 "ER_CANT_CONVERT_TO_STRING"; 320 public static final String ER_NON_SNAPSHOT_TYPE = "ER_NON_SNAPSHOT_TYPE"; 321 public static final String ER_WRONG_DOCUMENT = "ER_WRONG_DOCUMENT"; 322 325 326 public static final String ER_WRONG_NODETYPE = "ER_WRONG_NODETYPE"; 327 public static final String ER_XPATH_ERROR = "ER_XPATH_ERROR"; 328 329 public static final String WG_LOCALE_NAME_NOT_HANDLED = 330 "WG_LOCALE_NAME_NOT_HANDLED"; 331 public static final String WG_PROPERTY_NOT_SUPPORTED = 332 "WG_PROPERTY_NOT_SUPPORTED"; 333 public static final String WG_DONT_DO_ANYTHING_WITH_NS = 334 "WG_DONT_DO_ANYTHING_WITH_NS"; 335 public static final String WG_SECURITY_EXCEPTION = "WG_SECURITY_EXCEPTION"; 336 public static final String WG_QUO_NO_LONGER_DEFINED = 337 "WG_QUO_NO_LONGER_DEFINED"; 338 public static final String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 339 "WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST"; 340 public static final String WG_FUNCTION_TOKEN_NOT_FOUND = 341 "WG_FUNCTION_TOKEN_NOT_FOUND"; 342 public static final String WG_COULDNOT_FIND_FUNCTION = 343 "WG_COULDNOT_FIND_FUNCTION"; 344 public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM"; 345 public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED = 346 "WG_EXPAND_ENTITIES_NOT_SUPPORTED"; 347 public static final String WG_ILLEGAL_VARIABLE_REFERENCE = 348 "WG_ILLEGAL_VARIABLE_REFERENCE"; 349 public static final String WG_UNSUPPORTED_ENCODING ="WG_UNSUPPORTED_ENCODING"; 350 351 352 354 public static final Object [][] contents = { 355 356 357 358 360 { "ERROR0000" , "{0}" }, 361 362 363 364 366 { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "\u00a1No est\u00e1 permitida la funci\u00f3n current() en un patr\u00f3n de coincidencia!" }, 367 368 369 371 { ER_CURRENT_TAKES_NO_ARGS, "\u00a1La funci\u00f3n current() no acepta argumentos!" }, 372 373 374 { 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 380 382 { ER_CONTEXT_HAS_NO_OWNERDOC, 383 "\u00a1El contexto no tiene un documento propietario!"}, 384 385 386 388 { ER_LOCALNAME_HAS_TOO_MANY_ARGS, 389 "local-name() tiene demasiados argumentos."}, 390 391 392 394 { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, 395 "namespace-uri() tiene demasiados argumentos."}, 396 397 398 { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, 400 "normalize-space() tiene demasiados argumentos."}, 401 402 403 405 { ER_NUMBER_HAS_TOO_MANY_ARGS, 406 "number() tiene demasiados argumentos."}, 407 408 409 411 { ER_NAME_HAS_TOO_MANY_ARGS, 412 "name() tiene demasiados argumentos."}, 413 414 415 417 { ER_STRING_HAS_TOO_MANY_ARGS, 418 "string() tiene demasiados argumentos."}, 419 420 421 423 { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, 424 "string-length() tiene demasiados argumentos."}, 425 426 427 429 { ER_TRANSLATE_TAKES_3_ARGS, 430 "\u00a1La funci\u00f3n translate() utiliza tres argumentos!"}, 431 432 433 435 { ER_UNPARSEDENTITYURI_TAKES_1_ARG, 436 "\u00a1La funci\u00f3n unparsed-entity-uri deber\u00eda utilizar un solo argumento!"}, 437 438 439 441 { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, 442 "\u00a1Eje de espacio de nombres a\u00fan no implementado!"}, 443 444 445 447 { ER_UNKNOWN_AXIS, 448 "Eje desconocido: {0}"}, 449 450 451 453 { ER_UNKNOWN_MATCH_OPERATION, 454 "\u00a1Operaci\u00f3n de coincidencia desconocida!"}, 455 456 457 459 { ER_INCORRECT_ARG_LENGTH, 460 "\u00a1La longitud del argumento de prueba del nodo processing-instruction() es incorrecta!"}, 461 462 463 465 { ER_CANT_CONVERT_TO_NUMBER, 466 "No se puede convertir {0} a un n\u00famero"}, 467 468 469 471 { ER_CANT_CONVERT_TO_NODELIST, 472 "\u00a1No se puede convertir {0} a NodeList!"}, 473 474 475 477 { ER_CANT_CONVERT_TO_MUTABLENODELIST, 478 "\u00a1No se puede convertir {0} a NodeSetDTM!"}, 479 480 481 483 { ER_CANT_CONVERT_TO_TYPE, 484 "No se puede convertir {0} a un tipo {1}"}, 485 486 487 489 { ER_EXPECTED_MATCH_PATTERN, 490 "\u00a1Se esperaba un patr\u00f3n de coincidencia en getMatchScore!"}, 491 492 493 495 { ER_COULDNOT_GET_VAR_NAMED, 496 "No se ha podido obtener la variable de nombre {0}"}, 497 498 499 501 { ER_UNKNOWN_OPCODE, 502 "\u00a1ERROR! C\u00f3digo de operaci\u00f3n desconocido: {0}"}, 503 504 505 507 { ER_EXTRA_ILLEGAL_TOKENS, 508 "Se\u00f1ales extra no permitidas: {0}"}, 509 510 511 513 { ER_EXPECTED_DOUBLE_QUOTE, 514 "Literal sin entrecomillar... \u00a1Se esperaban comillas dobles!"}, 515 516 517 519 { ER_EXPECTED_SINGLE_QUOTE, 520 "Literal sin entrecomillar... \u00a1Se esperaban comillas simples!"}, 521 522 523 525 { ER_EMPTY_EXPRESSION, 526 "\u00a1Expresi\u00f3n vac\u00eda!"}, 527 528 529 531 { ER_EXPECTED_BUT_FOUND, 532 "Se esperaba {0}, pero se ha encontrado: {1}"}, 533 534 535 537 { ER_INCORRECT_PROGRAMMER_ASSERTION, 538 "\u00a1La aserci\u00f3n del programador es incorrecta! - {0}"}, 539 540 541 543 { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, 544 "El argumento boolean(...) ya no es opcional con el borrador de XPath 19990709."}, 545 546 547 549 { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, 550 "\u00a1Se ha encontrado ',' pero sin argumento precedente!"}, 551 552 553 555 { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, 556 "\u00a1Se ha encontrado ',' pero sin argumento siguiente!"}, 557 558 559 561 { ER_PREDICATE_ILLEGAL_SYNTAX, 562 "'..[predicate]' o '.[predicate]' es una sintaxis no permitida. Utilice 'self::node()[predicate]' en su lugar."}, 563 564 565 567 { ER_ILLEGAL_AXIS_NAME, 568 "Nombre de eje no permitido: {0}"}, 569 570 571 573 { ER_UNKNOWN_NODETYPE, 574 "nodetype desconocido: {0}"}, 575 576 577 579 { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, 580 "\u00a1El literal del patr\u00f3n ({0}) tiene que estar entrecomillado!"}, 581 582 583 585 { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, 586 "\u00a1No se ha podido formatear {0} como un n\u00famero!"}, 587 588 589 591 { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, 592 "No se ha podido crear Liaison TransformerFactory XML: {0}"}, 593 594 595 597 { ER_DIDNOT_FIND_XPATH_SELECT_EXP, 598 "\u00a1Error! No se ha encontrado la expresi\u00f3n de selecci\u00f3n (-select) de xpath."}, 599 600 601 603 { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, 604 "\u00a1ERROR! No se ha podido encontrar ENDOP despu\u00e9s de OP_LOCATIONPATH"}, 605 606 607 609 { ER_ERROR_OCCURED, 610 "\u00a1Se ha producido un error!"}, 611 612 613 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 619 621 { ER_AXES_NOT_ALLOWED, 622 "\u00a1S\u00f3lo se permiten los ejes child:: y attribute:: en patrones de coincidencia! Ejes incorrectos = {0}"}, 623 624 625 627 { ER_KEY_HAS_TOO_MANY_ARGS, 628 "key() tiene un n\u00famero incorrecto de argumentos."}, 629 630 631 633 { ER_COUNT_TAKES_1_ARG, 634 "\u00a1La funci\u00f3n count deber\u00eda utilizar un solo argumento!"}, 635 636 637 639 { ER_COULDNOT_FIND_FUNCTION, 640 "No se ha podido encontrar la funci\u00f3n: {0}"}, 641 642 643 645 { ER_UNSUPPORTED_ENCODING, 646 "Codificaci\u00f3n no soportada: {0}"}, 647 648 649 651 { ER_PROBLEM_IN_DTM_NEXTSIBLING, 652 "Se ha producido un problema en DTM en getNextSibling... Intentando recuperar"}, 653 654 655 657 { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, 658 "Error del programador: No se puede escribir enEmptyNodeList."}, 659 660 661 663 { ER_SETDOMFACTORY_NOT_SUPPORTED, 664 "\u00a1setDOMFactory no soportada por XPathContext!"}, 665 666 667 669 { ER_PREFIX_MUST_RESOLVE, 670 "El prefijo debe resolverse como un espacio de nombres: {0}"}, 671 672 673 675 { ER_PARSE_NOT_SUPPORTED, 676 "\u00a1parse (InputSource source) no soportada en XPathContext! No se puede abrir {0}"}, 677 678 679 681 684 685 687 690 691 693 696 697 699 { ER_SAX_API_NOT_HANDLED, 700 "\u00a1API SAX characters(char ch[]... no manejada por DTM!"}, 701 702 703 705 { ER_IGNORABLE_WHITESPACE_NOT_HANDLED, 706 "\u00a1ignorableWhitespace(char ch[]... no manejada por DTM!"}, 707 708 709 711 { ER_DTM_CANNOT_HANDLE_NODES, 712 "DTMLiaison no puede manejar nodos de tipo {0}"}, 713 714 715 717 { ER_XERCES_CANNOT_HANDLE_NODES, 718 "DOM2Helper no puede manejar nodos de tipo {0}"}, 719 720 721 723 { ER_XERCES_PARSE_ERROR_DETAILS, 724 "Error DOM2Helper.parse: SystemID - {0} l\u00ednea - {1}"}, 725 726 727 729 { ER_XERCES_PARSE_ERROR, 730 "Error DOM2Helper.parse"}, 731 732 733 735 738 739 741 744 745 747 { ER_INVALID_UTF16_SURROGATE, 748 "\u00bfSe ha detectado un sustituto UTF-16 no v\u00e1lido: {0}?"}, 749 750 751 753 { ER_OIERROR, 754 "Error de ES"}, 755 756 757 759 { ER_CANNOT_CREATE_URL, 760 "No se puede crear url para: {0}"}, 761 762 763 765 { ER_XPATH_READOBJECT, 766 "En XPath.readObject: {0}"}, 767 768 769 771 { ER_FUNCTION_TOKEN_NOT_FOUND, 772 "Se\u00f1al de funci\u00f3n no encontrada."}, 773 774 775 777 780 781 783 { ER_CANNOT_DEAL_XPATH_TYPE, 784 "No se puede tratar con el tipo XPath: {0}"}, 785 786 787 789 { ER_NODESET_NOT_MUTABLE, 790 "Este NodeSet no es mutable"}, 791 792 793 795 { ER_NODESETDTM_NOT_MUTABLE, 796 "Este NodeSetDTM no es mutable"}, 797 798 799 801 { ER_VAR_NOT_RESOLVABLE, 802 "Variable no resoluble: {0}"}, 803 804 805 807 { ER_NULL_ERROR_HANDLER, 808 "Manejador de error nulo"}, 809 810 811 813 { ER_PROG_ASSERT_UNKNOWN_OPCODE, 814 "Aserci\u00f3n del programador: opcode desconocido: {0}"}, 815 816 817 819 { ER_ZERO_OR_ONE, 820 "0 \u00f3 1"}, 821 822 823 824 826 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 827 "rtf() no soportada por XRTreeFragSelectWrapper"}, 828 829 830 832 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 833 "asNodeIterator() no soportada por XRTreeFragSelectWrapper"}, 834 835 836 838 { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, 839 "fsb() no soportada para XStringForChars"}, 840 841 842 844 { ER_COULD_NOT_FIND_VAR, 845 "No se ha podido encontrar la variable con el nombre {0}"}, 846 847 848 850 { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, 851 "XStringForChars no puede utilizar una serie para un argumento"}, 852 853 854 856 { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL, 857 "El argumento FastStringBuffer no puede ser nulo"}, 858 859 860 861 863 { ER_TWO_OR_THREE, 864 "2 \u00f3 3"}, 865 866 867 869 { ER_VARIABLE_ACCESSED_BEFORE_BIND, 870 "\u00a1Se ha accedido a la variable antes de enlazarla!"}, 871 872 873 875 { ER_FSB_CANNOT_TAKE_STRING, 876 "\u00a1XStringForFSB no puede utilizar una serie para un argumento!"}, 877 878 879 881 { ER_SETTING_WALKER_ROOT_TO_NULL, 882 "\n !!!! \u00a1Error! Estableciendo ra\u00edz de walker como nulo!!!"}, 883 884 885 887 { ER_NODESETDTM_CANNOT_ITERATE, 888 "\u00a1Este NodeSetDTM no puede iterar a un nodo previo!"}, 889 890 891 893 { ER_NODESET_CANNOT_ITERATE, 894 "\u00a1Este NodeSet no puede iterar a un nodo previo!"}, 895 896 897 899 { ER_NODESETDTM_CANNOT_INDEX, 900 "\u00a1Este NodeSetDTM no puede realizar funciones de indexaci\u00f3n o recuento!"}, 901 902 903 905 { ER_NODESET_CANNOT_INDEX, 906 "\u00a1Este NodeSet no puede realizar funciones de indexaci\u00f3n o recuento!"}, 907 908 909 911 { ER_CANNOT_CALL_SETSHOULDCACHENODE, 912 "\u00a1No se puede llamar a setShouldCacheNodes despu\u00e9s de llamar a nextNode!"}, 913 914 915 917 { ER_ONLY_ALLOWS, 918 "{0} s\u00f3lo admite {1} argumentos"}, 919 920 921 923 { ER_UNKNOWN_STEP, 924 "Aserci\u00f3n del programador en getNextStepPos: stepType desconocido: {0}"}, 925 926 930 931 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 940 941 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 950 951 953 { ER_EXPECTED_LOC_STEP, 954 "Se esperaba un paso de ubicaci\u00f3n despu\u00e9s de la se\u00f1al '/' o '//'."}, 955 956 961 962 964 { ER_EXPECTED_NODE_TEST, 965 "Se esperaba una prueba de nodo coincidente con NCName:* o QName."}, 966 967 971 972 974 { ER_EXPECTED_STEP_PATTERN, 975 "Se esperaba un patr\u00f3n de paso, pero se ha encontrado '/'."}, 976 977 981 982 984 { ER_EXPECTED_REL_PATH_PATTERN, 985 "Se esperaba un patr\u00f3n de v\u00eda de acceso relativa."}, 986 987 991 992 994 997 1001 1002 1004 1007 1011 1012 1014 { ER_CANT_CONVERT_TO_BOOLEAN, 1015 "No se puede convertir {0} a booleano."}, 1016 1017 1020 1021 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 1029 1030 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 1036 1038 { ER_NON_ITERATOR_TYPE, 1039 "No se puede iterar sobre un tipo no iterador: {0}"}, 1040 1041 1045 1046 1048 { ER_DOC_MUTATED, 1049 "El documento ha mutado desde que se devolvi\u00f3 el resultado. El iterador no es v\u00e1lido."}, 1050 1051 1052 1054 { ER_INVALID_XPATH_TYPE, 1055 "Argumento de tipo XPath no v\u00e1lido: {0}"}, 1056 1057 1058 1060 { ER_EMPTY_XPATH_RESULT, 1061 "Objeto de resultado XPath vac\u00edo"}, 1062 1063 1064 1066 { ER_INCOMPATIBLE_TYPES, 1067 "El tipo devuelto: {0} no se puede forzar al tipo especificado: {1}"}, 1068 1069 1070 1072 { ER_NULL_RESOLVER, 1073 "Imposible resolver prefijo con un solucionador de prefijo nulo."}, 1074 1075 1079 1080 1082 { ER_CANT_CONVERT_TO_STRING, 1083 "No se puede convertir {0} a serie."}, 1084 1085 1088 1089 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 1099 1100 1102 { ER_WRONG_DOCUMENT, 1103 "El nodo de contexto no pertenece al documento que est\u00e1 enlazado a este XPathEvaluator."}, 1104 1105 1108 1110 { ER_WRONG_NODETYPE, 1111 "El tipo de nodo de contexto no est\u00e1 soportado."}, 1112 1113 1114 1116 { ER_XPATH_ERROR, 1117 "Error desconocido en XPath."}, 1118 1119 1120 1122 1123 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 1129 1131 { WG_PROPERTY_NOT_SUPPORTED, 1132 "Propiedad XSL no soportada: {0}"}, 1133 1134 1135 1137 { WG_DONT_DO_ANYTHING_WITH_NS, 1138 "No hacer nada actualmente con el espacio de nombres {0} en la propiedad: {1}"}, 1139 1140 1141 1143 { WG_SECURITY_EXCEPTION, 1144 "SecurityException al intentar acceder a la propiedad del sistema XSL: {0}"}, 1145 1146 1147 1149 { WG_QUO_NO_LONGER_DEFINED, 1150 "La antigua sintaxis: quo(...) ya no est\u00e1 definida en XPath."}, 1151 1152 1153 1155 { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST, 1156 "\u00a1XPath necesita un objeto derivado para implementar nodeTest!"}, 1157 1158 1159 1161 { WG_FUNCTION_TOKEN_NOT_FOUND, 1162 "Se\u00f1al de funci\u00f3n no encontrada."}, 1163 1164 1165 1167 { WG_COULDNOT_FIND_FUNCTION, 1168 "No se ha podido encontrar la funci\u00f3n: {0}"}, 1169 1170 1171 1173 { WG_CANNOT_MAKE_URL_FROM, 1174 "No se puede crear URL desde: {0}"}, 1175 1176 1177 1179 { WG_EXPAND_ENTITIES_NOT_SUPPORTED, 1180 "Opci\u00f3n -E no soportada para analizador DTM"}, 1181 1182 1183 1185 { WG_ILLEGAL_VARIABLE_REFERENCE, 1186 "\u00a1VariableReference dada para la variable est\u00e1 fuera de contexto o sin definici\u00f3n! Nombre = {0}"}, 1187 1188 1189 1191 { WG_UNSUPPORTED_ENCODING, 1192 "Codificaci\u00f3n no soportada: {0}"}, 1193 1194 1195 1196 { "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 1229 1230 public static final String BAD_CODE = "BAD_CODE"; 1231 1232 1233 public static final String FORMAT_FAILED = "FORMAT_FAILED"; 1234 1235 1236 public static final String ERROR_RESOURCES = 1237 "com.sun.org.apache.xpath.internal.res.XPATHErrorResources"; 1238 1239 1240 public static final String ERROR_STRING = "#error"; 1241 1242 1243 public static final String ERROR_HEADER = "Error: "; 1244 1245 1246 public static final String WARNING_HEADER = "Aviso: "; 1247 1248 1249 public static final String XSL_HEADER = "XSL "; 1250 1251 1252 public static final String XML_HEADER = "XML "; 1253 1254 1255 public static final String QUERY_HEADER = "PATTERN "; 1256 1257 1262 protected Object [][] getContents() { 1263 Object [][] msgCopy = new Object [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 1285 public static final XPATHErrorResources loadResourceBundle(String className) 1286 throws MissingResourceException 1287 { 1288 1289 Locale locale = Locale.getDefault(); 1290 String suffix = getResourceSuffix(locale); 1291 1292 try 1293 { 1294 1295 return (XPATHErrorResources) ResourceBundle.getBundle(className 1297 + suffix, locale); 1298 } 1299 catch (MissingResourceException e) 1300 { 1301 try { 1303 1304 return (XPATHErrorResources) ResourceBundle.getBundle(className, 1307 new Locale ("es", "ES")); 1308 } 1309 catch (MissingResourceException e2) 1310 { 1311 1312 throw new MissingResourceException ( 1315 "Could not load any resource bundles.", className, ""); 1316 } 1317 } 1318 } 1319 1320 1328 private static final String getResourceSuffix(Locale locale) 1329 { 1330 1331 String suffix = "_" + locale.getLanguage(); 1332 String country = locale.getCountry(); 1333 1334 if (country.equals("TW")) 1335 suffix += "_" + country; 1336 1337 return suffix; 1338 } 1339 1340} 1341 | Popular Tags |