| /* |
| * @(#)XSLTErrorResources_zh_TW.java 1.10 02/03/26 |
| * |
| * Copyright 2002 Sun Microsystems, Inc. All rights reserved. |
| * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. |
| */ |
| |
| /* |
| * The Apache Software License, Version 1.1 |
| * |
| * |
| * Copyright (c) 1999 The Apache Software Foundation. All rights |
| * reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions |
| * are met: |
| * |
| * 1. Redistributions of source code must retain the above copyright |
| * notice, this list of conditions and the following disclaimer. |
| * |
| * 2. Redistributions in binary form must reproduce the above copyright |
| * notice, this list of conditions and the following disclaimer in |
| * the documentation and/or other materials provided with the |
| * distribution. |
| * |
| * 3. The end-user documentation included with the redistribution, |
| * if any, must include the following acknowledgment: |
| * "This product includes software developed by the |
| * Apache Software Foundation (http://www.apache.org/)." |
| * Alternately, this acknowledgment may appear in the software itself, |
| * if and wherever such third-party acknowledgments normally appear. |
| * |
| * 4. The names "Xalan" and "Apache Software Foundation" must |
| * not be used to endorse or promote products derived from this |
| * software without prior written permission. For written |
| * permission, please contact apache@apache.org. |
| * |
| * 5. Products derived from this software may not be called "Apache", |
| * nor may "Apache" appear in their name, without prior written |
| * permission of the Apache Software Foundation. |
| * |
| * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED |
| * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR |
| * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF |
| * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT |
| * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| * SUCH DAMAGE. |
| * ==================================================================== |
| * |
| * This software consists of voluntary contributions made by many |
| * individuals on behalf of the Apache Software Foundation and was |
| * originally based on software copyright (c) 1999, Lotus |
| * Development Corporation., http://www.lotus.com. For more |
| * information on the Apache Software Foundation, please see |
| * <http://www.apache.org/>. |
| */ |
| package org.apache.xalan.res; |
| |
| import org.apache.xml.utils.res.XResourceBundleBase; |
| |
| import java.util.MissingResourceException; |
| import java.util.Locale; |
| import java.util.ResourceBundle; |
| |
| import java.text.DecimalFormat; |
| |
| import org.apache.xalan.templates.Constants; |
| |
| /** |
| * Set up error messages. |
| * We build a two dimensional array of message keys and |
| * message strings. In order to add a new message here, |
| * you need to first update the count of messages(MAX_CODE)or |
| * the count of warnings(MAX_WARNING). The array will be |
| * automatically filled in with the keys, but you need to |
| * fill in the actual message string. Follow the instructions |
| * below. |
| */ |
| public class XSLTErrorResources_zh_TW extends XSLTErrorResources |
| { |
| |
| /** The error suffix for construction error property keys. */ |
| public static final String ERROR_SUFFIX = "ER"; |
| |
| /** The warning suffix for construction error property keys. */ |
| public static final String WARNING_SUFFIX = "WR"; |
| |
| /** Maximum error messages, this is needed to keep track of the number of messages. */ |
| public static final int MAX_CODE = 216; |
| |
| /** Maximum warnings, this is needed to keep track of the number of warnings. */ |
| public static final int MAX_WARNING = 26; |
| |
| /** Maximum misc strings. */ |
| public static final int MAX_OTHERS = 45; |
| |
| /** Maximum total warnings and error messages. */ |
| public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; |
| |
| /** The lookup table for error messages. */ |
| static final Object[][] contents = |
| new Object[MAX_MESSAGES + MAX_OTHERS + 1][2]; |
| |
| /* |
| * Now fill in the message keys. |
| * This does not need to be updated. If MAX_CODE and MAX_WARNING |
| * are correct, the keys will get filled in automatically with |
| * the value ERxxxx (WRxxxx for warnings) where xxxx is a |
| * formatted number corresponding to the error code (i.e. ER0001). |
| */ |
| static |
| { |
| for (int i = 0; i < MAX_CODE + 1; i++) |
| { |
| contents[i][0] = getMKey(i); |
| } |
| |
| for (int i = 1; i < MAX_WARNING + 1; i++) |
| { |
| contents[i + MAX_CODE][0] = getWKey(i); |
| } |
| } |
| |
| /* |
| * Now fill in the message text. |
| * First create an int for the message code. Make sure you |
| * update MAX_CODE for error messages and MAX_WARNING for warnings |
| * Then fill in the message text for that message code in the |
| * array. Use the new error code as the index into the array. |
| */ |
| |
| // Error messages... |
| |
| /** Error message ID that has a null message, but takes in a single object. */ |
| public static final int ERROR0000 = 0; |
| |
| static |
| { |
| contents[ERROR0000][1] = "{0}"; |
| } |
| |
| /** ER_NO_CURLYBRACE */ |
| public static final int ER_NO_CURLYBRACE = 1; |
| |
| static |
| { |
| contents[ER_NO_CURLYBRACE][1] = |
| "\u932f\u8aa4\uff1a\u5728\u8868\u793a\u5f0f\u5167\u4e0d\u80fd\u6709 '{'"; |
| } |
| |
| /** ER_ILLEGAL_ATTRIBUTE */ |
| public static final int ER_ILLEGAL_ATTRIBUTE = 2; |
| |
| static |
| { |
| contents[ER_ILLEGAL_ATTRIBUTE][1] = "{0} \u542b\u6709\u4e0d\u6b63\u78ba\u5c6c\u6027\uff1a{1}"; |
| } |
| |
| /** ER_NULL_SOURCENODE_APPLYIMPORTS */ |
| public static final int ER_NULL_SOURCENODE_APPLYIMPORTS = 3; |
| |
| static |
| { |
| contents[ER_NULL_SOURCENODE_APPLYIMPORTS][1] = |
| "\u5728 xsl:apply-imports \u4e2d\u7684 sourceNode \u70ba\u7a7a\u503c\uff01"; |
| } |
| |
| /** ER_CANNOT_ADD */ |
| public static final int ER_CANNOT_ADD = 4; |
| |
| static |
| { |
| contents[ER_CANNOT_ADD][1] = "\u7121\u6cd5\u5c07 {0} \u65b0\u589e\u81f3 {1}"; |
| } |
| |
| /** ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES */ |
| public static final int ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES = 5; |
| |
| static |
| { |
| contents[ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES][1] = |
| "\u5728 handleApplyTemplatesInstruction \u4e2d\u7684 sourceNode \u70ba\u7a7a\u503c\uff01"; |
| } |
| |
| /** ER_NO_NAME_ATTRIB */ |
| public static final int ER_NO_NAME_ATTRIB = 6; |
| |
| static |
| { |
| contents[ER_NO_NAME_ATTRIB][1] = "{0} \u5fc5\u9808\u6709 name \u5c6c\u6027\u3002 "; |
| } |
| |
| /** ER_TEMPLATE_NOT_FOUND */ |
| public static final int ER_TEMPLATE_NOT_FOUND = 7; |
| |
| static |
| { |
| contents[ER_TEMPLATE_NOT_FOUND][1] = "\u627e\u4e0d\u5230\u540d\u7a31\u70ba {0} \u7684\u7bc4\u672c"; |
| } |
| |
| /** ER_CANT_RESOLVE_NAME_AVT */ |
| public static final int ER_CANT_RESOLVE_NAME_AVT = 8; |
| |
| static |
| { |
| contents[ER_CANT_RESOLVE_NAME_AVT][1] = |
| "\u7121\u6cd5\u89e3\u8b6f xsl:call-template \u4e2d\u7684\u540d\u7a31 AVT\u3002"; |
| } |
| |
| /** ER_REQUIRES_ATTRIB */ |
| public static final int ER_REQUIRES_ATTRIB = 9; |
| |
| static |
| { |
| contents[ER_REQUIRES_ATTRIB][1] = "{0} \u9700\u8981\u5c6c\u6027\uff1a{1}"; |
| } |
| |
| /** ER_MUST_HAVE_TEST_ATTRIB */ |
| public static final int ER_MUST_HAVE_TEST_ATTRIB = 10; |
| |
| static |
| { |
| contents[ER_MUST_HAVE_TEST_ATTRIB][1] = |
| "{0} \u5fc5\u9808\u6709 'test' \u5c6c\u6027\u3002"; |
| } |
| |
| /** ER_BAD_VAL_ON_LEVEL_ATTRIB */ |
| public static final int ER_BAD_VAL_ON_LEVEL_ATTRIB = 11; |
| |
| static |
| { |
| contents[ER_BAD_VAL_ON_LEVEL_ATTRIB][1] = |
| "level \u5c6c\u6027 {0} \u4e0a\u7684\u503c\u932f\u8aa4"; |
| } |
| |
| /** ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */ |
| public static final int ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 12; |
| |
| static |
| { |
| contents[ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML][1] = |
| "processing-instruction \u540d\u7a31\u4e0d\u5f97\u70ba 'xml'"; |
| } |
| |
| /** ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */ |
| public static final int ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 13; |
| |
| static |
| { |
| contents[ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME][1] = |
| "processing-instruction \u540d\u7a31\u5fc5\u9808\u662f\u6709\u6548\u7684 NCName\uff1a{0}"; |
| } |
| |
| /** ER_NEED_MATCH_ATTRIB */ |
| public static final int ER_NEED_MATCH_ATTRIB = 14; |
| |
| static |
| { |
| contents[ER_NEED_MATCH_ATTRIB][1] = |
| "\u5982\u679c {0} \u6709\u6a21\u5f0f\u7684\u8a71\uff0c\u5247\u5b83\u5fc5\u9808\u6709 match \u5c6c\u6027\u3002"; |
| } |
| |
| /** ER_NEED_NAME_OR_MATCH_ATTRIB */ |
| public static final int ER_NEED_NAME_OR_MATCH_ATTRIB = 15; |
| |
| static |
| { |
| contents[ER_NEED_NAME_OR_MATCH_ATTRIB][1] = |
| "{0} \u9700\u8981 name \u6216 match \u5c6c\u6027\u3002"; |
| } |
| |
| /** ER_CANT_RESOLVE_NSPREFIX */ |
| public static final int ER_CANT_RESOLVE_NSPREFIX = 16; |
| |
| static |
| { |
| contents[ER_CANT_RESOLVE_NSPREFIX][1] = |
| "\u7121\u6cd5\u89e3\u8b6f\u540d\u7a31\u7a7a\u9593\u524d\u7f6e\uff1a{0}"; |
| } |
| |
| /** ER_ILLEGAL_VALUE */ |
| public static final int ER_ILLEGAL_VALUE = 17; |
| |
| static |
| { |
| contents[ER_ILLEGAL_VALUE][1] = "xml:space \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{0}"; |
| } |
| |
| /** ER_NO_OWNERDOC */ |
| public static final int ER_NO_OWNERDOC = 18; |
| |
| static |
| { |
| contents[ER_NO_OWNERDOC][1] = |
| "\u5b50\u9805\u7bc0\u9ede\u6c92\u6709\u64c1\u6709\u8005\u6587\u4ef6\uff01"; |
| } |
| |
| /** ER_ELEMTEMPLATEELEM_ERR */ |
| public static final int ER_ELEMTEMPLATEELEM_ERR = 19; |
| |
| static |
| { |
| contents[ER_ELEMTEMPLATEELEM_ERR][1] = "ElemTemplateElement \u932f\u8aa4\uff1a{0}"; |
| } |
| |
| /** ER_NULL_CHILD */ |
| public static final int ER_NULL_CHILD = 20; |
| |
| static |
| { |
| contents[ER_NULL_CHILD][1] = "\u5617\u8a66\u65b0\u589e\u7a7a\u7684\u5b50\u9805\uff01"; |
| } |
| |
| /** ER_NEED_SELECT_ATTRIB */ |
| public static final int ER_NEED_SELECT_ATTRIB = 21; |
| |
| static |
| { |
| contents[ER_NEED_SELECT_ATTRIB][1] = "{0} \u9700\u8981 select \u5c6c\u6027\u3002"; |
| } |
| |
| /** ER_NEED_TEST_ATTRIB */ |
| public static final int ER_NEED_TEST_ATTRIB = 22; |
| |
| static |
| { |
| contents[ER_NEED_TEST_ATTRIB][1] = |
| "xsl:when \u5fc5\u9808\u6709 'test' \u5c6c\u6027\u3002"; |
| } |
| |
| /** ER_NEED_NAME_ATTRIB */ |
| public static final int ER_NEED_NAME_ATTRIB = 23; |
| |
| static |
| { |
| contents[ER_NEED_NAME_ATTRIB][1] = |
| "xsl:with-param \u5fc5\u9808\u6709 'name' \u5c6c\u6027\u3002"; |
| } |
| |
| /** ER_NO_CONTEXT_OWNERDOC */ |
| public static final int ER_NO_CONTEXT_OWNERDOC = 24; |
| |
| static |
| { |
| contents[ER_NO_CONTEXT_OWNERDOC][1] = |
| "\u4e0a\u4e0b\u6587\u4e0d\u542b\u64c1\u6709\u8005\u6587\u4ef6\uff01"; |
| } |
| |
| /** ER_COULD_NOT_CREATE_XML_PROC_LIAISON */ |
| public static final int ER_COULD_NOT_CREATE_XML_PROC_LIAISON = 25; |
| |
| static |
| { |
| contents[ER_COULD_NOT_CREATE_XML_PROC_LIAISON][1] = |
| "\u7121\u6cd5\u5efa\u7acb XML TransformerFactory Liaison\uff1a{0}"; |
| } |
| |
| /** ER_PROCESS_NOT_SUCCESSFUL */ |
| public static final int ER_PROCESS_NOT_SUCCESSFUL = 26; |
| |
| static |
| { |
| contents[ER_PROCESS_NOT_SUCCESSFUL][1] = |
| "Xalan: \u8655\u7406\u4e0d\u6210\u529f\u3002"; |
| } |
| |
| /** ER_NOT_SUCCESSFUL */ |
| public static final int ER_NOT_SUCCESSFUL = 27; |
| |
| static |
| { |
| contents[ER_NOT_SUCCESSFUL][1] = "Xalan: \u4e0d\u6210\u529f\u3002"; |
| } |
| |
| /** ER_ENCODING_NOT_SUPPORTED */ |
| public static final int ER_ENCODING_NOT_SUPPORTED = 28; |
| |
| static |
| { |
| contents[ER_ENCODING_NOT_SUPPORTED][1] = "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}"; |
| } |
| |
| /** ER_COULD_NOT_CREATE_TRACELISTENER */ |
| public static final int ER_COULD_NOT_CREATE_TRACELISTENER = 29; |
| |
| static |
| { |
| contents[ER_COULD_NOT_CREATE_TRACELISTENER][1] = |
| "\u7121\u6cd5\u5efa\u7acb TraceListener\uff1a{0}"; |
| } |
| |
| /** ER_KEY_REQUIRES_NAME_ATTRIB */ |
| public static final int ER_KEY_REQUIRES_NAME_ATTRIB = 30; |
| |
| static |
| { |
| contents[ER_KEY_REQUIRES_NAME_ATTRIB][1] = |
| "xsl:key \u9700\u8981 'name' \u5c6c\u6027\uff01"; |
| } |
| |
| /** ER_KEY_REQUIRES_MATCH_ATTRIB */ |
| public static final int ER_KEY_REQUIRES_MATCH_ATTRIB = 31; |
| |
| static |
| { |
| contents[ER_KEY_REQUIRES_MATCH_ATTRIB][1] = |
| "xsl:key \u9700\u8981 'match' \u5c6c\u6027\uff01"; |
| } |
| |
| /** ER_KEY_REQUIRES_USE_ATTRIB */ |
| public static final int ER_KEY_REQUIRES_USE_ATTRIB = 32; |
| |
| static |
| { |
| contents[ER_KEY_REQUIRES_USE_ATTRIB][1] = |
| "xsl:key \u9700\u8981 'use' \u5c6c\u6027\uff01"; |
| } |
| |
| /** ER_REQUIRES_ELEMENTS_ATTRIB */ |
| public static final int ER_REQUIRES_ELEMENTS_ATTRIB = 33; |
| |
| static |
| { |
| contents[ER_REQUIRES_ELEMENTS_ATTRIB][1] = |
| "(StylesheetHandler) {0} \u9700\u8981 'elements' \u5c6c\u6027\uff01"; |
| } |
| |
| /** ER_MISSING_PREFIX_ATTRIB */ |
| public static final int ER_MISSING_PREFIX_ATTRIB = 34; |
| |
| static |
| { |
| contents[ER_MISSING_PREFIX_ATTRIB][1] = |
| "(StylesheetHandler) {0} \u5c6c\u6027 'prefix' \u907a\u6f0f"; |
| } |
| |
| /** ER_BAD_STYLESHEET_URL */ |
| public static final int ER_BAD_STYLESHEET_URL = 35; |
| |
| static |
| { |
| contents[ER_BAD_STYLESHEET_URL][1] = "\u6a23\u5f0f\u8868 URL \u932f\u8aa4\uff1a{0}"; |
| } |
| |
| /** ER_FILE_NOT_FOUND */ |
| public static final int ER_FILE_NOT_FOUND = 36; |
| |
| static |
| { |
| contents[ER_FILE_NOT_FOUND][1] = "\u627e\u4e0d\u5230\u6a23\u5f0f\u8868\u6a94\u6848\uff1a{0}"; |
| } |
| |
| /** ER_IOEXCEPTION */ |
| public static final int ER_IOEXCEPTION = 37; |
| |
| static |
| { |
| contents[ER_IOEXCEPTION][1] = |
| "\u6a23\u5f0f\u8868\u6a94\u6848 {0} \u6709\u8f38\u5165/\u8f38\u51fa (I/O) \u7570\u5e38"; |
| } |
| |
| /** ER_NO_HREF_ATTRIB */ |
| public static final int ER_NO_HREF_ATTRIB = 38; |
| |
| static |
| { |
| contents[ER_NO_HREF_ATTRIB][1] = |
| "(StylesheetHandler) \u627e\u4e0d\u5230 {0} \u7684 href \u5c6c\u6027"; |
| } |
| |
| /** ER_STYLESHEET_INCLUDES_ITSELF */ |
| public static final int ER_STYLESHEET_INCLUDES_ITSELF = 39; |
| |
| static |
| { |
| contents[ER_STYLESHEET_INCLUDES_ITSELF][1] = |
| "(StylesheetHandler) {0} \u76f4\u63a5\u6216\u9593\u63a5\u5305\u542b\u672c\u8eab\uff01"; |
| } |
| |
| /** ER_PROCESSINCLUDE_ERROR */ |
| public static final int ER_PROCESSINCLUDE_ERROR = 40; |
| |
| static |
| { |
| contents[ER_PROCESSINCLUDE_ERROR][1] = |
| "StylesheetHandler.processInclude \u932f\u8aa4\uff1a{0}"; |
| } |
| |
| /** ER_MISSING_LANG_ATTRIB */ |
| public static final int ER_MISSING_LANG_ATTRIB = 41; |
| |
| static |
| { |
| contents[ER_MISSING_LANG_ATTRIB][1] = |
| "(StylesheetHandler) {0} \u5c6c\u6027 'lang' \u907a\u6f0f"; |
| } |
| |
| /** ER_MISSING_CONTAINER_ELEMENT_COMPONENT */ |
| public static final int ER_MISSING_CONTAINER_ELEMENT_COMPONENT = 42; |
| |
| static |
| { |
| contents[ER_MISSING_CONTAINER_ELEMENT_COMPONENT][1] = |
| "(StylesheetHandler) \u8aa4\u7f6e {0} \u5143\u7d20\uff1f\uff1f \u907a\u6f0f container \u5143\u7d20 'component'"; |
| } |
| |
| /** ER_CAN_ONLY_OUTPUT_TO_ELEMENT */ |
| public static final int ER_CAN_ONLY_OUTPUT_TO_ELEMENT = 43; |
| |
| static |
| { |
| contents[ER_CAN_ONLY_OUTPUT_TO_ELEMENT][1] = |
| "\u53ea\u80fd\u8f38\u51fa\u81f3 Element\u3001DocumentFragment\u3001Document \u6216 PrintWriter\u3002"; |
| } |
| |
| /** ER_PROCESS_ERROR */ |
| public static final int ER_PROCESS_ERROR = 44; |
| |
| static |
| { |
| contents[ER_PROCESS_ERROR][1] = "StylesheetRoot.process \u932f\u8aa4"; |
| } |
| |
| /** ER_UNIMPLNODE_ERROR */ |
| public static final int ER_UNIMPLNODE_ERROR = 45; |
| |
| static |
| { |
| contents[ER_UNIMPLNODE_ERROR][1] = "UnImplNode \u932f\u8aa4\uff1a{0}"; |
| } |
| |
| /** ER_NO_SELECT_EXPRESSION */ |
| public static final int ER_NO_SELECT_EXPRESSION = 46; |
| |
| static |
| { |
| contents[ER_NO_SELECT_EXPRESSION][1] = |
| "\u932f\u8aa4\uff01\u672a\u627e\u5230 xpath select \u8868\u793a\u5f0f (-select)\u3002"; |
| } |
| |
| /** ER_CANNOT_SERIALIZE_XSLPROCESSOR */ |
| public static final int ER_CANNOT_SERIALIZE_XSLPROCESSOR = 47; |
| |
| static |
| { |
| contents[ER_CANNOT_SERIALIZE_XSLPROCESSOR][1] = |
| "\u7121\u6cd5\u4e32\u5217\u5316 XSLProcessor\uff01"; |
| } |
| |
| /** ER_NO_INPUT_STYLESHEET */ |
| public static final int ER_NO_INPUT_STYLESHEET = 48; |
| |
| static |
| { |
| contents[ER_NO_INPUT_STYLESHEET][1] = |
| "\u672a\u6307\u5b9a\u6a23\u5f0f\u8868\u8f38\u5165\uff01"; |
| } |
| |
| /** ER_FAILED_PROCESS_STYLESHEET */ |
| public static final int ER_FAILED_PROCESS_STYLESHEET = 49; |
| |
| static |
| { |
| contents[ER_FAILED_PROCESS_STYLESHEET][1] = |
| "\u7121\u6cd5\u8655\u7406\u6a23\u5f0f\u8868\uff01"; |
| } |
| |
| /** ER_COULDNT_PARSE_DOC */ |
| public static final int ER_COULDNT_PARSE_DOC = 50; |
| |
| static |
| { |
| contents[ER_COULDNT_PARSE_DOC][1] = "\u7121\u6cd5\u5256\u6790 {0} \u6587\u4ef6\uff01"; |
| } |
| |
| /** ER_COULDNT_FIND_FRAGMENT */ |
| public static final int ER_COULDNT_FIND_FRAGMENT = 51; |
| |
| static |
| { |
| contents[ER_COULDNT_FIND_FRAGMENT][1] = "\u627e\u4e0d\u5230\u7247\u6bb5\uff1a{0}"; |
| } |
| |
| /** ER_NODE_NOT_ELEMENT */ |
| public static final int ER_NODE_NOT_ELEMENT = 52; |
| |
| static |
| { |
| contents[ER_NODE_NOT_ELEMENT][1] = |
| "\u7247\u6bb5\u8b58\u5225\u78bc\u6240\u6307\u7684\u7bc0\u9ede\u4e0d\u662f\u5143\u7d20\uff1a{0}"; |
| } |
| |
| /** ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB */ |
| public static final int ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB = 53; |
| |
| static |
| { |
| contents[ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB][1] = |
| "for-each \u5fc5\u9808\u6709 match \u6216 name \u5c6c\u6027"; |
| } |
| |
| /** ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB */ |
| public static final int ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB = 54; |
| |
| static |
| { |
| contents[ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB][1] = |
| "templates \u5fc5\u9808\u6709 match \u6216 name \u5c6c\u6027"; |
| } |
| |
| /** ER_NO_CLONE_OF_DOCUMENT_FRAG */ |
| public static final int ER_NO_CLONE_OF_DOCUMENT_FRAG = 55; |
| |
| static |
| { |
| contents[ER_NO_CLONE_OF_DOCUMENT_FRAG][1] = |
| "\u6587\u4ef6\u7247\u6bb5\u6c92\u6709\u8907\u672c\uff01"; |
| } |
| |
| /** ER_CANT_CREATE_ITEM */ |
| public static final int ER_CANT_CREATE_ITEM = 56; |
| |
| static |
| { |
| contents[ER_CANT_CREATE_ITEM][1] = |
| "\u7121\u6cd5\u5728\u7d50\u679c\u6a39 {0} \u5efa\u7acb\u9805\u76ee"; |
| } |
| |
| /** ER_XMLSPACE_ILLEGAL_VALUE */ |
| public static final int ER_XMLSPACE_ILLEGAL_VALUE = 57; |
| |
| static |
| { |
| contents[ER_XMLSPACE_ILLEGAL_VALUE][1] = |
| "\u4f86\u6e90 XML \u4e2d\u7684 xml:space \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{0}"; |
| } |
| |
| /** ER_NO_XSLKEY_DECLARATION */ |
| public static final int ER_NO_XSLKEY_DECLARATION = 58; |
| |
| static |
| { |
| contents[ER_NO_XSLKEY_DECLARATION][1] = |
| "{0} \u6c92\u6709 xsl:key \u5ba3\u544a\uff01"; |
| } |
| |
| /** ER_CANT_CREATE_URL */ |
| public static final int ER_CANT_CREATE_URL = 59; |
| |
| static |
| { |
| contents[ER_CANT_CREATE_URL][1] = "\u932f\u8aa4\uff01\u7121\u6cd5\u5efa\u7acb URL \u7d66\uff1a{0}"; |
| } |
| |
| /** ER_XSLFUNCTIONS_UNSUPPORTED */ |
| public static final int ER_XSLFUNCTIONS_UNSUPPORTED = 60; |
| |
| static |
| { |
| contents[ER_XSLFUNCTIONS_UNSUPPORTED][1] = "\u4e0d\u652f\u63f4 xsl:functions"; |
| } |
| |
| /** ER_PROCESSOR_ERROR */ |
| public static final int ER_PROCESSOR_ERROR = 61; |
| |
| static |
| { |
| contents[ER_PROCESSOR_ERROR][1] = "XSLT TransformerFactory \u932f\u8aa4"; |
| } |
| |
| /** ER_NOT_ALLOWED_INSIDE_STYLESHEET */ |
| public static final int ER_NOT_ALLOWED_INSIDE_STYLESHEET = 62; |
| |
| static |
| { |
| contents[ER_NOT_ALLOWED_INSIDE_STYLESHEET][1] = |
| "(StylesheetHandler) {0} \u4e0d\u5141\u8a31\u5728\u6a23\u5f0f\u8868\u5167\uff01"; |
| } |
| |
| /** ER_RESULTNS_NOT_SUPPORTED */ |
| public static final int ER_RESULTNS_NOT_SUPPORTED = 63; |
| |
| static |
| { |
| contents[ER_RESULTNS_NOT_SUPPORTED][1] = |
| "\u4e0d\u518d\u652f\u63f4 result-ns\uff01\u8acb\u4f7f\u7528 xsl:output \u4f86\u4ee3\u66ff\u3002"; |
| } |
| |
| /** ER_DEFAULTSPACE_NOT_SUPPORTED */ |
| public static final int ER_DEFAULTSPACE_NOT_SUPPORTED = 64; |
| |
| static |
| { |
| contents[ER_DEFAULTSPACE_NOT_SUPPORTED][1] = |
| "\u4e0d\u518d\u652f\u63f4 default-space\uff01\u8acb\u4f7f\u7528 xsl:strip-space \u6216 xsl:preserve-space \u4f86\u4ee3\u66ff\u3002"; |
| } |
| |
| /** ER_INDENTRESULT_NOT_SUPPORTED */ |
| public static final int ER_INDENTRESULT_NOT_SUPPORTED = 65; |
| |
| static |
| { |
| contents[ER_INDENTRESULT_NOT_SUPPORTED][1] = |
| "\u4e0d\u518d\u652f\u63f4 indent-result\uff01\u8acb\u4f7f\u7528 xsl:output \u4f86\u4ee3\u66ff\u3002"; |
| } |
| |
| /** ER_ILLEGAL_ATTRIB */ |
| public static final int ER_ILLEGAL_ATTRIB = 66; |
| |
| static |
| { |
| contents[ER_ILLEGAL_ATTRIB][1] = |
| "(StylesheetHandler) {0} \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u5c6c\u6027\uff1a{1}"; |
| } |
| |
| /** ER_UNKNOWN_XSL_ELEM */ |
| public static final int ER_UNKNOWN_XSL_ELEM = 67; |
| |
| static |
| { |
| contents[ER_UNKNOWN_XSL_ELEM][1] = "\u672a\u77e5 XSL \u5143\u7d20\uff1a{0}"; |
| } |
| |
| /** ER_BAD_XSLSORT_USE */ |
| public static final int ER_BAD_XSLSORT_USE = 68; |
| |
| static |
| { |
| contents[ER_BAD_XSLSORT_USE][1] = |
| "(StylesheetHandler) xsl:sort \u53ea\u80fd\u8207 xsl:apply-templates \u6216 xsl:for-each \u4e00\u8d77\u4f7f\u7528\u3002"; |
| } |
| |
| /** ER_MISPLACED_XSLWHEN */ |
| public static final int ER_MISPLACED_XSLWHEN = 69; |
| |
| static |
| { |
| contents[ER_MISPLACED_XSLWHEN][1] = |
| "(StylesheetHandler) \u8aa4\u7f6e xsl:when\uff01"; |
| } |
| |
| /** ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE */ |
| public static final int ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE = 70; |
| |
| static |
| { |
| contents[ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE][1] = |
| "(StylesheetHandler) xsl:when \u7684\u4e0a\u4ee3\u4e0d\u662f xsl:choose\uff01"; |
| } |
| |
| /** ER_MISPLACED_XSLOTHERWISE */ |
| public static final int ER_MISPLACED_XSLOTHERWISE = 71; |
| |
| static |
| { |
| contents[ER_MISPLACED_XSLOTHERWISE][1] = |
| "(StylesheetHandler) \u8aa4\u7f6e xsl:otherwise\uff01"; |
| } |
| |
| /** ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE */ |
| public static final int ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE = 72; |
| |
| static |
| { |
| contents[ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE][1] = |
| "(StylesheetHandler) xsl:otherwise \u7684\u4e0a\u4ee3\u4e0d\u662f xsl:choose\uff01"; |
| } |
| |
| /** ER_NOT_ALLOWED_INSIDE_TEMPLATE */ |
| public static final int ER_NOT_ALLOWED_INSIDE_TEMPLATE = 73; |
| |
| static |
| { |
| contents[ER_NOT_ALLOWED_INSIDE_TEMPLATE][1] = |
| "(StylesheetHandler) {0} \u4e0d\u5141\u8a31\u5728\u7bc4\u672c\u5167\uff01"; |
| } |
| |
| /** ER_UNKNOWN_EXT_NS_PREFIX */ |
| public static final int ER_UNKNOWN_EXT_NS_PREFIX = 74; |
| |
| static |
| { |
| contents[ER_UNKNOWN_EXT_NS_PREFIX][1] = |
| "(StylesheetHandler) {0} \u5ef6\u4f38\u7a0b\u5f0f\u540d\u7a31\u7a7a\u9593\u524d\u7f6e {1} \u672a\u77e5"; |
| } |
| |
| /** ER_IMPORTS_AS_FIRST_ELEM */ |
| public static final int ER_IMPORTS_AS_FIRST_ELEM = 75; |
| |
| static |
| { |
| contents[ER_IMPORTS_AS_FIRST_ELEM][1] = |
| "(StylesheetHandler) Imports \u53ea\u80fd\u51fa\u73fe\u65bc\u6a23\u5f0f\u8868\u4e2d\u4f5c\u70ba\u7b2c\u4e00\u500b\u5143\u7d20\uff01"; |
| } |
| |
| /** ER_IMPORTING_ITSELF */ |
| public static final int ER_IMPORTING_ITSELF = 76; |
| |
| static |
| { |
| contents[ER_IMPORTING_ITSELF][1] = |
| "(StylesheetHandler) {0} \u76f4\u63a5\u6216\u9593\u63a5\u532f\u5165\u672c\u8eab\uff01"; |
| } |
| |
| /** ER_XMLSPACE_ILLEGAL_VAL */ |
| public static final int ER_XMLSPACE_ILLEGAL_VAL = 77; |
| |
| static |
| { |
| contents[ER_XMLSPACE_ILLEGAL_VAL][1] = |
| "(StylesheetHandler) " + "xml:space \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{0}"; |
| } |
| |
| /** ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL */ |
| public static final int ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL = 78; |
| |
| static |
| { |
| contents[ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL][1] = |
| "processStylesheet \u4e0d\u6210\u529f\uff01"; |
| } |
| |
| /** ER_SAX_EXCEPTION */ |
| public static final int ER_SAX_EXCEPTION = 79; |
| |
| static |
| { |
| contents[ER_SAX_EXCEPTION][1] = "SAX \u7570\u5e38"; |
| } |
| |
| /** ER_FUNCTION_NOT_SUPPORTED */ |
| public static final int ER_FUNCTION_NOT_SUPPORTED = 80; |
| |
| static |
| { |
| contents[ER_FUNCTION_NOT_SUPPORTED][1] = "\u4e0d\u652f\u63f4\u51fd\u5f0f\uff01"; |
| } |
| |
| /** ER_XSLT_ERROR */ |
| public static final int ER_XSLT_ERROR = 81; |
| |
| static |
| { |
| contents[ER_XSLT_ERROR][1] = "XSLT \u932f\u8aa4"; |
| } |
| |
| /** ER_CURRENCY_SIGN_ILLEGAL */ |
| public static final int ER_CURRENCY_SIGN_ILLEGAL = 82; |
| |
| static |
| { |
| contents[ER_CURRENCY_SIGN_ILLEGAL][1] = |
| "\u8ca8\u5e63\u7b26\u865f\u4e0d\u5141\u8a31\u5728\u683c\u5f0f\u578b\u6a23\u5b57\u4e32\u4e2d"; |
| } |
| |
| /** ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM */ |
| public static final int ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM = 83; |
| |
| static |
| { |
| contents[ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM][1] = |
| "\u6a23\u5f0f\u8868 DOM \u4e0d\u652f\u63f4\u6587\u4ef6\u51fd\u5f0f\uff01"; |
| } |
| |
| /** ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER */ |
| public static final int ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER = 84; |
| |
| static |
| { |
| contents[ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER][1] = |
| "\u7121\u6cd5\u89e3\u8b6f\u975e\u524d\u7f6e\u89e3\u6790\u5668\u7684\u524d\u7f6e\uff01"; |
| } |
| |
| /** ER_REDIRECT_COULDNT_GET_FILENAME */ |
| public static final int ER_REDIRECT_COULDNT_GET_FILENAME = 85; |
| |
| static |
| { |
| contents[ER_REDIRECT_COULDNT_GET_FILENAME][1] = |
| "\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"; |
| } |
| |
| /** ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT */ |
| public static final int ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT = 86; |
| |
| static |
| { |
| contents[ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT][1] = |
| "\u7121\u6cd5\u5728\u91cd\u65b0\u5c0e\u5411\u5ef6\u4f38\u7a0b\u5f0f\u4e2d\u5efa\u7acb FormatterListener\uff01"; |
| } |
| |
| /** ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX */ |
| public static final int ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX = 87; |
| |
| static |
| { |
| contents[ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX][1] = |
| "exclude-result-prefixes \u4e2d\u7684\u524d\u7f6e\u7121\u6548\uff1a{0}"; |
| } |
| |
| /** ER_MISSING_NS_URI */ |
| public static final int ER_MISSING_NS_URI = 88; |
| |
| static |
| { |
| contents[ER_MISSING_NS_URI][1] = |
| "\u907a\u6f0f\u6307\u5b9a\u7684\u524d\u7f6e\u7684\u540d\u7a31\u7a7a\u9593 URI"; |
| } |
| |
| /** ER_MISSING_ARG_FOR_OPTION */ |
| public static final int ER_MISSING_ARG_FOR_OPTION = 89; |
| |
| static |
| { |
| contents[ER_MISSING_ARG_FOR_OPTION][1] = |
| "\u907a\u6f0f\u9078\u9805\uff1a{0} \u7684\u5f15\u6578"; |
| } |
| |
| /** ER_INVALID_OPTION */ |
| public static final int ER_INVALID_OPTION = 90; |
| |
| static |
| { |
| contents[ER_INVALID_OPTION][1] = "\u7121\u6548\u7684\u9078\u9805\uff1a{0}"; |
| } |
| |
| /** ER_MALFORMED_FORMAT_STRING */ |
| public static final int ER_MALFORMED_FORMAT_STRING = 91; |
| |
| static |
| { |
| contents[ER_MALFORMED_FORMAT_STRING][1] = "\u8b8a\u5f62\u7684\u683c\u5f0f\u5b57\u4e32\uff1a{0}"; |
| } |
| |
| /** ER_STYLESHEET_REQUIRES_VERSION_ATTRIB */ |
| public static final int ER_STYLESHEET_REQUIRES_VERSION_ATTRIB = 92; |
| |
| static |
| { |
| contents[ER_STYLESHEET_REQUIRES_VERSION_ATTRIB][1] = |
| "xsl:stylesheet \u9700\u8981 'version' \u5c6c\u6027\uff01"; |
| } |
| |
| /** ER_ILLEGAL_ATTRIBUTE_VALUE */ |
| public static final int ER_ILLEGAL_ATTRIBUTE_VALUE = 93; |
| |
| static |
| { |
| contents[ER_ILLEGAL_ATTRIBUTE_VALUE][1] = |
| "\u5c6c\u6027\uff1a{0} \u542b\u6709\u4e0d\u6b63\u78ba\u503c\uff1a{1}"; |
| } |
| |
| /** ER_CHOOSE_REQUIRES_WHEN */ |
| public static final int ER_CHOOSE_REQUIRES_WHEN = 94; |
| |
| static |
| { |
| contents[ER_CHOOSE_REQUIRES_WHEN][1] = "xsl:choose \u9700\u8981 xsl:when"; |
| } |
| |
| /** ER_NO_APPLY_IMPORT_IN_FOR_EACH */ |
| public static final int ER_NO_APPLY_IMPORT_IN_FOR_EACH = 95; |
| |
| static |
| { |
| contents[ER_NO_APPLY_IMPORT_IN_FOR_EACH][1] = |
| "xsl:apply-imports \u4e0d\u5141\u8a31\u5728 xsl:for-each \u4e2d"; |
| } |
| |
| /** ER_CANT_USE_DTM_FOR_OUTPUT */ |
| public static final int ER_CANT_USE_DTM_FOR_OUTPUT = 96; |
| |
| static |
| { |
| contents[ER_CANT_USE_DTM_FOR_OUTPUT][1] = |
| "\u7121\u6cd5\u5c0d\u8f38\u51fa DOM \u7bc0\u9ede\u4f7f\u7528 DTMLiaison... \u6539\u70ba\u50b3\u9001 org.apache.xpath.DOM2Helper\uff01"; |
| } |
| |
| /** ER_CANT_USE_DTM_FOR_INPUT */ |
| public static final int ER_CANT_USE_DTM_FOR_INPUT = 97; |
| |
| static |
| { |
| contents[ER_CANT_USE_DTM_FOR_INPUT][1] = |
| "\u7121\u6cd5\u5c0d\u8f38\u5165 DOM \u7bc0\u9ede\u4f7f\u7528 DTMLiaison... \u6539\u70ba\u50b3\u9001 org.apache.xpath.DOM2Helper\uff01"; |
| } |
| |
| /** ER_CALL_TO_EXT_FAILED */ |
| public static final int ER_CALL_TO_EXT_FAILED = 98; |
| |
| static |
| { |
| contents[ER_CALL_TO_EXT_FAILED][1] = |
| "\u547c\u53eb\u5ef6\u4f38\u7a0b\u5f0f\u5143\u7d20\u5931\u6557\uff1a{0}"; |
| } |
| |
| /** ER_PREFIX_MUST_RESOLVE */ |
| public static final int ER_PREFIX_MUST_RESOLVE = 99; |
| |
| static |
| { |
| contents[ER_PREFIX_MUST_RESOLVE][1] = |
| "\u524d\u7f6e\u5fc5\u9808\u89e3\u8b6f\u70ba\u540d\u7a31\u7a7a\u9593\uff1a{0}"; |
| } |
| |
| /** ER_INVALID_UTF16_SURROGATE */ |
| public static final int ER_INVALID_UTF16_SURROGATE = 100; |
| |
| static |
| { |
| contents[ER_INVALID_UTF16_SURROGATE][1] = |
| "\u5075\u6e2c\u5230\u7121\u6548\u7684 UTF-16 \u4ee3\u7528\u54c1\uff1a{0} ?"; |
| } |
| |
| /** ER_XSLATTRSET_USED_ITSELF */ |
| public static final int ER_XSLATTRSET_USED_ITSELF = 101; |
| |
| static |
| { |
| contents[ER_XSLATTRSET_USED_ITSELF][1] = |
| "xsl:attribute-set {0} \u4f7f\u7528\u672c\u8eab\uff0c\u9019\u5c07\u9020\u6210\u7121\u7aae\u8ff4\u5708\u3002"; |
| } |
| |
| /** ER_CANNOT_MIX_XERCESDOM */ |
| public static final int ER_CANNOT_MIX_XERCESDOM = 102; |
| |
| static |
| { |
| contents[ER_CANNOT_MIX_XERCESDOM][1] = |
| "\u7121\u6cd5\u6df7\u5408\u975e Xerces-DOM \u8f38\u5165\u8207 Xerces-DOM \u8f38\u51fa\uff01"; |
| } |
| |
| /** ER_TOO_MANY_LISTENERS */ |
| public static final int ER_TOO_MANY_LISTENERS = 103; |
| |
| static |
| { |
| contents[ER_TOO_MANY_LISTENERS][1] = |
| "addTraceListenersToStylesheet - TooManyListenersException"; |
| } |
| |
| /** ER_IN_ELEMTEMPLATEELEM_READOBJECT */ |
| public static final int ER_IN_ELEMTEMPLATEELEM_READOBJECT = 104; |
| |
| static |
| { |
| contents[ER_IN_ELEMTEMPLATEELEM_READOBJECT][1] = |
| "\u5728 ElemTemplateElement.readObject\uff1a{0}"; |
| } |
| |
| /** ER_DUPLICATE_NAMED_TEMPLATE */ |
| public static final int ER_DUPLICATE_NAMED_TEMPLATE = 105; |
| |
| static |
| { |
| contents[ER_DUPLICATE_NAMED_TEMPLATE][1] = |
| "\u627e\u5230\u4e00\u500b\u4ee5\u4e0a\u53eb\u4f5c {0} \u7684\u7bc4\u672c"; |
| } |
| |
| /** ER_INVALID_KEY_CALL */ |
| public static final int ER_INVALID_KEY_CALL = 106; |
| |
| static |
| { |
| contents[ER_INVALID_KEY_CALL][1] = |
| "\u7121\u6548\u7684\u51fd\u5f0f\u547c\u53eb\uff1arecursive key() \u547c\u53eb\u4e0d\u88ab\u5141\u8a31"; |
| } |
| |
| /** Variable is referencing itself */ |
| public static final int ER_REFERENCING_ITSELF = 107; |
| |
| static |
| { |
| contents[ER_REFERENCING_ITSELF][1] = |
| "\u8b8a\u6578 {0} \u76f4\u63a5\u6216\u9593\u63a5\u53c3\u7167\u672c\u8eab\uff01"; |
| } |
| |
| /** Illegal DOMSource input */ |
| public static final int ER_ILLEGAL_DOMSOURCE_INPUT = 108; |
| |
| static |
| { |
| contents[ER_ILLEGAL_DOMSOURCE_INPUT][1] = |
| "\u5c0d newTemplates \u7684 DOMSource \u800c\u8a00\uff0c\u8f38\u5165\u7bc0\u9ede\u4e0d\u5f97\u70ba\u7a7a\u503c\uff01"; |
| } |
| |
| /** Class not found for option */ |
| public static final int ER_CLASS_NOT_FOUND_FOR_OPTION = 109; |
| |
| static |
| { |
| contents[ER_CLASS_NOT_FOUND_FOR_OPTION][1] = |
| "\u627e\u4e0d\u5230\u9078\u9805 {0} \u7684\u985e\u5225\u6a94\u6848"; |
| } |
| |
| /** Required Element not found */ |
| public static final int ER_REQUIRED_ELEM_NOT_FOUND = 110; |
| |
| static |
| { |
| contents[ER_REQUIRED_ELEM_NOT_FOUND][1] = |
| "\u627e\u4e0d\u5230\u5fc5\u9700\u7684\u5143\u7d20\uff1a{0}"; |
| } |
| |
| /** InputStream cannot be null */ |
| public static final int ER_INPUT_CANNOT_BE_NULL = 111; |
| |
| static |
| { |
| contents[ER_INPUT_CANNOT_BE_NULL][1] = |
| "InputStream \u4e0d\u5f97\u70ba\u7a7a\u503c"; |
| } |
| |
| /** URI cannot be null */ |
| public static final int ER_URI_CANNOT_BE_NULL = 112; |
| |
| static |
| { |
| contents[ER_URI_CANNOT_BE_NULL][1] = |
| "URI \u4e0d\u5f97\u70ba\u7a7a\u503c"; |
| } |
| |
| /** File cannot be null */ |
| public static final int ER_FILE_CANNOT_BE_NULL = 113; |
| |
| static |
| { |
| contents[ER_FILE_CANNOT_BE_NULL][1] = |
| "\u6a94\u6848\u4e0d\u53ef\u70ba\u7a7a\u503c"; |
| } |
| |
| /** InputSource cannot be null */ |
| public static final int ER_SOURCE_CANNOT_BE_NULL = 114; |
| |
| static |
| { |
| contents[ER_SOURCE_CANNOT_BE_NULL][1] = |
| "InputSource \u4e0d\u53ef\u70ba\u7a7a\u503c"; |
| } |
| |
| /** Can't overwrite cause */ |
| public static final int ER_CANNOT_OVERWRITE_CAUSE = 115; |
| |
| static |
| { |
| contents[ER_CANNOT_OVERWRITE_CAUSE][1] = |
| "\u7121\u6cd5\u6539\u5beb\u539f\u56e0"; |
| } |
| |
| /** Could not initialize BSF Manager */ |
| public static final int ER_CANNOT_INIT_BSFMGR = 116; |
| |
| static |
| { |
| contents[ER_CANNOT_INIT_BSFMGR][1] = |
| "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a BSF Manager"; |
| } |
| |
| /** Could not compile extension */ |
| public static final int ER_CANNOT_CMPL_EXTENSN = 117; |
| |
| static |
| { |
| contents[ER_CANNOT_CMPL_EXTENSN][1] = |
| "\u7121\u6cd5\u7de8\u8b6f\u5ef6\u4f38\u7a0b\u5f0f"; |
| } |
| |
| /** Could not create extension */ |
| public static final int ER_CANNOT_CREATE_EXTENSN = 118; |
| |
| static |
| { |
| contents[ER_CANNOT_CREATE_EXTENSN][1] = |
| "\u7121\u6cd5\u5efa\u7acb\u5ef6\u4f38\u7a0b\u5f0f {0}\uff0c\u56e0\u70ba\uff1a{1}"; |
| } |
| |
| /** Instance method call to method {0} requires an Object instance as first argument */ |
| public static final int ER_INSTANCE_MTHD_CALL_REQUIRES = 119; |
| |
| static |
| { |
| contents[ER_INSTANCE_MTHD_CALL_REQUIRES][1] = |
| "\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"; |
| } |
| |
| /** Invalid element name specified */ |
| public static final int ER_INVALID_ELEMENT_NAME = 120; |
| |
| static |
| { |
| contents[ER_INVALID_ELEMENT_NAME][1] = |
| "\u6307\u5b9a\u7684\u5143\u7d20\u540d\u7a31\u7121\u6548 {0}"; |
| } |
| |
| /** Element name method must be static */ |
| public static final int ER_ELEMENT_NAME_METHOD_STATIC = 121; |
| |
| static |
| { |
| contents[ER_ELEMENT_NAME_METHOD_STATIC][1] = |
| "\u5143\u7d20\u540d\u7a31\u65b9\u6cd5\u5fc5\u9808\u70ba\u975c\u614b {0}"; |
| } |
| |
| /** Extension function {0} : {1} is unknown */ |
| public static final int ER_EXTENSION_FUNC_UNKNOWN = 122; |
| |
| static |
| { |
| contents[ER_EXTENSION_FUNC_UNKNOWN][1] = |
| "\u5ef6\u4f38\u7a0b\u5f0f\u51fd\u5f0f {0} : {1} \u672a\u77e5"; |
| } |
| |
| /** More than one best match for constructor for */ |
| public static final int ER_MORE_MATCH_CONSTRUCTOR = 123; |
| |
| static |
| { |
| contents[ER_MORE_MATCH_CONSTRUCTOR][1] = |
| "{0} \u7684\u6700\u7b26\u5408\u5efa\u69cb\u5143\u4e0d\u6b62\u4e00\u500b"; |
| } |
| |
| /** More than one best match for method */ |
| public static final int ER_MORE_MATCH_METHOD = 124; |
| |
| static |
| { |
| contents[ER_MORE_MATCH_METHOD][1] = |
| "\u6700\u7b26\u5408\u65b9\u6cd5 {0} \u7684\u4e0d\u6b62\u4e00\u500b"; |
| } |
| |
| /** More than one best match for element method */ |
| public static final int ER_MORE_MATCH_ELEMENT = 125; |
| |
| static |
| { |
| contents[ER_MORE_MATCH_ELEMENT][1] = |
| "\u6700\u7b26\u5408\u5143\u7d20\u65b9\u6cd5 {0} \u7684\u4e0d\u6b62\u4e00\u500b"; |
| } |
| |
| /** Invalid context passed to evaluate */ |
| public static final int ER_INVALID_CONTEXT_PASSED = 126; |
| |
| static |
| { |
| contents[ER_INVALID_CONTEXT_PASSED][1] = |
| "\u50b3\u9001\u4f86\u8a55\u4f30 {0} \u7684\u4e0a\u4e0b\u6587\u7121\u6548"; |
| } |
| |
| /** Pool already exists */ |
| public static final int ER_POOL_EXISTS = 127; |
| |
| static |
| { |
| contents[ER_POOL_EXISTS][1] = |
| "\u5132\u5b58\u6c60\u5df2\u5b58\u5728"; |
| } |
| |
| /** No driver Name specified */ |
| public static final int ER_NO_DRIVER_NAME = 128; |
| |
| static |
| { |
| contents[ER_NO_DRIVER_NAME][1] = |
| "\u672a\u6307\u5b9a\u9a45\u52d5\u7a0b\u5f0f\u540d\u7a31"; |
| } |
| |
| /** No URL specified */ |
| public static final int ER_NO_URL = 129; |
| |
| static |
| { |
| contents[ER_NO_URL][1] = |
| "\u672a\u6307\u5b9a URL"; |
| } |
| |
| /** Pool size is less than one */ |
| public static final int ER_POOL_SIZE_LESSTHAN_ONE = 130; |
| |
| static |
| { |
| contents[ER_POOL_SIZE_LESSTHAN_ONE][1] = |
| "\u5132\u5b58\u6c60\u5927\u5c0f\u5c0f\u65bc 1\uff01"; |
| } |
| |
| /** Invalid driver name specified */ |
| public static final int ER_INVALID_DRIVER = 131; |
| |
| static |
| { |
| contents[ER_INVALID_DRIVER][1] = |
| "\u6307\u5b9a\u7684\u9a45\u52d5\u7a0b\u5f0f\u540d\u7a31\u7121\u6548\uff01"; |
| } |
| |
| /** Did not find the stylesheet root */ |
| public static final int ER_NO_STYLESHEETROOT = 132; |
| |
| static |
| { |
| contents[ER_NO_STYLESHEETROOT][1] = |
| "\u627e\u4e0d\u5230 stylesheet \u6839\uff01"; |
| } |
| |
| /** Illegal value for xml:space */ |
| public static final int ER_ILLEGAL_XMLSPACE_VALUE = 133; |
| |
| static |
| { |
| contents[ER_ILLEGAL_XMLSPACE_VALUE][1] = |
| "xml:space \u7684\u503c\u4e0d\u6b63\u78ba"; |
| } |
| |
| /** processFromNode failed */ |
| public static final int ER_PROCESSFROMNODE_FAILED = 134; |
| |
| static |
| { |
| contents[ER_PROCESSFROMNODE_FAILED][1] = |
| "processFromNode \u5931\u6548"; |
| } |
| |
| /** The resource [] could not load: */ |
| public static final int ER_RESOURCE_COULD_NOT_LOAD = 135; |
| |
| static |
| { |
| contents[ER_RESOURCE_COULD_NOT_LOAD][1] = |
| "\u7121\u6cd5\u8f09\u5165\u8cc7\u6e90 [ {0} ]\uff1a{1} \n {2} \t {3}"; |
| } |
| |
| |
| /** Buffer size <=0 */ |
| public static final int ER_BUFFER_SIZE_LESSTHAN_ZERO = 136; |
| |
| static |
| { |
| contents[ER_BUFFER_SIZE_LESSTHAN_ZERO][1] = |
| "\u7de9\u885d\u5340\u5927\u5c0f <=0"; |
| } |
| |
| /** Unknown error when calling extension */ |
| public static final int ER_UNKNOWN_ERROR_CALLING_EXTENSION = 137; |
| |
| static |
| { |
| contents[ER_UNKNOWN_ERROR_CALLING_EXTENSION][1] = |
| "\u547c\u53eb\u5ef6\u4f38\u7a0b\u5f0f\u6642\u767c\u751f\u672a\u77e5\u932f\u8aa4"; |
| } |
| |
| /** Prefix {0} does not have a corresponding namespace declaration */ |
| public static final int ER_NO_NAMESPACE_DECL = 138; |
| |
| static |
| { |
| contents[ER_NO_NAMESPACE_DECL][1] = |
| "\u524d\u7f6e {0} \u6c92\u6709\u5c0d\u61c9\u7684\u540d\u7a31\u7a7a\u9593\u5ba3\u544a"; |
| } |
| |
| /** Element content not allowed for lang=javaclass */ |
| public static final int ER_ELEM_CONTENT_NOT_ALLOWED = 139; |
| |
| static |
| { |
| contents[ER_ELEM_CONTENT_NOT_ALLOWED][1] = |
| "lang=javaclass {0} \u4e0d\u5141\u8a31\u5143\u7d20\u5167\u5bb9"; |
| } |
| |
| /** Stylesheet directed termination */ |
| public static final int ER_STYLESHEET_DIRECTED_TERMINATION = 140; |
| |
| static |
| { |
| contents[ER_STYLESHEET_DIRECTED_TERMINATION][1] = |
| "Stylesheet \u5f15\u5c0e\u7d42\u6b62"; |
| } |
| |
| /** 1 or 2 */ |
| public static final int ER_ONE_OR_TWO = 141; |
| |
| static |
| { |
| contents[ER_ONE_OR_TWO][1] = |
| "1 \u6216 2"; |
| } |
| |
| /** 2 or 3 */ |
| public static final int ER_TWO_OR_THREE = 142; |
| |
| static |
| { |
| contents[ER_TWO_OR_THREE][1] = |
| "2 \u6216 3"; |
| } |
| |
| /** Could not load {0} (check CLASSPATH), now using just the defaults */ |
| public static final int ER_COULD_NOT_LOAD_RESOURCE = 143; |
| |
| static |
| { |
| contents[ER_COULD_NOT_LOAD_RESOURCE][1] = |
| "\u7121\u6cd5\u8f09\u5165 {0}\uff08\u6aa2\u67e5 CLASSPATH\uff09\uff0c\u73fe\u5728\u53ea\u4f7f\u7528\u9810\u8a2d\u503c"; |
| } |
| |
| /** Cannot initialize default templates */ |
| public static final int ER_CANNOT_INIT_DEFAULT_TEMPLATES = 144; |
| |
| static |
| { |
| contents[ER_CANNOT_INIT_DEFAULT_TEMPLATES][1] = |
| "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u9810\u8a2d\u7bc4\u672c"; |
| } |
| |
| /** Result should not be null */ |
| public static final int ER_RESULT_NULL = 145; |
| |
| static |
| { |
| contents[ER_RESULT_NULL][1] = |
| "\u7d50\u679c\u4e0d\u61c9\u8a72\u70ba\u7a7a\u503c"; |
| } |
| |
| /** Result could not be set */ |
| public static final int ER_RESULT_COULD_NOT_BE_SET = 146; |
| |
| static |
| { |
| contents[ER_RESULT_COULD_NOT_BE_SET][1] = |
| "\u7121\u6cd5\u8a2d\u5b9a\u7d50\u679c"; |
| } |
| |
| /** No output specified */ |
| public static final int ER_NO_OUTPUT_SPECIFIED = 147; |
| |
| static |
| { |
| contents[ER_NO_OUTPUT_SPECIFIED][1] = |
| "\u672a\u6307\u5b9a\u8f38\u51fa"; |
| } |
| |
| /** Can't transform to a Result of type */ |
| public static final int ER_CANNOT_TRANSFORM_TO_RESULT_TYPE = 148; |
| |
| static |
| { |
| contents[ER_CANNOT_TRANSFORM_TO_RESULT_TYPE][1] = |
| "\u7121\u6cd5\u8f49\u63db\u6210\u985e\u578b {0} \u7684\u7d50\u679c"; |
| } |
| |
| /** Can't transform to a Source of type */ |
| public static final int ER_CANNOT_TRANSFORM_SOURCE_TYPE = 149; |
| |
| static |
| { |
| contents[ER_CANNOT_TRANSFORM_SOURCE_TYPE][1] = |
| "\u7121\u6cd5\u8f49\u63db\u985e\u578b {0} \u7684\u4f86\u6e90"; |
| } |
| |
| /** Null content handler */ |
| public static final int ER_NULL_CONTENT_HANDLER = 150; |
| |
| static |
| { |
| contents[ER_NULL_CONTENT_HANDLER][1] = |
| "\u7a7a\u7684\u5167\u5bb9\u8655\u7406\u5668"; |
| } |
| |
| /** Null error handler */ |
| public static final int ER_NULL_ERROR_HANDLER = 151; |
| |
| static |
| { |
| contents[ER_NULL_ERROR_HANDLER][1] = |
| "\u7a7a\u7684\u932f\u8aa4\u8655\u7406\u5668"; |
| } |
| |
| /** parse can not be called if the ContentHandler has not been set */ |
| public static final int ER_CANNOT_CALL_PARSE = 152; |
| |
| static |
| { |
| contents[ER_CANNOT_CALL_PARSE][1] = |
| "\u5982\u679c\u672a\u8a2d\u5b9a ContentHandler \u5247\u7121\u6cd5\u547c\u53eb\u5256\u6790"; |
| } |
| |
| /** No parent for filter */ |
| public static final int ER_NO_PARENT_FOR_FILTER = 153; |
| |
| static |
| { |
| contents[ER_NO_PARENT_FOR_FILTER][1] = |
| "\u904e\u6ffe\u5668\u6c92\u6709\u4e0a\u4ee3"; |
| } |
| |
| |
| /** No stylesheet found in: {0}, media */ |
| public static final int ER_NO_STYLESHEET_IN_MEDIA = 154; |
| |
| static |
| { |
| contents[ER_NO_STYLESHEET_IN_MEDIA][1] = |
| "\u5728 {0} media= {1} \u627e\u4e0d\u5230\u6a23\u5f0f\u8868"; |
| } |
| |
| /** No xml-stylesheet PI found in */ |
| public static final int ER_NO_STYLESHEET_PI = 155; |
| |
| static |
| { |
| contents[ER_NO_STYLESHEET_PI][1] = |
| "\u5728 {0} \u4e2d\u6c92\u6709\u767c\u73fe XML \u6a23\u5f0f\u8868 PI"; |
| } |
| |
| /** No default implementation found */ |
| public static final int ER_NO_DEFAULT_IMPL = 156; |
| |
| static |
| { |
| contents[ER_NO_DEFAULT_IMPL][1] = |
| "\u627e\u4e0d\u5230\u9810\u8a2d\u5efa\u7f6e"; |
| } |
| |
| /** ChunkedIntArray({0}) not currently supported */ |
| public static final int ER_CHUNKEDINTARRAY_NOT_SUPPORTED = 157; |
| |
| static |
| { |
| contents[ER_CHUNKEDINTARRAY_NOT_SUPPORTED][1] = |
| "\u76ee\u524d\u4e0d\u652f\u63f4 ChunkedIntArray({0})"; |
| } |
| |
| /** Offset bigger than slot */ |
| public static final int ER_OFFSET_BIGGER_THAN_SLOT = 158; |
| |
| static |
| { |
| contents[ER_OFFSET_BIGGER_THAN_SLOT][1] = |
| "\u504f\u79fb\u5927\u65bc\u4ecb\u9762\u69fd"; |
| } |
| |
| /** Coroutine not available, id= */ |
| public static final int ER_COROUTINE_NOT_AVAIL = 159; |
| |
| static |
| { |
| contents[ER_COROUTINE_NOT_AVAIL][1] = |
| "\u6c92\u6709 Coroutine \u53ef\u7528\uff0cid={0}"; |
| } |
| |
| /** CoroutineManager recieved co_exit() request */ |
| public static final int ER_COROUTINE_CO_EXIT = 160; |
| |
| static |
| { |
| contents[ER_COROUTINE_CO_EXIT][1] = |
| "CoroutineManager \u6536\u5230 co_exit() \u8981\u6c42"; |
| } |
| |
| /** co_joinCoroutineSet() failed */ |
| public static final int ER_COJOINROUTINESET_FAILED = 161; |
| |
| static |
| { |
| contents[ER_COJOINROUTINESET_FAILED][1] = |
| "co_joinCoroutineSet() \u5931\u6548"; |
| } |
| |
| /** Coroutine parameter error () */ |
| public static final int ER_COROUTINE_PARAM = 162; |
| |
| static |
| { |
| contents[ER_COROUTINE_PARAM][1] = |
| "Coroutine \u53c3\u6578\u932f\u8aa4 ({0})"; |
| } |
| |
| /** UNEXPECTED: Parser doTerminate answers */ |
| public static final int ER_PARSER_DOTERMINATE_ANSWERS = 163; |
| |
| static |
| { |
| contents[ER_PARSER_DOTERMINATE_ANSWERS][1] = |
| "\nUNEXPECTED: \u5256\u6790\u5668 doTerminate \u56de\u7b54 {0}"; |
| } |
| |
| /** parse may not be called while parsing */ |
| public static final int ER_NO_PARSE_CALL_WHILE_PARSING = 164; |
| |
| static |
| { |
| contents[ER_NO_PARSE_CALL_WHILE_PARSING][1] = |
| "\u5728\u9032\u884c\u5256\u6790\u6642\u672a\u80fd\u547c\u53eb\u5256\u6790"; |
| } |
| |
| /** Error: typed iterator for axis {0} not implemented */ |
| public static final int ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = 165; |
| |
| static |
| { |
| contents[ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED][1] = |
| "\u932f\u8aa4\uff1a\u5c0d\u8ef8 {0} \u8f38\u5165\u7684\u91cd\u8986\u5668\u6c92\u6709\u57f7\u884c"; |
| } |
| |
| /** Error: iterator for axis {0} not implemented */ |
| public static final int ER_ITERATOR_AXIS_NOT_IMPLEMENTED = 166; |
| |
| static |
| { |
| contents[ER_ITERATOR_AXIS_NOT_IMPLEMENTED][1] = |
| "\u932f\u8aa4\uff1a\u8ef8 {0} \u7684\u91cd\u8986\u5668\u6c92\u6709\u57f7\u884c "; |
| } |
| |
| /** Iterator clone not supported */ |
| public static final int ER_ITERATOR_CLONE_NOT_SUPPORTED = 167; |
| |
| static |
| { |
| contents[ER_ITERATOR_CLONE_NOT_SUPPORTED][1] = |
| "\u4e0d\u652f\u63f4\u91cd\u8986\u5668\u8907\u88fd"; |
| } |
| |
| /** Unknown axis traversal type */ |
| public static final int ER_UNKNOWN_AXIS_TYPE = 168; |
| |
| static |
| { |
| contents[ER_UNKNOWN_AXIS_TYPE][1] = |
| "\u672a\u77e5\u8ef8\u904d\u6b77\u985e\u578b\uff1a{0}"; |
| } |
| |
| /** Axis traverser not supported */ |
| public static final int ER_AXIS_NOT_SUPPORTED = 169; |
| |
| static |
| { |
| contents[ER_AXIS_NOT_SUPPORTED][1] = |
| "\u4e0d\u652f\u63f4\u8ef8\u904d\u8a2a\u5668\uff1a{0}"; |
| } |
| |
| /** No more DTM IDs are available */ |
| public static final int ER_NO_DTMIDS_AVAIL = 170; |
| |
| static |
| { |
| contents[ER_NO_DTMIDS_AVAIL][1] = |
| "\u6c92\u6709\u53ef\u7528\u7684 DTM ID"; |
| } |
| |
| /** Not supported */ |
| public static final int ER_NOT_SUPPORTED = 171; |
| |
| static |
| { |
| contents[ER_NOT_SUPPORTED][1] = |
| "\u4e0d\u652f\u63f4\uff1a{0}"; |
| } |
| |
| /** node must be non-null for getDTMHandleFromNode */ |
| public static final int ER_NODE_NON_NULL = 172; |
| |
| static |
| { |
| contents[ER_NODE_NON_NULL][1] = |
| "\u5c0d getDTMHandleFromNode \u800c\u8a00\uff0c\u7bc0\u9ede\u5fc5\u9808\u70ba\u975e\u7a7a\u503c"; |
| } |
| |
| /** Could not resolve the node to a handle */ |
| public static final int ER_COULD_NOT_RESOLVE_NODE = 173; |
| |
| static |
| { |
| contents[ER_COULD_NOT_RESOLVE_NODE][1] = |
| "\u7121\u6cd5\u89e3\u8b6f\u7bc0\u9ede\u70ba\u63a7\u9ede"; |
| } |
| |
| /** startParse may not be called while parsing */ |
| public static final int ER_STARTPARSE_WHILE_PARSING = 174; |
| |
| static |
| { |
| contents[ER_STARTPARSE_WHILE_PARSING][1] = |
| "\u5728\u9032\u884c\u5256\u6790\u6642\u672a\u547c\u53eb startParse"; |
| } |
| |
| /** startParse needs a non-null SAXParser */ |
| public static final int ER_STARTPARSE_NEEDS_SAXPARSER = 175; |
| |
| static |
| { |
| contents[ER_STARTPARSE_NEEDS_SAXPARSER][1] = |
| "startParse \u9700\u8981\u975e\u7a7a\u503c\u7684 SAXParser"; |
| } |
| |
| /** could not initialize parser with */ |
| public static final int ER_COULD_NOT_INIT_PARSER = 176; |
| |
| static |
| { |
| contents[ER_COULD_NOT_INIT_PARSER][1] = |
| "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u5256\u6790\u5668\uff0c\u4ee5"; |
| } |
| |
| /** Value for property {0} should be a Boolean instance */ |
| public static final int ER_PROPERTY_VALUE_BOOLEAN = 177; |
| |
| static |
| { |
| contents[ER_PROPERTY_VALUE_BOOLEAN][1] = |
| "\u5167\u5bb9 {0} \u7684\u503c\u61c9\u8a72\u662f\u4e00\u500b\u5e03\u6797\u6848\u4f8b"; |
| } |
| |
| /** exception creating new instance for pool */ |
| public static final int ER_EXCEPTION_CREATING_POOL = 178; |
| |
| static |
| { |
| contents[ER_EXCEPTION_CREATING_POOL][1] = |
| "\u5efa\u7acb\u5132\u5b58\u6c60\u7684\u65b0\u6848\u4f8b\u6642\u767c\u751f\u7570\u5e38"; |
| } |
| |
| /** Path contains invalid escape sequence */ |
| public static final int ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = 179; |
| |
| static |
| { |
| contents[ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE][1] = |
| "\u8def\u5f91\u5305\u542b\u7121\u6548\u9038\u51fa\u5e8f\u5217"; |
| } |
| |
| /** Scheme is required! */ |
| public static final int ER_SCHEME_REQUIRED = 180; |
| |
| static |
| { |
| contents[ER_SCHEME_REQUIRED][1] = |
| "\u7db1\u8981\u662f\u5fc5\u9700\u7684\uff01"; |
| } |
| |
| /** No scheme found in URI */ |
| public static final int ER_NO_SCHEME_IN_URI = 181; |
| |
| static |
| { |
| contents[ER_NO_SCHEME_IN_URI][1] = |
| "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981\uff1a{0}"; |
| } |
| |
| /** No scheme found in URI */ |
| public static final int ER_NO_SCHEME_INURI = 182; |
| |
| static |
| { |
| contents[ER_NO_SCHEME_INURI][1] = |
| "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981"; |
| } |
| |
| /** Path contains invalid character: */ |
| public static final int ER_PATH_INVALID_CHAR = 183; |
| |
| static |
| { |
| contents[ER_PATH_INVALID_CHAR][1] = |
| "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u5b57\u5143\uff1a{0}"; |
| } |
| |
| /** Cannot set scheme from null string */ |
| public static final int ER_SCHEME_FROM_NULL_STRING = 184; |
| |
| static |
| { |
| contents[ER_SCHEME_FROM_NULL_STRING][1] = |
| "\u7121\u6cd5\u5f9e\u7a7a\u5b57\u4e32\u8a2d\u5b9a\u7db1\u8981"; |
| } |
| |
| /** The scheme is not conformant. */ |
| public static final int ER_SCHEME_NOT_CONFORMANT = 185; |
| |
| static |
| { |
| contents[ER_SCHEME_NOT_CONFORMANT][1] = |
| "\u7db1\u8981\u4e0d\u4e00\u81f4\u3002"; |
| } |
| |
| /** Host is not a well formed address */ |
| public static final int ER_HOST_ADDRESS_NOT_WELLFORMED = 186; |
| |
| static |
| { |
| contents[ER_HOST_ADDRESS_NOT_WELLFORMED][1] = |
| "\u4e3b\u6a5f\u6c92\u6709\u5b8c\u6574\u7684\u4f4d\u5740"; |
| } |
| |
| /** Port cannot be set when host is null */ |
| public static final int ER_PORT_WHEN_HOST_NULL = 187; |
| |
| static |
| { |
| contents[ER_PORT_WHEN_HOST_NULL][1] = |
| "\u4e3b\u6a5f\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u901a\u8a0a\u57e0"; |
| } |
| |
| /** Invalid port number */ |
| public static final int ER_INVALID_PORT = 188; |
| |
| static |
| { |
| contents[ER_INVALID_PORT][1] = |
| "\u7121\u6548\u7684\u901a\u8a0a\u57e0\u7de8\u865f"; |
| } |
| |
| /** Fragment can only be set for a generic URI */ |
| public static final int ER_FRAG_FOR_GENERIC_URI = 189; |
| |
| static |
| { |
| contents[ER_FRAG_FOR_GENERIC_URI][1] = |
| "\u53ea\u80fd\u5c0d\u540c\u5c6c\u7684 URI \u8a2d\u5b9a\u7247\u6bb5"; |
| } |
| |
| /** Fragment cannot be set when path is null */ |
| public static final int ER_FRAG_WHEN_PATH_NULL = 190; |
| |
| static |
| { |
| contents[ER_FRAG_WHEN_PATH_NULL][1] = |
| "\u8def\u5f91\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u7247\u6bb5"; |
| } |
| |
| /** Fragment contains invalid character */ |
| public static final int ER_FRAG_INVALID_CHAR = 191; |
| |
| static |
| { |
| contents[ER_FRAG_INVALID_CHAR][1] = |
| "\u7247\u6bb5\u5305\u542b\u7121\u6548\u5b57\u5143"; |
| } |
| |
| |
| |
| /** Parser is already in use */ |
| public static final int ER_PARSER_IN_USE = 192; |
| |
| static |
| { |
| contents[ER_PARSER_IN_USE][1] = |
| "\u5256\u6790\u5668\u5df2\u5728\u4f7f\u7528\u4e2d"; |
| } |
| |
| /** Parser is already in use */ |
| public static final int ER_CANNOT_CHANGE_WHILE_PARSING = 193; |
| |
| static |
| { |
| contents[ER_CANNOT_CHANGE_WHILE_PARSING][1] = |
| "\u5256\u6790\u6642\u7121\u6cd5\u8b8a\u66f4 {0} {1}"; |
| } |
| |
| /** Self-causation not permitted */ |
| public static final int ER_SELF_CAUSATION_NOT_PERMITTED = 194; |
| |
| static |
| { |
| contents[ER_SELF_CAUSATION_NOT_PERMITTED][1] = |
| "\u4e0d\u5141\u8a31\u81ea\u884c\u5f15\u8d77"; |
| } |
| |
| /** src attribute not yet supported for */ |
| public static final int ER_COULD_NOT_FIND_EXTERN_SCRIPT = 195; |
| |
| static |
| { |
| contents[ER_COULD_NOT_FIND_EXTERN_SCRIPT][1] = |
| "\u7121\u6cd5\u65bc {0} \u8655\u53d6\u5f97\u5916\u90e8\u6307\u4ee4\u96c6"; |
| } |
| |
| /** The resource [] could not be found */ |
| public static final int ER_RESOURCE_COULD_NOT_FIND = 196; |
| |
| static |
| { |
| contents[ER_RESOURCE_COULD_NOT_FIND][1] = |
| "\u627e\u4e0d\u5230\u8cc7\u6e90 [ {0} ]\u3002\n {1}"; |
| } |
| |
| /** output property not recognized: */ |
| public static final int ER_OUTPUT_PROPERTY_NOT_RECOGNIZED = 197; |
| |
| static |
| { |
| contents[ER_OUTPUT_PROPERTY_NOT_RECOGNIZED][1] = |
| "\u672a\u80fd\u8fa8\u8b58\u8f38\u51fa\u5167\u5bb9\uff1a{0}"; |
| } |
| |
| /** Userinfo may not be specified if host is not specified */ |
| public static final int ER_NO_USERINFO_IF_NO_HOST = 198; |
| |
| static |
| { |
| contents[ER_NO_USERINFO_IF_NO_HOST][1] = |
| "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a Userinfo"; |
| } |
| |
| /** Port may not be specified if host is not specified */ |
| public static final int ER_NO_PORT_IF_NO_HOST = 199; |
| |
| static |
| { |
| contents[ER_NO_PORT_IF_NO_HOST][1] = |
| "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a\u901a\u8a0a\u57e0"; |
| } |
| |
| /** Query string cannot be specified in path and query string */ |
| public static final int ER_NO_QUERY_STRING_IN_PATH = 200; |
| |
| static |
| { |
| contents[ER_NO_QUERY_STRING_IN_PATH][1] = |
| "\u5728\u8def\u5f91\u53ca\u67e5\u8a62\u5b57\u4e32\u4e2d\u4e0d\u53ef\u6307\u5b9a\u67e5\u8a62\u5b57\u4e32"; |
| } |
| |
| /** Fragment cannot be specified in both the path and fragment */ |
| public static final int ER_NO_FRAGMENT_STRING_IN_PATH = 201; |
| |
| static |
| { |
| contents[ER_NO_FRAGMENT_STRING_IN_PATH][1] = |
| "\u7121\u6cd5\u5728\u8def\u5f91\u548c\u7247\u6bb5\u4e2d\u6307\u5b9a\u7247\u6bb5"; |
| } |
| |
| /** Cannot initialize URI with empty parameters */ |
| public static final int ER_CANNOT_INIT_URI_EMPTY_PARMS = 202; |
| |
| static |
| { |
| contents[ER_CANNOT_INIT_URI_EMPTY_PARMS][1] = |
| "\u7121\u6cd5\u8d77\u59cb\u8a2d\u5b9a\u7a7a\u767d\u53c3\u6578\u7684 URI"; |
| } |
| |
| /** Failed creating ElemLiteralResult instance */ |
| public static final int ER_FAILED_CREATING_ELEMLITRSLT = 203; |
| |
| static |
| { |
| contents[ER_FAILED_CREATING_ELEMLITRSLT][1] = |
| "\u5efa\u7acb ElemLiteralResult \u6848\u4f8b\u5931\u6557"; |
| } |
| |
| /** Priority value does not contain a parsable number */ |
| public static final int ER_PRIORITY_NOT_PARSABLE = 204; |
| |
| static |
| { |
| contents[ER_PRIORITY_NOT_PARSABLE][1] = |
| "\u512a\u5148\u503c\u4e0d\u5305\u542b\u53ef\u5256\u6790\u7684\u6578\u5b57"; |
| } |
| |
| /** Value for {0} should equal 'yes' or 'no' */ |
| public static final int ER_VALUE_SHOULD_EQUAL = 205; |
| |
| static |
| { |
| contents[ER_VALUE_SHOULD_EQUAL][1] = |
| " {0} \u7684\u503c\u61c9\u7b49\u65bc yes \u6216 no"; |
| } |
| |
| /** Failed calling {0} method */ |
| public static final int ER_FAILED_CALLING_METHOD = 206; |
| |
| static |
| { |
| contents[ER_FAILED_CALLING_METHOD][1] = |
| " \u547c\u53eb {0} \u65b9\u6cd5\u5931\u6557"; |
| } |
| |
| /** Failed creating ElemLiteralResult instance */ |
| public static final int ER_FAILED_CREATING_ELEMTMPL = 207; |
| |
| static |
| { |
| contents[ER_FAILED_CREATING_ELEMTMPL][1] = |
| "\u5efa\u7acb ElemTemplateElement \u6848\u4f8b\u5931\u6557"; |
| } |
| |
| /** Characters are not allowed at this point in the document */ |
| public static final int ER_CHARS_NOT_ALLOWED = 208; |
| |
| static |
| { |
| contents[ER_CHARS_NOT_ALLOWED][1] = |
| "\u6587\u4ef6\u7684\u9019\u500b\u5730\u65b9\u4e0d\u5141\u8a31\u5b57\u5143"; |
| } |
| |
| /** attribute is not allowed on the element */ |
| public static final int ER_ATTR_NOT_ALLOWED = 209; |
| |
| static |
| { |
| contents[ER_ATTR_NOT_ALLOWED][1] = |
| "{1} \u5143\u7d20\u4e0a\u4e0d\u5141\u8a31\u6709 \"{0}\" \u5c6c\u6027\uff01"; |
| } |
| |
| /** Method not yet supported */ |
| public static final int ER_METHOD_NOT_SUPPORTED = 210; |
| |
| static |
| { |
| contents[ER_METHOD_NOT_SUPPORTED][1] = |
| "\u4e0d\u652f\u63f4\u65b9\u6cd5 "; |
| } |
| |
| /** Bad value */ |
| public static final int ER_BAD_VALUE = 211; |
| |
| static |
| { |
| contents[ER_BAD_VALUE][1] = |
| "{0} \u932f\u8aa4\u503c {1} "; |
| } |
| |
| /** attribute value not found */ |
| public static final int ER_ATTRIB_VALUE_NOT_FOUND = 212; |
| |
| static |
| { |
| contents[ER_ATTRIB_VALUE_NOT_FOUND][1] = |
| "\u627e\u4e0d\u5230 {0} \u5c6c\u6027\u503c "; |
| } |
| |
| /** attribute value not recognized */ |
| public static final int ER_ATTRIB_VALUE_NOT_RECOGNIZED = 213; |
| |
| static |
| { |
| contents[ER_ATTRIB_VALUE_NOT_RECOGNIZED][1] = |
| "\u4e0d\u80fd\u8fa8\u8b58 {0} \u5c6c\u6027\u503c "; |
| } |
| |
| /** IncrementalSAXSource_Filter not currently restartable */ |
| public static final int ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = 214; |
| |
| static |
| { |
| contents[ER_INCRSAXSRCFILTER_NOT_RESTARTABLE][1] = |
| "IncrementalSAXSource_Filter \u76ee\u524d\u7121\u6cd5\u91cd\u65b0\u555f\u52d5"; |
| } |
| |
| /** IncrementalSAXSource_Filter not currently restartable */ |
| public static final int ER_XMLRDR_NOT_BEFORE_STARTPARSE = 215; |
| |
| static |
| { |
| contents[ER_XMLRDR_NOT_BEFORE_STARTPARSE][1] = |
| "XMLReader \u4e0d\u5728 startParse \u8981\u6c42\u4e4b\u524d"; |
| } |
| |
| /** Attempting to generate a namespace prefix with a null URI */ |
| public static final int ER_NULL_URI_NAMESPACE = 216; |
| |
| static |
| { |
| contents[ER_NULL_URI_NAMESPACE][1] = |
| "\u6b63\u5728\u5617\u8a66\u7522\u751f\u5177\u6709\u7a7a\u503c URI \u7684\u540d\u7a31\u7a7a\u9593\u5b57\u9996"; |
| } |
| |
| |
| /* |
| /** Cannot find SAX1 driver class * |
| public static final int ER_CANNOT_FIND_SAX1_DRIVER = 190; |
| |
| static |
| { |
| contents[ER_CANNOT_FIND_SAX1_DRIVER][1] = |
| "Cannot find SAX1 driver class {0}"; |
| } |
| |
| /** SAX1 driver class {0} found but cannot be loaded * |
| public static final int ER_SAX1_DRIVER_NOT_LOADED = 191; |
| |
| static |
| { |
| contents[ER_SAX1_DRIVER_NOT_LOADED][1] = |
| "SAX1 driver class {0} found but cannot be loaded"; |
| } |
| |
| /** SAX1 driver class {0} found but cannot be instantiated * |
| public static final int ER_SAX1_DRIVER_NOT_INSTANTIATED = 192; |
| |
| static |
| { |
| contents[ER_SAX1_DRIVER_NOT_INSTANTIATED][1] = |
| "SAX1 driver class {0} loaded but cannot be instantiated"; |
| } |
| |
| /** SAX1 driver class {0} does not implement org.xml.sax.Parser * |
| public static final int ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER = 193; |
| |
| static |
| { |
| contents[ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER][1] = |
| "SAX1 driver class {0} does not implement org.xml.sax.Parser"; |
| } |
| |
| /** System property org.xml.sax.parser not specified * |
| public static final int ER_PARSER_PROPERTY_NOT_SPECIFIED = 194; |
| |
| static |
| { |
| contents[ER_PARSER_PROPERTY_NOT_SPECIFIED][1] = |
| "System property org.xml.sax.parser not specified"; |
| } |
| |
| /** Parser argument must not be null * |
| public static final int ER_PARSER_ARG_CANNOT_BE_NULL = 195; |
| |
| static |
| { |
| contents[ER_PARSER_ARG_CANNOT_BE_NULL][1] = |
| "Parser argument must not be null"; |
| } |
| |
| /** Feature: * |
| public static final int ER_FEATURE = 196; |
| |
| static |
| { |
| contents[ER_FEATURE][1] = |
| "Feature: {0}"; |
| } |
| |
| /** Property: * |
| public static final int ER_PROPERTY = 197; |
| |
| static |
| { |
| contents[ER_PROPERTY][1] = |
| "Property: {0}"; |
| } |
| |
| /** Null Entity Resolver * |
| public static final int ER_NULL_ENTITY_RESOLVER = 198; |
| |
| static |
| { |
| contents[ER_NULL_ENTITY_RESOLVER][1] = |
| "Null entity resolver"; |
| } |
| |
| /** Null DTD handler * |
| public static final int ER_NULL_DTD_HANDLER = 199; |
| |
| static |
| { |
| contents[ER_NULL_DTD_HANDLER][1] = |
| "Null DTD handler"; |
| } |
| |
| */ |
| |
| |
| // Warnings... |
| |
| /** WG_FOUND_CURLYBRACE */ |
| public static final int WG_FOUND_CURLYBRACE = 1; |
| |
| static |
| { |
| contents[WG_FOUND_CURLYBRACE + MAX_CODE][1] = |
| "\u627e\u5230 '}' \u4f46\u6c92\u6709\u958b\u555f\u7684\u5c6c\u6027\u7bc4\u672c\uff01"; |
| } |
| |
| /** WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR */ |
| public static final int WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR = 2; |
| |
| static |
| { |
| contents[WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR + MAX_CODE][1] = |
| "\u8b66\u544a\uff1acount \u5c6c\u6027\u4e0d\u7b26\u5408 xsl:number \u4e2d\u7684\u7956\u5148\u7bc0\u9ede\uff01\u76ee\u6a19 = {0}"; |
| } |
| |
| /** WG_EXPR_ATTRIB_CHANGED_TO_SELECT */ |
| public static final int WG_EXPR_ATTRIB_CHANGED_TO_SELECT = 3; |
| |
| static |
| { |
| contents[WG_EXPR_ATTRIB_CHANGED_TO_SELECT + MAX_CODE][1] = |
| "\u820a\u8a9e\u6cd5\uff1a'expr' \u5c6c\u6027\u7684\u540d\u7a31\u5df2\u8b8a\u66f4\u70ba 'select'\u3002"; |
| } |
| |
| /** WG_NO_LOCALE_IN_FORMATNUMBER */ |
| public static final int WG_NO_LOCALE_IN_FORMATNUMBER = 4; |
| |
| static |
| { |
| contents[WG_NO_LOCALE_IN_FORMATNUMBER + MAX_CODE][1] = |
| "Xalan \u5c1a\u672a\u8655\u7406 format-number \u51fd\u5f0f\u4e2d\u7684\u8a9e\u8a00\u74b0\u5883\u540d\u7a31\u3002"; |
| } |
| |
| /** WG_LOCALE_NOT_FOUND */ |
| public static final int WG_LOCALE_NOT_FOUND = 5; |
| |
| static |
| { |
| contents[WG_LOCALE_NOT_FOUND + MAX_CODE][1] = |
| "\u8b66\u544a\uff1a\u627e\u4e0d\u5230 xml:lang={0} \u7684\u8a9e\u8a00\u74b0\u5883"; |
| } |
| |
| /** WG_CANNOT_MAKE_URL_FROM */ |
| public static final int WG_CANNOT_MAKE_URL_FROM = 6; |
| |
| static |
| { |
| contents[WG_CANNOT_MAKE_URL_FROM + MAX_CODE][1] = |
| "\u7121\u6cd5\u5f9e\uff1a {0} \u7522\u751f URL"; |
| } |
| |
| /** WG_CANNOT_LOAD_REQUESTED_DOC */ |
| public static final int WG_CANNOT_LOAD_REQUESTED_DOC = 7; |
| |
| static |
| { |
| contents[WG_CANNOT_LOAD_REQUESTED_DOC + MAX_CODE][1] = |
| "\u7121\u6cd5\u8f09\u5165\u6240\u8981\u6c42\u7684\u6587\u4ef6\uff1a{0}"; |
| } |
| |
| /** WG_CANNOT_FIND_COLLATOR */ |
| public static final int WG_CANNOT_FIND_COLLATOR = 8; |
| |
| static |
| { |
| contents[WG_CANNOT_FIND_COLLATOR + MAX_CODE][1] = |
| "\u627e\u4e0d\u5230 <sort xml:lang={0} \u7684\u7406\u5e8f\u5668"; |
| } |
| |
| /** WG_FUNCTIONS_SHOULD_USE_URL */ |
| public static final int WG_FUNCTIONS_SHOULD_USE_URL = 9; |
| |
| static |
| { |
| contents[WG_FUNCTIONS_SHOULD_USE_URL + MAX_CODE][1] = |
| "\u820a\u8a9e\u6cd5\uff1a\u51fd\u5f0f\u6307\u4ee4\u61c9\u4f7f\u7528 URL {0}"; |
| } |
| |
| /** WG_ENCODING_NOT_SUPPORTED_USING_UTF8 */ |
| public static final int WG_ENCODING_NOT_SUPPORTED_USING_UTF8 = 10; |
| |
| static |
| { |
| contents[WG_ENCODING_NOT_SUPPORTED_USING_UTF8 + MAX_CODE][1] = |
| "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}\uff0c\u4f7f\u7528 UTF-8"; |
| } |
| |
| /** WG_ENCODING_NOT_SUPPORTED_USING_JAVA */ |
| public static final int WG_ENCODING_NOT_SUPPORTED_USING_JAVA = 11; |
| |
| static |
| { |
| contents[WG_ENCODING_NOT_SUPPORTED_USING_JAVA + MAX_CODE][1] = |
| "\u4e0d\u652f\u63f4\u7de8\u78bc\uff1a{0}\uff0c\u4f7f\u7528 Java {1}"; |
| } |
| |
| /** WG_SPECIFICITY_CONFLICTS */ |
| public static final int WG_SPECIFICITY_CONFLICTS = 12; |
| |
| static |
| { |
| contents[WG_SPECIFICITY_CONFLICTS + MAX_CODE][1] = |
| "\u627e\u5230\u5177\u9ad4\u885d\u7a81\uff1a{0} \u5c07\u4f7f\u7528\u5728\u6a23\u5f0f\u8868\u4e2d\u627e\u5230\u7684\u6700\u5f8c\u4e00\u500b\u3002"; |
| } |
| |
| /** WG_PARSING_AND_PREPARING */ |
| public static final int WG_PARSING_AND_PREPARING = 13; |
| |
| static |
| { |
| contents[WG_PARSING_AND_PREPARING + MAX_CODE][1] = |
| "========= \u5256\u6790\u53ca\u6e96\u5099 {0} =========="; |
| } |
| |
| /** WG_ATTR_TEMPLATE */ |
| public static final int WG_ATTR_TEMPLATE = 14; |
| |
| static |
| { |
| contents[WG_ATTR_TEMPLATE + MAX_CODE][1] = "Attr \u7bc4\u672c\uff0c{0}"; |
| } |
| |
| /** WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE */ |
| public static final int WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = |
| 15; |
| |
| static |
| { |
| contents[WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE + MAX_CODE][1] = |
| "xsl:strip-space \u548c xsl:preserve-space \u4e4b\u9593\u767c\u751f\u7b26\u5408\u885d\u7a81"; |
| } |
| |
| /** WG_ATTRIB_NOT_HANDLED */ |
| public static final int WG_ATTRIB_NOT_HANDLED = 16; |
| |
| static |
| { |
| contents[WG_ATTRIB_NOT_HANDLED + MAX_CODE][1] = |
| "Xalan \u5c1a\u672a\u8655\u7406 {0} \u5c6c\u6027\uff01"; |
| } |
| |
| /** WG_NO_DECIMALFORMAT_DECLARATION */ |
| public static final int WG_NO_DECIMALFORMAT_DECLARATION = 17; |
| |
| static |
| { |
| contents[WG_NO_DECIMALFORMAT_DECLARATION + MAX_CODE][1] = |
| "\u627e\u4e0d\u5230\u5341\u9032\u4f4d\u683c\u5f0f\u7684\u5ba3\u544a\uff1a{0}"; |
| } |
| |
| /** WG_OLD_XSLT_NS */ |
| public static final int WG_OLD_XSLT_NS = 18; |
| |
| static |
| { |
| contents[WG_OLD_XSLT_NS + MAX_CODE][1] = "XSLT \u540d\u7a31\u7a7a\u9593\u907a\u6f0f\u6216\u4e0d\u6b63\u78ba\u3002"; |
| } |
| |
| /** WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED */ |
| public static final int WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED = 19; |
| |
| static |
| { |
| contents[WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED + MAX_CODE][1] = |
| "\u50c5\u5141\u8a31\u4e00\u500b\u9810\u8a2d xsl:decimal-format \u5ba3\u544a\u3002"; |
| } |
| |
| /** WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE */ |
| public static final int WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE = 20; |
| |
| static |
| { |
| contents[WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE + MAX_CODE][1] = |
| "xsl:decimal-format \u540d\u7a31\u5fc5\u9808\u662f\u552f\u4e00\u7684\u3002 \"{0}\" \u540d\u7a31\u91cd\u8907\u3002"; |
| } |
| |
| /** WG_ILLEGAL_ATTRIBUTE */ |
| public static final int WG_ILLEGAL_ATTRIBUTE = 21; |
| |
| static |
| { |
| contents[WG_ILLEGAL_ATTRIBUTE + MAX_CODE][1] = |
| "{0} \u542b\u6709\u4e0d\u5408\u898f\u5247\u7684\u5c6c\u6027\uff1a{1}"; |
| } |
| |
| /** WG_COULD_NOT_RESOLVE_PREFIX */ |
| public static final int WG_COULD_NOT_RESOLVE_PREFIX = 22; |
| |
| static |
| { |
| contents[WG_COULD_NOT_RESOLVE_PREFIX + MAX_CODE][1] = |
| "\u7121\u6cd5\u89e3\u8b6f\u540d\u7a31\u7a7a\u9593\u524d\u7f6e\uff1a{0}\u3002\u7bc0\u9ede\u88ab\u5ffd\u7565\u3002"; |
| } |
| |
| /** WG_STYLESHEET_REQUIRES_VERSION_ATTRIB */ |
| public static final int WG_STYLESHEET_REQUIRES_VERSION_ATTRIB = 23; |
| |
| static |
| { |
| contents[WG_STYLESHEET_REQUIRES_VERSION_ATTRIB + MAX_CODE][1] = |
| "xsl:stylesheet \u9700\u8981 'version' \u5c6c\u6027\uff01"; |
| } |
| |
| /** WG_ILLEGAL_ATTRIBUTE_NAME */ |
| public static final int WG_ILLEGAL_ATTRIBUTE_NAME = 24; |
| |
| static |
| { |
| contents[WG_ILLEGAL_ATTRIBUTE_NAME + MAX_CODE][1] = |
| "\u4e0d\u5408\u898f\u5247\u7684\u5c6c\u6027\u540d\u7a31\uff1a{0}"; |
| } |
| |
| /** WG_ILLEGAL_ATTRIBUTE_VALUE */ |
| public static final int WG_ILLEGAL_ATTRIBUTE_VALUE = 25; |
| |
| static |
| { |
| contents[WG_ILLEGAL_ATTRIBUTE_VALUE + MAX_CODE][1] = |
| "\u5c6c\u6027 {0} \u4f7f\u7528\u4e86\u4e0d\u5408\u898f\u5247\u7684\u503c\uff1a{1}"; |
| } |
| |
| /** WG_EMPTY_SECOND_ARG */ |
| public static final int WG_EMPTY_SECOND_ARG = 26; |
| |
| static |
| { |
| contents[WG_EMPTY_SECOND_ARG + MAX_CODE][1] = |
| "\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"; |
| } |
| |
| // Other miscellaneous text used inside the code... |
| static |
| { |
| contents[MAX_MESSAGES][0] = "ui_language"; |
| contents[MAX_MESSAGES][1] = "zh_TW"; |
| contents[MAX_MESSAGES + 1][0] = "help_language"; |
| contents[MAX_MESSAGES + 1][1] = "zh_TW"; |
| contents[MAX_MESSAGES + 2][0] = "language"; |
| contents[MAX_MESSAGES + 2][1] = "zh_TW"; |
| contents[MAX_MESSAGES + 3][0] = "BAD_CODE"; |
| contents[MAX_MESSAGES + 3][1] = |
| "createMessage \u7684\u53c3\u6578\u8d85\u51fa\u754c\u9650"; |
| contents[MAX_MESSAGES + 4][0] = "FORMAT_FAILED"; |
| contents[MAX_MESSAGES + 4][1] = |
| "\u5728 messageFormat \u547c\u53eb\u671f\u9593\u4e1f\u51fa\u7570\u5e38"; |
| contents[MAX_MESSAGES + 5][0] = "version"; |
| contents[MAX_MESSAGES + 5][1] = ">>>>>>> Xalan \u7248\u672c "; |
| contents[MAX_MESSAGES + 6][0] = "version2"; |
| contents[MAX_MESSAGES + 6][1] = "<<<<<<<"; |
| contents[MAX_MESSAGES + 7][0] = "yes"; |
| contents[MAX_MESSAGES + 7][1] = "\u662f"; |
| contents[MAX_MESSAGES + 8][0] = "line"; |
| contents[MAX_MESSAGES + 8][1] = "\u884c #"; |
| contents[MAX_MESSAGES + 9][0] = "column"; |
| contents[MAX_MESSAGES + 9][1] = "\u76f4\u6b04 #"; |
| contents[MAX_MESSAGES + 10][0] = "xsldone"; |
| contents[MAX_MESSAGES + 10][1] = "XSLProcessor: done"; |
| contents[MAX_MESSAGES + 11][0] = "xslProc_option"; |
| contents[MAX_MESSAGES + 11][1] = "Xalan-J \u6307\u4ee4\u884c Process \u985e\u5225\u9078\u9805\uff1a"; |
| contents[MAX_MESSAGES + 12][0] = "optionIN"; |
| contents[MAX_MESSAGES + 12][1] = " -IN inputXMLURL"; |
| contents[MAX_MESSAGES + 13][0] = "optionXSL"; |
| contents[MAX_MESSAGES + 13][1] = " [-XSL XSLTransformationURL]"; |
| contents[MAX_MESSAGES + 14][0] = "optionOUT"; |
| contents[MAX_MESSAGES + 14][1] = " [-OUT outputFileName]"; |
| contents[MAX_MESSAGES + 15][0] = "optionLXCIN"; |
| contents[MAX_MESSAGES + 15][1] = |
| " [-LXCIN compiledStylesheetFileNameIn]"; |
| contents[MAX_MESSAGES + 16][0] = "optionLXCOUT"; |
| contents[MAX_MESSAGES + 16][1] = |
| " [-LXCOUT compiledStylesheetFileNameOutOut]"; |
| contents[MAX_MESSAGES + 17][0] = "optionPARSER"; |
| contents[MAX_MESSAGES + 17][1] = |
| " [-PARSER \u5256\u6790\u5668\u95dc\u806f\u5225\u540d\u7684\u5b8c\u6574\u540d\u7a31]"; |
| contents[MAX_MESSAGES + 18][0] = "optionE"; |
| contents[MAX_MESSAGES + 18][1] = " [-E (\u4e0d\u5c55\u958b\u5be6\u9ad4\u53c3\u7167)]"; |
| contents[MAX_MESSAGES + 19][0] = "optionV"; |
| contents[MAX_MESSAGES + 19][1] = " [-E (\u4e0d\u5c55\u958b\u5be6\u9ad4\u53c3\u7167)]"; |
| contents[MAX_MESSAGES + 20][0] = "optionQC"; |
| contents[MAX_MESSAGES + 20][1] = |
| " [-QC (\u7121\u8072\u578b\u6a23\u885d\u7a81\u8b66\u544a)]"; |
| contents[MAX_MESSAGES + 21][0] = "optionQ"; |
| contents[MAX_MESSAGES + 21][1] = " [-Q (\u7121\u8072\u6a21\u5f0f)]"; |
| contents[MAX_MESSAGES + 22][0] = "optionLF"; |
| contents[MAX_MESSAGES + 22][1] = |
| " [-LF (\u53ea\u5728\u8f38\u51fa\u4e0a\u4f7f\u7528\u63db\u884c {\u9810\u8a2d\u662f CR/LF})]"; |
| contents[MAX_MESSAGES + 23][0] = "optionCR"; |
| contents[MAX_MESSAGES + 23][1] = |
| " [-CR (\u53ea\u5728\u8f38\u51fa\u4e0a\u4f7f\u7528\u63db\u884c\u9375 {\u9810\u8a2d\u662f CR/LF})]"; |
| contents[MAX_MESSAGES + 24][0] = "optionESCAPE"; |
| contents[MAX_MESSAGES + 24][1] = |
| " [-ESCAPE (\u8981\u9038\u51fa\u7684\u5b57\u5143 {\u9810\u8a2d\u662f <>&\"\'\\r\\n})]"; |
| contents[MAX_MESSAGES + 25][0] = "optionINDENT"; |
| contents[MAX_MESSAGES + 25][1] = |
| " [-INDENT (\u63a7\u5236\u8981\u5167\u7e2e\u7684\u7a7a\u683c\u6578 {\u9810\u8a2d\u662f 0})]"; |
| contents[MAX_MESSAGES + 26][0] = "optionTT"; |
| contents[MAX_MESSAGES + 26][1] = |
| " [-TT (\u547c\u53eb\u6642\u8ffd\u8e64\u7bc4\u672c\u3002)]"; |
| contents[MAX_MESSAGES + 27][0] = "optionTG"; |
| contents[MAX_MESSAGES + 27][1] = |
| " [-TG (\u8ffd\u8e64\u6bcf\u4e00\u500b\u7522\u751f\u4e8b\u4ef6\u3002)]"; |
| contents[MAX_MESSAGES + 28][0] = "optionTS"; |
| contents[MAX_MESSAGES + 28][1] = " [-TS (\u8ffd\u8e64\u6bcf\u4e00\u500b\u9078\u53d6\u4e8b\u4ef6\u3002)]"; |
| contents[MAX_MESSAGES + 29][0] = "optionTTC"; |
| contents[MAX_MESSAGES + 29][1] = |
| " [-TTC (\u8ffd\u8e64\u8655\u7406\u4e2d\u7684\u7bc4\u672c\u5b50\u9805\u3002)]"; |
| contents[MAX_MESSAGES + 30][0] = "optionTCLASS"; |
| contents[MAX_MESSAGES + 30][1] = |
| " [-TCLASS (\u8ffd\u8e64\u5ef6\u4f38\u7a0b\u5f0f\u7684 TraceListener \u985e\u5225\u3002)]"; |
| contents[MAX_MESSAGES + 31][0] = "optionVALIDATE"; |
| contents[MAX_MESSAGES + 31][1] = |
| " [-VALIDATE (\u8a2d\u5b9a\u662f\u5426\u767c\u751f\u9a57\u8b49\u3002\u4f9d\u9810\u8a2d\u9a57\u8b49\u662f\u95dc\u9589\u7684\u3002)]"; |
| contents[MAX_MESSAGES + 32][0] = "optionEDUMP"; |
| contents[MAX_MESSAGES + 32][1] = |
| " [-EDUMP {\u53ef\u9078\u7528\u7684\u6a94\u6848\u540d\u7a31} (\u767c\u751f\u932f\u8aa4\u6642\u57f7\u884c stackdump\u3002)]"; |
| contents[MAX_MESSAGES + 33][0] = "optionXML"; |
| contents[MAX_MESSAGES + 33][1] = |
| " [-XML (\u4f7f\u7528 XML \u683c\u5f0f\u88fd\u4f5c\u5668\u53ca\u65b0\u589e XML \u8868\u982d\u3002)]"; |
| contents[MAX_MESSAGES + 34][0] = "optionTEXT"; |
| contents[MAX_MESSAGES + 34][1] = |
| " [-TEXT (\u4f7f\u7528\u7c21\u5f0f\u6587\u5b57\u683c\u5f0f\u5316\u7a0b\u5f0f\u3002)]"; |
| contents[MAX_MESSAGES + 35][0] = "optionHTML"; |
| contents[MAX_MESSAGES + 35][1] = " [-HTML (\u4f7f\u7528 HTML \u683c\u5f0f\u88fd\u4f5c\u5668\u3002)]"; |
| contents[MAX_MESSAGES + 36][0] = "optionPARAM"; |
| contents[MAX_MESSAGES + 36][1] = |
| " [-PARAM \u540d\u7a31\u8868\u793a\u5f0f (\u8a2d\u5b9a\u6a23\u5f0f\u8868\u53c3\u6578)]"; |
| contents[MAX_MESSAGES + 37][0] = "noParsermsg1"; |
| contents[MAX_MESSAGES + 37][1] = "XSL \u8655\u7406\u4e0d\u6210\u529f\u3002"; |
| contents[MAX_MESSAGES + 38][0] = "noParsermsg2"; |
| contents[MAX_MESSAGES + 38][1] = "** \u627e\u4e0d\u5230\u5256\u6790\u5668 **"; |
| contents[MAX_MESSAGES + 39][0] = "noParsermsg3"; |
| contents[MAX_MESSAGES + 39][1] = "\u8acb\u6aa2\u67e5\u985e\u5225\u8def\u5f91\u3002"; |
| contents[MAX_MESSAGES + 40][0] = "noParsermsg4"; |
| contents[MAX_MESSAGES + 40][1] = |
| "\u5982\u679c\u60a8\u6c92\u6709 IBM \u7684 XML Parser for Java\uff0c\u53ef\u4e0b\u8f09\u81ea "; |
| contents[MAX_MESSAGES + 41][0] = "noParsermsg5"; |
| contents[MAX_MESSAGES + 41][1] = |
| "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"; |
| contents[MAX_MESSAGES + 42][0] = "optionURIRESOLVER"; |
| contents[MAX_MESSAGES + 42][1] = " [-URIRESOLVER \u5b8c\u6574\u7684\u985e\u5225\u540d\u7a31 (URIResolver \u7528\u4f86\u89e3\u8b6f URI)]"; |
| contents[MAX_MESSAGES + 43][0] = "optionENTITYRESOLVER"; |
| contents[MAX_MESSAGES + 43][1] = " [-ENTITYRESOLVER \u5b8c\u6574\u7684\u985e\u5225\u540d\u7a31 (EntityResolver \u7528\u4f86\u89e3\u8b6f\u5be6\u9ad4)]"; |
| contents[MAX_MESSAGES + 44][0] = "optionCONTENTHANDLER"; |
| contents[MAX_MESSAGES + 44][1] = " [-CONTENTHANDLER \u5b8c\u6574\u7684\u985e\u5225\u540d\u7a31 (ContentHandler \u7528\u4f86\u4e32\u5217\u5316\u8f38\u51fa)]"; |
| contents[MAX_MESSAGES + 45][0] = "optionLINENUMBERS"; |
| contents[MAX_MESSAGES + 45][1] = " [-L \u4f7f\u7528\u539f\u59cb\u6587\u4ef6\u7684\u884c\u865f]"; |
| |
| } |
| |
| // ================= INFRASTRUCTURE ====================== |
| |
| /** String for use when a bad error code was encountered. */ |
| public static final String BAD_CODE = "BAD_CODE"; |
| |
| /** String for use when formatting of the error string failed. */ |
| public static final String FORMAT_FAILED = "FORMAT_FAILED"; |
| |
| /** General error string. */ |
| public static final String ERROR_STRING = "#error"; |
| |
| /** String to prepend to error messages. */ |
| public static final String ERROR_HEADER = "\u932f\u8aa4\uff1a"; |
| |
| /** String to prepend to warning messages. */ |
| public static final String WARNING_HEADER = "\u8b66\u544a\uff1a"; |
| |
| /** String to specify the XSLT module. */ |
| public static final String XSL_HEADER = "XSLT "; |
| |
| /** String to specify the XML parser module. */ |
| public static final String XML_HEADER = "XML "; |
| |
| /** I don't think this is used any more. |
| * @deprecated */ |
| public static final String QUERY_HEADER = "PATTERN "; |
| |
| /** |
| * Get the lookup table. |
| * |
| * @return The int to message lookup table. |
| */ |
| public Object[][] getContents() |
| { |
| return contents; |
| } |
| } |