1. /*
  2. * The Apache Software License, Version 1.1
  3. *
  4. *
  5. * Copyright (c) 1999 The Apache Software Foundation. All rights
  6. * reserved.
  7. *
  8. * Redistribution and use in source and binary forms, with or without
  9. * modification, are permitted provided that the following conditions
  10. * are met:
  11. *
  12. * 1. Redistributions of source code must retain the above copyright
  13. * notice, this list of conditions and the following disclaimer.
  14. *
  15. * 2. Redistributions in binary form must reproduce the above copyright
  16. * notice, this list of conditions and the following disclaimer in
  17. * the documentation and/or other materials provided with the
  18. * distribution.
  19. *
  20. * 3. The end-user documentation included with the redistribution,
  21. * if any, must include the following acknowledgment:
  22. * "This product includes software developed by the
  23. * Apache Software Foundation (http://www.apache.org/)."
  24. * Alternately, this acknowledgment may appear in the software itself,
  25. * if and wherever such third-party acknowledgments normally appear.
  26. *
  27. * 4. The names "Xalan" and "Apache Software Foundation" must
  28. * not be used to endorse or promote products derived from this
  29. * software without prior written permission. For written
  30. * permission, please contact apache@apache.org.
  31. *
  32. * 5. Products derived from this software may not be called "Apache",
  33. * nor may "Apache" appear in their name, without prior written
  34. * permission of the Apache Software Foundation.
  35. *
  36. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  37. * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  38. * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  39. * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  40. * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  41. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  42. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  43. * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  44. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  45. * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  46. * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  47. * SUCH DAMAGE.
  48. * ====================================================================
  49. *
  50. * This software consists of voluntary contributions made by many
  51. * individuals on behalf of the Apache Software Foundation and was
  52. * originally based on software copyright (c) 2002, Sun Microsystems,
  53. * Inc., http://www.sun.com. For more
  54. * information on the Apache Software Foundation, please see
  55. * <http://www.apache.org/>.
  56. */
  57. package org.apache.xalan.res;
  58. import org.apache.xml.utils.res.XResourceBundleBase;
  59. import java.util.MissingResourceException;
  60. import java.util.Locale;
  61. import java.util.ResourceBundle;
  62. import java.text.DecimalFormat;
  63. import org.apache.xalan.templates.Constants;
  64. /**
  65. * Set up error messages.
  66. * We build a two dimensional array of message keys and
  67. * message strings. In order to add a new message here,
  68. * you need to first add a String constant. And
  69. * you need to enter key , value pair as part of contents
  70. * Array. You also need to update MAX_CODE for error strings
  71. * and MAX_WARNING for warnings ( Needed for only information
  72. * purpose )
  73. */
  74. public class XSLTErrorResources_zh_TW extends XSLTErrorResources
  75. {
  76. /** Maximum error messages, this is needed to keep track of the number of messages. */
  77. public static final int MAX_CODE = 253;
  78. /** Maximum warnings, this is needed to keep track of the number of warnings. */
  79. public static final int MAX_WARNING = 29;
  80. /** Maximum misc strings. */
  81. public static final int MAX_OTHERS = 55;
  82. /** Maximum total warnings and error messages. */
  83. public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
  84. /** The lookup table for error messages. */
  85. public static final Object[][] contents = {
  86. /** Error message ID that has a null message, but takes in a single object. */
  87. //public static final int ERROR0000 = 0;
  88. {
  89. "ERROR0000", "{0}"},
  90. /** ER_NO_CURLYBRACE */
  91. //public static final int ER_NO_CURLYBRACE = 1;
  92. {
  93. ER_NO_CURLYBRACE,
  94. "\u932f\u8aa4\uff1a\u5728\u8868\u793a\u5f0f\u5167\u4e0d\u80fd\u6709 '{'"},
  95. /** ER_ILLEGAL_ATTRIBUTE */
  96. //public static final int ER_ILLEGAL_ATTRIBUTE = 2;
  97. {
  98. ER_ILLEGAL_ATTRIBUTE, "{0} \u542b\u6709\u4e0d\u6b63\u78ba\u5c6c\u6027\uff1a{1}"},
  99. /** ER_NULL_SOURCENODE_APPLYIMPORTS */
  100. //public static final int ER_NULL_SOURCENODE_APPLYIMPORTS = 3;
  101. {
  102. ER_NULL_SOURCENODE_APPLYIMPORTS,
  103. "\u5728 xsl:apply-imports \u4e2d\u7684 sourceNode \u70ba\u7a7a\u503c\uff01"},
  104. /** ER_CANNOT_ADD */
  105. //public static final int ER_CANNOT_ADD = 4;
  106. {
  107. ER_CANNOT_ADD, "\u7121\u6cd5\u5c07 {0} \u65b0\u589e\u81f3 {1}"},
  108. /** ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES */
  109. //public static final int ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES = 5;
  110. {
  111. ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES,
  112. "\u5728 handleApplyTemplatesInstruction \u4e2d\u7684 sourceNode \u70ba\u7a7a\u503c\uff01"},
  113. /** ER_NO_NAME_ATTRIB */
  114. //public static final int ER_NO_NAME_ATTRIB = 6;
  115. {
  116. ER_NO_NAME_ATTRIB, "{0} \u5fc5\u9808\u6709 name \u5c6c\u6027\u3002 "},
  117. /** ER_TEMPLATE_NOT_FOUND */
  118. //public static final int ER_TEMPLATE_NOT_FOUND = 7;
  119. {
  120. ER_TEMPLATE_NOT_FOUND, "\u627e\u4e0d\u5230\u540d\u7a31\u70ba {0} \u7684\u7bc4\u672c"},
  121. /** ER_CANT_RESOLVE_NAME_AVT */
  122. //public static final int ER_CANT_RESOLVE_NAME_AVT = 8;
  123. {
  124. ER_CANT_RESOLVE_NAME_AVT,
  125. "\u7121\u6cd5\u89e3\u8b6f xsl:call-template \u4e2d\u7684\u540d\u7a31 AVT\u3002"},
  126. /** ER_REQUIRES_ATTRIB */
  127. //public static final int ER_REQUIRES_ATTRIB = 9;
  128. {
  129. ER_REQUIRES_ATTRIB, "{0} \u9700\u8981\u5c6c\u6027\uff1a{1}"},
  130. /** ER_MUST_HAVE_TEST_ATTRIB */
  131. //public static final int ER_MUST_HAVE_TEST_ATTRIB = 10;
  132. {
  133. ER_MUST_HAVE_TEST_ATTRIB,
  134. "{0} \u5fc5\u9808\u6709 ''test'' \u5c6c\u6027\u3002"},
  135. /** ER_BAD_VAL_ON_LEVEL_ATTRIB */
  136. //public static final int ER_BAD_VAL_ON_LEVEL_ATTRIB = 11;
  137. {
  138. ER_BAD_VAL_ON_LEVEL_ATTRIB,
  139. "level \u5c6c\u6027 {0} \u4e0a\u7684\u503c\u932f\u8aa4"},
  140. /** ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */
  141. //public static final int ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 12;
  142. {
  143. ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
  144. "processing-instruction \u540d\u7a31\u4e0d\u5f97\u70ba 'xml'"},
  145. /** ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */
  146. //public static final int ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 13;
  147. {
  148. ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
  149. "processing-instruction \u540d\u7a31\u5fc5\u9808\u662f\u6709\u6548\u7684 NCName\uff1a{0}"},
  150. /** ER_NEED_MATCH_ATTRIB */
  151. //public static final int ER_NEED_MATCH_ATTRIB = 14;
  152. {
  153. ER_NEED_MATCH_ATTRIB,
  154. "\u5982\u679c {0} \u6709\u6a21\u5f0f\u7684\u8a71\uff0c\u5247\u5b83\u5fc5\u9808\u6709 match \u5c6c\u6027\u3002"},
  155. /** ER_NEED_NAME_OR_MATCH_ATTRIB */
  156. //public static final int ER_NEED_NAME_OR_MATCH_ATTRIB = 15;
  157. {
  158. ER_NEED_NAME_OR_MATCH_ATTRIB,
  159. "{0} \u9700\u8981 name \u6216 match \u5c6c\u6027\u3002"},
  160. /** ER_CANT_RESOLVE_NSPREFIX */
  161. //public static final int ER_CANT_RESOLVE_NSPREFIX = 16;
  162. {
  163. ER_CANT_RESOLVE_NSPREFIX,
  164. "\u7121\u6cd5\u89e3\u8b6f\u540d\u7a31\u7a7a\u9593\u524d\u7f6e\uff1a{0}"},
  165. /** ER_ILLEGAL_VALUE */
  166. //public static final int ER_ILLEGAL_VALUE = 17;
  167. {
  168. ER_ILLEGAL_VALUE, "xml:space \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{0}"},
  169. /** ER_NO_OWNERDOC */
  170. //public static final int ER_NO_OWNERDOC = 18;
  171. {
  172. ER_NO_OWNERDOC,
  173. "\u5b50\u9805\u7bc0\u9ede\u6c92\u6709\u64c1\u6709\u8005\u6587\u4ef6\uff01"},
  174. /** ER_ELEMTEMPLATEELEM_ERR */
  175. //public static final int ER_ELEMTEMPLATEELEM_ERR = 19;
  176. {
  177. ER_ELEMTEMPLATEELEM_ERR, "ElemTemplateElement \u932f\u8aa4\uff1a{0}"},
  178. /** ER_NULL_CHILD */
  179. //public static final int ER_NULL_CHILD = 20;
  180. {
  181. ER_NULL_CHILD, "\u5617\u8a66\u65b0\u589e\u7a7a\u7684\u5b50\u9805\uff01"},
  182. /** ER_NEED_SELECT_ATTRIB */
  183. //public static final int ER_NEED_SELECT_ATTRIB = 21;
  184. {
  185. ER_NEED_SELECT_ATTRIB, "{0} \u9700\u8981 select \u5c6c\u6027\u3002"},
  186. /** ER_NEED_TEST_ATTRIB */
  187. //public static final int ER_NEED_TEST_ATTRIB = 22;
  188. {
  189. ER_NEED_TEST_ATTRIB,
  190. "xsl:when \u5fc5\u9808\u6709 'test' \u5c6c\u6027\u3002"},
  191. /** ER_NEED_NAME_ATTRIB */
  192. //public static final int ER_NEED_NAME_ATTRIB = 23;
  193. {
  194. ER_NEED_NAME_ATTRIB,
  195. "xsl:with-param \u5fc5\u9808\u6709 'name' \u5c6c\u6027\u3002"},
  196. /** ER_NO_CONTEXT_OWNERDOC */
  197. //public static final int ER_NO_CONTEXT_OWNERDOC = 24;
  198. {
  199. ER_NO_CONTEXT_OWNERDOC,
  200. "\u4e0a\u4e0b\u6587\u4e0d\u542b\u64c1\u6709\u8005\u6587\u4ef6\uff01"},
  201. /** ER_COULD_NOT_CREATE_XML_PROC_LIAISON */
  202. //public static final int ER_COULD_NOT_CREATE_XML_PROC_LIAISON = 25;
  203. {
  204. ER_COULD_NOT_CREATE_XML_PROC_LIAISON,
  205. "\u7121\u6cd5\u5efa\u7acb XML TransformerFactory Liaison\uff1a{0}"},
  206. /** ER_PROCESS_NOT_SUCCESSFUL */
  207. //public static final int ER_PROCESS_NOT_SUCCESSFUL = 26;
  208. {
  209. ER_PROCESS_NOT_SUCCESSFUL,
  210. "Xalan: \u8655\u7406\u4e0d\u6210\u529f\u3002"},
  211. /** ER_NOT_SUCCESSFUL */
  212. //public static final int ER_NOT_SUCCESSFUL = 27;
  213. {
  214. ER_NOT_SUCCESSFUL, "Xalan: \u4e0d\u6210\u529f\u3002"},
  215. /** ER_ENCODING_NOT_SUPPORTED */
  216. //public static final int ER_ENCODING_NOT_SUPPORTED = 28;
  217. {
  218. ER_ENCODING_NOT_SUPPORTED, "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}"},
  219. /** ER_COULD_NOT_CREATE_TRACELISTENER */
  220. //public static final int ER_COULD_NOT_CREATE_TRACELISTENER = 29;
  221. {
  222. ER_COULD_NOT_CREATE_TRACELISTENER,
  223. "\u7121\u6cd5\u5efa\u7acb TraceListener\uff1a{0}"},
  224. /** ER_KEY_REQUIRES_NAME_ATTRIB */
  225. //public static final int ER_KEY_REQUIRES_NAME_ATTRIB = 30;
  226. {
  227. ER_KEY_REQUIRES_NAME_ATTRIB,
  228. "xsl:key \u9700\u8981 'name' \u5c6c\u6027\uff01"},
  229. /** ER_KEY_REQUIRES_MATCH_ATTRIB */
  230. //public static final int ER_KEY_REQUIRES_MATCH_ATTRIB = 31;
  231. {
  232. ER_KEY_REQUIRES_MATCH_ATTRIB,
  233. "xsl:key \u9700\u8981 'match' \u5c6c\u6027\uff01"},
  234. /** ER_KEY_REQUIRES_USE_ATTRIB */
  235. //public static final int ER_KEY_REQUIRES_USE_ATTRIB = 32;
  236. {
  237. ER_KEY_REQUIRES_USE_ATTRIB,
  238. "xsl:key \u9700\u8981 'use' \u5c6c\u6027\uff01"},
  239. /** ER_REQUIRES_ELEMENTS_ATTRIB */
  240. //public static final int ER_REQUIRES_ELEMENTS_ATTRIB = 33;
  241. {
  242. ER_REQUIRES_ELEMENTS_ATTRIB,
  243. "(StylesheetHandler) {0} \u9700\u8981 ''elements'' \u5c6c\u6027\uff01"},
  244. /** ER_MISSING_PREFIX_ATTRIB */
  245. //public static final int ER_MISSING_PREFIX_ATTRIB = 34;
  246. {
  247. ER_MISSING_PREFIX_ATTRIB,
  248. "(StylesheetHandler) {0} \u5c6c\u6027 ''prefix'' \u907a\u6f0f"},
  249. /** ER_BAD_STYLESHEET_URL */
  250. //public static final int ER_BAD_STYLESHEET_URL = 35;
  251. {
  252. ER_BAD_STYLESHEET_URL, "\u6a23\u5f0f\u8868 URL \u932f\u8aa4\uff1a{0}"},
  253. /** ER_FILE_NOT_FOUND */
  254. //public static final int ER_FILE_NOT_FOUND = 36;
  255. {
  256. ER_FILE_NOT_FOUND, "\u627e\u4e0d\u5230\u6a23\u5f0f\u8868\u6a94\u6848\uff1a{0}"},
  257. /** ER_IOEXCEPTION */
  258. //public static final int ER_IOEXCEPTION = 37;
  259. {
  260. ER_IOEXCEPTION,
  261. "\u6a23\u5f0f\u8868\u6a94\u6848 {0} \u6709\u8f38\u5165/\u8f38\u51fa (I/O) \u7570\u5e38"},
  262. /** ER_NO_HREF_ATTRIB */
  263. //public static final int ER_NO_HREF_ATTRIB = 38;
  264. {
  265. ER_NO_HREF_ATTRIB,
  266. "(StylesheetHandler) \u627e\u4e0d\u5230 {0} \u7684 href \u5c6c\u6027"},
  267. /** ER_STYLESHEET_INCLUDES_ITSELF */
  268. //public static final int ER_STYLESHEET_INCLUDES_ITSELF = 39;
  269. {
  270. ER_STYLESHEET_INCLUDES_ITSELF,
  271. "(StylesheetHandler) {0} \u76f4\u63a5\u6216\u9593\u63a5\u5305\u542b\u672c\u8eab\uff01"},
  272. /** ER_PROCESSINCLUDE_ERROR */
  273. //public static final int ER_PROCESSINCLUDE_ERROR = 40;
  274. {
  275. ER_PROCESSINCLUDE_ERROR,
  276. "StylesheetHandler.processInclude \u932f\u8aa4\uff1a{0}"},
  277. /** ER_MISSING_LANG_ATTRIB */
  278. //public static final int ER_MISSING_LANG_ATTRIB = 41;
  279. {
  280. ER_MISSING_LANG_ATTRIB,
  281. "(StylesheetHandler) {0} \u5c6c\u6027 ''lang'' \u907a\u6f0f"},
  282. /** ER_MISSING_CONTAINER_ELEMENT_COMPONENT */
  283. //public static final int ER_MISSING_CONTAINER_ELEMENT_COMPONENT = 42;
  284. {
  285. ER_MISSING_CONTAINER_ELEMENT_COMPONENT,
  286. "(StylesheetHandler) \u8aa4\u7f6e {0} \u5143\u7d20\uff1f\uff1f \u907a\u6f0f container \u5143\u7d20 ''component''"},
  287. /** ER_CAN_ONLY_OUTPUT_TO_ELEMENT */
  288. //public static final int ER_CAN_ONLY_OUTPUT_TO_ELEMENT = 43;
  289. {
  290. ER_CAN_ONLY_OUTPUT_TO_ELEMENT,
  291. "\u53ea\u80fd\u8f38\u51fa\u81f3 Element\u3001DocumentFragment\u3001Document \u6216 PrintWriter\u3002"},
  292. /** ER_PROCESS_ERROR */
  293. //public static final int ER_PROCESS_ERROR = 44;
  294. {
  295. ER_PROCESS_ERROR, "StylesheetRoot.process \u932f\u8aa4"},
  296. /** ER_UNIMPLNODE_ERROR */
  297. //public static final int ER_UNIMPLNODE_ERROR = 45;
  298. {
  299. ER_UNIMPLNODE_ERROR, "UnImplNode \u932f\u8aa4\uff1a{0}"},
  300. /** ER_NO_SELECT_EXPRESSION */
  301. //public static final int ER_NO_SELECT_EXPRESSION = 46;
  302. {
  303. ER_NO_SELECT_EXPRESSION,
  304. "\u932f\u8aa4\uff01\u672a\u627e\u5230 xpath select \u8868\u793a\u5f0f (-select)\u3002"},
  305. /** ER_CANNOT_SERIALIZE_XSLPROCESSOR */
  306. //public static final int ER_CANNOT_SERIALIZE_XSLPROCESSOR = 47;
  307. {
  308. ER_CANNOT_SERIALIZE_XSLPROCESSOR,
  309. "\u7121\u6cd5\u4e32\u5217\u5316 XSLProcessor\uff01"},
  310. /** ER_NO_INPUT_STYLESHEET */
  311. //public static final int ER_NO_INPUT_STYLESHEET = 48;
  312. {
  313. ER_NO_INPUT_STYLESHEET,
  314. "\u672a\u6307\u5b9a\u6a23\u5f0f\u8868\u8f38\u5165\uff01"},
  315. /** ER_FAILED_PROCESS_STYLESHEET */
  316. //public static final int ER_FAILED_PROCESS_STYLESHEET = 49;
  317. {
  318. ER_FAILED_PROCESS_STYLESHEET,
  319. "\u7121\u6cd5\u8655\u7406\u6a23\u5f0f\u8868\uff01"},
  320. /** ER_COULDNT_PARSE_DOC */
  321. //public static final int ER_COULDNT_PARSE_DOC = 50;
  322. {
  323. ER_COULDNT_PARSE_DOC, "\u7121\u6cd5\u5256\u6790 {0} \u6587\u4ef6\uff01"},
  324. /** ER_COULDNT_FIND_FRAGMENT */
  325. //public static final int ER_COULDNT_FIND_FRAGMENT = 51;
  326. {
  327. ER_COULDNT_FIND_FRAGMENT, "\u627e\u4e0d\u5230\u7247\u6bb5\uff1a{0}"},
  328. /** ER_NODE_NOT_ELEMENT */
  329. //public static final int ER_NODE_NOT_ELEMENT = 52;
  330. {
  331. ER_NODE_NOT_ELEMENT,
  332. "\u7247\u6bb5\u8b58\u5225\u78bc\u6240\u6307\u7684\u7bc0\u9ede\u4e0d\u662f\u5143\u7d20\uff1a{0}"},
  333. /** ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB */
  334. //public static final int ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB = 53;
  335. {
  336. ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB,
  337. "for-each \u5fc5\u9808\u6709 match \u6216 name \u5c6c\u6027"},
  338. /** ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB */
  339. //public static final int ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB = 54;
  340. {
  341. ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB,
  342. "templates \u5fc5\u9808\u6709 match \u6216 name \u5c6c\u6027"},
  343. /** ER_NO_CLONE_OF_DOCUMENT_FRAG */
  344. //public static final int ER_NO_CLONE_OF_DOCUMENT_FRAG = 55;
  345. {
  346. ER_NO_CLONE_OF_DOCUMENT_FRAG,
  347. "\u6587\u4ef6\u7247\u6bb5\u6c92\u6709\u8907\u672c\uff01"},
  348. /** ER_CANT_CREATE_ITEM */
  349. //public static final int ER_CANT_CREATE_ITEM = 56;
  350. {
  351. ER_CANT_CREATE_ITEM,
  352. "\u7121\u6cd5\u5728\u7d50\u679c\u6a39 {0} \u5efa\u7acb\u9805\u76ee"},
  353. /** ER_XMLSPACE_ILLEGAL_VALUE */
  354. //public static final int ER_XMLSPACE_ILLEGAL_VALUE = 57;
  355. {
  356. ER_XMLSPACE_ILLEGAL_VALUE,
  357. "\u4f86\u6e90 XML \u4e2d\u7684 xml:space \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{0}"},
  358. /** ER_NO_XSLKEY_DECLARATION */
  359. //public static final int ER_NO_XSLKEY_DECLARATION = 58;
  360. {
  361. ER_NO_XSLKEY_DECLARATION,
  362. "{0} \u6c92\u6709 xsl:key \u5ba3\u544a\uff01"},
  363. /** ER_CANT_CREATE_URL */
  364. //public static final int ER_CANT_CREATE_URL = 59;
  365. {
  366. ER_CANT_CREATE_URL, "\u932f\u8aa4\uff01\u7121\u6cd5\u5efa\u7acb URL \u7d66\uff1a{0}"},
  367. /** ER_XSLFUNCTIONS_UNSUPPORTED */
  368. //public static final int ER_XSLFUNCTIONS_UNSUPPORTED = 60;
  369. {
  370. ER_XSLFUNCTIONS_UNSUPPORTED, "\u4e0d\u652f\u63f4 xsl:functions"},
  371. /** ER_PROCESSOR_ERROR */
  372. //public static final int ER_PROCESSOR_ERROR = 61;
  373. {
  374. ER_PROCESSOR_ERROR, "XSLT TransformerFactory \u932f\u8aa4"},
  375. /** ER_NOT_ALLOWED_INSIDE_STYLESHEET */
  376. //public static final int ER_NOT_ALLOWED_INSIDE_STYLESHEET = 62;
  377. {
  378. ER_NOT_ALLOWED_INSIDE_STYLESHEET,
  379. "(StylesheetHandler) {0} \u4e0d\u5141\u8a31\u5728\u6a23\u5f0f\u8868\u5167\uff01"},
  380. /** ER_RESULTNS_NOT_SUPPORTED */
  381. //public static final int ER_RESULTNS_NOT_SUPPORTED = 63;
  382. {
  383. ER_RESULTNS_NOT_SUPPORTED,
  384. "\u4e0d\u518d\u652f\u63f4 result-ns\uff01\u8acb\u4f7f\u7528 xsl:output \u4f86\u4ee3\u66ff\u3002"},
  385. /** ER_DEFAULTSPACE_NOT_SUPPORTED */
  386. //public static final int ER_DEFAULTSPACE_NOT_SUPPORTED = 64;
  387. {
  388. ER_DEFAULTSPACE_NOT_SUPPORTED,
  389. "\u4e0d\u518d\u652f\u63f4 default-space\uff01\u8acb\u4f7f\u7528 xsl:strip-space \u6216 xsl:preserve-space \u4f86\u4ee3\u66ff\u3002"},
  390. /** ER_INDENTRESULT_NOT_SUPPORTED */
  391. //public static final int ER_INDENTRESULT_NOT_SUPPORTED = 65;
  392. {
  393. ER_INDENTRESULT_NOT_SUPPORTED,
  394. "\u4e0d\u518d\u652f\u63f4 indent-result\uff01\u8acb\u4f7f\u7528 xsl:output \u4f86\u4ee3\u66ff\u3002"},
  395. /** ER_ILLEGAL_ATTRIB */
  396. //public static final int ER_ILLEGAL_ATTRIB = 66;
  397. {
  398. ER_ILLEGAL_ATTRIB,
  399. "(StylesheetHandler) {0} \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u5c6c\u6027\uff1a{1}"},
  400. /** ER_UNKNOWN_XSL_ELEM */
  401. //public static final int ER_UNKNOWN_XSL_ELEM = 67;
  402. {
  403. ER_UNKNOWN_XSL_ELEM, "XSL \u5143\u7d20\uff1a{0}"},
  404. /** ER_BAD_XSLSORT_USE */
  405. //public static final int ER_BAD_XSLSORT_USE = 68;
  406. {
  407. ER_BAD_XSLSORT_USE,
  408. "(StylesheetHandler) xsl:sort \u53ea\u80fd\u8207 xsl:apply-templates \u6216 xsl:for-each \u4e00\u8d77\u4f7f\u7528\u3002"},
  409. /** ER_MISPLACED_XSLWHEN */
  410. //public static final int ER_MISPLACED_XSLWHEN = 69;
  411. {
  412. ER_MISPLACED_XSLWHEN,
  413. "(StylesheetHandler) \u8aa4\u7f6e xsl:when\uff01"},
  414. /** ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE */
  415. //public static final int ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE = 70;
  416. {
  417. ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE,
  418. "(StylesheetHandler) xsl:when \u7684\u4e0a\u4ee3\u4e0d\u662f xsl:choose\uff01"},
  419. /** ER_MISPLACED_XSLOTHERWISE */
  420. //public static final int ER_MISPLACED_XSLOTHERWISE = 71;
  421. {
  422. ER_MISPLACED_XSLOTHERWISE,
  423. "(StylesheetHandler) \u8aa4\u7f6e xsl:otherwise\uff01"},
  424. /** ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE */
  425. //public static final int ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE = 72;
  426. {
  427. ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE,
  428. "(StylesheetHandler) xsl:otherwise \u7684\u4e0a\u4ee3\u4e0d\u662f xsl:choose\uff01"},
  429. /** ER_NOT_ALLOWED_INSIDE_TEMPLATE */
  430. //public static final int ER_NOT_ALLOWED_INSIDE_TEMPLATE = 73;
  431. {
  432. ER_NOT_ALLOWED_INSIDE_TEMPLATE,
  433. "(StylesheetHandler) {0} \u4e0d\u5141\u8a31\u5728\u7bc4\u672c\u5167\uff01"},
  434. /** ER_UNKNOWN_EXT_NS_PREFIX */
  435. //public static final int ER_UNKNOWN_EXT_NS_PREFIX = 74;
  436. {
  437. ER_UNKNOWN_EXT_NS_PREFIX,
  438. "(StylesheetHandler) {0} \u5ef6\u4f38\u7a0b\u5f0f\u540d\u7a31\u7a7a\u9593\u524d\u7f6e {1} \u672a\u77e5"},
  439. /** ER_IMPORTS_AS_FIRST_ELEM */
  440. //public static final int ER_IMPORTS_AS_FIRST_ELEM = 75;
  441. {
  442. ER_IMPORTS_AS_FIRST_ELEM,
  443. "(StylesheetHandler) Imports \u53ea\u80fd\u51fa\u73fe\u65bc\u6a23\u5f0f\u8868\u4e2d\u4f5c\u70ba\u7b2c\u4e00\u500b\u5143\u7d20\uff01"},
  444. /** ER_IMPORTING_ITSELF */
  445. //public static final int ER_IMPORTING_ITSELF = 76;
  446. {
  447. ER_IMPORTING_ITSELF,
  448. "(StylesheetHandler) {0} \u76f4\u63a5\u6216\u9593\u63a5\u532f\u5165\u672c\u8eab\uff01"},
  449. /** ER_XMLSPACE_ILLEGAL_VAL */
  450. //public static final int ER_XMLSPACE_ILLEGAL_VAL = 77;
  451. {
  452. ER_XMLSPACE_ILLEGAL_VAL,
  453. "(StylesheetHandler) " + "xml:space \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{0}"},
  454. /** ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL */
  455. //public static final int ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL = 78;
  456. {
  457. ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL,
  458. "processStylesheet \u4e0d\u6210\u529f\uff01"},
  459. /** ER_SAX_EXCEPTION */
  460. //public static final int ER_SAX_EXCEPTION = 79;
  461. {
  462. ER_SAX_EXCEPTION, "SAX \u7570\u5e38"},
  463. /** ER_FUNCTION_NOT_SUPPORTED */
  464. //public static final int ER_FUNCTION_NOT_SUPPORTED = 80;
  465. {
  466. ER_FUNCTION_NOT_SUPPORTED, "\u4e0d\u652f\u63f4\u51fd\u5f0f\uff01"},
  467. /** ER_XSLT_ERROR */
  468. //public static final int ER_XSLT_ERROR = 81;
  469. {
  470. ER_XSLT_ERROR, "XSLT \u932f\u8aa4"},
  471. /** ER_CURRENCY_SIGN_ILLEGAL */
  472. //public static final int ER_CURRENCY_SIGN_ILLEGAL = 82;
  473. {
  474. ER_CURRENCY_SIGN_ILLEGAL,
  475. "\u8ca8\u5e63\u7b26\u865f\u4e0d\u5141\u8a31\u5728\u683c\u5f0f\u578b\u6a23\u5b57\u4e32\u4e2d"},
  476. /** ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM */
  477. //public static final int ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM = 83;
  478. {
  479. ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM,
  480. "\u6a23\u5f0f\u8868 DOM \u4e0d\u652f\u63f4\u6587\u4ef6\u51fd\u5f0f\uff01"},
  481. /** ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER */
  482. //public static final int ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER = 84;
  483. {
  484. ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER,
  485. "\u7121\u6cd5\u89e3\u8b6f\u975e\u524d\u7f6e\u89e3\u6790\u5668\u7684\u524d\u7f6e\uff01"},
  486. /** ER_REDIRECT_COULDNT_GET_FILENAME */
  487. //public static final int ER_REDIRECT_COULDNT_GET_FILENAME = 85;
  488. {
  489. ER_REDIRECT_COULDNT_GET_FILENAME,
  490. "\u91cd\u65b0\u5c0e\u5411\u5ef6\u4f38\u7a0b\u5f0f\uff1a\u7121\u6cd5\u53d6\u5f97\u6a94\u6848\u540d\u7a31 - file \u6216 select \u5c6c\u6027\u5fc5\u9808\u50b3\u56de\u6709\u6548\u5b57\u4e32\u3002"},
  491. /** ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT */
  492. //public static final int ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT = 86;
  493. {
  494. ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT,
  495. "\u7121\u6cd5\u5728\u91cd\u65b0\u5c0e\u5411\u5ef6\u4f38\u7a0b\u5f0f\u4e2d\u5efa\u7acb FormatterListener\uff01"},
  496. /** ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX */
  497. //public static final int ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX = 87;
  498. {
  499. ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX,
  500. "exclude-result-prefixes \u4e2d\u7684\u524d\u7f6e\u7121\u6548\uff1a{0}"},
  501. /** ER_MISSING_NS_URI */
  502. //public static final int ER_MISSING_NS_URI = 88;
  503. {
  504. ER_MISSING_NS_URI,
  505. "\u907a\u6f0f\u6307\u5b9a\u7684\u524d\u7f6e\u7684\u540d\u7a31\u7a7a\u9593 URI"},
  506. /** ER_MISSING_ARG_FOR_OPTION */
  507. //public static final int ER_MISSING_ARG_FOR_OPTION = 89;
  508. {
  509. ER_MISSING_ARG_FOR_OPTION,
  510. "\u907a\u6f0f\u9078\u9805\uff1a{0} \u7684\u5f15\u6578"},
  511. /** ER_INVALID_OPTION */
  512. //public static final int ER_INVALID_OPTION = 90;
  513. {
  514. ER_INVALID_OPTION, "\u7121\u6548\u7684\u9078\u9805\uff1a{0}"},
  515. /** ER_MALFORMED_FORMAT_STRING */
  516. //public static final int ER_MALFORMED_FORMAT_STRING = 91;
  517. {
  518. ER_MALFORMED_FORMAT_STRING, "\u8b8a\u5f62\u7684\u683c\u5f0f\u5b57\u4e32\uff1a{0}"},
  519. /** ER_STYLESHEET_REQUIRES_VERSION_ATTRIB */
  520. //public static final int ER_STYLESHEET_REQUIRES_VERSION_ATTRIB = 92;
  521. {
  522. ER_STYLESHEET_REQUIRES_VERSION_ATTRIB,
  523. "xsl:stylesheet \u9700\u8981 'version' \u5c6c\u6027\uff01"},
  524. /** ER_ILLEGAL_ATTRIBUTE_VALUE */
  525. //public static final int ER_ILLEGAL_ATTRIBUTE_VALUE = 93;
  526. {
  527. ER_ILLEGAL_ATTRIBUTE_VALUE,
  528. "\u5c6c\u6027\uff1a{0} \u542b\u6709\u4e0d\u6b63\u78ba\u503c\uff1a{1}"},
  529. /** ER_CHOOSE_REQUIRES_WHEN */
  530. //public static final int ER_CHOOSE_REQUIRES_WHEN = 94;
  531. {
  532. ER_CHOOSE_REQUIRES_WHEN, "xsl:choose \u9700\u8981 xsl:when"},
  533. /** ER_NO_APPLY_IMPORT_IN_FOR_EACH */
  534. //public static final int ER_NO_APPLY_IMPORT_IN_FOR_EACH = 95;
  535. {
  536. ER_NO_APPLY_IMPORT_IN_FOR_EACH,
  537. "xsl:apply-imports \u4e0d\u5141\u8a31\u5728 xsl:for-each \u4e2d"},
  538. /** ER_CANT_USE_DTM_FOR_OUTPUT */
  539. //public static final int ER_CANT_USE_DTM_FOR_OUTPUT = 96;
  540. {
  541. ER_CANT_USE_DTM_FOR_OUTPUT,
  542. "\u7121\u6cd5\u5c0d\u8f38\u51fa DOM \u7bc0\u9ede\u4f7f\u7528 DTMLiaison... \u6539\u70ba\u50b3\u9001 org.apache.xpath.DOM2Helper\uff01"},
  543. /** ER_CANT_USE_DTM_FOR_INPUT */
  544. //public static final int ER_CANT_USE_DTM_FOR_INPUT = 97;
  545. {
  546. ER_CANT_USE_DTM_FOR_INPUT,
  547. "\u7121\u6cd5\u5c0d\u8f38\u5165 DOM \u7bc0\u9ede\u4f7f\u7528 DTMLiaison... \u6539\u70ba\u50b3\u9001 org.apache.xpath.DOM2Helper\uff01"},
  548. /** ER_CALL_TO_EXT_FAILED */
  549. //public static final int ER_CALL_TO_EXT_FAILED = 98;
  550. {
  551. ER_CALL_TO_EXT_FAILED,
  552. "\u547c\u53eb\u5ef6\u4f38\u7a0b\u5f0f\u5143\u7d20\u5931\u6557\uff1a{0}"},
  553. /** ER_PREFIX_MUST_RESOLVE */
  554. //public static final int ER_PREFIX_MUST_RESOLVE = 99;
  555. {
  556. ER_PREFIX_MUST_RESOLVE,
  557. "\u524d\u7f6e\u5fc5\u9808\u89e3\u8b6f\u70ba\u540d\u7a31\u7a7a\u9593\uff1a{0}"},
  558. /** ER_INVALID_UTF16_SURROGATE */
  559. //public static final int ER_INVALID_UTF16_SURROGATE = 100;
  560. {
  561. ER_INVALID_UTF16_SURROGATE,
  562. "\u5075\u6e2c\u5230\u7121\u6548\u7684 UTF-16 \u4ee3\u7528\u54c1\uff1a{0} ?"},
  563. /** ER_XSLATTRSET_USED_ITSELF */
  564. //public static final int ER_XSLATTRSET_USED_ITSELF = 101;
  565. {
  566. ER_XSLATTRSET_USED_ITSELF,
  567. "xsl:attribute-set {0} \u4f7f\u7528\u672c\u8eab\uff0c\u9019\u5c07\u9020\u6210\u7121\u7aae\u8ff4\u5708\u3002"},
  568. /** ER_CANNOT_MIX_XERCESDOM */
  569. //public static final int ER_CANNOT_MIX_XERCESDOM = 102;
  570. {
  571. ER_CANNOT_MIX_XERCESDOM,
  572. "\u7121\u6cd5\u6df7\u5408\u975e Xerces-DOM \u8f38\u5165\u8207 Xerces-DOM \u8f38\u51fa\uff01"},
  573. /** ER_TOO_MANY_LISTENERS */
  574. //public static final int ER_TOO_MANY_LISTENERS = 103;
  575. {
  576. ER_TOO_MANY_LISTENERS,
  577. "addTraceListenersToStylesheet - TooManyListenersException"},
  578. /** ER_IN_ELEMTEMPLATEELEM_READOBJECT */
  579. //public static final int ER_IN_ELEMTEMPLATEELEM_READOBJECT = 104;
  580. {
  581. ER_IN_ELEMTEMPLATEELEM_READOBJECT,
  582. "\u5728 ElemTemplateElement.readObject\uff1a{0}"},
  583. /** ER_DUPLICATE_NAMED_TEMPLATE */
  584. //public static final int ER_DUPLICATE_NAMED_TEMPLATE = 105;
  585. {
  586. ER_DUPLICATE_NAMED_TEMPLATE,
  587. "\u627e\u5230\u4e00\u500b\u4ee5\u4e0a\u53eb\u4f5c {0} \u7684\u7bc4\u672c"},
  588. /** ER_INVALID_KEY_CALL */
  589. //public static final int ER_INVALID_KEY_CALL = 106;
  590. {
  591. ER_INVALID_KEY_CALL,
  592. "\u7121\u6548\u7684\u51fd\u5f0f\u547c\u53eb\uff1arecursive key() \u547c\u53eb\u4e0d\u88ab\u5141\u8a31"},
  593. /** Variable is referencing itself */
  594. //public static final int ER_REFERENCING_ITSELF = 107;
  595. {
  596. ER_REFERENCING_ITSELF,
  597. "\u8b8a\u6578 {0} \u76f4\u63a5\u6216\u9593\u63a5\u53c3\u7167\u672c\u8eab\uff01"},
  598. /** Illegal DOMSource input */
  599. //public static final int ER_ILLEGAL_DOMSOURCE_INPUT = 108;
  600. {
  601. ER_ILLEGAL_DOMSOURCE_INPUT,
  602. "\u5c0d newTemplates \u7684 DOMSource \u800c\u8a00\uff0c\u8f38\u5165\u7bc0\u9ede\u4e0d\u5f97\u70ba\u7a7a\u503c\uff01"},
  603. /** Class not found for option */
  604. //public static final int ER_CLASS_NOT_FOUND_FOR_OPTION = 109;
  605. {
  606. ER_CLASS_NOT_FOUND_FOR_OPTION,
  607. "\u627e\u4e0d\u5230\u9078\u9805 {0} \u7684\u985e\u5225\u6a94\u6848"},
  608. /** Required Element not found */
  609. //public static final int ER_REQUIRED_ELEM_NOT_FOUND = 110;
  610. {
  611. ER_REQUIRED_ELEM_NOT_FOUND,
  612. "\u627e\u4e0d\u5230\u5fc5\u9700\u7684\u5143\u7d20\uff1a{0}"},
  613. /** InputStream cannot be null */
  614. //public static final int ER_INPUT_CANNOT_BE_NULL = 111;
  615. {
  616. ER_INPUT_CANNOT_BE_NULL,
  617. "InputStream \u4e0d\u5f97\u70ba\u7a7a\u503c"},
  618. /** URI cannot be null */
  619. //public static final int ER_URI_CANNOT_BE_NULL = 112;
  620. {
  621. ER_URI_CANNOT_BE_NULL,
  622. "URI \u4e0d\u5f97\u70ba\u7a7a\u503c"},
  623. /** File cannot be null */
  624. //public static final int ER_FILE_CANNOT_BE_NULL = 113;
  625. {
  626. ER_FILE_CANNOT_BE_NULL,
  627. "\u6a94\u6848\u4e0d\u53ef\u70ba\u7a7a\u503c"},
  628. /** InputSource cannot be null */
  629. //public static final int ER_SOURCE_CANNOT_BE_NULL = 114;
  630. {
  631. ER_SOURCE_CANNOT_BE_NULL,
  632. "InputSource \u4e0d\u53ef\u70ba\u7a7a\u503c"},
  633. /** Can't overwrite cause */
  634. //public static final int ER_CANNOT_OVERWRITE_CAUSE = 115;
  635. {
  636. ER_CANNOT_OVERWRITE_CAUSE,
  637. "\u7121\u6cd5\u6539\u5beb\u539f\u56e0"},
  638. /** Could not initialize BSF Manager */
  639. //public static final int ER_CANNOT_INIT_BSFMGR = 116;
  640. {
  641. ER_CANNOT_INIT_BSFMGR,
  642. "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a BSF Manager"},
  643. /** Could not compile extension */
  644. //public static final int ER_CANNOT_CMPL_EXTENSN = 117;
  645. {
  646. ER_CANNOT_CMPL_EXTENSN,
  647. "\u7121\u6cd5\u7de8\u8b6f\u5ef6\u4f38\u7a0b\u5f0f"},
  648. /** Could not create extension */
  649. //public static final int ER_CANNOT_CREATE_EXTENSN = 118;
  650. {
  651. ER_CANNOT_CREATE_EXTENSN,
  652. "\u7121\u6cd5\u5efa\u7acb\u5ef6\u4f38\u7a0b\u5f0f {0}\uff0c\u56e0\u70ba\uff1a{1}"},
  653. /** Instance method call to method {0} requires an Object instance as first argument */
  654. //public static final int ER_INSTANCE_MTHD_CALL_REQUIRES = 119;
  655. {
  656. ER_INSTANCE_MTHD_CALL_REQUIRES,
  657. "\u65b9\u6cd5 {0} \u7684\u5be6\u4f8b\u65b9\u6cd5\u547c\u53eb\u9700\u8981\u4e00\u500b\u7269\u4ef6\u5be6\u4f8b\u4f5c\u70ba\u7b2c\u4e00\u500b\u5f15\u6578"},
  658. /** Invalid element name specified */
  659. //public static final int ER_INVALID_ELEMENT_NAME = 120;
  660. {
  661. ER_INVALID_ELEMENT_NAME,
  662. "\u6307\u5b9a\u7684\u5143\u7d20\u540d\u7a31\u7121\u6548 {0}"},
  663. /** Element name method must be static */
  664. //public static final int ER_ELEMENT_NAME_METHOD_STATIC = 121;
  665. {
  666. ER_ELEMENT_NAME_METHOD_STATIC,
  667. "\u5143\u7d20\u540d\u7a31\u65b9\u6cd5\u5fc5\u9808\u70ba\u975c\u614b {0}"},
  668. /** Extension function {0} : {1} is unknown */
  669. //public static final int ER_EXTENSION_FUNC_UNKNOWN = 122;
  670. {
  671. ER_EXTENSION_FUNC_UNKNOWN,
  672. "\u5ef6\u4f38\u7a0b\u5f0f\u51fd\u5f0f {0} : {1} \u672a\u77e5"},
  673. /** More than one best match for constructor for */
  674. //public static final int ER_MORE_MATCH_CONSTRUCTOR = 123;
  675. {
  676. ER_MORE_MATCH_CONSTRUCTOR,
  677. "{0} \u7684\u6700\u7b26\u5408\u5efa\u69cb\u5143\u4e0d\u6b62\u4e00\u500b"},
  678. /** More than one best match for method */
  679. //public static final int ER_MORE_MATCH_METHOD = 124;
  680. {
  681. ER_MORE_MATCH_METHOD,
  682. "\u6700\u7b26\u5408\u65b9\u6cd5 {0} \u7684\u4e0d\u6b62\u4e00\u500b"},
  683. /** More than one best match for element method */
  684. //public static final int ER_MORE_MATCH_ELEMENT = 125;
  685. {
  686. ER_MORE_MATCH_ELEMENT,
  687. "\u6700\u7b26\u5408\u5143\u7d20\u65b9\u6cd5 {0} \u7684\u4e0d\u6b62\u4e00\u500b"},
  688. /** Invalid context passed to evaluate */
  689. //public static final int ER_INVALID_CONTEXT_PASSED = 126;
  690. {
  691. ER_INVALID_CONTEXT_PASSED,
  692. "\u50b3\u9001\u4f86\u8a55\u4f30 {0} \u7684\u4e0a\u4e0b\u6587\u7121\u6548"},
  693. /** Pool already exists */
  694. //public static final int ER_POOL_EXISTS = 127;
  695. {
  696. ER_POOL_EXISTS,
  697. "\u5132\u5b58\u6c60\u5df2\u5b58\u5728"},
  698. /** No driver Name specified */
  699. //public static final int ER_NO_DRIVER_NAME = 128;
  700. {
  701. ER_NO_DRIVER_NAME,
  702. "\u672a\u6307\u5b9a\u9a45\u52d5\u7a0b\u5f0f\u540d\u7a31"},
  703. /** No URL specified */
  704. //public static final int ER_NO_URL = 129;
  705. {
  706. ER_NO_URL,
  707. "\u672a\u6307\u5b9a URL"},
  708. /** Pool size is less than one */
  709. //public static final int ER_POOL_SIZE_LESSTHAN_ONE = 130;
  710. {
  711. ER_POOL_SIZE_LESSTHAN_ONE,
  712. "\u5132\u5b58\u6c60\u5927\u5c0f\u5c0f\u65bc 1\uff01"},
  713. /** Invalid driver name specified */
  714. //public static final int ER_INVALID_DRIVER = 131;
  715. {
  716. ER_INVALID_DRIVER,
  717. "\u6307\u5b9a\u7684\u9a45\u52d5\u7a0b\u5f0f\u540d\u7a31\u7121\u6548\uff01"},
  718. /** Did not find the stylesheet root */
  719. //public static final int ER_NO_STYLESHEETROOT = 132;
  720. {
  721. ER_NO_STYLESHEETROOT,
  722. "\u627e\u4e0d\u5230 stylesheet \u6839\uff01"},
  723. /** Illegal value for xml:space */
  724. //public static final int ER_ILLEGAL_XMLSPACE_VALUE = 133;
  725. {
  726. ER_ILLEGAL_XMLSPACE_VALUE,
  727. "xml:space \u7684\u503c\u4e0d\u6b63\u78ba"},
  728. /** processFromNode failed */
  729. //public static final int ER_PROCESSFROMNODE_FAILED = 134;
  730. {
  731. ER_PROCESSFROMNODE_FAILED,
  732. "processFromNode \u5931\u6548"},
  733. /** The resource [] could not load: */
  734. //public static final int ER_RESOURCE_COULD_NOT_LOAD = 135;
  735. {
  736. ER_RESOURCE_COULD_NOT_LOAD,
  737. "\u7121\u6cd5\u8f09\u5165\u8cc7\u6e90 [ {0} ]\uff1a{1} \n {2} \t {3}"},
  738. /** Buffer size <=0 */
  739. //public static final int ER_BUFFER_SIZE_LESSTHAN_ZERO = 136;
  740. {
  741. ER_BUFFER_SIZE_LESSTHAN_ZERO,
  742. "\u7de9\u885d\u5340\u5927\u5c0f <=0"},
  743. /** Unknown error when calling extension */
  744. //public static final int ER_UNKNOWN_ERROR_CALLING_EXTENSION = 137;
  745. {
  746. ER_UNKNOWN_ERROR_CALLING_EXTENSION,
  747. "\u547c\u53eb\u5ef6\u4f38\u7a0b\u5f0f\u6642\u767c\u751f\u672a\u77e5\u932f\u8aa4"},
  748. /** Prefix {0} does not have a corresponding namespace declaration */
  749. //public static final int ER_NO_NAMESPACE_DECL = 138;
  750. {
  751. ER_NO_NAMESPACE_DECL,
  752. "\u524d\u7f6e {0} \u6c92\u6709\u5c0d\u61c9\u7684\u540d\u7a31\u7a7a\u9593\u5ba3\u544a"},
  753. /** Element content not allowed for lang=javaclass */
  754. //public static final int ER_ELEM_CONTENT_NOT_ALLOWED = 139;
  755. {
  756. ER_ELEM_CONTENT_NOT_ALLOWED,
  757. "lang=javaclass {0} \u4e0d\u5141\u8a31\u5143\u7d20\u5167\u5bb9"},
  758. /** Stylesheet directed termination */
  759. //public static final int ER_STYLESHEET_DIRECTED_TERMINATION = 140;
  760. {
  761. ER_STYLESHEET_DIRECTED_TERMINATION,
  762. "Stylesheet \u5f15\u5c0e\u7d42\u6b62"},
  763. /** 1 or 2 */
  764. //public static final int ER_ONE_OR_TWO = 141;
  765. {
  766. ER_ONE_OR_TWO,
  767. "1 \u6216 2"},
  768. /** 2 or 3 */
  769. //public static final int ER_TWO_OR_THREE = 142;
  770. {
  771. ER_TWO_OR_THREE,
  772. "2 \u6216 3"},
  773. /** Could not load {0} (check CLASSPATH), now using just the defaults */
  774. //public static final int ER_COULD_NOT_LOAD_RESOURCE = 143;
  775. {
  776. ER_COULD_NOT_LOAD_RESOURCE,
  777. "\u7121\u6cd5\u8f09\u5165 {0}\uff08\u6aa2\u67e5 CLASSPATH\uff09\uff0c\u73fe\u5728\u53ea\u4f7f\u7528\u9810\u8a2d\u503c"},
  778. /** Cannot initialize default templates */
  779. //public static final int ER_CANNOT_INIT_DEFAULT_TEMPLATES = 144;
  780. {
  781. ER_CANNOT_INIT_DEFAULT_TEMPLATES,
  782. "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u9810\u8a2d\u7bc4\u672c"},
  783. /** Result should not be null */
  784. //public static final int ER_RESULT_NULL = 145;
  785. {
  786. ER_RESULT_NULL,
  787. "\u7d50\u679c\u4e0d\u61c9\u8a72\u70ba\u7a7a\u503c"},
  788. /** Result could not be set */
  789. //public static final int ER_RESULT_COULD_NOT_BE_SET = 146;
  790. {
  791. ER_RESULT_COULD_NOT_BE_SET,
  792. "\u7121\u6cd5\u8a2d\u5b9a\u7d50\u679c"},
  793. /** No output specified */
  794. //public static final int ER_NO_OUTPUT_SPECIFIED = 147;
  795. {
  796. ER_NO_OUTPUT_SPECIFIED,
  797. "\u672a\u6307\u5b9a\u8f38\u51fa"},
  798. /** Can't transform to a Result of type */
  799. //public static final int ER_CANNOT_TRANSFORM_TO_RESULT_TYPE = 148;
  800. {
  801. ER_CANNOT_TRANSFORM_TO_RESULT_TYPE,
  802. "\u7121\u6cd5\u8f49\u63db\u6210\u985e\u578b {0} \u7684\u7d50\u679c"},
  803. /** Can't transform to a Source of type */
  804. //public static final int ER_CANNOT_TRANSFORM_SOURCE_TYPE = 149;
  805. {
  806. ER_CANNOT_TRANSFORM_SOURCE_TYPE,
  807. "\u7121\u6cd5\u8f49\u63db\u985e\u578b {0} \u7684\u4f86\u6e90"},
  808. /** Null content handler */
  809. //public static final int ER_NULL_CONTENT_HANDLER = 150;
  810. {
  811. ER_NULL_CONTENT_HANDLER,
  812. "\u7a7a\u7684\u5167\u5bb9\u8655\u7406\u5668"},
  813. /** Null error handler */
  814. //public static final int ER_NULL_ERROR_HANDLER = 151;
  815. {
  816. ER_NULL_ERROR_HANDLER,
  817. "\u7a7a\u7684\u932f\u8aa4\u8655\u7406\u5668"},
  818. /** parse can not be called if the ContentHandler has not been set */
  819. //public static final int ER_CANNOT_CALL_PARSE = 152;
  820. {
  821. ER_CANNOT_CALL_PARSE,
  822. "\u5982\u679c\u672a\u8a2d\u5b9a ContentHandler \u5247\u7121\u6cd5\u547c\u53eb\u5256\u6790"},
  823. /** No parent for filter */
  824. //public static final int ER_NO_PARENT_FOR_FILTER = 153;
  825. {
  826. ER_NO_PARENT_FOR_FILTER,
  827. "\u904e\u6ffe\u5668\u6c92\u6709\u4e0a\u4ee3"},
  828. /** No stylesheet found in: {0}, media */
  829. //public static final int ER_NO_STYLESHEET_IN_MEDIA = 154;
  830. {
  831. ER_NO_STYLESHEET_IN_MEDIA,
  832. "\u5728 {0} media= {1} \u627e\u4e0d\u5230\u6a23\u5f0f\u8868"},
  833. /** No xml-stylesheet PI found in */
  834. //public static final int ER_NO_STYLESHEET_PI = 155;
  835. {
  836. ER_NO_STYLESHEET_PI,
  837. "\u5728 {0} \u4e2d\u6c92\u6709\u767c\u73fe XML \u6a23\u5f0f\u8868 PI"},
  838. /** No default implementation found */
  839. //public static final int ER_NO_DEFAULT_IMPL = 156;
  840. {
  841. ER_NO_DEFAULT_IMPL,
  842. "\u627e\u4e0d\u5230\u9810\u8a2d\u5efa\u7f6e"},
  843. /** ChunkedIntArray({0}) not currently supported */
  844. //public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157;
  845. {
  846. ER_CHUNKEDINTARRAY_NOT_SUPPORTED,
  847. "\u76ee\u524d\u4e0d\u652f\u63f4 ChunkedIntArray({0})"},
  848. /** Offset bigger than slot */
  849. //public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158;
  850. {
  851. ER_OFFSET_BIGGER_THAN_SLOT,
  852. "\u504f\u79fb\u5927\u65bc\u4ecb\u9762\u69fd"},
  853. /** Coroutine not available, id= */
  854. //public static final int ER_COROUTINE_NOT_AVAIL = 159;
  855. {
  856. ER_COROUTINE_NOT_AVAIL,
  857. "\u6c92\u6709 Coroutine \u53ef\u7528\uff0cid={0}"},
  858. /** CoroutineManager recieved co_exit() request */
  859. //public static final int ER_COROUTINE_CO_EXIT = 160;
  860. {
  861. ER_COROUTINE_CO_EXIT,
  862. "CoroutineManager \u6536\u5230 co_exit() \u8981\u6c42"},
  863. /** co_joinCoroutineSet() failed */
  864. //public static final int ER_COJOINROUTINESET_FAILED = 161;
  865. {
  866. ER_COJOINROUTINESET_FAILED,
  867. "co_joinCoroutineSet() \u5931\u6548"},
  868. /** Coroutine parameter error () */
  869. //public static final int ER_COROUTINE_PARAM = 162;
  870. {
  871. ER_COROUTINE_PARAM,
  872. "Coroutine \u53c3\u6578\u932f\u8aa4 ({0})"},
  873. /** UNEXPECTED: Parser doTerminate answers */
  874. //public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163;
  875. {
  876. ER_PARSER_DOTERMINATE_ANSWERS,
  877. "\nUNEXPECTED: \u5256\u6790\u5668 doTerminate \u56de\u7b54 {0}"},
  878. /** parse may not be called while parsing */
  879. //public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164;
  880. {
  881. ER_NO_PARSE_CALL_WHILE_PARSING,
  882. "\u5728\u9032\u884c\u5256\u6790\u6642\u672a\u80fd\u547c\u53eb\u5256\u6790"},
  883. /** Error: typed iterator for axis {0} not implemented */
  884. //public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165;
  885. {
  886. ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED,
  887. "\u932f\u8aa4\uff1a\u5c0d\u8ef8 {0} \u8f38\u5165\u7684\u91cd\u8986\u5668\u6c92\u6709\u57f7\u884c"},
  888. /** Error: iterator for axis {0} not implemented */
  889. //public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166;
  890. {
  891. ER_ITERATOR_AXIS_NOT_IMPLEMENTED,
  892. "\u932f\u8aa4\uff1a\u8ef8 {0} \u7684\u91cd\u8986\u5668\u6c92\u6709\u57f7\u884c "},
  893. /** Iterator clone not supported */
  894. //public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167;
  895. {
  896. ER_ITERATOR_CLONE_NOT_SUPPORTED,
  897. "\u4e0d\u652f\u63f4\u91cd\u8986\u5668\u8907\u88fd"},
  898. /** Unknown axis traversal type */
  899. //public static final int ER_UNKNOWN_AXIS_TYPE = 168;
  900. {
  901. ER_UNKNOWN_AXIS_TYPE,
  902. "\u672a\u77e5\u8ef8\u904d\u6b77\u985e\u578b\uff1a{0}"},
  903. /** Axis traverser not supported */
  904. //public static final int ER_AXIS_NOT_SUPPORTED = 169;
  905. {
  906. ER_AXIS_NOT_SUPPORTED,
  907. "\u4e0d\u652f\u63f4\u8ef8\u904d\u8a2a\u5668\uff1a{0}"},
  908. /** No more DTM IDs are available */
  909. //public static final int ER_NO_DTMIDS_AVAIL = 170;
  910. {
  911. ER_NO_DTMIDS_AVAIL,
  912. "\u6c92\u6709\u53ef\u7528\u7684 DTM ID"},
  913. /** Not supported */
  914. //public static final int ER_NOT_SUPPORTED = 171;
  915. {
  916. ER_NOT_SUPPORTED,
  917. "\u4e0d\u652f\u63f4\uff1a{0}"},
  918. /** node must be non-null for getDTMHandleFromNode */
  919. //public static final int ER_NODE_NON_NULL = 172;
  920. {
  921. ER_NODE_NON_NULL,
  922. "\u5c0d getDTMHandleFromNode \u800c\u8a00\uff0c\u7bc0\u9ede\u5fc5\u9808\u70ba\u975e\u7a7a\u503c"},
  923. /** Could not resolve the node to a handle */
  924. //public static final int ER_COULD_NOT_RESOLVE_NODE = 173;
  925. {
  926. ER_COULD_NOT_RESOLVE_NODE,
  927. "\u7121\u6cd5\u89e3\u8b6f\u7bc0\u9ede\u70ba\u63a7\u9ede"},
  928. /** startParse may not be called while parsing */
  929. //public static final int ER_STARTPARSE_WHILE_PARSING = 174;
  930. {
  931. ER_STARTPARSE_WHILE_PARSING,
  932. "\u5728\u9032\u884c\u5256\u6790\u6642\u672a\u547c\u53eb startParse"},
  933. /** startParse needs a non-null SAXParser */
  934. //public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175;
  935. {
  936. ER_STARTPARSE_NEEDS_SAXPARSER,
  937. "startParse \u9700\u8981\u975e\u7a7a\u503c\u7684 SAXParser"},
  938. /** could not initialize parser with */
  939. //public static final int ER_COULD_NOT_INIT_PARSER = 176;
  940. {
  941. ER_COULD_NOT_INIT_PARSER,
  942. "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u5256\u6790\u5668\uff0c\u4ee5"},
  943. /** Value for property {0} should be a Boolean instance */
  944. //public static final int ER_PROPERTY_VALUE_BOOLEAN = 177;
  945. {
  946. ER_PROPERTY_VALUE_BOOLEAN,
  947. "\u5167\u5bb9 {0} \u7684\u503c\u61c9\u8a72\u662f\u4e00\u500b\u5e03\u6797\u6848\u4f8b"},
  948. /** exception creating new instance for pool */
  949. //public static final int ER_EXCEPTION_CREATING_POOL = 178;
  950. {
  951. ER_EXCEPTION_CREATING_POOL,
  952. "\u5efa\u7acb\u5132\u5b58\u6c60\u7684\u65b0\u6848\u4f8b\u6642\u767c\u751f\u7570\u5e38"},
  953. /** Path contains invalid escape sequence */
  954. //public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179;
  955. {
  956. ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
  957. "\u8def\u5f91\u5305\u542b\u7121\u6548\u9038\u51fa\u5e8f\u5217"},
  958. /** Scheme is required! */
  959. //public static final int ER_SCHEME_REQUIRED = 180;
  960. {
  961. ER_SCHEME_REQUIRED,
  962. "\u7db1\u8981\u662f\u5fc5\u9700\u7684\uff01"},
  963. /** No scheme found in URI */
  964. //public static final int ER_NO_SCHEME_IN_URI = 181;
  965. {
  966. ER_NO_SCHEME_IN_URI,
  967. "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981\uff1a{0}"},
  968. /** No scheme found in URI */
  969. //public static final int ER_NO_SCHEME_INURI = 182;
  970. {
  971. ER_NO_SCHEME_INURI,
  972. "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981"},
  973. /** Path contains invalid character: */
  974. //public static final int ER_PATH_INVALID_CHAR = 183;
  975. {
  976. ER_PATH_INVALID_CHAR,
  977. "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u5b57\u5143\uff1a{0}"},
  978. /** Cannot set scheme from null string */
  979. //public static final int ER_SCHEME_FROM_NULL_STRING = 184;
  980. {
  981. ER_SCHEME_FROM_NULL_STRING,
  982. "\u7121\u6cd5\u5f9e\u7a7a\u5b57\u4e32\u8a2d\u5b9a\u7db1\u8981"},
  983. /** The scheme is not conformant. */
  984. //public static final int ER_SCHEME_NOT_CONFORMANT = 185;
  985. {
  986. ER_SCHEME_NOT_CONFORMANT,
  987. "\u7db1\u8981\u4e0d\u4e00\u81f4\u3002"},
  988. /** Host is not a well formed address */
  989. //public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186;
  990. {
  991. ER_HOST_ADDRESS_NOT_WELLFORMED,
  992. "\u4e3b\u6a5f\u6c92\u6709\u5b8c\u6574\u7684\u4f4d\u5740"},
  993. /** Port cannot be set when host is null */
  994. //public static final int ER_PORT_WHEN_HOST_NULL = 187;
  995. {
  996. ER_PORT_WHEN_HOST_NULL,
  997. "\u4e3b\u6a5f\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u901a\u8a0a\u57e0"},
  998. /** Invalid port number */
  999. //public static final int ER_INVALID_PORT = 188;
  1000. {
  1001. ER_INVALID_PORT,
  1002. "\u7121\u6548\u7684\u901a\u8a0a\u57e0\u7de8\u865f"},
  1003. /** Fragment can only be set for a generic URI */
  1004. //public static final int ER_FRAG_FOR_GENERIC_URI = 189;
  1005. {
  1006. ER_FRAG_FOR_GENERIC_URI,
  1007. "\u53ea\u80fd\u5c0d\u540c\u5c6c\u7684 URI \u8a2d\u5b9a\u7247\u6bb5"},
  1008. /** Fragment cannot be set when path is null */
  1009. //public static final int ER_FRAG_WHEN_PATH_NULL = 190;
  1010. {
  1011. ER_FRAG_WHEN_PATH_NULL,
  1012. "\u8def\u5f91\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u7247\u6bb5"},
  1013. /** Fragment contains invalid character */
  1014. //public static final int ER_FRAG_INVALID_CHAR = 191;
  1015. {
  1016. ER_FRAG_INVALID_CHAR,
  1017. "\u7247\u6bb5\u5305\u542b\u7121\u6548\u5b57\u5143"},
  1018. /** Parser is already in use */
  1019. //public static final int ER_PARSER_IN_USE = 192;
  1020. {
  1021. ER_PARSER_IN_USE,
  1022. "\u5256\u6790\u5668\u5df2\u5728\u4f7f\u7528\u4e2d"},
  1023. /** Parser is already in use */
  1024. //public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193;
  1025. {
  1026. ER_CANNOT_CHANGE_WHILE_PARSING,
  1027. "\u5256\u6790\u6642\u7121\u6cd5\u8b8a\u66f4 {0} {1}"},
  1028. /** Self-causation not permitted */
  1029. //public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194;
  1030. {
  1031. ER_SELF_CAUSATION_NOT_PERMITTED,
  1032. "\u4e0d\u5141\u8a31\u81ea\u884c\u5f15\u8d77"},
  1033. /** src attribute not yet supported for */
  1034. //public static final int ER_COULD_NOT_FIND_EXTERN_SCRIPT = 195;
  1035. {
  1036. ER_COULD_NOT_FIND_EXTERN_SCRIPT,
  1037. "\u7121\u6cd5\u65bc {0} \u8655\u53d6\u5f97\u5916\u90e8\u6307\u4ee4\u96c6"},
  1038. /** The resource [] could not be found */
  1039. //public static final int ER_RESOURCE_COULD_NOT_FIND = 196;
  1040. {
  1041. ER_RESOURCE_COULD_NOT_FIND,
  1042. "\u627e\u4e0d\u5230\u8cc7\u6e90 [ {0} ]\u3002\n {1}"},
  1043. /** output property not recognized: */
  1044. //public static final int ER_OUTPUT_PROPERTY_NOT_RECOGNIZED = 197;
  1045. {
  1046. ER_OUTPUT_PROPERTY_NOT_RECOGNIZED,
  1047. "\u672a\u80fd\u8fa8\u8b58\u8f38\u51fa\u5167\u5bb9\uff1a{0}"},
  1048. /** Userinfo may not be specified if host is not specified */
  1049. //public static final int ER_NO_USERINFO_IF_NO_HOST = 198;
  1050. {
  1051. ER_NO_USERINFO_IF_NO_HOST,
  1052. "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a Userinfo"},
  1053. /** Port may not be specified if host is not specified */
  1054. //public static final int ER_NO_PORT_IF_NO_HOST = 199;
  1055. {
  1056. ER_NO_PORT_IF_NO_HOST,
  1057. "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a\u901a\u8a0a\u57e0"},
  1058. /** Query string cannot be specified in path and query string */
  1059. //public static final int ER_NO_QUERY_STRING_IN_PATH = 200;
  1060. {
  1061. ER_NO_QUERY_STRING_IN_PATH,
  1062. "\u5728\u8def\u5f91\u53ca\u67e5\u8a62\u5b57\u4e32\u4e2d\u4e0d\u53ef\u6307\u5b9a\u67e5\u8a62\u5b57\u4e32"},
  1063. /** Fragment cannot be specified in both the path and fragment */
  1064. //public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201;
  1065. {
  1066. ER_NO_FRAGMENT_STRING_IN_PATH,
  1067. "\u7121\u6cd5\u5728\u8def\u5f91\u548c\u7247\u6bb5\u4e2d\u6307\u5b9a\u7247\u6bb5"},
  1068. /** Cannot initialize URI with empty parameters */
  1069. //public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202;
  1070. {
  1071. ER_CANNOT_INIT_URI_EMPTY_PARMS,
  1072. "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u7a7a\u767d\u53c3\u6578\u7684 URI"},
  1073. /** Failed creating ElemLiteralResult instance */
  1074. //public static final int ER_FAILED_CREATING_ELEMLITRSLT = 203;
  1075. {
  1076. ER_FAILED_CREATING_ELEMLITRSLT,
  1077. "\u5efa\u7acb ElemLiteralResult \u6848\u4f8b\u5931\u6557"},
  1078. // Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE
  1079. // In latest Xalan code base key name is ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care
  1080. //in locale specific files like XSLTErrorResources_de.java, XSLTErrorResources_fr.java etc.
  1081. //NOTE: Not only the key name but message has also been changed. - nb.
  1082. /** Priority value does not contain a parsable number */
  1083. //public static final int ER_VALUE_SHOULD_BE_NUMBER = 204;
  1084. {
  1085. ER_VALUE_SHOULD_BE_NUMBER,
  1086. "{0} \u7684\u503c\u61c9\u5305\u542b\u53ef\u5256\u6790\u7684\u6578\u5b57"},
  1087. /** Value for {0} should equal 'yes' or 'no' */
  1088. //public static final int ER_VALUE_SHOULD_EQUAL = 205;
  1089. {
  1090. ER_VALUE_SHOULD_EQUAL,
  1091. " {0} \u7684\u503c\u61c9\u7b49\u65bc yes \u6216 no"},
  1092. /** Failed calling {0} method */
  1093. //public static final int ER_FAILED_CALLING_METHOD = 206;
  1094. {
  1095. ER_FAILED_CALLING_METHOD,
  1096. " \u547c\u53eb {0} \u65b9\u6cd5\u5931\u6557"},
  1097. /** Failed creating ElemLiteralResult instance */
  1098. //public static final int ER_FAILED_CREATING_ELEMTMPL = 207;
  1099. {
  1100. ER_FAILED_CREATING_ELEMTMPL,
  1101. "\u5efa\u7acb ElemTemplateElement \u6848\u4f8b\u5931\u6557"},
  1102. /** Characters are not allowed at this point in the document */
  1103. //public static final int ER_CHARS_NOT_ALLOWED = 208;
  1104. {
  1105. ER_CHARS_NOT_ALLOWED,
  1106. "\u6587\u4ef6\u7684\u9019\u500b\u5730\u65b9\u4e0d\u5141\u8a31\u5b57\u5143"},
  1107. /** attribute is not allowed on the element */
  1108. //public static final int ER_ATTR_NOT_ALLOWED = 209;
  1109. {
  1110. ER_ATTR_NOT_ALLOWED,
  1111. "{1} \u5143\u7d20\u4e0a\u4e0d\u5141\u8a31\u6709 \"{0}\" \u5c6c\u6027\uff01"},
  1112. /** Method not yet supported */
  1113. //public static final int ER_METHOD_NOT_SUPPORTED = 210;
  1114. {
  1115. ER_METHOD_NOT_SUPPORTED,
  1116. "\u4e0d\u652f\u63f4\u65b9\u6cd5 "},
  1117. /** Bad value */
  1118. //public static final int ER_BAD_VALUE = 211;
  1119. {
  1120. ER_BAD_VALUE,
  1121. "{0} \u932f\u8aa4\u503c {1} "},
  1122. /** attribute value not found */
  1123. //public static final int ER_ATTRIB_VALUE_NOT_FOUND = 212;
  1124. {
  1125. ER_ATTRIB_VALUE_NOT_FOUND,
  1126. "\u627e\u4e0d\u5230 {0} \u5c6c\u6027\u503c "},
  1127. /** attribute value not recognized */
  1128. //public static final int ER_ATTRIB_VALUE_NOT_RECOGNIZED = 213;
  1129. {
  1130. ER_ATTRIB_VALUE_NOT_RECOGNIZED,
  1131. "\u4e0d\u80fd\u8fa8\u8b58 {0} \u5c6c\u6027\u503c "},
  1132. /** IncrementalSAXSource_Filter not currently restartable */
  1133. //public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214;
  1134. {
  1135. ER_INCRSAXSRCFILTER_NOT_RESTARTABLE,
  1136. "IncrementalSAXSource_Filter \u76ee\u524d\u7121\u6cd5\u91cd\u65b0\u555f\u52d5"},
  1137. /** IncrementalSAXSource_Filter not currently restartable */
  1138. //public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215;
  1139. {
  1140. ER_XMLRDR_NOT_BEFORE_STARTPARSE,
  1141. "XMLReader \u4e0d\u5728 startParse \u8981\u6c42\u4e4b\u524d"},
  1142. /** Attempting to generate a namespace prefix with a null URI */
  1143. //public static final int ER_NULL_URI_NAMESPACE = 216;
  1144. {
  1145. ER_NULL_URI_NAMESPACE,
  1146. "\u6b63\u5728\u5617\u8a66\u4f7f\u7528\u7a7a URI \u7522\u751f\u540d\u7a31\u7a7a\u9593\u524d\u7f6e"},
  1147. // Following are the new ERROR keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
  1148. /** Attempting to generate a namespace prefix with a null URI */
  1149. //public static final int ER_NUMBER_TOO_BIG = 217;
  1150. {
  1151. ER_NUMBER_TOO_BIG,
  1152. "\u8a66\u5716\u683c\u5f0f\u5316\u6bd4\u6700\u5927\u7684 Long \u6574\u6578\u9084\u8981\u5927\u7684\u6578\u5b57"},
  1153. //ER_CANNOT_FIND_SAX1_DRIVER
  1154. //public static final int ER_CANNOT_FIND_SAX1_DRIVER = 218;
  1155. {
  1156. ER_CANNOT_FIND_SAX1_DRIVER,
  1157. "\u7121\u6cd5\u627e\u5230 SAX1 \u9a45\u52d5\u7a0b\u5f0f\u985e\u5225 {0}"},
  1158. //ER_SAX1_DRIVER_NOT_LOADED
  1159. //public static final int ER_SAX1_DRIVER_NOT_LOADED = 219;
  1160. {
  1161. ER_SAX1_DRIVER_NOT_LOADED,
  1162. "\u5df2\u627e\u5230 SAX1 \u9a45\u52d5\u7a0b\u5f0f\u985e\u5225 {0}\uff0c\u4f46\u662f\u7121\u6cd5\u8f09\u5165"},
  1163. //ER_SAX1_DRIVER_NOT_INSTANTIATED
  1164. //public static final int ER_SAX1_DRIVER_NOT_INSTANTIATED = 220 ;
  1165. {
  1166. ER_SAX1_DRIVER_NOT_INSTANTIATED,
  1167. "\u5df2\u8f09\u5165 SAX1 \u9a45\u52d5\u7a0b\u5f0f\u985e\u5225 {0}\uff0c\u4f46\u662f\u7121\u6cd5\u5c07\u5176\u5be6\u4f8b\u5316"},
  1168. // ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER
  1169. //public static final int ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER = 221;
  1170. {
  1171. ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER,
  1172. "SAX1 \u9a45\u52d5\u7a0b\u5f0f\u985e\u5225 {0} \u4e0d\u57f7\u884c org.xml.sax.Parser"},
  1173. // ER_PARSER_PROPERTY_NOT_SPECIFIED
  1174. //public static final int ER_PARSER_PROPERTY_NOT_SPECIFIED = 222;
  1175. {
  1176. ER_PARSER_PROPERTY_NOT_SPECIFIED,
  1177. "\u672a\u6307\u5b9a\u7cfb\u7d71\u5c6c\u6027 org.xml.sax.parser"},
  1178. //ER_PARSER_ARG_CANNOT_BE_NULL
  1179. //public static final int ER_PARSER_ARG_CANNOT_BE_NULL = 223 ;
  1180. {
  1181. ER_PARSER_ARG_CANNOT_BE_NULL,
  1182. "\u5256\u6790\u5668\u5f15\u6578\u4e0d\u80fd\u70ba\u7a7a"},
  1183. // ER_FEATURE
  1184. //public static final int ER_FEATURE = 224;
  1185. {
  1186. ER_FEATURE,
  1187. "\u529f\u80fd\uff1aa {0}"},
  1188. // ER_PROPERTY
  1189. //public static final int ER_PROPERTY = 225 ;
  1190. {
  1191. ER_PROPERTY,
  1192. "\u5c6c\u6027\uff1aa {0}"},
  1193. // ER_NULL_ENTITY_RESOLVER
  1194. //public static final int ER_NULL_ENTITY_RESOLVER = 226;
  1195. {
  1196. ER_NULL_ENTITY_RESOLVER,
  1197. "\u7a7a\u5be6\u9ad4\u89e3\u6790\u5668"},
  1198. // ER_NULL_DTD_HANDLER
  1199. //public static final int ER_NULL_DTD_HANDLER = 227 ;
  1200. {
  1201. ER_NULL_DTD_HANDLER,
  1202. "\u7a7a DTD \u8655\u7406\u7a0b\u5f0f"},
  1203. // No Driver Name Specified!
  1204. //public static final int ER_NO_DRIVER_NAME_SPECIFIED = 228;
  1205. {
  1206. ER_NO_DRIVER_NAME_SPECIFIED,
  1207. "\u672a\u6307\u5b9a\u9a45\u52d5\u7a0b\u5f0f\u540d\u7a31\uff01"},
  1208. // No URL Specified!
  1209. //public static final int ER_NO_URL_SPECIFIED = 229;
  1210. {
  1211. ER_NO_URL_SPECIFIED,
  1212. "\u672a\u6307\u5b9a URL\uff01"},
  1213. // Pool size is less than 1!
  1214. //public static final int ER_POOLSIZE_LESS_THAN_ONE = 230;
  1215. {
  1216. ER_POOLSIZE_LESS_THAN_ONE,
  1217. "\u5132\u5b58\u5340\u5c0f\u65bc 1\uff01"},
  1218. // Invalid Driver Name Specified!
  1219. //public static final int ER_INVALID_DRIVER_NAME = 231;
  1220. {
  1221. ER_INVALID_DRIVER_NAME,
  1222. "\u6307\u5b9a\u7684\u9a45\u52d5\u7a0b\u5f0f\u540d\u7a31\u7121\u6548\uff01"},
  1223. // ErrorListener
  1224. //public static final int ER_ERRORLISTENER = 232;
  1225. {
  1226. ER_ERRORLISTENER,
  1227. "ErrorListener"},
  1228. // Programmer's error! expr has no ElemTemplateElement parent!
  1229. //public static final int ER_ASSERT_NO_TEMPLATE_PARENT = 233;
  1230. {
  1231. ER_ASSERT_NO_TEMPLATE_PARENT,
  1232. "\u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u7684\u932f\u8aa4\uff01expr \u6c92\u6709 ElemTemplateElement \u7236\uff01"},
  1233. // Programmer's assertion in RundundentExprEliminator: {0}
  1234. //public static final int ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR = 234;
  1235. {
  1236. ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR,
  1237. "\u7a0b\u5f0f\u8a2d\u8a08\u5e2b\u5728 RundundentExprEliminator \u4e2d\u7684\u5224\u65b7\uff1a{0}"},
  1238. // Axis traverser not supported: {0}
  1239. //public static final int ER_AXIS_TRAVERSER_NOT_SUPPORTED = 235;
  1240. {
  1241. ER_AXIS_TRAVERSER_NOT_SUPPORTED,
  1242. "\u4e0d\u652f\u63f4\u8ef8\u904d\u6b77\u5668\uff1a{0}"},
  1243. // ListingErrorHandler created with null PrintWriter!
  1244. //public static final int ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = 236;
  1245. {
  1246. ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER,
  1247. "\u5efa\u7acb\u7684 ListingErrorHandler \u5177\u6709\u7a7a PrintWriter\uff01"},
  1248. // {0}is not allowed in this position in the stylesheet!
  1249. //public static final int ER_NOT_ALLOWED_IN_POSITION = 237;
  1250. {
  1251. ER_NOT_ALLOWED_IN_POSITION,
  1252. "\u5728\u6a23\u5f0f\u8868\u4e2d\uff0c\u6b64\u4f4d\u7f6e\u4e0d\u5141\u8a31\u51fa\u73fe {0}\uff01"},
  1253. // Non-whitespace text is not allowed in this position in the stylesheet!
  1254. //public static final int ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION = 238;
  1255. {
  1256. ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION,
  1257. "\u5728\u6a23\u5f0f\u8868\u4e2d\uff0c\u6b64\u4f4d\u7f6e\u53ea\u80fd\u662f\u7a7a\u767d\uff01"},
  1258. // This code is shared with warning codes.
  1259. // Illegal value: {1} used for CHAR attribute: {0}. An attribute of type CHAR must be only 1 character!
  1260. //public static final int INVALID_TCHAR = 239;
  1261. // SystemId Unknown
  1262. {
  1263. INVALID_TCHAR,
  1264. "\u4e0d\u6b63\u78ba\u7684\u503c\uff1a{1} \u88ab\u7528\u65bc CHAR \u5c6c\u6027\uff1a{0}\u3002 CHAR \u985e\u578b\u7684\u5c6c\u6027\u53ea\u80fd\u662f 1 \u500b\u5b57\u5143\uff01"},
  1265. //public static final int ER_SYSTEMID_UNKNOWN = 240;
  1266. {
  1267. ER_SYSTEMID_UNKNOWN,
  1268. "SystemId \u672a\u77e5"},
  1269. // Location of error unknown
  1270. //public static final int ER_LOCATION_UNKNOWN = 241;
  1271. {
  1272. ER_LOCATION_UNKNOWN,
  1273. "\u672a\u77e5\u7684\u932f\u8aa4\u4f4d\u7f6e"},
  1274. // Note to translators: The following message is used if the value of
  1275. // an attribute in a stylesheet is invalid. "QNAME" is the XML data-type of
  1276. // the attribute, and should not be translated. The substitution text {1} is
  1277. // the attribute value and {0} is the attribute name.
  1278. // INVALID_QNAME
  1279. //The following codes are shared with the warning codes...
  1280. // Illegal value: {1} used for QNAME attribute: {0}
  1281. //public static final int INVALID_QNAME = 242;
  1282. {
  1283. INVALID_QNAME,
  1284. "\u4e0d\u6b63\u78ba\u7684\u503c\uff1aa {1} \u88ab\u7528\u65bc QNAME \u5c6c\u6027\uff1aa {0}"},
  1285. // Note to translators: The following message is used if the value of
  1286. // an attribute in a stylesheet is invalid. "ENUM" is the XML data-type of
  1287. // the attribute, and should not be translated. The substitution text {1} is
  1288. // the attribute value, {0} is the attribute name, and {2} is a list of valid
  1289. // values.
  1290. // INVALID_ENUM
  1291. // Illegal value:a {1} used for ENUM attribute:a {0}. Valid values are:a {2}.
  1292. //public static final int INVALID_ENUM = 243;
  1293. {
  1294. INVALID_ENUM,
  1295. "\u4e0d\u6b63\u78ba\u7684\u503c\uff1aa {1} \u88ab\u7528\u65bc ENUM \u5c6c\u6027\uff1aa {0}\u3002 \u6709\u6548\u503c\u70ba\uff1aa {2}\u3002"},
  1296. // Note to translators: The following message is used if the value of
  1297. // an attribute in a stylesheet is invalid. "NMTOKEN" is the XML data-type
  1298. // of the attribute, and should not be translated. The substitution text {1} is
  1299. // the attribute value and {0} is the attribute name.
  1300. // INVALID_NMTOKEN
  1301. // Illegal value:a {1} used for NMTOKEN attribute:a {0}.
  1302. //public static final int INVALID_NMTOKEN = 244;
  1303. {
  1304. INVALID_NMTOKEN,
  1305. "\u4e0d\u6b63\u78ba\u7684\u503c\uff1aa {1} \u88ab\u7528\u65bc NMTOKEN \u5c6c\u6027\uff1aa {0}"},
  1306. // Note to translators: The following message is used if the value of
  1307. // an attribute in a stylesheet is invalid. "NCNAME" is the XML data-type
  1308. // of the attribute, and should not be translated. The substitution text {1} is
  1309. // the attribute value and {0} is the attribute name.
  1310. // INVALID_NCNAME
  1311. // Illegal value:a {1} used for NCNAME attribute:a {0}.
  1312. //public static final int INVALID_NCNAME = 245;
  1313. {
  1314. INVALID_NCNAME,
  1315. "\u4e0d\u6b63\u78ba\u7684\u503c\uff1aa {1} \u88ab\u7528\u65bc NCNAME \u5c6c\u6027\uff1aa {0}"},
  1316. // Note to translators: The following message is used if the value of
  1317. // an attribute in a stylesheet is invalid. "boolean" is the XSLT data-type
  1318. // of the attribute, and should not be translated. The substitution text {1} is
  1319. // the attribute value and {0} is the attribute name.
  1320. // INVALID_BOOLEAN
  1321. // Illegal value:a {1} used for boolean attribute:a {0}.
  1322. //public static final int INVALID_BOOLEAN = 246;
  1323. {
  1324. INVALID_BOOLEAN,
  1325. "\u4e0d\u6b63\u78ba\u7684\u503c\uff1aa {1} \u88ab\u7528\u65bc boolean \u5c6c\u6027\uff1aa {0}"},
  1326. // Note to translators: The following message is used if the value of
  1327. // an attribute in a stylesheet is invalid. "number" is the XSLT data-type
  1328. // of the attribute, and should not be translated. The substitution text {1} is
  1329. // the attribute value and {0} is the attribute name.
  1330. // INVALID_NUMBER
  1331. // Illegal value:a {1} used for number attribute:a {0}.
  1332. //public static final int INVALID_NUMBER = 247;
  1333. {
  1334. INVALID_NUMBER,
  1335. "\u4e0d\u6b63\u78ba\u7684\u503c\uff1aa {1} \u88ab\u7528\u65bc number \u5c6c\u6027\uff1aa {0}"},
  1336. // End of shared codes...
  1337. // Note to translators: A "match pattern" is a special form of XPath expression
  1338. // that is used for matching patterns. The substitution text is the name of
  1339. // a function. The message indicates that when this function is referenced in
  1340. // a match pattern, its argument must be a string literal (or constant.)
  1341. // ER_ARG_LITERAL - new error message for bugzilla //5202
  1342. // Argument to {0} in match pattern must be a literal.
  1343. //public static final int ER_ARG_LITERAL = 248;
  1344. {
  1345. ER_ARG_LITERAL,
  1346. "\u5728\u76f8\u7b26\u578b\u6a23\u4e2d {0} \u7684\u5f15\u6578\u5fc5\u9808\u662f\u6587\u5b57\u3002"},
  1347. // Note to translators: The following message indicates that two definitions of
  1348. // a variable. A "global variable" is a variable that is accessible everywher
  1349. // in the stylesheet.
  1350. // ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
  1351. // Duplicate global variable declaration.
  1352. //public static final int ER_DUPLICATE_GLOBAL_VAR = 249;
  1353. {
  1354. ER_DUPLICATE_GLOBAL_VAR,
  1355. "\u91cd\u8907\u7684\u5168\u57df\u8b8a\u6578\u5ba3\u544a\u3002"},
  1356. // Note to translators: The following message indicates that two definitions of
  1357. // a variable were encountered.
  1358. // ER_DUPLICATE_VAR - new error message for bugzilla #790
  1359. // Duplicate variable declaration.
  1360. //public static final int ER_DUPLICATE_VAR = 250;
  1361. {
  1362. ER_DUPLICATE_VAR,
  1363. "\u91cd\u8907\u7684\u8b8a\u6578\u5ba3\u544a\u3002"},
  1364. // Note to translators: "xsl:template, "name" and "match" are XSLT keywords
  1365. // which must not be translated.
  1366. // ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
  1367. // xsl:template must have a name or match attribute (or both)
  1368. //public static final int ER_TEMPLATE_NAME_MATCH = 251;
  1369. {
  1370. ER_TEMPLATE_NAME_MATCH,
  1371. "xsl:template \u5fc5\u9808\u6709\u4e00\u500b\u540d\u7a31\u6216\u76f8\u7b26\u5c6c\u6027 (\u6216\u5169\u8005\u5747\u6709)"},
  1372. // Note to translators: "exclude-result-prefixes" is an XSLT keyword which
  1373. // should not be translated. The message indicates that a namespace prefix
  1374. // encountered as part of the value of the exclude-result-prefixes attribute
  1375. // was in error.
  1376. // ER_INVALID_PREFIX - new error message for bugzilla #788
  1377. // Prefix in exclude-result-prefixes is not valid:a {0}
  1378. //public static final int ER_INVALID_PREFIX = 252;
  1379. {
  1380. ER_INVALID_PREFIX,
  1381. "exclude-result-prefixes \u4e2d\u7684\u524d\u7f6e\u7121\u6548\uff1aa {0}"},
  1382. // Note to translators: An "attribute set" is a set of attributes that can be
  1383. // added to an element in the output document as a group. The message indicates
  1384. // that there was a reference to an attribute set named {0} that was never
  1385. // defined.
  1386. // ER_NO_ATTRIB_SET - new error message for bugzilla #782
  1387. // attribute-set named {0} does not exist
  1388. //public static final int ER_NO_ATTRIB_SET = 253;
  1389. {
  1390. ER_NO_ATTRIB_SET,
  1391. "\u540d\u70ba {0} \u7684 attribute-set \u4e0d\u5b58\u5728"},
  1392. // Warnings...
  1393. /** WG_FOUND_CURLYBRACE */
  1394. //public static final int WG_FOUND_CURLYBRACE = 1;
  1395. {
  1396. WG_FOUND_CURLYBRACE,
  1397. "\u627e\u5230 '}' \u4f46\u6c92\u6709\u958b\u555f\u7684\u5c6c\u6027\u7bc4\u672c\uff01"},
  1398. /** WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR */
  1399. //public static final int WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR = 2;
  1400. {
  1401. WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR,
  1402. "\u8b66\u544a\uff1acount \u5c6c\u6027\u4e0d\u7b26\u5408 xsl:number \u4e2d\u7684\u7956\u5148\u7bc0\u9ede\uff01\u76ee\u6a19 = {0}"},
  1403. /** WG_EXPR_ATTRIB_CHANGED_TO_SELECT */
  1404. //public static final int WG_EXPR_ATTRIB_CHANGED_TO_SELECT = 3;
  1405. {
  1406. WG_EXPR_ATTRIB_CHANGED_TO_SELECT,
  1407. "\u820a\u8a9e\u6cd5\uff1a'expr' \u5c6c\u6027\u7684\u540d\u7a31\u5df2\u8b8a\u66f4\u70ba 'select'\u3002"},
  1408. /** WG_NO_LOCALE_IN_FORMATNUMBER */
  1409. //public static final int WG_NO_LOCALE_IN_FORMATNUMBER = 4;
  1410. {
  1411. WG_NO_LOCALE_IN_FORMATNUMBER,
  1412. "Xalan \u5c1a\u672a\u8655\u7406 format-number \u51fd\u5f0f\u4e2d\u7684\u8a9e\u8a00\u74b0\u5883\u540d\u7a31\u3002"},
  1413. /** WG_LOCALE_NOT_FOUND */
  1414. //public static final int WG_LOCALE_NOT_FOUND = 5;
  1415. {
  1416. WG_LOCALE_NOT_FOUND,
  1417. "\u8b66\u544a\uff1a\u627e\u4e0d\u5230 xml:lang={0} \u7684\u8a9e\u8a00\u74b0\u5883"},
  1418. /** WG_CANNOT_MAKE_URL_FROM */
  1419. //public static final int WG_CANNOT_MAKE_URL_FROM = 6;
  1420. {
  1421. WG_CANNOT_MAKE_URL_FROM,
  1422. "\u7121\u6cd5\u5f9e\uff1a {0} \u7522\u751f URL"},
  1423. /** WG_CANNOT_LOAD_REQUESTED_DOC */
  1424. //public static final int WG_CANNOT_LOAD_REQUESTED_DOC = 7;
  1425. {
  1426. WG_CANNOT_LOAD_REQUESTED_DOC,
  1427. "\u7121\u6cd5\u8f09\u5165\u6240\u8981\u6c42\u7684\u6587\u4ef6\uff1a{0}"},
  1428. /** WG_CANNOT_FIND_COLLATOR */
  1429. //public static final int WG_CANNOT_FIND_COLLATOR = 8;
  1430. {
  1431. WG_CANNOT_FIND_COLLATOR,
  1432. "\u627e\u4e0d\u5230 <sort xml:lang={0} \u7684\u7406\u5e8f\u5668"},
  1433. /** WG_FUNCTIONS_SHOULD_USE_URL */
  1434. //public static final int WG_FUNCTIONS_SHOULD_USE_URL = 9;
  1435. {
  1436. WG_FUNCTIONS_SHOULD_USE_URL,
  1437. "\u820a\u8a9e\u6cd5\uff1a\u51fd\u5f0f\u6307\u4ee4\u61c9\u4f7f\u7528 URL {0}"},
  1438. /** WG_ENCODING_NOT_SUPPORTED_USING_UTF8 */
  1439. //public static final int WG_ENCODING_NOT_SUPPORTED_USING_UTF8 = 10;
  1440. {
  1441. WG_ENCODING_NOT_SUPPORTED_USING_UTF8,
  1442. "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}\uff0c\u4f7f\u7528 UTF-8"},
  1443. /** WG_ENCODING_NOT_SUPPORTED_USING_JAVA */
  1444. //public static final int WG_ENCODING_NOT_SUPPORTED_USING_JAVA = 11;
  1445. {
  1446. WG_ENCODING_NOT_SUPPORTED_USING_JAVA,
  1447. "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}\uff0c\u4f7f\u7528 Java {1}"},
  1448. /** WG_SPECIFICITY_CONFLICTS */
  1449. //public static final int WG_SPECIFICITY_CONFLICTS = 12;
  1450. {
  1451. WG_SPECIFICITY_CONFLICTS,
  1452. "\u627e\u5230\u5177\u9ad4\u885d\u7a81\uff1a{0} \u5c07\u4f7f\u7528\u5728\u6a23\u5f0f\u8868\u4e2d\u627e\u5230\u7684\u6700\u5f8c\u4e00\u500b\u3002"},
  1453. /** WG_PARSING_AND_PREPARING */
  1454. //public static final int WG_PARSING_AND_PREPARING = 13;
  1455. {
  1456. WG_PARSING_AND_PREPARING,
  1457. "========= \u5256\u6790\u53ca\u6e96\u5099 {0} =========="},
  1458. /** WG_ATTR_TEMPLATE */
  1459. //public static final int WG_ATTR_TEMPLATE = 14;
  1460. {
  1461. WG_ATTR_TEMPLATE, "Attr \u7bc4\u672c\uff0c{0}"},
  1462. /** WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE */
  1463. //public static final int WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = 15;
  1464. {
  1465. WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE,
  1466. "xsl:strip-space \u548c xsl:preserve-space \u4e4b\u9593\u767c\u751f\u7b26\u5408\u885d\u7a81"},
  1467. /** WG_ATTRIB_NOT_HANDLED */
  1468. //public static final int WG_ATTRIB_NOT_HANDLED = 16;
  1469. {
  1470. WG_ATTRIB_NOT_HANDLED,
  1471. "Xalan \u5c1a\u672a\u8655\u7406 {0} \u5c6c\u6027\uff01"},
  1472. /** WG_NO_DECIMALFORMAT_DECLARATION */
  1473. //public static final int WG_NO_DECIMALFORMAT_DECLARATION = 17;
  1474. {
  1475. WG_NO_DECIMALFORMAT_DECLARATION,
  1476. "\u627e\u4e0d\u5230\u5341\u9032\u4f4d\u683c\u5f0f\u7684\u5ba3\u544a\uff1a{0}"},
  1477. /** WG_OLD_XSLT_NS */
  1478. //public static final int WG_OLD_XSLT_NS = 18;
  1479. {
  1480. WG_OLD_XSLT_NS, "XSLT \u540d\u7a31\u7a7a\u9593\u907a\u6f0f\u6216\u4e0d\u6b63\u78ba\u3002"},
  1481. /** WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED */
  1482. //public static final int WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED = 19;
  1483. {
  1484. WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED,
  1485. "\u50c5\u5141\u8a31\u4e00\u500b\u9810\u8a2d xsl:decimal-format \u5ba3\u544a\u3002"},
  1486. /** WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE */
  1487. //public static final int WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE = 20;
  1488. {
  1489. WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE,
  1490. "xsl:decimal-format \u540d\u7a31\u5fc5\u9808\u662f\u552f\u4e00\u7684\u3002 \"{0}\" \u540d\u7a31\u91cd\u8907\u3002"},
  1491. /** WG_ILLEGAL_ATTRIBUTE */
  1492. //public static final int WG_ILLEGAL_ATTRIBUTE = 21;
  1493. {
  1494. WG_ILLEGAL_ATTRIBUTE,
  1495. "{0} \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u5c6c\u6027\uff1a{1}"},
  1496. /** WG_COULD_NOT_RESOLVE_PREFIX */
  1497. //public static final int WG_COULD_NOT_RESOLVE_PREFIX = 22;
  1498. {
  1499. WG_COULD_NOT_RESOLVE_PREFIX,
  1500. "\u7121\u6cd5\u89e3\u8b6f\u540d\u7a31\u7a7a\u9593\u524d\u7f6e\uff1a{0}\u3002\u7bc0\u9ede\u88ab\u5ffd\u7565\u3002"},
  1501. /** WG_STYLESHEET_REQUIRES_VERSION_ATTRIB */
  1502. //public static final int WG_STYLESHEET_REQUIRES_VERSION_ATTRIB = 23;
  1503. {
  1504. WG_STYLESHEET_REQUIRES_VERSION_ATTRIB,
  1505. "xsl:stylesheet \u9700\u8981 'version' \u5c6c\u6027\uff01"},
  1506. /** WG_ILLEGAL_ATTRIBUTE_NAME */
  1507. //public static final int WG_ILLEGAL_ATTRIBUTE_NAME = 24;
  1508. {
  1509. WG_ILLEGAL_ATTRIBUTE_NAME,
  1510. "\u4e0d\u5408\u898f\u5247\u7684\u5c6c\u6027\u540d\u7a31\uff1a{0}"},
  1511. /** WG_ILLEGAL_ATTRIBUTE_VALUE */
  1512. //public static final int WG_ILLEGAL_ATTRIBUTE_VALUE = 25;
  1513. {
  1514. WG_ILLEGAL_ATTRIBUTE_VALUE,
  1515. "\u5c6c\u6027 {0} \u4f7f\u7528\u4e86\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{1}"},
  1516. /** WG_EMPTY_SECOND_ARG */
  1517. //public static final int WG_EMPTY_SECOND_ARG = 26;
  1518. {
  1519. WG_EMPTY_SECOND_ARG,
  1520. "\u5f9e\u6587\u4ef6\u51fd\u5f0f\u7b2c\u4e8c\u500b\u5f15\u6578\u7522\u751f\u7684\u7bc0\u9ede\u96c6\u662f\u7a7a\u503c\u3002\u5c07\u4f7f\u7528\u7b2c\u4e00\u500b\u5f15\u6578\u3002"},
  1521. // Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
  1522. // Note to translators: "name" and "xsl:processing-instruction" are keywords
  1523. // and must not be translated.
  1524. // WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML
  1525. /** WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */
  1526. //public static final int WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 27;
  1527. {
  1528. WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
  1529. "xsl:processing-instruction \u540d\u7a31\u4e4b 'name' \u5c6c\u6027\u7684\u503c\u4e0d\u80fd\u662f 'xml'"},
  1530. // Note to translators: "name" and "xsl:processing-instruction" are keywords
  1531. // and must not be translated. "NCName" is an XML data-type and must not be
  1532. // translated.
  1533. // WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME
  1534. /** WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */
  1535. //public static final int WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 28;
  1536. {
  1537. WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
  1538. "xsl:processing-instruction \u4e4b ''name'' \u5c6c\u6027\u7684\u503c\u5fc5\u9808\u662f\u4e00\u500b\u6709\u6548\u7684 NCName\uff1aa {0}"},
  1539. // Note to translators: This message is reported if the stylesheet that is
  1540. // being processed attempted to construct an XML document with an attribute in a
  1541. // place other than on an element. The substitution text specifies the name of
  1542. // the attribute.
  1543. // WG_ILLEGAL_ATTRIBUTE_POSITION
  1544. /** WG_ILLEGAL_ATTRIBUTE_POSITION */
  1545. //public static final int WG_ILLEGAL_ATTRIBUTE_POSITION = 29;
  1546. {
  1547. WG_ILLEGAL_ATTRIBUTE_POSITION,
  1548. "\u7121\u6cd5\u5728\u7522\u751f\u5b50\u7bc0\u9ede\u4e4b\u5f8c\u6216\u7522\u751f\u5143\u7d20\u4e4b\u524d\u52a0\u5165\u5c6c\u6027 {0}\u3002 \u5c6c\u6027\u5c07\u88ab\u5ffd\u7565\u3002"},
  1549. // WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file?
  1550. // Other miscellaneous text used inside the code...
  1551. { "ui_language", "zh_TW"},
  1552. { "help_language", "zh_TW"},
  1553. { "language", "zh_TW"},
  1554. { "BAD_CODE",
  1555. "createMessage \u7684\u53c3\u6578\u8d85\u51fa\u754c\u9650"},
  1556. { "FORMAT_FAILED",
  1557. "\u5728 messageFormat \u547c\u53eb\u671f\u9593\u4e1f\u51fa\u7570\u5e38"},
  1558. { "version", ">>>>>>> Xalan \u7248\u672c "},
  1559. { "version2", "<<<<<<<"},
  1560. { "yes", "\u662f"},
  1561. { "line", "\u884c #"},
  1562. { "column", "\u76f4\u6b04 #"},
  1563. { "xsldone", "XSLProcessor: done"},
  1564. { "xslProc_option",
  1565. "Xalan-J \u6307\u4ee4\u884c Process \u985e\u5225\u9078\u9805\uff1a"},
  1566. { "xslProc_invalid_xsltc_option", "XSLTC \u6a21\u5f0f\u4e0d\u652f\u63f4\u9078\u9805 {0}\u3002"},
  1567. { "xslProc_invalid_xalan_option", "\u9078\u9805 {0} \u50c5\u53ef\u7528\u65bc -XSL TC\u3002"},
  1568. { "xslProc_no_input", "\u932f\u8aa4\uff1a\u672a\u6307\u5b9a\u6a23\u5f0f\u8868\u6216 xml \u8f38\u5165\u6a94\u3002\u91cd\u65b0\u57f7\u884c\u6b64\u6307\u4ee4 (\u4e0d\u52a0\u9078\u9805) \u4ee5\u986f\u793a\u7528\u6cd5\u3002"},
  1569. { "xslProc_common_options", "-\u5e38\u7528\u9078\u9805-"},
  1570. { "xslProc_xalan_options", "-Xalan \u9078\u9805-"},
  1571. { "xslProc_xsltc_options", "-XSLTC \u9078\u9805-"},
  1572. { "xslProc_return_to_continue", "(\u6309 <return> \u9375\u7e7c\u7e8c)"},
  1573. { "optionXSLTC", " [-XSLTC (\u4f7f\u7528 XSLTC \u9032\u884c\u8f49\u63db)]"},
  1574. { "optionIN", " [-IN inputXMLURL"},
  1575. { "optionXSL", " [-XSL XSLTransformationURL]"},
  1576. { "optionOUT", " [-OUT outputFileName]"},
  1577. { "optionLXCIN", " [-LXCIN compiledStylesheetFileNameIn]"},
  1578. { "optionLXCOUT",
  1579. " [-LXCOUT compiledStylesheetFileNameOutOut]"},
  1580. { "optionPARSER",
  1581. " [-PARSER \u5256\u6790\u5668\u95dc\u806f\u5225\u540d\u7684\u5b8c\u6574\u540d\u7a31]"},
  1582. { "optionE",
  1583. " [-E (\u4e0d\u5c55\u958b\u5be6\u9ad4\u53c3\u7167)]"},
  1584. { "optionV",
  1585. " [-E (\u4e0d\u5c55\u958b\u5be6\u9ad4\u53c3\u7167)]"},
  1586. { "optionQC",
  1587. " [-QC (\u7121\u8072\u578b\u6a23\u885d\u7a81\u8b66\u544a)]"},
  1588. { "optionQ",
  1589. " [-Q (\u7121\u8072\u6a21\u5f0f)]"},
  1590. { "optionLF",
  1591. " [-LF (\u53ea\u5728\u8f38\u51fa\u4e0a\u4f7f\u7528\u63db\u884c {\u9810\u8a2d\u662f CR/LF})]"},
  1592. { "optionCR",
  1593. " [-CR (\u53ea\u5728\u8f38\u51fa\u4e0a\u4f7f\u7528\u63db\u884c\u9375 {\u9810\u8a2d\u662f CR/LF})]"},
  1594. { "optionESCAPE",
  1595. " [-ESCAPE (\u8981\u9038\u51fa\u7684\u5b57\u5143 {\u9810\u8a2d\u662f <>&\"\'\\r\\n})]"},
  1596. { "optionINDENT",
  1597. " [-INDENT (\u63a7\u5236\u8981\u5167\u7e2e\u7684\u7a7a\u683c\u6578 {\u9810\u8a2d\u662f 0})]"},
  1598. { "optionTT",
  1599. " [-TT (\u547c\u53eb\u6642\u8ffd\u8e64\u7bc4\u672c\u3002)]"},
  1600. { "optionTG",
  1601. " [-TG (\u8ffd\u8e64\u6bcf\u4e00\u500b\u7522\u751f\u4e8b\u4ef6\u3002)]"},
  1602. { "optionTS",
  1603. " [-TS (\u8ffd\u8e64\u6bcf\u4e00\u500b\u9078\u53d6\u4e8b\u4ef6\u3002)]"},
  1604. { "optionTTC",
  1605. " [-TTC (\u8ffd\u8e64\u8655\u7406\u4e2d\u7684\u7bc4\u672c\u5b50\u9805\u3002)]"},
  1606. {"optionTCLASS",
  1607. " [-TCLASS (\u8ffd\u8e64\u5ef6\u4f38\u7a0b\u5f0f\u7684 TraceListener \u985e\u5225\u3002)]"},
  1608. { "optionVALIDATE",
  1609. " [-VALIDATE (\u8a2d\u5b9a\u662f\u5426\u767c\u751f\u9a57\u8b49\u3002\u4f9d\u9810\u8a2d\u9a57\u8b49\u662f\u95dc\u9589\u7684\u3002)]"},
  1610. { "optionEDUMP",
  1611. " [-EDUMP {\u53ef\u9078\u7528\u7684\u6a94\u6848\u540d\u7a31} (\u767c\u751f\u932f\u8aa4\u6642\u57f7\u884c stackdump\u3002)]"},
  1612. { "optionXML",
  1613. " [-XML (\u4f7f\u7528 XML \u683c\u5f0f\u88fd\u4f5c\u5668\u53ca\u65b0\u589e XML \u8868\u982d\u3002)]"},
  1614. { "optionTEXT",
  1615. " [-TEXT (\u4f7f\u7528\u7c21\u5f0f\u6587\u5b57\u683c\u5f0f\u5316\u7a0b\u5f0f\u3002)]"},
  1616. { "optionHTML",
  1617. " [-HTML (\u4f7f\u7528 HTML \u683c\u5f0f\u88fd\u4f5c\u5668\u3002)]"},
  1618. { "optionPARAM",
  1619. " [-PARAM \u540d\u7a31\u8868\u793a\u5f0f (\u8a2d\u5b9a\u6a23\u5f0f\u8868\u53c3\u6578)]"},
  1620. { "noParsermsg1",
  1621. "XSL \u8655\u7406\u4e0d\u6210\u529f\u3002"},
  1622. { "noParsermsg2",
  1623. "** \u627e\u4e0d\u5230\u5256\u6790\u5668 **"},
  1624. { "noParsermsg3",
  1625. "\u8acb\u6aa2\u67e5\u985e\u5225\u8def\u5f91\u3002"},
  1626. { "noParsermsg4",
  1627. "\u5982\u679c\u60a8\u6c92\u6709 IBM \u7684 XML Parser for Java\uff0c\u53ef\u4e0b\u8f09\u81ea "},
  1628. { "noParsermsg5",
  1629. "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"},
  1630. { "optionURIRESOLVER",
  1631. " [-URIRESOLVER \u5b8c\u6574\u7684\u985e\u5225\u540d\u7a31 (URIResolver \u7528\u4f86\u89e3\u8b6f URI)]"},
  1632. { "optionENTITYRESOLVER",
  1633. " [-ENTITYRESOLVER \u5b8c\u6574\u7684\u985e\u5225\u540d\u7a31 (EntityResolver \u7528\u4f86\u89e3\u8b6f\u5be6\u9ad4)]"},
  1634. { "optionCONTENTHANDLER",
  1635. " [-CONTENTHANDLER \u5b8c\u6574\u7684\u985e\u5225\u540d\u7a31 (ContentHandler \u7528\u4f86\u4e32\u5217\u5316\u8f38\u51fa)]"},
  1636. { "optionLINENUMBERS",
  1637. " [-L \u4f7f\u7528\u539f\u59cb\u6587\u4ef6\u7684\u884c\u865f]"},
  1638. // Following are the new options added in XSLTErrorResources.properties files after Jdk 1.4 (Xalan 2.2-D11)
  1639. { "optionMEDIA",
  1640. " [-MEDIA mediaType (\u4f7f\u7528\u5a92\u9ad4\u5c6c\u6027\u5c0b\u627e\u8207\u6587\u4ef6\u95dc\u806f\u7684\u6a23\u5f0f\u8868\u3002)]"},
  1641. { "optionFLAVOR",
  1642. " [-FLAVOR flavorName (\u660e\u78ba\u662f\u4f7f\u7528 s2s=SAX \u9084\u662f d2d=DOM \u4f86\u57f7\u884c\u8f49\u63db\u3002)] "}, // Added by sboag/scurcuru; experimental
  1643. { "optionDIAG",
  1644. " [-DIAG (\u5217\u5370\u8f49\u63db\u4f5c\u696d\u82b1\u8cbb\u7684\u7e3d\u6beb\u79d2\u6578\u3002)]"},
  1645. { "optionINCREMENTAL",
  1646. " [-INCREMENTAL (\u900f\u904e\u5c07 http://xml.apache.org/xalan/features/incremental \u8a2d\u5b9a\u70ba\u300c\u771f\u300d\uff0c\u8981\u6c42\u905e\u589e\u7684 DTM \u5efa\u69cb\u3002)]"},
  1647. { "optionNOOPTIMIMIZE",
  1648. " [-NOOPTIMIMIZE (\u900f\u904e\u5c07 http://xml.apache.org/xalan/features/optimize \u8a2d\u5b9a\u70ba\u300c\u5047\u300d\uff0c\u8981\u6c42\u7121\u6a23\u5f0f\u8868\u6700\u4f73\u5316\u8655\u7406\u3002)]"},
  1649. { "optionRL",
  1650. " [-RL \u5faa\u74b0\u9650\u5236 (\u5047\u8a2d\u5728\u6a23\u5f0f\u8868\u5faa\u74b0\u6df1\u5ea6\u4e0a\u6578\u5b57\u9650\u5236\u3002)]"},
  1651. { "optionXO",
  1652. " [-XO [transletName] (\u6307\u5b9a\u7522\u751f\u7684 translet \u540d\u7a31)]"},
  1653. { "optionXD",
  1654. " [-XD destinationDirectory (\u6307\u5b9a translet \u7684\u76ee\u6a19\u76ee\u9304)]"},
  1655. { "optionXJ",
  1656. " [-XJ jarfile (\u5c07 translet \u985e\u5225\u5c01\u88dd\u6210\u540d\u70ba <jarfile> \u7684 jar \u6a94)]"},
  1657. { "optionXP",
  1658. " [-XP package (\u6307\u5b9a\u6240\u6709 translet \u985e\u5225\u7684\u5c01\u88dd\u540d\u7a31\u524d\u7f6e)]"},
  1659. { "optionXN", " [-XN (\u555f\u7528\u5167\u5d4c\u7bc4\u672c)]" },
  1660. { "optionXX", " [-XX (\u958b\u555f\u5176\u4ed6\u9664\u932f\u8a0a\u606f\u8f38\u51fa)]"},
  1661. { "optionXT" , " [-XT (\u5982\u679c\u53ef\u80fd\uff0c\u4f7f\u7528 translet \u9032\u884c\u8f49\u63db)]"},
  1662. { "diagTiming"," ---------\u8f49\u63db {0}\uff0c\u900f\u904e {1}\uff0c\u8017\u6642 {2} \u6beb\u79d2" },
  1663. { "recursionTooDeep","\u7bc4\u672c\u5d4c\u5957\u904e\u6df1\u3002\u5d4c\u5957 = {0}\uff0c\u7bc4\u672c {1}{2}" },
  1664. { "nameIs", "\u540d\u7a31\u70ba" },
  1665. { "matchPatternIs", "\u76f8\u7b26\u7684\u6a23\u5f0f\u70ba" }
  1666. };
  1667. // ================= INFRASTRUCTURE ======================
  1668. /** String for use when a bad error code was encountered. */
  1669. public static final String BAD_CODE = "BAD_CODE";
  1670. /** String for use when formatting of the error string failed. */
  1671. public static final String FORMAT_FAILED = "FORMAT_FAILED";
  1672. /** General error string. */
  1673. public static final String ERROR_STRING = "#error";
  1674. /** String to prepend to error messages. */
  1675. public static final String ERROR_HEADER = "\u932f\u8aa4\uff1a";
  1676. /** String to prepend to warning messages. */
  1677. public static final String WARNING_HEADER = "\u8b66\u544a\uff1a";
  1678. /** String to specify the XSLT module. */
  1679. public static final String XSL_HEADER = "XSLT ";
  1680. /** String to specify the XML parser module. */
  1681. public static final String XML_HEADER = "XML ";
  1682. /** I don't think this is used any more.
  1683. * @deprecated */
  1684. public static final String QUERY_HEADER = "PATTERN ";
  1685. /**
  1686. * Get the lookup table.
  1687. *
  1688. * @return The int to message lookup table.
  1689. */
  1690. public Object[][] getContents()
  1691. {
  1692. return contents;
  1693. }
  1694. }