1 16 19 package org.apache.xpath.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_pt_BR 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, "A fun\u00e7\u00e3o current() n\u00e3o \u00e9 permitida em um padr\u00e3o de correspond\u00eancia!" }, 367 368 369 371 { ER_CURRENT_TAKES_NO_ARGS, "A fun\u00e7\u00e3o current() n\u00e3o aceita argumentos!" }, 372 373 374 { ER_DOCUMENT_REPLACED, 376 "A implementa\u00e7\u00e3o da fun\u00e7\u00e3o document() foi substitu\u00edda por org.apache.xalan.xslt.FuncDocument!"}, 377 378 379 380 382 { ER_CONTEXT_HAS_NO_OWNERDOC, 383 "context n\u00e3o possui um documento do propriet\u00e1rio!"}, 384 385 386 388 { ER_LOCALNAME_HAS_TOO_MANY_ARGS, 389 "local-name() possui argumentos em excesso."}, 390 391 392 394 { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, 395 "namespace-uri() possui argumentos em excesso."}, 396 397 398 { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, 400 "normalize-space() possui argumentos em excesso."}, 401 402 403 405 { ER_NUMBER_HAS_TOO_MANY_ARGS, 406 "number() possui argumentos em excesso."}, 407 408 409 411 { ER_NAME_HAS_TOO_MANY_ARGS, 412 "name() possui argumentos em excesso."}, 413 414 415 417 { ER_STRING_HAS_TOO_MANY_ARGS, 418 "string() possui argumentos em excesso."}, 419 420 421 423 { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, 424 "string-length() possui argumentos em excesso."}, 425 426 427 429 { ER_TRANSLATE_TAKES_3_ARGS, 430 "A fun\u00e7\u00e3o translate() tem tr\u00eas argumentos!"}, 431 432 433 435 { ER_UNPARSEDENTITYURI_TAKES_1_ARG, 436 "A fun\u00e7\u00e3o unparsed-entity-uri deve ter um argumento!"}, 437 438 439 441 { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, 442 "namespace axis ainda n\u00e3o implementado!"}, 443 444 445 447 { ER_UNKNOWN_AXIS, 448 "eixo desconhecido: {0}"}, 449 450 451 453 { ER_UNKNOWN_MATCH_OPERATION, 454 "opera\u00e7\u00e3o de correspond\u00eancia desconhecida!"}, 455 456 457 459 { ER_INCORRECT_ARG_LENGTH, 460 "O comprimento de arg do teste de n\u00f3 de processing-instruction() est\u00e1 incorreto! "}, 461 462 463 465 { ER_CANT_CONVERT_TO_NUMBER, 466 "Imposs\u00edvel converter {0} em um n\u00famero"}, 467 468 469 471 { ER_CANT_CONVERT_TO_NODELIST, 472 "Imposs\u00edvel converter {0} em um NodeList!"}, 473 474 475 477 { ER_CANT_CONVERT_TO_MUTABLENODELIST, 478 "Imposs\u00edvel converter {0} em um NodeSetDTM!"}, 479 480 481 483 { ER_CANT_CONVERT_TO_TYPE, 484 "Imposs\u00edvel converter {0} em um tipo {1}"}, 485 486 487 489 { ER_EXPECTED_MATCH_PATTERN, 490 "Padr\u00e3o de correspond\u00eancia esperado em getMatchScore!"}, 491 492 493 495 { ER_COULDNOT_GET_VAR_NAMED, 496 "N\u00e3o foi poss\u00edvel obter a vari\u00e1vel {0}"}, 497 498 499 501 { ER_UNKNOWN_OPCODE, 502 "ERRO! C\u00f3digo op desconhecido: {0}"}, 503 504 505 507 { ER_EXTRA_ILLEGAL_TOKENS, 508 "Tokens inv\u00e1lidos extras: {0}"}, 509 510 511 513 { ER_EXPECTED_DOUBLE_QUOTE, 514 "literal com aspa incorreta... era esperada aspa dupla!"}, 515 516 517 519 { ER_EXPECTED_SINGLE_QUOTE, 520 "literal com aspa incorreta... era esperada aspa simples!"}, 521 522 523 525 { ER_EMPTY_EXPRESSION, 526 "Express\u00e3o vazia!"}, 527 528 529 531 { ER_EXPECTED_BUT_FOUND, 532 "Esperado {0}, mas encontrado: {1}"}, 533 534 535 537 { ER_INCORRECT_PROGRAMMER_ASSERTION, 538 "A declara\u00e7\u00e3o do programador est\u00e1 incorreta! - {0}"}, 539 540 541 543 { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, 544 "O argumento boolean(...) n\u00e3o \u00e9 mais opcional com o rascunho 19990709 XPath."}, 545 546 547 549 { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, 550 "Encontrado ',' mas sem argumento precedente!"}, 551 552 553 555 { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, 556 "Encontrado ',' mas sem argumento seguinte!"}, 557 558 559 561 { ER_PREDICATE_ILLEGAL_SYNTAX, 562 "'..[predicate]' ou '.[predicate]' \u00e9 sintaxe inv\u00e1lida. Utilize ent\u00e3o 'self::node()[predicate]'."}, 563 564 565 567 { ER_ILLEGAL_AXIS_NAME, 568 "nome de eixo inv\u00e1lido: {0}"}, 569 570 571 573 { ER_UNKNOWN_NODETYPE, 574 "Tipo de n\u00f3 desconhecido: {0}"}, 575 576 577 579 { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, 580 "O literal de padr\u00e3o ({0}) precisa ser colocado entre aspas!"}, 581 582 583 585 { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, 586 "{0} n\u00e3o p\u00f4de ser formatado para um n\u00famero!"}, 587 588 589 591 { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, 592 "N\u00e3o foi poss\u00edvel criar XML TransformerFactory Liaison: {0}"}, 593 594 595 597 { ER_DIDNOT_FIND_XPATH_SELECT_EXP, 598 "Erro! N\u00e3o encontrada a express\u00e3o xpath select (-select)."}, 599 600 601 603 { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, 604 "ERRO! N\u00e3o foi poss\u00edvel encontrar ENDOP ap\u00f3s OP_LOCATIONPATH"}, 605 606 607 609 { ER_ERROR_OCCURED, 610 "Ocorreu um erro!"}, 611 612 613 615 { ER_ILLEGAL_VARIABLE_REFERENCE, 616 "VariableReference fornecido para a vari\u00e1vel fora de contexto ou sem defini\u00e7\u00e3o! Nome = {0}"}, 617 618 619 621 { ER_AXES_NOT_ALLOWED, 622 "Apenas os eixos child:: e attribute:: s\u00e3o permitidos em padr\u00f5es de correspond\u00eancia! Eixos transgredidos = {0}"}, 623 624 625 627 { ER_KEY_HAS_TOO_MANY_ARGS, 628 "key() possui um n\u00famero incorreto de argumentos."}, 629 630 631 633 { ER_COUNT_TAKES_1_ARG, 634 "A fun\u00e7\u00e3o count deve ter um argumento!"}, 635 636 637 639 { ER_COULDNOT_FIND_FUNCTION, 640 "N\u00e3o foi poss\u00edvel localizar a fun\u00e7\u00e3o: {0}"}, 641 642 643 645 { ER_UNSUPPORTED_ENCODING, 646 "Codifica\u00e7\u00e3o n\u00e3o suportada: {0}"}, 647 648 649 651 { ER_PROBLEM_IN_DTM_NEXTSIBLING, 652 "Ocorreu um problema no DTM em getNextSibling... tentando recuperar"}, 653 654 655 657 { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, 658 "Erro do programador: EmptyNodeList n\u00e3o pode ser gravado."}, 659 660 661 663 { ER_SETDOMFACTORY_NOT_SUPPORTED, 664 "setDOMFactory n\u00e3o \u00e9 suportado por XPathContext!"}, 665 666 667 669 { ER_PREFIX_MUST_RESOLVE, 670 "O prefixo deve ser resolvido para um namespace: {0}"}, 671 672 673 675 { ER_PARSE_NOT_SUPPORTED, 676 "parse (origem InputSource) n\u00e3o suportada no XPathContext! Imposs\u00edvel abrir {0}"}, 677 678 679 681 684 685 687 690 691 693 696 697 699 { ER_SAX_API_NOT_HANDLED, 700 "SAX API characters(char ch[]... n\u00e3o tratado pelo DTM!"}, 701 702 703 705 { ER_IGNORABLE_WHITESPACE_NOT_HANDLED, 706 "ignorableWhitespace(char ch[]... n\u00e3o tratado pelo DTM!"}, 707 708 709 711 { ER_DTM_CANNOT_HANDLE_NODES, 712 "DTMLiaison n\u00e3o pode tratar n\u00f3s do tipo {0}"}, 713 714 715 717 { ER_XERCES_CANNOT_HANDLE_NODES, 718 "DOM2Helper n\u00e3o pode tratar n\u00f3s do tipo {0}"}, 719 720 721 723 { ER_XERCES_PARSE_ERROR_DETAILS, 724 "DOM2Helper.parse error: SystemID - {0} linha - {1}"}, 725 726 727 729 { ER_XERCES_PARSE_ERROR, 730 "Erro de DOM2Helper.parse"}, 731 732 733 735 738 739 741 744 745 747 { ER_INVALID_UTF16_SURROGATE, 748 "Detectado substituto UTF-16 inv\u00e1lido: {0} ?"}, 749 750 751 753 { ER_OIERROR, 754 "Erro de E/S"}, 755 756 757 759 { ER_CANNOT_CREATE_URL, 760 "Imposs\u00edvel criar url para: {0}"}, 761 762 763 765 { ER_XPATH_READOBJECT, 766 "Em XPath.readObject: {0}"}, 767 768 769 771 { ER_FUNCTION_TOKEN_NOT_FOUND, 772 "Token function n\u00e3o encontrado."}, 773 774 775 777 780 781 783 { ER_CANNOT_DEAL_XPATH_TYPE, 784 "Imposs\u00edvel lidar com o tipo XPath: {0}"}, 785 786 787 789 { ER_NODESET_NOT_MUTABLE, 790 "Este NodeSet n\u00e3o \u00e9 mut\u00e1vel"}, 791 792 793 795 { ER_NODESETDTM_NOT_MUTABLE, 796 "Este NodeSetDTM n\u00e3o \u00e9 mut\u00e1vel"}, 797 798 799 801 { ER_VAR_NOT_RESOLVABLE, 802 "A vari\u00e1vel n\u00e3o pode ser resolvida: {0}"}, 803 804 805 807 { ER_NULL_ERROR_HANDLER, 808 "Rotina de tratamento de erros nula"}, 809 810 811 813 { ER_PROG_ASSERT_UNKNOWN_OPCODE, 814 "Declara\u00e7\u00e3o do programador: c\u00f3digo de op\u00e7\u00e3o desconhecido: {0}"}, 815 816 817 819 { ER_ZERO_OR_ONE, 820 "0 ou 1"}, 821 822 823 824 826 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 827 "rtf() n\u00e3o suportado por XRTreeFragSelectWrapper"}, 828 829 830 832 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 833 "asNodeIterator() n\u00e3o suportado por XRTreeFragSelectWrapper"}, 834 835 836 838 { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, 839 "fsb() n\u00e3o suportado para XStringForChars"}, 840 841 842 844 { ER_COULD_NOT_FIND_VAR, 845 "N\u00e3o foi poss\u00edvel encontrar a vari\u00e1vel com o nome {0}"}, 846 847 848 850 { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, 851 "XStringForChars n\u00e3o pode obter uma cadeia para um argumento"}, 852 853 854 856 { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL, 857 "O argumento FastStringBuffer n\u00e3o pode ser nulo"}, 858 859 860 861 863 { ER_TWO_OR_THREE, 864 "2 ou 3"}, 865 866 867 869 { ER_VARIABLE_ACCESSED_BEFORE_BIND, 870 "Vari\u00e1vel acessada antes de ser ligada!"}, 871 872 873 875 { ER_FSB_CANNOT_TAKE_STRING, 876 "XStringForFSB n\u00e3o pode obter uma cadeia para um argumento!"}, 877 878 879 881 { ER_SETTING_WALKER_ROOT_TO_NULL, 882 "\n !!!! Erro! Definindo a raiz de um transmissor como nula!!!"}, 883 884 885 887 { ER_NODESETDTM_CANNOT_ITERATE, 888 "Este NodeSetDTM n\u00e3o pode iterar em um n\u00f3 anterior!"}, 889 890 891 893 { ER_NODESET_CANNOT_ITERATE, 894 "Este NodeSet n\u00e3o pode iterar em um n\u00f3 anterior!"}, 895 896 897 899 { ER_NODESETDTM_CANNOT_INDEX, 900 "Este NodeSetDTM n\u00e3o pode executar fun\u00e7\u00f5es de indexa\u00e7\u00e3o ou de contagem!"}, 901 902 903 905 { ER_NODESET_CANNOT_INDEX, 906 "Este NodeSet n\u00e3o pode executar fun\u00e7\u00f5es de indexa\u00e7\u00e3o ou de contagem!"}, 907 908 909 911 { ER_CANNOT_CALL_SETSHOULDCACHENODE, 912 "Imposs\u00edvel chamar setShouldCacheNodes depois de nextNode ter sido chamado!"}, 913 914 915 917 { ER_ONLY_ALLOWS, 918 "{0} permite apenas {1} argumento(s)"}, 919 920 921 923 { ER_UNKNOWN_STEP, 924 "Declara\u00e7\u00e3o do programador em getNextStepPos: stepType desconhecido: {0}"}, 925 926 930 931 933 { ER_EXPECTED_REL_LOC_PATH, 934 "Era esperado um caminho de localiza\u00e7\u00e3o relativo ap\u00f3s o token '/' ou '//'."}, 935 936 940 941 943 { ER_EXPECTED_LOC_PATH, 944 "Era esperado um caminho de localiza\u00e7\u00e3o, mas o seguinte token foi encontrado\u003a {0}"}, 945 946 950 951 953 { ER_EXPECTED_LOC_STEP, 954 "Era esperada uma etapa de localiza\u00e7\u00e3o ap\u00f3s o token '/' ou '//'."}, 955 956 961 962 964 { ER_EXPECTED_NODE_TEST, 965 "Era esperado um n\u00f3 correspondente a NCName:* ou QName."}, 966 967 971 972 974 { ER_EXPECTED_STEP_PATTERN, 975 "Era esperado um padr\u00e3o de etapa, mas foi encontrado '/'."}, 976 977 981 982 984 { ER_EXPECTED_REL_PATH_PATTERN, 985 "Era esperado um padr\u00e3o de caminho relativo."}, 986 987 991 992 994 997 1001 1002 1004 1007 1011 1012 1014 { ER_CANT_CONVERT_TO_BOOLEAN, 1015 "Imposs\u00edvel converter {0} em um boolean."}, 1016 1017 1020 1021 1023 { ER_CANT_CONVERT_TO_SINGLENODE, 1024 "Imposs\u00edvel converter {0} em um \u00fanico n\u00f3. Este getter se aplica aos tipos ANY_UNORDERED_NODE_TYPE e FIRST_ORDERED_NODE_TYPE."}, 1025 1026 1029 1030 1032 { ER_CANT_GET_SNAPSHOT_LENGTH, 1033 "Imposs\u00edvel obter comprimento de instant\u00e2neo no tipo: {0}. Este getter se aplica aos tipos UNORDERED_NODE_SNAPSHOT_TYPE e ORDERED_NODE_SNAPSHOT_TYPE."}, 1034 1035 1036 1038 { ER_NON_ITERATOR_TYPE, 1039 "Imposs\u00edvel iterar em tipo de n\u00e3o iterador: {0}"}, 1040 1041 1045 1046 1048 { ER_DOC_MUTATED, 1049 "Documento alterado desde o retorno do resultado. O iterador \u00e9 inv\u00e1lido."}, 1050 1051 1052 1054 { ER_INVALID_XPATH_TYPE, 1055 "Argumento de tipo XPath inv\u00e1lido: {0}"}, 1056 1057 1058 1060 { ER_EMPTY_XPATH_RESULT, 1061 "Objeto de resultado XPath vazio"}, 1062 1063 1064 1066 { ER_INCOMPATIBLE_TYPES, 1067 "O tipo retornado: {0} n\u00e3o pode ser for\u00e7ado no tipo especificado: {1}"}, 1068 1069 1070 1072 { ER_NULL_RESOLVER, 1073 "N\u00e3o foi poss\u00edvel resolver o prefixo com um resolvedor de prefixo nulo."}, 1074 1075 1079 1080 1082 { ER_CANT_CONVERT_TO_STRING, 1083 "Imposs\u00edvel converter {0} em uma cadeia."}, 1084 1085 1088 1089 1091 { ER_NON_SNAPSHOT_TYPE, 1092 "Imposs\u00edvel chamar snapshotItem no tipo: {0}. Este m\u00e9todo se aplica aos tipos UNORDERED_NODE_SNAPSHOT_TYPE e ORDERED_NODE_SNAPSHOT_TYPE."}, 1093 1094 1099 1100 1102 { ER_WRONG_DOCUMENT, 1103 "O n\u00f3 do contexto n\u00e3o pertence ao documento que est\u00e1 ligado a este XPathEvaluator."}, 1104 1105 1108 1110 { ER_WRONG_NODETYPE, 1111 "O tipo de n\u00f3 de contexto n\u00e3o \u00e9 suportado."}, 1112 1113 1114 1116 { ER_XPATH_ERROR, 1117 "Erro desconhecido em XPath."}, 1118 1119 1120 1122 1123 1125 { WG_LOCALE_NAME_NOT_HANDLED, 1126 "nome de locale na fun\u00e7\u00e3o format-number ainda n\u00e3o tratado!"}, 1127 1128 1129 1131 { WG_PROPERTY_NOT_SUPPORTED, 1132 "Propriedade XSL n\u00e3o suportada: {0}"}, 1133 1134 1135 1137 { WG_DONT_DO_ANYTHING_WITH_NS, 1138 "N\u00e3o fazer nada no momento com o namespace {0} na propriedade {1}"}, 1139 1140 1141 1143 { WG_SECURITY_EXCEPTION, 1144 "SecurityException ao tentar acessar a propriedade do sistema XSL: {0}"}, 1145 1146 1147 1149 { WG_QUO_NO_LONGER_DEFINED, 1150 "Sintaxe antiga: quo(...) n\u00e3o est\u00e1 mais definida no XPath."}, 1151 1152 1153 1155 { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST, 1156 "XPath precisa de um objeto derivado para implementar nodeTest!"}, 1157 1158 1159 1161 { WG_FUNCTION_TOKEN_NOT_FOUND, 1162 "Token function n\u00e3o encontrado."}, 1163 1164 1165 1167 { WG_COULDNOT_FIND_FUNCTION, 1168 "N\u00e3o foi poss\u00edvel localizar a fun\u00e7\u00e3o: {0}"}, 1169 1170 1171 1173 { WG_CANNOT_MAKE_URL_FROM, 1174 "Imposs\u00edvel criar URL a partir de: {0}"}, 1175 1176 1177 1179 { WG_EXPAND_ENTITIES_NOT_SUPPORTED, 1180 "A op\u00e7\u00e3o -E n\u00e3o \u00e9 suportada pelo analisador do DTM"}, 1181 1182 1183 1185 { WG_ILLEGAL_VARIABLE_REFERENCE, 1186 "VariableReference fornecido para a vari\u00e1vel fora de contexto ou sem defini\u00e7\u00e3o! Nome = {0}"}, 1187 1188 1189 1191 { WG_UNSUPPORTED_ENCODING, 1192 "Codifica\u00e7\u00e3o n\u00e3o suportada: {0}"}, 1193 1194 1195 1196 { "ui_language", "pt"}, 1198 { "help_language", "pt"}, 1199 { "language", "pt"}, 1200 { "BAD_CODE", "O par\u00e2metro para createMessage estava fora dos limites"}, 1201 { "FORMAT_FAILED", "Exce\u00e7\u00e3o emitida durante chamada messageFormat"}, 1202 { "version", ">>>>>>> Vers\u00e3o Xalan"}, 1203 { "version2", "<<<<<<<"}, 1204 { "yes", "sim"}, 1205 { "line", "Linha n\u00b0"}, 1206 { "column", "Coluna n\u00b0"}, 1207 { "xsldone", "XSLProcessor: conclu\u00eddo"}, 1208 { "xpath_option", "op\u00e7\u00f5es xpath:"}, 1209 { "optionIN", " [-in inputXMLURL]"}, 1210 { "optionSelect", " [-select xpath expression]"}, 1211 { "optionMatch", "[-match match pattern (para corresponder diagn\u00f3sticos)]"}, 1212 { "optionAnyExpr", "Ou apenas uma express\u00e3o xpath executar\u00e1 um dump de diagn\u00f3stico"}, 1213 { "noParsermsg1", "O Processo XSL n\u00e3o obteve \u00eaxito."}, 1214 { "noParsermsg2", "** N\u00e3o foi poss\u00edvel encontrar o analisador **"}, 1215 { "noParsermsg3", "Verifique seu classpath."}, 1216 { "noParsermsg4", "Se voc\u00ea n\u00e3o tiver o XML Parser para Java da IBM, poder\u00e1 fazer o download dele a partir de"}, 1217 { "noParsermsg5", "IBM's 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 "org.apache.xpath.res.XPATHErrorResources"; 1238 1239 1240 public static final String ERROR_STRING = "#error"; 1241 1242 1243 public static final String ERROR_HEADER = "Erro: "; 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 = "PADR\u00c3O "; 1256 1257 1262 public Object [][] getContents() 1263 { 1264 return contents; 1265 } 1266 1267 1278 public static final XPATHErrorResources loadResourceBundle(String className) 1279 throws MissingResourceException 1280 { 1281 1282 Locale locale = Locale.getDefault(); 1283 String suffix = getResourceSuffix(locale); 1284 1285 try 1286 { 1287 1288 return (XPATHErrorResources) ResourceBundle.getBundle(className 1290 + suffix, locale); 1291 } 1292 catch (MissingResourceException e) 1293 { 1294 try { 1296 1297 return (XPATHErrorResources) ResourceBundle.getBundle(className, 1300 new Locale ("pt", "BR")); 1301 } 1302 catch (MissingResourceException e2) 1303 { 1304 1305 throw new MissingResourceException ( 1308 "Could not load any resource bundles.", className, ""); 1309 } 1310 } 1311 } 1312 1313 1321 private static final String getResourceSuffix(Locale locale) 1322 { 1323 1324 String suffix = "_" + locale.getLanguage(); 1325 String country = locale.getCountry(); 1326 1327 if (country.equals("TW")) 1328 suffix += "_" + country; 1329 1330 return suffix; 1331 } 1332 1333} 1334 | Popular Tags |