1. /*
  2. * @(#)XPATHErrorResources_zh_CN.java 1.3 03/04/27
  3. * The Apache Software License, Version 1.1
  4. *
  5. *
  6. * Copyright (c) 1999 The Apache Software Foundation. All rights
  7. * reserved.
  8. *
  9. * Redistribution and use in source and binary forms, with or without
  10. * modification, are permitted provided that the following conditions
  11. * are met:
  12. *
  13. * 1. Redistributions of source code must retain the above copyright
  14. * notice, this list of conditions and the following disclaimer.
  15. *
  16. * 2. Redistributions in binary form must reproduce the above copyright
  17. * notice, this list of conditions and the following disclaimer in
  18. * the documentation and/or other materials provided with the
  19. * distribution.
  20. *
  21. * 3. The end-user documentation included with the redistribution,
  22. * if any, must include the following acknowledgment:
  23. * "This product includes software developed by the
  24. * Apache Software Foundation (http://www.apache.org/)."
  25. * Alternately, this acknowledgment may appear in the software itself,
  26. * if and wherever such third-party acknowledgments normally appear.
  27. *
  28. * 4. The names "Xalan" and "Apache Software Foundation" must
  29. * not be used to endorse or promote products derived from this
  30. * software without prior written permission. For written
  31. * permission, please contact apache@apache.org.
  32. *
  33. * 5. Products derived from this software may not be called "Apache",
  34. * nor may "Apache" appear in their name, without prior written
  35. * permission of the Apache Software Foundation.
  36. *
  37. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  38. * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  39. * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  40. * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  41. * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  42. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  43. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  44. * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  45. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  46. * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  47. * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  48. * SUCH DAMAGE.
  49. * ====================================================================
  50. *
  51. * This software consists of voluntary contributions made by many
  52. * individuals on behalf of the Apache Software Foundation and was
  53. * originally based on software copyright (c) 2002, Sun Microsystems,
  54. * Inc., http://www.sun.com. For more
  55. * information on the Apache Software Foundation, please see
  56. * <http://www.apache.org/>.
  57. */
  58. package org.apache.xpath.res;
  59. import org.apache.xml.utils.res.XResourceBundleBase;
  60. import java.util.*;
  61. import java.text.DecimalFormat;
  62. /**
  63. * <meta name="usage" content="advanced"/>
  64. * Set up error messages.
  65. * We build a two dimensional array of message keys and
  66. * message strings. In order to add a new message here,
  67. * you need to first add a Static string constant for the
  68. * Key and update the contents array with Key, Value pair
  69. * Also you need to update the count of messages(MAX_CODE)or
  70. * the count of warnings(MAX_WARNING) [ Information purpose only]
  71. */
  72. public class XPATHErrorResources_zh_CN extends XPATHErrorResources
  73. {
  74. /** Field MAX_CODE */
  75. public static final int MAX_CODE = 116; // this is needed to keep track of the number of messages
  76. /** Field MAX_WARNING */
  77. public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings
  78. /** Field MAX_OTHERS */
  79. public static final int MAX_OTHERS = 20;
  80. /** Field MAX_MESSAGES */
  81. public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  82. // Error messages...
  83. public static final Object[][] contents = {
  84. /** Field ERROR0000 */
  85. //public static final int ERROR0000 = 0;
  86. {
  87. "ERROR0000", "{0}"},
  88. /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH */
  89. //public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1;
  90. {
  91. ER_CURRENT_NOT_ALLOWED_IN_MATCH,
  92. "\u5339\u914d\u6a21\u5f0f\u4e2d\u4e0d\u5141\u8bb8\u4f7f\u7528 current() \u51fd\u6570\uff01"},
  93. /** Field ER_CURRENT_TAKES_NO_ARGS */
  94. //public static final int ER_CURRENT_TAKES_NO_ARGS = 2;
  95. {
  96. ER_CURRENT_TAKES_NO_ARGS,
  97. "current() \u51fd\u6570\u4e0d\u63a5\u53d7\u53d8\u91cf\uff01"},
  98. /** Field ER_DOCUMENT_REPLACED */
  99. //public static final int ER_DOCUMENT_REPLACED = 3;
  100. {
  101. ER_DOCUMENT_REPLACED,
  102. "document() \u51fd\u6570\u5de5\u5177\u5df2\u88ab org.apache.xalan.xslt.FuncDocument \u66ff\u4ee3\uff01"},
  103. /** Field ER_CONTEXT_HAS_NO_OWNERDOC */
  104. //public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4;
  105. {
  106. ER_CONTEXT_HAS_NO_OWNERDOC,
  107. "\u4e0a\u4e0b\u6587\u6ca1\u6709\u5c5e\u4e3b\u6587\u6863\uff01"},
  108. /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
  109. //public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
  110. {
  111. ER_LOCALNAME_HAS_TOO_MANY_ARGS,
  112. "local-name() \u7684\u53d8\u91cf\u592a\u591a\u3002"},
  113. /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
  114. //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
  115. {
  116. ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
  117. "namespace-uri() \u7684\u53d8\u91cf\u592a\u591a\u3002"},
  118. /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
  119. //public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
  120. {
  121. ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
  122. "normalize-space() \u7684\u53d8\u91cf\u592a\u591a\u3002"},
  123. /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
  124. //public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
  125. {
  126. ER_NUMBER_HAS_TOO_MANY_ARGS,
  127. "number() \u7684\u53d8\u91cf\u592a\u591a\u3002"},
  128. /** Field ER_NAME_HAS_TOO_MANY_ARGS */
  129. //public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
  130. {
  131. ER_NAME_HAS_TOO_MANY_ARGS, "name() \u7684\u53d8\u91cf\u592a\u591a\u3002"},
  132. /** Field ER_STRING_HAS_TOO_MANY_ARGS */
  133. //public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
  134. {
  135. ER_STRING_HAS_TOO_MANY_ARGS,
  136. "string() \u7684\u53d8\u91cf\u592a\u591a\u3002"},
  137. /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
  138. //public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
  139. {
  140. ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
  141. "string-length() \u7684\u53d8\u91cf\u592a\u591a\u3002"},
  142. /** Field ER_TRANSLATE_TAKES_3_ARGS */
  143. //public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
  144. {
  145. ER_TRANSLATE_TAKES_3_ARGS,
  146. "translate() \u51fd\u6570\u4f7f\u7528\u4e09\u4e2a\u53d8\u91cf\uff01"},
  147. /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */
  148. //public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
  149. {
  150. ER_UNPARSEDENTITYURI_TAKES_1_ARG,
  151. "unparsed-entity-uri \u51fd\u6570\u5e94\u4f7f\u7528\u4e00\u4e2a\u53d8\u91cf\uff01"},
  152. /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
  153. //public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
  154. {
  155. ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
  156. "\u4ecd\u672a\u5b9e\u73b0\u540d\u79f0\u7a7a\u95f4\u8f74\uff01"},
  157. /** Field ER_UNKNOWN_AXIS */
  158. //public static final int ER_UNKNOWN_AXIS = 15;
  159. {
  160. ER_UNKNOWN_AXIS, "\u672a\u77e5\u8f74\uff1a{0}"},
  161. /** Field ER_UNKNOWN_MATCH_OPERATION */
  162. //public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
  163. {
  164. ER_UNKNOWN_MATCH_OPERATION, "\u5339\u914d\u64cd\u4f5c\u672a\u77e5\uff01"},
  165. /** Field ER_INCORRECT_ARG_LENGTH */
  166. //public static final int ER_INCORRECT_ARG_LENGTH = 17;
  167. {
  168. ER_INCORRECT_ARG_LENGTH,
  169. "processing-instruction() \u8282\u70b9\u7684\u53d8\u91cf\u957f\u5ea6\u6d4b\u8bd5\u4e0d\u6b63\u786e\uff01"},
  170. /** Field ER_CANT_CONVERT_TO_NUMBER */
  171. //public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
  172. {
  173. ER_CANT_CONVERT_TO_NUMBER,
  174. "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a\u6570\u5b57"},
  175. /** Field ER_CANT_CONVERT_TO_NODELIST */
  176. //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
  177. {
  178. ER_CANT_CONVERT_TO_NODELIST,
  179. "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a NodeList\uff01"},
  180. /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */
  181. //public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
  182. {
  183. ER_CANT_CONVERT_TO_MUTABLENODELIST,
  184. "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a NodeSetDTM\uff01"},
  185. /** Field ER_CANT_CONVERT_TO_TYPE */
  186. //public static final int ER_CANT_CONVERT_TO_TYPE = 21;
  187. {
  188. ER_CANT_CONVERT_TO_TYPE,
  189. "\u4e0d\u80fd\u5c06 {0} \u8f6c\u6362\u4e3a\u4e00\u4e2a type//{1}"},
  190. /** Field ER_EXPECTED_MATCH_PATTERN */
  191. //public static final int ER_EXPECTED_MATCH_PATTERN = 22;
  192. {
  193. ER_EXPECTED_MATCH_PATTERN,
  194. "getMatchScore \u4e2d\u9884\u671f\u7684\u5339\u914d\u6a21\u5f0f\uff01"},
  195. /** Field ER_COULDNOT_GET_VAR_NAMED */
  196. //public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
  197. {
  198. ER_COULDNOT_GET_VAR_NAMED,
  199. "\u65e0\u6cd5\u83b7\u5f97\u547d\u540d\u7684\u53d8\u91cf {0}"},
  200. /** Field ER_UNKNOWN_OPCODE */
  201. //public static final int ER_UNKNOWN_OPCODE = 24;
  202. {
  203. ER_UNKNOWN_OPCODE, "\u9519\u8bef\uff01op \u4ee3\u7801\u672a\u77e5\uff1a{0}"},
  204. /** Field ER_EXTRA_ILLEGAL_TOKENS */
  205. //public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
  206. {
  207. ER_EXTRA_ILLEGAL_TOKENS, "\u989d\u5916\u7684\u975e\u6cd5\u6807\u8bb0\uff1a{0}"},
  208. /** Field ER_EXPECTED_DOUBLE_QUOTE */
  209. //public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
  210. {
  211. ER_EXPECTED_DOUBLE_QUOTE,
  212. "\u9519\u8bef\u5f15\u7528\u6587\u5b57... \u9884\u671f\u7684\u53cc\u5f15\u7528\uff01"},
  213. /** Field ER_EXPECTED_SINGLE_QUOTE */
  214. //public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
  215. {
  216. ER_EXPECTED_SINGLE_QUOTE,
  217. "\u9519\u8bef\u5f15\u7528\u6587\u5b57... \u9884\u671f\u7684\u5355\u5f15\u7528\uff01"},
  218. /** Field ER_EMPTY_EXPRESSION */
  219. //public static final int ER_EMPTY_EXPRESSION = 28;
  220. {
  221. ER_EMPTY_EXPRESSION, "\u7a7a\u8868\u8fbe\u5f0f\uff01"},
  222. /** Field ER_EXPECTED_BUT_FOUND */
  223. //public static final int ER_EXPECTED_BUT_FOUND = 29;
  224. {
  225. ER_EXPECTED_BUT_FOUND, "\u9884\u671f\u7684 {0}\uff0c\u4f46\u53d1\u73b0\uff1a{1}"},
  226. /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */
  227. //public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
  228. {
  229. ER_INCORRECT_PROGRAMMER_ASSERTION,
  230. "\u7a0b\u5e8f\u5458\u65ad\u8a00\u662f\u9519\u8bef\u7684\uff01- {0}"},
  231. /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */
  232. //public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
  233. {
  234. ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
  235. "19990709 XPath \u8349\u7a3f\u4e0d\u518d\u53ef\u9009\u7528 boolean(...) \u53d8\u91cf\u3002"},
  236. /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */
  237. //public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
  238. {
  239. ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
  240. "\u5df2\u627e\u5230 ','\uff0c\u4f46\u672a\u627e\u5230\u524d\u8ff0\u53d8\u91cf\uff01"},
  241. /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */
  242. //public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
  243. {
  244. ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
  245. "\u5df2\u627e\u5230 ','\uff0c\u4f46\u672a\u627e\u5230\u4ee5\u4e0b\u53d8\u91cf\uff01"},
  246. /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
  247. //public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
  248. {
  249. ER_PREDICATE_ILLEGAL_SYNTAX,
  250. "'..[predicate]' \u6216 '.[predicate]' \u662f\u975e\u6cd5\u8bed\u6cd5\u3002\u8bf7\u6539\u7528 'self::node()[predicate]'\u3002"},
  251. /** Field ER_ILLEGAL_AXIS_NAME */
  252. //public static final int ER_ILLEGAL_AXIS_NAME = 35;
  253. {
  254. ER_ILLEGAL_AXIS_NAME, "\u975e\u6cd5\u7684\u8f74\u540d\u79f0\uff1a{0}"},
  255. /** Field ER_UNKNOWN_NODETYPE */
  256. //public static final int ER_UNKNOWN_NODETYPE = 36;
  257. {
  258. ER_UNKNOWN_NODETYPE, "\u672a\u77e5\u7684\u8282\u70b9\u7c7b\u578b\uff1a{0}"},
  259. /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */
  260. //public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
  261. {
  262. ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
  263. "\u9700\u8981\u5f15\u7528\u6a21\u5f0f\u6587\u5b57 ({0})\uff01"},
  264. /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */
  265. //public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
  266. {
  267. ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
  268. "\u4e0d\u80fd\u5c06 {0} \u683c\u5f0f\u5316\u4e3a\u4e00\u4e2a\u6570\u5b57\uff01"},
  269. /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
  270. //public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
  271. {
  272. ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
  273. "\u4e0d\u80fd\u521b\u5efa XML TransformerFactory Liaison\uff1a{0}"},
  274. /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */
  275. //public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
  276. {
  277. ER_DIDNOT_FIND_XPATH_SELECT_EXP,
  278. "\u9519\u8bef\uff01\u672a\u627e\u5230 xpath select \u8868\u8fbe\u5f0f (-select)\u3002"},
  279. /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
  280. //public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
  281. {
  282. ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
  283. "\u9519\u8bef\uff01\u672a\u5728 OP_LOCATIONPATH \u540e\u627e\u5230 ENDOP"},
  284. /** Field ER_ERROR_OCCURED */
  285. //public static final int ER_ERROR_OCCURED = 42;
  286. {
  287. ER_ERROR_OCCURED, "\u51fa\u9519\uff01"},
  288. /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
  289. //public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
  290. {
  291. ER_ILLEGAL_VARIABLE_REFERENCE,
  292. "\u4e3a\u53d8\u91cf\u7ed9\u51fa\u7684 VariableReference \u8d85\u51fa\u4e86\u4e0a\u4e0b\u6587\u8303\u56f4\u6216\u6ca1\u6709\u5b9a\u4e49\uff01\u540d\u79f0 = {0}"},
  293. /** Field ER_AXES_NOT_ALLOWED */
  294. //public static final int ER_AXES_NOT_ALLOWED = 44;
  295. {
  296. ER_AXES_NOT_ALLOWED,
  297. "\u5339\u914d\u6a21\u5f0f\u4e2d\u4ec5\u5141\u8bb8\u4f7f\u7528 child:: \u548c attribute:: \u8f74\uff01\u8fdd\u4f8b\u8f74 = {0}"},
  298. /** Field ER_KEY_HAS_TOO_MANY_ARGS */
  299. //public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
  300. {
  301. ER_KEY_HAS_TOO_MANY_ARGS,
  302. "key() \u6709\u8bb8\u591a\u4e0d\u6b63\u786e\u7684\u53d8\u91cf\u3002"},
  303. /** Field ER_COUNT_TAKES_1_ARG */
  304. //public static final int ER_COUNT_TAKES_1_ARG = 46;
  305. {
  306. ER_COUNT_TAKES_1_ARG,
  307. "count \u51fd\u6570\u5e94\u4f7f\u7528\u4e00\u4e2a\u53d8\u91cf\uff01"},
  308. /** Field ER_COULDNOT_FIND_FUNCTION */
  309. //public static final int ER_COULDNOT_FIND_FUNCTION = 47;
  310. {
  311. ER_COULDNOT_FIND_FUNCTION, "\u672a\u627e\u5230\u51fd\u6570\uff1a{0}"},
  312. /** Field ER_UNSUPPORTED_ENCODING */
  313. //public static final int ER_UNSUPPORTED_ENCODING = 48;
  314. {
  315. ER_UNSUPPORTED_ENCODING, "\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\uff1a{0}"},
  316. /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */
  317. //public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
  318. {
  319. ER_PROBLEM_IN_DTM_NEXTSIBLING,
  320. "getNextSibling \u4e2d\u7684 DTM \u51fa\u73b0\u95ee\u9898 ... \u6b63\u5728\u5c1d\u8bd5\u6062\u590d"},
  321. /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */
  322. //public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
  323. {
  324. ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
  325. "\u7a0b\u5e8f\u5458\u51fa\u9519\uff1a\u4e0d\u80fd\u5c06 EmptyNodeList \u5199\u5165\u3002"},
  326. /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
  327. //public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
  328. {
  329. ER_SETDOMFACTORY_NOT_SUPPORTED,
  330. "setDOMFactory \u4e0d\u53d7 XPathContext \u652f\u6301\uff01"},
  331. /** Field ER_PREFIX_MUST_RESOLVE */
  332. //public static final int ER_PREFIX_MUST_RESOLVE = 52;
  333. {
  334. ER_PREFIX_MUST_RESOLVE,
  335. "\u5fc5\u987b\u89e3\u51b3\u540d\u79f0\u7a7a\u95f4\u7684\u524d\u7f00\uff1a{0}"},
  336. /** Field ER_PARSE_NOT_SUPPORTED */
  337. //public static final int ER_PARSE_NOT_SUPPORTED = 53;
  338. {
  339. ER_PARSE_NOT_SUPPORTED,
  340. "XPathContext \u4e2d\u4e0d\u652f\u6301\uff08\u8bed\u6cd5\uff09\u5206\u6790\u5668\uff08InputSource \u6e90\uff09\uff01\u65e0\u6cd5\u6253\u5f00 {0}"},
  341. /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */
  342. //public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
  343. {
  344. ER_CREATEDOCUMENT_NOT_SUPPORTED,
  345. "XPathContext \u4e2d\u4e0d\u652f\u6301 createDocument()\uff01"},
  346. /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT */
  347. //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
  348. {
  349. ER_CHILD_HAS_NO_OWNER_DOCUMENT,
  350. "\u5b50\u5c5e\u6027\u6ca1\u6709\u5c5e\u4e3b\u6587\u6863\uff01"},
  351. /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT */
  352. //public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
  353. {
  354. ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
  355. "\u5b50\u5c5e\u6027\u6ca1\u6709\u5c5e\u4e3b\u6587\u6863\u5143\u7d20\uff01"},
  356. /** Field ER_SAX_API_NOT_HANDLED */
  357. //public static final int ER_SAX_API_NOT_HANDLED = 57;
  358. {
  359. ER_SAX_API_NOT_HANDLED,
  360. "SAX API characters(char ch[]... \u4e0d\u7531 DTM \u5904\u7406\uff01"},
  361. /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */
  362. //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
  363. {
  364. ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
  365. "ignorableWhitespace(char ch[]... \u4e0d\u7531 DTM \u5904\u7406\uff01"},
  366. /** Field ER_DTM_CANNOT_HANDLE_NODES */
  367. //public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
  368. {
  369. ER_DTM_CANNOT_HANDLE_NODES,
  370. "DTMLiaison \u65e0\u6cd5\u5904\u7406\u8282\u70b9\u7c7b\u578b {0}"},
  371. /** Field ER_XERCES_CANNOT_HANDLE_NODES */
  372. //public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
  373. {
  374. ER_XERCES_CANNOT_HANDLE_NODES,
  375. "DOM2Helper \u65e0\u6cd5\u5904\u7406\u8282\u70b9\u7c7b\u578b {0}"},
  376. /** Field ER_XERCES_PARSE_ERROR_DETAILS */
  377. //public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
  378. {
  379. ER_XERCES_PARSE_ERROR_DETAILS,
  380. "DOM2Helper.parse \u9519\u8bef\uff1aSystemID - {0} line - {1}"},
  381. /** Field ER_XERCES_PARSE_ERROR */
  382. //public static final int ER_XERCES_PARSE_ERROR = 62;
  383. {
  384. ER_XERCES_PARSE_ERROR, "DOM2Helper.parse \u9519\u8bef"},
  385. /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC */
  386. //public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
  387. {
  388. ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
  389. "\u8b66\u544a\uff1a\u4e0d\u80fd\u8f93\u51fa\u6587\u6863\u5143\u7d20\u4e4b\u524d\u7684\u6587\u5b57\uff01\u5ffd\u7565..."},
  390. /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT */
  391. //public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
  392. {
  393. ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
  394. "DOM \u4e0a\u4e0d\u80fd\u6709\u591a\u4e2a\u6839\uff01"},
  395. /** Field ER_INVALID_UTF16_SURROGATE */
  396. //public static final int ER_INVALID_UTF16_SURROGATE = 65;
  397. {
  398. ER_INVALID_UTF16_SURROGATE,
  399. "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 surrogate\uff1a{0} ?"},
  400. /** Field ER_OIERROR */
  401. //public static final int ER_OIERROR = 66;
  402. {
  403. ER_OIERROR, "IO \u9519\u8bef"},
  404. /** Field ER_CANNOT_CREATE_URL */
  405. //public static final int ER_CANNOT_CREATE_URL = 67;
  406. {
  407. ER_CANNOT_CREATE_URL, "\u65e0\u6cd5\u521b\u5efa url \u4e3a\uff1a{0}"},
  408. /** Field ER_XPATH_READOBJECT */
  409. //public static final int ER_XPATH_READOBJECT = 68;
  410. {
  411. ER_XPATH_READOBJECT, "\u5728 XPath.readObject \u4e2d\uff1a{0}"},
  412. /** Field ER_XPATH_READOBJECT */
  413. //public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
  414. {
  415. ER_FUNCTION_TOKEN_NOT_FOUND,
  416. "\u672a\u627e\u5230\u51fd\u6570\u6807\u8bb0\u3002"},
  417. /** Argument 'localName' is null */
  418. //public static final int ER_ARG_LOCALNAME_NULL = 70;
  419. {
  420. ER_ARG_LOCALNAME_NULL,
  421. "\u53d8\u91cf 'localName' \u4e3a\u7a7a"},
  422. /** Can not deal with XPath type: */
  423. //public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
  424. {
  425. ER_CANNOT_DEAL_XPATH_TYPE,
  426. "\u65e0\u6cd5\u5904\u7406 XPath \u7c7b\u578b\uff1a{0}"},
  427. /** This NodeSet is not mutable */
  428. //public static final int ER_NODESET_NOT_MUTABLE = 72;
  429. {
  430. ER_NODESET_NOT_MUTABLE,
  431. "\u6b64 NodeSet \u4e0d\u6613\u53d8"},
  432. /** This NodeSetDTM is not mutable */
  433. //public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
  434. {
  435. ER_NODESETDTM_NOT_MUTABLE,
  436. "\u6b64 NodeSetDTM \u4e0d\u6613\u53d8"},
  437. /** Variable not resolvable: */
  438. //public static final int ER_VAR_NOT_RESOLVABLE = 74;
  439. {
  440. ER_VAR_NOT_RESOLVABLE,
  441. "\u53d8\u91cf\u4e0d\u53ef\u5206\u89e3\uff1a{0}"},
  442. /** Null error handler */
  443. //public static final int ER_NULL_ERROR_HANDLER = 75;
  444. {
  445. ER_NULL_ERROR_HANDLER,
  446. "\u9519\u8bef\u5904\u7406\u5668\u65e0\u6548"},
  447. /** Programmer's assertion: unknown opcode */
  448. //public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
  449. {
  450. ER_PROG_ASSERT_UNKNOWN_OPCODE,
  451. "\u7a0b\u5e8f\u5458\u65ad\u8a00\uff1aopcode \u672a\u77e5\uff1a{0}"},
  452. /** 0 or 1 */
  453. //public static final int ER_ZERO_OR_ONE = 77;
  454. {
  455. ER_ZERO_OR_ONE,
  456. "0 \u6216 1"},
  457. /** rtf() not supported by XRTreeFragSelectWrapper */
  458. //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
  459. {
  460. ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
  461. "rtf() \u4e0d\u53d7 XRTreeFragSelectWrapper \u652f\u6301"},
  462. /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
  463. //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
  464. {
  465. ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
  466. "asNodeIterator() \u4e0d\u53d7 XRTreeFragSelectWrapper \u652f\u6301"},
  467. /** fsb() not supported for XStringForChars */
  468. //public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
  469. {
  470. ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
  471. "fsb() \u4e0d\u652f\u6301 XStringForChars"},
  472. /** Could not find variable with the name of */
  473. //public static final int ER_COULD_NOT_FIND_VAR = 81;
  474. {
  475. ER_COULD_NOT_FIND_VAR,
  476. "\u65e0\u6cd5\u627e\u5230\u540d\u79f0\u4e3a {0} \u7684\u53d8\u91cf"},
  477. /** XStringForChars can not take a string for an argument */
  478. //public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
  479. {
  480. ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
  481. "XStringForChars \u65e0\u6cd5\u4f7f\u7528\u53d8\u91cf\u7684\u4e00\u4e2a\u5b57\u7b26\u4e32"},
  482. /** The FastStringBuffer argument can not be null */
  483. //public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
  484. {
  485. ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
  486. "FastStringBuffer \u53d8\u91cf\u4e0d\u80fd\u4e3a\u7a7a"},
  487. /** 2 or 3 */
  488. //public static final int ER_TWO_OR_THREE = 84;
  489. {
  490. ER_TWO_OR_THREE,
  491. "2 \u6216 3"},
  492. /** Variable accessed before it is bound! */
  493. //public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
  494. {
  495. ER_VARIABLE_ACCESSED_BEFORE_BIND,
  496. "\u7ed1\u5b9a\u4e4b\u524d\u8bbf\u95ee\u4e86\u53d8\u91cf\uff01"},
  497. /** XStringForFSB can not take a string for an argument! */
  498. //public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
  499. {
  500. ER_FSB_CANNOT_TAKE_STRING,
  501. "XStringForFSB \u65e0\u6cd5\u63a5\u53d7\u5b57\u7b26\u4e32\u7c7b\u578b\u7684\u53d8\u91cf\uff01"},
  502. /** Error! Setting the root of a walker to null! */
  503. //public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
  504. {
  505. ER_SETTING_WALKER_ROOT_TO_NULL,
  506. "\n !!!! \u9519\u8bef\uff01\u904d\u5386\u7a0b\u5e8f\u7684\u6839\u8bbe\u7f6e\u4e3a\u7a7a!!!"},
  507. /** This NodeSetDTM can not iterate to a previous node! */
  508. //public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
  509. {
  510. ER_NODESETDTM_CANNOT_ITERATE,
  511. "\u6b64 NodeSetDTM \u65e0\u6cd5\u8fed\u4ee3\u5230\u524d\u4e00\u4e2a\u8282\u70b9\uff01"},
  512. /** This NodeSet can not iterate to a previous node! */
  513. //public static final int ER_NODESET_CANNOT_ITERATE = 89;
  514. {
  515. ER_NODESET_CANNOT_ITERATE,
  516. "\u6b64 NodeSet \u65e0\u6cd5\u8fed\u4ee3\u5230\u524d\u4e00\u4e2a\u8282\u70b9\uff01"},
  517. /** This NodeSetDTM can not do indexing or counting functions! */
  518. //public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
  519. {
  520. ER_NODESETDTM_CANNOT_INDEX,
  521. "\u6b64 NodeSetDTM \u65e0\u6cd5\u4e3a\u51fd\u6570\u5efa\u7acb\u7d22\u5f15\u6216\u8ba1\u7b97\u4e2a\u6570\uff01"},
  522. /** This NodeSet can not do indexing or counting functions! */
  523. //public static final int ER_NODESET_CANNOT_INDEX = 91;
  524. {
  525. ER_NODESET_CANNOT_INDEX,
  526. "\u6b64 NodeSet \u65e0\u6cd5\u4e3a\u51fd\u6570\u5efa\u7acb\u7d22\u5f15\u6216\u8ba1\u7b97\u4e2a\u6570\uff01"},
  527. /** Can not call setShouldCacheNodes after nextNode has been called! */
  528. //public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
  529. {
  530. ER_CANNOT_CALL_SETSHOULDCACHENODE,
  531. "\u8c03\u7528 nextNode \u540e\u65e0\u6cd5\u8c03\u7528 setShouldCacheNodes\uff01"},
  532. /** {0} only allows {1} arguments */
  533. //public static final int ER_ONLY_ALLOWS = 93;
  534. {
  535. ER_ONLY_ALLOWS,
  536. "{0} \u4ec5\u5141\u8bb8 {1} \u53d8\u91cf"},
  537. /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
  538. //public static final int ER_UNKNOWN_STEP = 94;
  539. {
  540. ER_UNKNOWN_STEP,
  541. "getNextStepPos \u4e2d\u7684\u7a0b\u5e8f\u5458\u58f0\u660e\uff1a\u672a\u77e5\u7684 stepType\uff1a{0}"},
  542. //Note to translators: A relative location path is a form of XPath expression.
  543. // The message indicates that such an expression was expected following the
  544. // characters '/' or '//', but was not found.
  545. /** Problem with RelativeLocationPath */
  546. //public static final int ER_EXPECTED_REL_LOC_PATH = 95;
  547. {
  548. ER_EXPECTED_REL_LOC_PATH,
  549. "\u201c/\u201d\u6216\u201c//\u201d\u6807\u8bb0\u540e\u9700\u8981\u91c7\u7528\u76f8\u5bf9\u4f4d\u7f6e\u8def\u5f84\u3002"},
  550. // Note to translators: A location path is a form of XPath expression.
  551. // The message indicates that syntactically such an expression was expected,but
  552. // the characters specified by the substitution text were encountered instead.
  553. /** Problem with LocationPath */
  554. //public static final int ER_EXPECTED_LOC_PATH = 96;
  555. {
  556. ER_EXPECTED_LOC_PATH,
  557. "\u9700\u8981\u4f4d\u7f6e\u8def\u5f84\uff0c\u4f46\u9047\u5230\u4ee5\u4e0b\u6807\u8bb0: {0}"},
  558. // Note to translators: A location step is part of an XPath expression.
  559. // The message indicates that syntactically such an expression was expected
  560. // following the specified characters.
  561. /** Problem with Step */
  562. //public static final int ER_EXPECTED_LOC_STEP = 97;
  563. {
  564. ER_EXPECTED_LOC_STEP,
  565. "\u201c/\u201d\u6216\u201c//\u201d\u6807\u8bb0\u540e\u9700\u8981\u91c7\u7528\u4f4d\u7f6e\u6b65\u9aa4\u3002"},
  566. // Note to translators: A node test is part of an XPath expression that is
  567. // used to test for particular kinds of nodes. In this case, a node test that
  568. // consists of an NCName followed by a colon and an asterisk or that consists
  569. // of a QName was expected, but was not found.
  570. /** Problem with NodeTest */
  571. //public static final int ER_EXPECTED_NODE_TEST = 98;
  572. {
  573. ER_EXPECTED_NODE_TEST,
  574. "\u9700\u8981\u4e0e NCName:* \u6216 QName \u5339\u914d\u7684\u8282\u70b9\u6d4b\u8bd5\u3002"},
  575. // Note to translators: A step pattern is part of an XPath expression.
  576. // The message indicates that syntactically such an expression was expected,
  577. // but the specified character was found in the expression instead.
  578. /** Expected step pattern */
  579. //public static final int ER_EXPECTED_STEP_PATTERN = 99;
  580. {
  581. ER_EXPECTED_STEP_PATTERN,
  582. "\u9700\u8981\u6b65\u9aa4\u6a21\u5f0f\uff0c\u4f46\u9047\u5230\u201c/\u201d\u3002"},
  583. // Note to translators: A relative path pattern is part of an XPath expression.
  584. // The message indicates that syntactically such an expression was expected,
  585. // but was not found.
  586. /** Expected relative path pattern */
  587. //public static final int ER_EXPECTED_REL_PATH_PATTERN = 100;
  588. {
  589. ER_EXPECTED_REL_PATH_PATTERN,
  590. "\u9700\u8981\u76f8\u5bf9\u8def\u5f84\u6a21\u5f0f\u3002"},
  591. // Note to translators: A QNAME has the syntactic form [NCName:]NCName
  592. // The localname is the portion after the optional colon; the message indicates
  593. // that there is a problem with that part of the QNAME.
  594. /** localname in QNAME should be a valid NCName */
  595. //public static final int ER_ARG_LOCALNAME_INVALID = 101;
  596. {
  597. ER_ARG_LOCALNAME_INVALID,
  598. "QNAME \u4e2d\u7684 Localname \u5e94\u8be5\u662f\u4e00\u4e2a\u6709\u6548\u7684 NCName"},
  599. // Note to translators: A QNAME has the syntactic form [NCName:]NCName
  600. // The prefix is the portion before the optional colon; the message indicates
  601. // that there is a problem with that part of the QNAME.
  602. /** prefix in QNAME should be a valid NCName */
  603. //public static final int ER_ARG_PREFIX_INVALID = 102;
  604. {
  605. ER_ARG_PREFIX_INVALID,
  606. "QNAME \u4e2d\u7684\u524d\u7f00\u5e94\u8be5\u662f\u4e00\u4e2a\u6709\u6548\u7684 NCName"},
  607. // Note to translators: The substitution text is the name of a data type. The
  608. // message indicates that a value of a particular type could not be converted
  609. // to a value of type string.
  610. /** Field ER_CANT_CONVERT_TO_BOOLEAN */
  611. //public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;
  612. {
  613. ER_CANT_CONVERT_TO_BOOLEAN,
  614. "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5e03\u5c14\u503c\u3002"},
  615. // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
  616. // FIRST_ORDERED_NODE_TYPE.
  617. /** Field ER_CANT_CONVERT_TO_SINGLENODE */
  618. //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;
  619. {
  620. ER_CANT_CONVERT_TO_SINGLENODE,
  621. "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5355\u8282\u70b9\u3002\u6b64\u83b7\u53d6\u7a0b\u5e8f\u9002\u7528\u4e8e ANY_UNORDERED_NODE_TYPE \u548c FIRST_ORDERED_NODE_TYPE \u7c7b\u578b\u3002"},
  622. // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
  623. // ORDERED_NODE_SNAPSHOT_TYPE.
  624. /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
  625. //public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;
  626. {
  627. ER_CANT_GET_SNAPSHOT_LENGTH,
  628. "\u65e0\u6cd5\u83b7\u53d6\u7c7b\u578b {0} \u4e0a\u7684\u5feb\u7167\u957f\u5ea6\u3002\u6b64\u83b7\u53d6\u7a0b\u5e8f\u9002\u7528\u4e8e UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE \u7c7b\u578b\u3002"},
  629. /** Field ER_NON_ITERATOR_TYPE */
  630. //public static final int ER_NON_ITERATOR_TYPE = 106;
  631. {
  632. ER_NON_ITERATOR_TYPE,
  633. "\u65e0\u6cd5\u8fed\u4ee3\u975e\u53e0\u4ee3\u5668\u7c7b\u578b\uff1a{0}"},
  634. // Note to translators: This message indicates that the document being operated
  635. // upon changed, so the iterator object that was being used to traverse the
  636. // document has now become invalid.
  637. /** Field ER_DOC_MUTATED */
  638. //public static final int ER_DOC_MUTATED = 107;
  639. {
  640. ER_DOC_MUTATED,
  641. "\u7531\u4e8e\u7ed3\u679c\u7684\u8fd4\u56de\u4f7f\u6587\u6863\u53d1\u751f\u6539\u53d8\u3002\u53e0\u4ee3\u5668\u65e0\u6548\u3002"},
  642. /** Field ER_INVALID_XPATH_TYPE */
  643. //public static final int ER_INVALID_XPATH_TYPE = 108;
  644. {
  645. ER_INVALID_XPATH_TYPE,
  646. "\u65e0\u6548 XPath \u7c7b\u578b\u53d8\u91cf\uff1a{0}"},
  647. /** Field ER_EMPTY_XPATH_RESULT */
  648. //public static final int ER_EMPTY_XPATH_RESULT = 109;
  649. {
  650. ER_EMPTY_XPATH_RESULT,
  651. "\u7a7a\u7684 XPath \u7ed3\u679c\u5bf9\u8c61"},
  652. /** Field ER_INCOMPATIBLE_TYPES */
  653. //public static final int ER_INCOMPATIBLE_TYPES = 110;
  654. {
  655. ER_INCOMPATIBLE_TYPES,
  656. "\u8fd4\u56de\u7c7b\u578b\uff1a{0} \u65e0\u6cd5\u5f3a\u5236\u8f6c\u6362\u6210\u6307\u5b9a\u7684\u7c7b\u578b\uff1a{1}"},
  657. /** Field ER_NULL_RESOLVER */
  658. //public static final int ER_NULL_RESOLVER = 111;
  659. {
  660. ER_NULL_RESOLVER,
  661. "\u65e0\u6cd5\u7528\u7a7a\u7684\u524d\u7f00\u89e3\u51b3\u5668\u6765\u89e3\u51b3\u524d\u7f00\u3002"},
  662. // Note to translators: The substitution text is the name of a data type. The
  663. // message indicates that a value of a particular type could not be converted
  664. // to a value of type string.
  665. /** Field ER_CANT_CONVERT_TO_STRING */
  666. //public static final int ER_CANT_CONVERT_TO_STRING = 112;
  667. {
  668. ER_CANT_CONVERT_TO_STRING,
  669. "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5b57\u7b26\u4e32\u3002"},
  670. // Note to translators: Do not translate snapshotItem,
  671. // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
  672. /** Field ER_NON_SNAPSHOT_TYPE */
  673. //public static final int ER_NON_SNAPSHOT_TYPE = 113;
  674. {
  675. ER_NON_SNAPSHOT_TYPE,
  676. "\u65e0\u6cd5\u5bf9\u7c7b\u578b {0} \u8c03\u7528 snapshotItem\u3002\u6b64\u65b9\u6cd5\u9002\u7528\u4e8e UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE \u7c7b\u578b\u3002"},
  677. // Note to translators: XPathEvaluator is a Java interface name. An
  678. // XPathEvaluator is created with respect to a particular XML document, and in
  679. // this case the expression represented by this object was being evaluated with
  680. // respect to a context node from a different document.
  681. /** Field ER_WRONG_DOCUMENT */
  682. //public static final int ER_WRONG_DOCUMENT = 114;
  683. {
  684. ER_WRONG_DOCUMENT,
  685. "\u4e0a\u4e0b\u6587\u8282\u70b9\u4e0d\u5c5e\u4e8e\u7ed1\u5b9a\u5230\u6b64 XPathEvaluator \u7684\u6587\u6863\u3002"},
  686. // Note to translators: The XPath expression cannot be evaluated with respect
  687. // to this type of node.
  688. /** Field ER_WRONG_NODETYPE */
  689. //public static final int ER_WRONG_NODETYPE = 115;
  690. {
  691. ER_WRONG_NODETYPE ,
  692. "\u4e0a\u4e0b\u6587\u8282\u70b9\u7c7b\u578b\u4e0d\u53d7\u652f\u6301\u3002"},
  693. /** Field ER_XPATH_ERROR */
  694. //public static final int ER_XPATH_ERROR = 116;
  695. {
  696. ER_XPATH_ERROR ,
  697. "XPath \u4e2d\u51fa\u73b0\u672a\u77e5\u9519\u8bef\u3002"},
  698. // Warnings...
  699. /** Field WG_LOCALE_NAME_NOT_HANDLED */
  700. //public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
  701. {
  702. WG_LOCALE_NAME_NOT_HANDLED,
  703. "\u4ecd\u672a\u5904\u7406 format-number \u51fd\u6570\u4e2d\u7684\u8bed\u8a00\u73af\u5883\u540d\u79f0\uff01"},
  704. /** Field WG_PROPERTY_NOT_SUPPORTED */
  705. //public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
  706. {
  707. WG_PROPERTY_NOT_SUPPORTED,
  708. "\u4e0d\u53d7\u652f\u6301\u7684 XSL Property\uff1a{0}"},
  709. /** Field WG_DONT_DO_ANYTHING_WITH_NS */
  710. //public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
  711. {
  712. WG_DONT_DO_ANYTHING_WITH_NS,
  713. "\u5f53\u524d\u4e0d\u8981\u5bf9\u5c5e\u6027\u4e2d\u7684\u540d\u79f0\u7a7a\u95f4 {0} \u6267\u884c\u4efb\u4f55\u64cd\u4f5c\uff1a{1}"},
  714. /** Field WG_SECURITY_EXCEPTION */
  715. //public static final int WG_SECURITY_EXCEPTION = 4;
  716. {
  717. WG_SECURITY_EXCEPTION,
  718. "\u5c1d\u8bd5\u8bbf\u95ee XSL \u7cfb\u7edf\u5c5e\u6027\u65f6\uff0cSecurityException\uff1a{0}"},
  719. /** Field WG_QUO_NO_LONGER_DEFINED */
  720. //public static final int WG_QUO_NO_LONGER_DEFINED = 5;
  721. {
  722. WG_QUO_NO_LONGER_DEFINED,
  723. "\u65e7\u8bed\u6cd5\uff1aXPath \u4e2d\u4e0d\u518d\u5b9a\u4e49 quo(...)\u3002"},
  724. /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */
  725. //public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
  726. {
  727. WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
  728. "XPath \u9700\u8981\u7531\u4e00\u4e2a\u6d3e\u751f\u5bf9\u8c61\u6765\u6267\u884c nodeTest\uff01"},
  729. /** Field WG_FUNCTION_TOKEN_NOT_FOUND */
  730. //public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
  731. {
  732. WG_FUNCTION_TOKEN_NOT_FOUND,
  733. "\u672a\u627e\u5230\u51fd\u6570\u6807\u8bb0\u3002"},
  734. /** Field WG_COULDNOT_FIND_FUNCTION */
  735. //public static final int WG_COULDNOT_FIND_FUNCTION = 8;
  736. {
  737. WG_COULDNOT_FIND_FUNCTION,
  738. "\u65e0\u6cd5\u627e\u5230\u51fd\u6570\uff1a{0}"},
  739. /** Field WG_CANNOT_MAKE_URL_FROM */
  740. //public static final int WG_CANNOT_MAKE_URL_FROM = 9;
  741. {
  742. WG_CANNOT_MAKE_URL_FROM,
  743. "\u65e0\u6cd5\u5f97\u5230 URL \u81ea\uff1a{0}"},
  744. /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */
  745. //public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
  746. {
  747. WG_EXPAND_ENTITIES_NOT_SUPPORTED,
  748. "-E \u9009\u9879\u4e0d\u652f\u6301 DTM\uff08\u8bed\u6cd5\uff09\u5206\u6790\u5668"},
  749. /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
  750. //public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
  751. {
  752. WG_ILLEGAL_VARIABLE_REFERENCE,
  753. "\u4e3a\u53d8\u91cf\u7ed9\u51fa\u7684 VariableReference \u8d85\u51fa\u4e86\u4e0a\u4e0b\u6587\u8303\u56f4\u6216\u6ca1\u6709\u5b9a\u4e49\uff01\u540d\u79f0 = {0}"},
  754. /** Field WG_UNSUPPORTED_ENCODING */
  755. //public static final int WG_UNSUPPORTED_ENCODING = 12;
  756. {
  757. WG_UNSUPPORTED_ENCODING, "\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\uff1a{0}"},
  758. // Other miscellaneous text used inside the code...
  759. { "ui_language", "zh"},
  760. { "help_language", "zh"},
  761. { "language", "zh"},
  762. { "BAD_CODE",
  763. "createMessage \u53c2\u6570\u8d85\u51fa\u4e86\u8303\u56f4"},
  764. { "FORMAT_FAILED",
  765. "messageFormat \u8c03\u7528\u671f\u95f4\u63d0\u51fa\u4e86\u4f8b\u5916"},
  766. { "version", ">>>>>>> Xalan \u7248\u672c"},
  767. { "version2", "<<<<<<<"},
  768. { "yes", "\u662f"},
  769. { "line", "\u884c //"},
  770. { "column", "\u5217 //"},
  771. { "xsldone", "XSLProcessor\uff1a\u5df2\u5b8c\u6210"},
  772. { "xpath_option", "xpath \u9009\u9879\uff1a"},
  773. { "optionIN", " [-in inputXMLURL]"},
  774. { "optionSelect", " [-select xpath expression]"},
  775. { "optionMatch",
  776. " [-match match pattern (for match diagnostics)]"},
  777. { "optionAnyExpr",
  778. "\u6216\u8005\u53ea\u6709 xpath \u8868\u8fbe\u5f0f\u5c06\u6267\u884c\u8bca\u65ad\u8f6c\u50a8"},
  779. { "noParsermsg1", "XSL Process \u672a\u6210\u529f\u3002"},
  780. { "noParsermsg2",
  781. "** \u65e0\u6cd5\u627e\u5230\uff08\u8bed\u6cd5\uff09\u5206\u6790\u5668 **"},
  782. { "noParsermsg3",
  783. "\u8bf7\u68c0\u67e5\u60a8\u7684\u7c7b\u8def\u5f84\u3002"},
  784. { "noParsermsg4",
  785. "\u5982\u679c\u60a8\u6ca1\u6709 IBM \u7684 XML Parser for Java\uff0c\u5219\u53ef\u4ee5\u4e0b\u8f7d\u5176\u81ea"},
  786. { "noParsermsg5",
  787. "IBM \u7684 AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"},
  788. { "gtone", ">1" },
  789. { "zero", "0" },
  790. { "one", "1" },
  791. { "two" , "2" },
  792. { "three", "3" }
  793. };
  794. // ================= INFRASTRUCTURE ======================
  795. /** Field BAD_CODE */
  796. public static final String BAD_CODE = "BAD_CODE";
  797. /** Field FORMAT_FAILED */
  798. public static final String FORMAT_FAILED = "FORMAT_FAILED";
  799. /** Field ERROR_RESOURCES */
  800. public static final String ERROR_RESOURCES =
  801. "org.apache.xpath.res.XPATHErrorResources";
  802. /** Field ERROR_STRING */
  803. public static final String ERROR_STRING = "//error";
  804. /** Field ERROR_HEADER */
  805. public static final String ERROR_HEADER = "\u9519\u8bef\uff1a";
  806. /** Field WARNING_HEADER */
  807. public static final String WARNING_HEADER = "\u8b66\u544a\uff1a";
  808. /** Field XSL_HEADER */
  809. public static final String XSL_HEADER = "XSL ";
  810. /** Field XML_HEADER */
  811. public static final String XML_HEADER = "XML ";
  812. /** Field QUERY_HEADER */
  813. public static final String QUERY_HEADER = "PATTERN ";
  814. /**
  815. * Get the association list.
  816. *
  817. * @return The association list.
  818. */
  819. public Object[][] getContents()
  820. {
  821. return contents;
  822. }
  823. }