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_zh_TW 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, "\u5728\u6bd4\u5c0d\u578b\u6a23\u4e2d\u4e0d\u5141\u8a31\u4f7f\u7528 current() \u51fd\u6578\uff01" }, 367 368 369 371 { ER_CURRENT_TAKES_NO_ARGS, "current() \u51fd\u6578\u4e0d\u63a5\u53d7\u5f15\u6578\uff01" }, 372 373 374 { ER_DOCUMENT_REPLACED, 376 "document() \u51fd\u6578\u5be6\u4f5c\u5df2\u88ab org.apache.xalan.xslt.FuncDocument \u53d6\u4ee3\uff01"}, 377 378 379 380 382 { ER_CONTEXT_HAS_NO_OWNERDOC, 383 "\u74b0\u5883\u5b9a\u7fa9\u6c92\u6709\u64c1\u6709\u8005\u6587\u4ef6\uff01"}, 384 385 386 388 { ER_LOCALNAME_HAS_TOO_MANY_ARGS, 389 "local-name() \u6709\u592a\u591a\u5f15\u6578\u3002"}, 390 391 392 394 { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, 395 "namespace-uri() \u6709\u592a\u591a\u5f15\u6578\u3002"}, 396 397 398 { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, 400 "normalize-space() \u6709\u592a\u591a\u5f15\u6578\u3002"}, 401 402 403 405 { ER_NUMBER_HAS_TOO_MANY_ARGS, 406 "number() \u6709\u592a\u591a\u5f15\u6578\u3002"}, 407 408 409 411 { ER_NAME_HAS_TOO_MANY_ARGS, 412 "name() \u6709\u592a\u591a\u5f15\u6578\u3002"}, 413 414 415 417 { ER_STRING_HAS_TOO_MANY_ARGS, 418 "string() \u6709\u592a\u591a\u5f15\u6578\u3002"}, 419 420 421 423 { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, 424 "string-length() \u6709\u592a\u591a\u5f15\u6578\u3002"}, 425 426 427 429 { ER_TRANSLATE_TAKES_3_ARGS, 430 "translate() \u51fd\u6578\u9700\u8981 3 \u500b\u5f15\u6578\uff01"}, 431 432 433 435 { ER_UNPARSEDENTITYURI_TAKES_1_ARG, 436 "unparsed-entity-uri \u51fd\u6578\u53ea\u9700\u8981 1 \u500b\u5f15\u6578\uff01"}, 437 438 439 441 { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, 442 "namespace axis \u5c1a\u672a\u5be6\u4f5c\uff01"}, 443 444 445 447 { ER_UNKNOWN_AXIS, 448 "\u4e0d\u660e\u8ef8\uff1a{0}"}, 449 450 451 453 { ER_UNKNOWN_MATCH_OPERATION, 454 "\u4e0d\u660e\u7684\u6bd4\u5c0d\u4f5c\u696d\uff01"}, 455 456 457 459 { ER_INCORRECT_ARG_LENGTH, 460 "processing-instruction() \u7bc0\u9ede\u6e2c\u8a66\u7684\u5f15\u6578\u9577\u5ea6\u4e0d\u6b63\u78ba\uff01"}, 461 462 463 465 { ER_CANT_CONVERT_TO_NUMBER, 466 "{0} \u7121\u6cd5\u8f49\u63db\u70ba\u6578\u5b57"}, 467 468 469 471 { ER_CANT_CONVERT_TO_NODELIST, 472 "{0} \u7121\u6cd5\u8f49\u63db\u70ba NodeList\uff01"}, 473 474 475 477 { ER_CANT_CONVERT_TO_MUTABLENODELIST, 478 "{0} \u7121\u6cd5\u8f49\u63db\u70ba NodeSetDTM\uff01"}, 479 480 481 483 { ER_CANT_CONVERT_TO_TYPE, 484 "\u7121\u6cd5\u5c07 {0} \u8f49\u63db\u70ba type#{1}"}, 485 486 487 489 { ER_EXPECTED_MATCH_PATTERN, 490 "\u539f\u9810\u671f\u5728 getMatchScore \u4e2d\u6703\u51fa\u73fe\u6bd4\u5c0d\u578b\u6a23\uff01"}, 491 492 493 495 { ER_COULDNOT_GET_VAR_NAMED, 496 "\u7121\u6cd5\u53d6\u5f97\u8b8a\u6578\u540d\u7a31 {0}"}, 497 498 499 501 { ER_UNKNOWN_OPCODE, 502 "\u932f\u8aa4\uff01\u4e0d\u660e\u4f5c\u696d\u78bc\uff1a{0}"}, 503 504 505 507 { ER_EXTRA_ILLEGAL_TOKENS, 508 "\u984d\u5916\u7684\u4e0d\u5408\u6cd5\u8a18\u865f\uff1a{0}"}, 509 510 511 513 { ER_EXPECTED_DOUBLE_QUOTE, 514 "\u62ec\u932f\u5f15\u865f\u7684\u6587\u5b57... \u539f\u9810\u671f\u70ba\u96d9\u5f15\u865f\uff01"}, 515 516 517 519 { ER_EXPECTED_SINGLE_QUOTE, 520 "\u62ec\u932f\u5f15\u865f\u7684\u6587\u5b57... \u539f\u9810\u671f\u70ba\u55ae\u5f15\u865f\uff01"}, 521 522 523 525 { ER_EMPTY_EXPRESSION, 526 "\u7a7a\u7684\u8868\u793a\u5f0f\uff01"}, 527 528 529 531 { ER_EXPECTED_BUT_FOUND, 532 "\u539f\u9810\u671f\u70ba {0}\uff0c\u537b\u767c\u73fe\uff1a{1}"}, 533 534 535 537 { ER_INCORRECT_PROGRAMMER_ASSERTION, 538 "\u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u5047\u8a2d(Programmer assertion)\u4e0d\u6b63\u78ba\uff01- {0}"}, 539 540 541 543 { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, 544 "boolean(...) \u5f15\u6578\u5728 19990709 XPath \u521d\u7a3f\u4e2d\u4e0d\u518d\u662f\u53ef\u9078\u7528\u7684\u3002"}, 545 546 547 549 { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, 550 "\u627e\u5230 ','\uff0c\u4f46\u4e4b\u524d\u6c92\u6709\u5f15\u6578\uff01"}, 551 552 553 555 { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, 556 "\u627e\u5230 ','\uff0c\u4f46\u4e4b\u5f8c\u6c92\u6709\u5f15\u6578\uff01"}, 557 558 559 561 { ER_PREDICATE_ILLEGAL_SYNTAX, 562 "'..[predicate]' \u6216 '.[predicate]' \u662f\u4e0d\u5408\u6cd5\u8a9e\u6cd5\u3002\u8acb\u6539\u7528 'self::node()[predicate]'\u3002"}, 563 564 565 567 { ER_ILLEGAL_AXIS_NAME, 568 "\u4e0d\u5408\u6cd5\u8ef8\u540d\u7a31\uff1a{0}"}, 569 570 571 573 { ER_UNKNOWN_NODETYPE, 574 "\u4e0d\u660e\u7bc0\u9ede\u985e\u578b\uff1a{0}"}, 575 576 577 579 { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, 580 "\u578b\u6a23\u6587\u5b57 ({0}) \u9700\u8981\u7528\u5f15\u865f\u62ec\u4f4f\uff01"}, 581 582 583 585 { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, 586 "{0} \u7121\u6cd5\u683c\u5f0f\u5316\u70ba\u6578\u5b57\uff01"}, 587 588 589 591 { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, 592 "\u7121\u6cd5\u5efa\u7acb XML TransformerFactory Liaison\uff1a{0}"}, 593 594 595 597 { ER_DIDNOT_FIND_XPATH_SELECT_EXP, 598 "\u932f\u8aa4\uff01\u6c92\u6709\u627e\u5230 xpath select \u8868\u793a\u5f0f (-select)\u3002"}, 599 600 601 603 { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, 604 "\u932f\u8aa4\uff01\u5728 OP_LOCATIONPATH \u4e4b\u5f8c\u627e\u4e0d\u5230 ENDOP"}, 605 606 607 609 { ER_ERROR_OCCURED, 610 "\u767c\u751f\u932f\u8aa4\uff01"}, 611 612 613 615 { ER_ILLEGAL_VARIABLE_REFERENCE, 616 "\u63d0\u4f9b\u7d66\u8b8a\u6578\u7684 VariableReference \u8d85\u51fa\u74b0\u5883\u5b9a\u7fa9\u6216\u6c92\u6709\u5b9a\u7fa9\uff01\u540d\u7a31 = {0}"}, 617 618 619 621 { ER_AXES_NOT_ALLOWED, 622 "\u6bd4\u5c0d\u578b\u6a23\u4e2d\u53ea\u63a5\u53d7 child:: \u4ee5\u53ca attribute:: \u5169\u7a2e\u8ef8\uff01\u4e0d\u7576\u7684\u8ef8 = {0}"}, 623 624 625 627 { ER_KEY_HAS_TOO_MANY_ARGS, 628 "key() \u542b\u6709\u4e0d\u6b63\u78ba\u5f15\u6578\u6578\u76ee\u3002"}, 629 630 631 633 { ER_COUNT_TAKES_1_ARG, 634 "count \u51fd\u6578\u53ea\u9700\u8981\u4e00\u500b\u5f15\u6578\uff01"}, 635 636 637 639 { ER_COULDNOT_FIND_FUNCTION, 640 "\u627e\u4e0d\u5230\u51fd\u6578\uff1a{0}"}, 641 642 643 645 { ER_UNSUPPORTED_ENCODING, 646 "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}"}, 647 648 649 651 { ER_PROBLEM_IN_DTM_NEXTSIBLING, 652 "getNextSibling \u6642\u5728 DTM \u767c\u751f\u554f\u984c... \u5617\u8a66\u56de\u5fa9"}, 653 654 655 657 { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, 658 "\u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u932f\u8aa4\uff1a\u7121\u6cd5\u5beb\u5165 EmptyNodeList\u3002"}, 659 660 661 663 { ER_SETDOMFACTORY_NOT_SUPPORTED, 664 "setDOMFactory \u4e0d\u53d7 XPathContext \u652f\u63f4\uff01"}, 665 666 667 669 { ER_PREFIX_MUST_RESOLVE, 670 "\u5b57\u9996\u5fc5\u9808\u89e3\u6790\u70ba\u540d\u7a31\u7a7a\u9593\uff1a{0}"}, 671 672 673 675 { ER_PARSE_NOT_SUPPORTED, 676 "\u5728 XPathContext \u4e2d\u4e0d\u652f\u63f4\u5256\u6790\uff08InputSource \u539f\u59cb\u6a94\uff09\uff01\u7121\u6cd5\u958b\u555f {0}"}, 677 678 679 681 684 685 687 690 691 693 696 697 699 { ER_SAX_API_NOT_HANDLED, 700 "SAX API character(char ch[]... \u4e0d\u80fd\u88ab DTM \u8655\u7406\uff01"}, 701 702 703 705 { ER_IGNORABLE_WHITESPACE_NOT_HANDLED, 706 "ignorableWhitespace(char ch[]... \u4e0d\u80fd\u88ab DTM \u8655\u7406\uff01"}, 707 708 709 711 { ER_DTM_CANNOT_HANDLE_NODES, 712 "DTMLiaison \u4e0d\u80fd\u8655\u7406 {0} \u985e\u578b\u7684\u7bc0\u9ede"}, 713 714 715 717 { ER_XERCES_CANNOT_HANDLE_NODES, 718 "DOM2Helper \u4e0d\u80fd\u8655\u7406 {0} \u985e\u578b\u7684\u7bc0\u9ede"}, 719 720 721 723 { ER_XERCES_PARSE_ERROR_DETAILS, 724 "DOM2Helper.parse \u932f\u8aa4\uff1aSystemID - {0} \u884c - {1}"}, 725 726 727 729 { ER_XERCES_PARSE_ERROR, 730 "DOM2Helper.parse \u932f\u8aa4"}, 731 732 733 735 738 739 741 744 745 747 { ER_INVALID_UTF16_SURROGATE, 748 "\u5075\u6e2c\u5230\u7121\u6548\u7684 UTF-16 \u4ee3\u7406\uff1a{0}?"}, 749 750 751 753 { ER_OIERROR, 754 "IO \u932f\u8aa4"}, 755 756 757 759 { ER_CANNOT_CREATE_URL, 760 "\u7121\u6cd5\u91dd\u5c0d\uff1a{0} \u5efa\u7acb URL"}, 761 762 763 765 { ER_XPATH_READOBJECT, 766 "\u4f4d\u65bc XPath.readObject\uff1a{0}"}, 767 768 769 771 { ER_FUNCTION_TOKEN_NOT_FOUND, 772 "\u627e\u4e0d\u5230\u51fd\u6578\u8a18\u865f\u3002"}, 773 774 775 777 780 781 783 { ER_CANNOT_DEAL_XPATH_TYPE, 784 "\u7121\u6cd5\u8655\u7406 XPath \u985e\u578b\uff1a{0}"}, 785 786 787 789 { ER_NODESET_NOT_MUTABLE, 790 "\u6b64 NodeSet \u4e0d\u662f\u6613\u8b8a\u7684"}, 791 792 793 795 { ER_NODESETDTM_NOT_MUTABLE, 796 "\u6b64 NodeSetDTM \u4e0d\u662f\u6613\u8b8a\u7684"}, 797 798 799 801 { ER_VAR_NOT_RESOLVABLE, 802 "\u8b8a\u6578\u7121\u6cd5\u89e3\u6790\uff1a{0}"}, 803 804 805 807 { ER_NULL_ERROR_HANDLER, 808 "\u7a7a\u503c\u932f\u8aa4\u8655\u7406\u7a0b\u5f0f"}, 809 810 811 813 { ER_PROG_ASSERT_UNKNOWN_OPCODE, 814 "\u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u7684\u5047\u8a2d(assertion)\uff1a\u4e0d\u660e opcode\uff1a{0}"}, 815 816 817 819 { ER_ZERO_OR_ONE, 820 "0 \u6216 1"}, 821 822 823 824 826 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 827 "rtf() \u4e0d\u53d7 XRTreeFragSelectWrapper \u652f\u63f4"}, 828 829 830 832 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 833 "asNodeIterator() \u4e0d\u53d7 XRTreeFragSelectWrapper \u652f\u63f4"}, 834 835 836 838 { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, 839 "fsb() \u4e0d\u53d7 XStringForChars \u652f\u63f4"}, 840 841 842 844 { ER_COULD_NOT_FIND_VAR, 845 "\u627e\u4e0d\u5230\u540d\u7a31\u70ba {0} \u7684\u8b8a\u6578"}, 846 847 848 850 { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, 851 "XStringForChars \u4e0d\u63a5\u53d7\u5b57\u4e32\u4f5c\u70ba\u5f15\u6578"}, 852 853 854 856 { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL, 857 "FastStringBuffer \u5f15\u6578\u4e0d\u53ef\u70ba\u7a7a\u503c"}, 858 859 860 861 863 { ER_TWO_OR_THREE, 864 "2 \u6216 3"}, 865 866 867 869 { ER_VARIABLE_ACCESSED_BEFORE_BIND, 870 "\u8b8a\u6578\u5728\u9023\u7d50\u4e4b\u524d\u5373\u88ab\u5b58\u53d6\uff01"}, 871 872 873 875 { ER_FSB_CANNOT_TAKE_STRING, 876 "XStringForFSB \u4e0d\u53ef\u4f7f\u7528\u5b57\u4e32\u4f5c\u70ba\u5f15\u6578\uff01"}, 877 878 879 881 { ER_SETTING_WALKER_ROOT_TO_NULL, 882 "\n!!!! \u932f\u8aa4\uff01\u8a2d\u5b9a Walker \u7684\u6839\u76ee\u9304\u70ba\u7a7a\u503c!!!"}, 883 884 885 887 { ER_NODESETDTM_CANNOT_ITERATE, 888 "\u6b64 NodeSetDTM \u4e0d\u53ef\u758a\u4ee3\u70ba\u524d\u4e00\u500b\u7bc0\u9ede\uff01"}, 889 890 891 893 { ER_NODESET_CANNOT_ITERATE, 894 "\u6b64 NodeSet \u4e0d\u53ef\u758a\u4ee3\u70ba\u524d\u4e00\u500b\u7bc0\u9ede\uff01"}, 895 896 897 899 { ER_NODESETDTM_CANNOT_INDEX, 900 "\u6b64 NodeSetDTM \u4e0d\u53ef\u57f7\u884c\u6aa2\u7d22\u6216\u8a08\u6578\u529f\u80fd\uff01"}, 901 902 903 905 { ER_NODESET_CANNOT_INDEX, 906 "\u6b64 NodeSet \u4e0d\u53ef\u57f7\u884c\u6aa2\u7d22\u6216\u8a08\u6578\u529f\u80fd\uff01"}, 907 908 909 911 { ER_CANNOT_CALL_SETSHOULDCACHENODE, 912 "\u5728\u547c\u53eb nextNode \u4e4b\u5f8c\u4e0d\u80fd\u547c\u53eb setShouldCacheNodes\u3002"}, 913 914 915 917 { ER_ONLY_ALLOWS, 918 "{0} \u53ea\u5141\u8a31 {1} \u5f15\u6578"}, 919 920 921 923 { ER_UNKNOWN_STEP, 924 "\u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u5c0d\u65bc getNextStepPos \u7684\u5047\u8a2d(assertion)\uff1a\u4e0d\u660e stepType\uff1a{0}"}, 925 926 930 931 933 { ER_EXPECTED_REL_LOC_PATH, 934 "\u9810\u671f\u5728 '/' \u6216 '//' \u8a18\u865f\u4e4b\u5f8c\u70ba\u76f8\u5c0d\u7684\u4f4d\u7f6e\u8def\u5f91\u3002"}, 935 936 940 941 943 { ER_EXPECTED_LOC_PATH, 944 "\u5fc5\u9808\u662f\u4f4d\u7f6e\u8def\u5f91\uff0c\u537b\u9047\u5230\u4e0b\u5217\u8a18\u865f\u003a {0}"}, 945 946 950 951 953 { ER_EXPECTED_LOC_STEP, 954 "\u9810\u671f\u5728 '/' \u6216 '//' \u8a18\u865f\u4e4b\u5f8c\u70ba location step\u3002"}, 955 956 961 962 964 { ER_EXPECTED_NODE_TEST, 965 "\u539f\u9810\u671f\u70ba\u7b26\u5408 NCName:* \u6216 QName \u7684 node test\u3002"}, 966 967 971 972 974 { ER_EXPECTED_STEP_PATTERN, 975 "\u539f\u9810\u671f\u70ba step pattern\uff0c\u4f46\u537b\u9047\u5230 '/'\u3002"}, 976 977 981 982 984 { ER_EXPECTED_REL_PATH_PATTERN, 985 "\u539f\u9810\u671f\u70ba\u76f8\u5c0d\u7684\u8def\u5f91\u578b\u6a23\u3002"}, 986 987 991 992 994 997 1001 1002 1004 1007 1011 1012 1014 { ER_CANT_CONVERT_TO_BOOLEAN, 1015 "\u7121\u6cd5\u5c07 {0} \u8f49\u63db\u70ba boolean\u3002"}, 1016 1017 1020 1021 1023 { ER_CANT_CONVERT_TO_SINGLENODE, 1024 "\u7121\u6cd5\u5c07 {0} \u8f49\u63db\u70ba\u55ae\u4e00\u7bc0\u9ede\u3002\u6b64\u53d6\u5f97\u5143\u9069\u7528\u65bc ANY_UNORDERED_NODE_TYPE \u548c FIRST_ORDERED_NODE_TYPE \u5169\u7a2e\u985e\u578b\u3002"}, 1025 1026 1029 1030 1032 { ER_CANT_GET_SNAPSHOT_LENGTH, 1033 "\u7121\u6cd5\u53d6\u5f97\u985e\u578b {0} \u7684\u77ac\u9593\u5feb\u7167\u9577\u5ea6\u3002\u6b64\u53d6\u5f97\u5143\u9069\u7528\u65bc UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE \u5169\u7a2e\u985e\u578b\u3002"}, 1034 1035 1036 1038 { ER_NON_ITERATOR_TYPE, 1039 "\u7121\u6cd5\u758a\u4ee3\u975e\u758a\u4ee3\u985e\u578b\uff1a{0}"}, 1040 1041 1045 1046 1048 { ER_DOC_MUTATED, 1049 "\u81ea\u50b3\u56de\u7d50\u679c\u4e4b\u5f8c\uff0c\u6587\u4ef6\u5df2\u7522\u751f\u8b8a\u5316\u3002\u91cd\u8907\u9805\u76ee\u7121\u6548\u3002"}, 1050 1051 1052 1054 { ER_INVALID_XPATH_TYPE, 1055 "XPath \u985e\u578b\u5f15\u6578 {0} \u7121\u6548"}, 1056 1057 1058 1060 { ER_EMPTY_XPATH_RESULT, 1061 "XPath \u7d50\u679c\u7269\u4ef6\u7a7a\u767d"}, 1062 1063 1064 1066 { ER_INCOMPATIBLE_TYPES, 1067 "\u50b3\u56de\u985e\u578b\uff1a{0} \u7121\u6cd5\u5f37\u5236\u6210\u70ba\u6307\u5b9a\u7684\u985e\u578b\uff1a{1}"}, 1068 1069 1070 1072 { ER_NULL_RESOLVER, 1073 "\u7121\u6cd5\u89e3\u6790\u542b\u7a7a\u503c\u5b57\u9996\u89e3\u6790\u5668\u7684\u5b57\u9996\u3002"}, 1074 1075 1079 1080 1082 { ER_CANT_CONVERT_TO_STRING, 1083 "\u7121\u6cd5\u5c07 {0} \u8f49\u63db\u70ba\u5b57\u4e32\u3002"}, 1084 1085 1088 1089 1091 { ER_NON_SNAPSHOT_TYPE, 1092 "\u7121\u6cd5\u547c\u53eb snapshotItem \u985e\u578b\uff1a{0}\u3002\u6b64\u65b9\u6cd5\u9069\u7528\u65bc UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE \u5169\u7a2e\u985e\u578b\u3002"}, 1093 1094 1099 1100 1102 { ER_WRONG_DOCUMENT, 1103 "\u74b0\u5883\u5b9a\u7fa9\u7bc0\u9ede\u4e0d\u5c6c\u65bc\u548c\u6b64 XPathEvaluator \u9023\u7d50\u7684\u6587\u4ef6\u3002"}, 1104 1105 1108 1110 { ER_WRONG_NODETYPE, 1111 "\u74b0\u5883\u5b9a\u7fa9\u7bc0\u9ede\u985e\u578b\u672a\u53d7\u652f\u63f4\u3002"}, 1112 1113 1114 1116 { ER_XPATH_ERROR, 1117 "XPath \u767c\u751f\u4e0d\u660e\u932f\u8aa4\u3002"}, 1118 1119 1120 1122 1123 1125 { WG_LOCALE_NAME_NOT_HANDLED, 1126 "format-number \u51fd\u6578\u4e2d\u7684\u8a9e\u8a00\u74b0\u5883\u540d\u7a31\u5c1a\u672a\u8655\u7406\uff01"}, 1127 1128 1129 1131 { WG_PROPERTY_NOT_SUPPORTED, 1132 "XSL \u5167\u5bb9\u672a\u53d7\u652f\u63f4\uff1a{0}"}, 1133 1134 1135 1137 { WG_DONT_DO_ANYTHING_WITH_NS, 1138 "\u76ee\u524d\u4e0d\u8981\u5c0d\u5167\u5bb9\uff1a{1} \u4e2d\u7684\u540d\u7a31\u7a7a\u9593 {0} \u505a\u4efb\u4f55\u52d5\u4f5c"}, 1139 1140 1141 1143 { WG_SECURITY_EXCEPTION, 1144 "\u5617\u8a66\u5b58\u53d6 XSL \u7cfb\u7d71\u5167\u5bb9\uff1a{0} \u6642\u767c\u751f SecurityException"}, 1145 1146 1147 1149 { WG_QUO_NO_LONGER_DEFINED, 1150 "XPath \u4e2d\u5df2\u4e0d\u518d\u5b9a\u7fa9\u820a\u8a9e\u6cd5\uff1aquo(...)\u3002"}, 1151 1152 1153 1155 { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST, 1156 "XPath \u9700\u8981\u884d\u751f\u7269\u4ef6\u4f86\u5be6\u4f5c nodeTest\uff01"}, 1157 1158 1159 1161 { WG_FUNCTION_TOKEN_NOT_FOUND, 1162 "\u627e\u4e0d\u5230\u51fd\u6578\u8a18\u865f\u3002"}, 1163 1164 1165 1167 { WG_COULDNOT_FIND_FUNCTION, 1168 "\u627e\u4e0d\u5230\u51fd\u6578\uff1a{0}"}, 1169 1170 1171 1173 { WG_CANNOT_MAKE_URL_FROM, 1174 "\u7121\u6cd5\u5f9e\uff1a{0} \u7522\u751f URL"}, 1175 1176 1177 1179 { WG_EXPAND_ENTITIES_NOT_SUPPORTED, 1180 "-E \u9078\u9805\u4e0d\u53d7 DTM \u5256\u6790\u5668\u652f\u63f4"}, 1181 1182 1183 1185 { WG_ILLEGAL_VARIABLE_REFERENCE, 1186 "\u63d0\u4f9b\u7d66\u8b8a\u6578\u7684 VariableReference \u8d85\u51fa\u74b0\u5883\u5b9a\u7fa9\u6216\u6c92\u6709\u5b9a\u7fa9\uff01\u540d\u7a31 = {0}"}, 1187 1188 1189 1191 { WG_UNSUPPORTED_ENCODING, 1192 "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}"}, 1193 1194 1195 1196 { "ui_language", "zh"}, 1198 { "help_language", "zh"}, 1199 { "language", "zh"}, 1200 { "BAD_CODE", "createMessage \u7684\u53c3\u6578\u8d85\u51fa\u754c\u9650"}, 1201 { "FORMAT_FAILED", "\u5728 messageFormat \u547c\u53eb\u671f\u9593\u64f2\u51fa\u7570\u5e38"}, 1202 { "version", ">>>>>>> Xalan \u7248\u672c"}, 1203 { "version2", "<<<<<<<"}, 1204 { "yes", "yes"}, 1205 { "line", "\u884c\u865f"}, 1206 { "column", "\u6b04\u865f"}, 1207 { "xsldone", "XSLProcessor\uff1a\u5b8c\u6210"}, 1208 { "xpath_option", "xpath \u9078\u9805\uff1a"}, 1209 { "optionIN", "[-in inputXMLURL]"}, 1210 { "optionSelect", "[-select xpath \u8868\u793a\u5f0f]"}, 1211 { "optionMatch", "[-match \u7b26\u5408\u578b\u6a23\uff08\u7528\u65bc\u6bd4\u5c0d\u8a3a\u65b7\uff09]"}, 1212 { "optionAnyExpr", "\u6216\u53ea\u6709\u4e00\u500b xpath \u8868\u793a\u5f0f\u6703\u57f7\u884c\u8a3a\u65b7\u50be\u51fa"}, 1213 { "noParsermsg1", "XSL \u7a0b\u5e8f\u6c92\u6709\u9806\u5229\u5b8c\u6210\u3002"}, 1214 { "noParsermsg2", "** \u627e\u4e0d\u5230\u5256\u6790\u5668 **"}, 1215 { "noParsermsg3", "\u8acb\u6aa2\u67e5\u985e\u5225\u8def\u5f91\u3002"}, 1216 { "noParsermsg4", "\u5982\u679c\u60a8\u6c92\u6709 IBM \u7684 XML Parser for Java\uff0c\u53ef\u81ea\u4ee5\u4e0b\u7db2\u5740\u4e0b\u8f09"}, 1217 { "noParsermsg5", "IBM \u7684 AlphaWorks\uff1ahttp://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 = "\u932f\u8aa4\uff1a"; 1244 1245 1246 public static final String WARNING_HEADER = "\u8b66\u544a\uff1a"; 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 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 ("zh", "TW")); 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 |