1 /* 2 * reserved comment block 3 * DO NOT REMOVE OR ALTER! 4 */ 5 /* 6 * Licensed to the Apache Software Foundation (ASF) under one or more 7 * contributor license agreements. See the NOTICE file distributed with 8 * this work for additional information regarding copyright ownership. 9 * The ASF licenses this file to You under the Apache License, Version 2.0 10 * (the "License"); you may not use this file except in compliance with 11 * the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 */ 21 22 package com.sun.org.apache.xpath.internal.res; 23 24 import java.util.ListResourceBundle; 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_zh_CN extends ListResourceBundle 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 133 public static final String ER_COULDNOT_GET_VAR_NAMED = 134 "ER_COULDNOT_GET_VAR_NAMED"; 135 public static final String ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE"; 136 public static final String ER_EXTRA_ILLEGAL_TOKENS ="ER_EXTRA_ILLEGAL_TOKENS"; 137 public static final String ER_EXPECTED_DOUBLE_QUOTE = 138 "ER_EXPECTED_DOUBLE_QUOTE"; 139 public static final String ER_EXPECTED_SINGLE_QUOTE = 140 "ER_EXPECTED_SINGLE_QUOTE"; 141 public static final String ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION"; 142 public static final String ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND"; 143 public static final String ER_INCORRECT_PROGRAMMER_ASSERTION = 144 "ER_INCORRECT_PROGRAMMER_ASSERTION"; 145 public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 146 "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL"; 147 public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 148 "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG"; 149 public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 150 "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG"; 151 public static final String ER_PREDICATE_ILLEGAL_SYNTAX = 152 "ER_PREDICATE_ILLEGAL_SYNTAX"; 153 public static final String ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME"; 154 public static final String ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE"; 155 public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 156 "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED"; 157 public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 158 "ER_COULDNOT_BE_FORMATTED_TO_NUMBER"; 159 public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 160 "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON"; 161 public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP = 162 "ER_DIDNOT_FIND_XPATH_SELECT_EXP"; 163 public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 164 "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH"; 165 public static final String ER_ERROR_OCCURED = "ER_ERROR_OCCURED"; 166 public static final String ER_ILLEGAL_VARIABLE_REFERENCE = 167 "ER_ILLEGAL_VARIABLE_REFERENCE"; 168 public static final String ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED"; 169 public static final String ER_KEY_HAS_TOO_MANY_ARGS = 170 "ER_KEY_HAS_TOO_MANY_ARGS"; 171 public static final String ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG"; 172 public static final String ER_COULDNOT_FIND_FUNCTION = 446 { ER_EMPTY_EXPRESSION, 447 "空表达式!"}, 448 449 { ER_EXPECTED_BUT_FOUND, 450 "需要{0}, 但找到: {1}"}, 451 452 { ER_INCORRECT_PROGRAMMER_ASSERTION, 453 "程序员断言错误! - {0}"}, 454 455 { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, 456 "在 19990709 XPath 草稿中, boolean(...) 参数不再是可选的。"}, 457 458 { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, 459 "已找到 ',', 但前面没有参数!"}, 460 461 { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, 462 "已找到 ',', 但后面没有参数!"}, 463 464 { ER_PREDICATE_ILLEGAL_SYNTAX, 465 "'..[predicate]' 或 '.[predicate]' 是非法语法。请改用 'self::node()[predicate]'。"}, 466 467 { ER_ILLEGAL_AXIS_NAME, 468 "非法轴名称: {0}"}, 469 470 { ER_UNKNOWN_NODETYPE, 471 "未知节点类型: {0}"}, 472 473 { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, 474 "需要用引号将模式文字 ({0}) 引起来!"}, 475 476 { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, 477 "无法将{0}的格式设置为数字!"}, 478 479 { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, 480 "无法创建 XML TransformerFactory Liaison: {0}"}, 481 482 { ER_DIDNOT_FIND_XPATH_SELECT_EXP, 483 "错误! 找不到 xpath 选择表达式 (-select)。"}, 484 485 { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, | 1 /* 2 * Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. 3 */ 4 /* 5 * Licensed to the Apache Software Foundation (ASF) under one or more 6 * contributor license agreements. See the NOTICE file distributed with 7 * this work for additional information regarding copyright ownership. 8 * The ASF licenses this file to You under the Apache License, Version 2.0 9 * (the "License"); you may not use this file except in compliance with 10 * the License. You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 */ 20 21 package com.sun.org.apache.xpath.internal.res; 22 23 import java.util.ListResourceBundle; 24 25 /** 26 * Set up error messages. 27 * We build a two dimensional array of message keys and 28 * message strings. In order to add a new message here, 29 * you need to first add a Static string constant for the 30 * Key and update the contents array with Key, Value pair 31 * Also you need to update the count of messages(MAX_CODE)or 32 * the count of warnings(MAX_WARNING) [ Information purpose only] 33 * @xsl.usage advanced 34 * @LastModified: May 2019 35 */ 36 public class XPATHErrorResources_zh_CN extends ListResourceBundle 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 133 public static final String ER_COULDNOT_GET_VAR_NAMED = 134 "ER_COULDNOT_GET_VAR_NAMED"; 135 public static final String ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE"; 136 public static final String ER_EXTRA_ILLEGAL_TOKENS ="ER_EXTRA_ILLEGAL_TOKENS"; 137 public static final String ER_EXPECTED_DOUBLE_QUOTE = 138 "ER_EXPECTED_DOUBLE_QUOTE"; 139 public static final String ER_EXPECTED_SINGLE_QUOTE = 140 "ER_EXPECTED_SINGLE_QUOTE"; 141 public static final String ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION"; 142 public static final String ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND"; 143 public static final String ER_INCORRECT_PROGRAMMER_ASSERTION = 144 "ER_INCORRECT_PROGRAMMER_ASSERTION"; 145 public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 146 "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL"; 147 public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 148 "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG"; 149 public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 150 "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG"; 151 public static final String ER_PREDICATE_ILLEGAL_SYNTAX = 152 "ER_PREDICATE_ILLEGAL_SYNTAX"; 153 public static final String ER_PREDICATE_TOO_MANY_OPEN = 154 "ER_PREDICATE_TOO_MANY_OPEN"; 155 public static final String ER_COMPILATION_TOO_MANY_OPERATION = 156 "ER_COMPILATION_TOO_MANY_OPERATION"; 157 public static final String ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME"; 158 public static final String ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE"; 159 public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 160 "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED"; 161 public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 162 "ER_COULDNOT_BE_FORMATTED_TO_NUMBER"; 163 public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 164 "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON"; 165 public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP = 166 "ER_DIDNOT_FIND_XPATH_SELECT_EXP"; 167 public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 168 "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH"; 169 public static final String ER_ERROR_OCCURED = "ER_ERROR_OCCURED"; 170 public static final String ER_ILLEGAL_VARIABLE_REFERENCE = 171 "ER_ILLEGAL_VARIABLE_REFERENCE"; 172 public static final String ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED"; 173 public static final String ER_KEY_HAS_TOO_MANY_ARGS = 174 "ER_KEY_HAS_TOO_MANY_ARGS"; 175 public static final String ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG"; 176 public static final String ER_COULDNOT_FIND_FUNCTION = 450 { ER_EMPTY_EXPRESSION, 451 "空表达式!"}, 452 453 { ER_EXPECTED_BUT_FOUND, 454 "需要{0}, 但找到: {1}"}, 455 456 { ER_INCORRECT_PROGRAMMER_ASSERTION, 457 "程序员断言错误! - {0}"}, 458 459 { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, 460 "在 19990709 XPath 草稿中, boolean(...) 参数不再是可选的。"}, 461 462 { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, 463 "已找到 ',', 但前面没有参数!"}, 464 465 { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, 466 "已找到 ',', 但后面没有参数!"}, 467 468 { ER_PREDICATE_ILLEGAL_SYNTAX, 469 "'..[predicate]' 或 '.[predicate]' 是非法语法。请改用 'self::node()[predicate]'。"}, 470 471 { ER_PREDICATE_TOO_MANY_OPEN, 472 "对 {1} 中的 {0} 进行语法分析时堆栈溢出。未结束的谓词太多 ({2})。"}, 473 474 { ER_COMPILATION_TOO_MANY_OPERATION, 475 "编译表达式时堆栈溢出。运算太多 ({0})。"}, 476 477 { ER_ILLEGAL_AXIS_NAME, 478 "非法轴名称: {0}"}, 479 480 { ER_UNKNOWN_NODETYPE, 481 "未知节点类型: {0}"}, 482 483 { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, 484 "需要用引号将模式文字 ({0}) 引起来!"}, 485 486 { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, 487 "无法将{0}的格式设置为数字!"}, 488 489 { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, 490 "无法创建 XML TransformerFactory Liaison: {0}"}, 491 492 { ER_DIDNOT_FIND_XPATH_SELECT_EXP, 493 "错误! 找不到 xpath 选择表达式 (-select)。"}, 494 495 { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, |