Source Code Cross Referenced for XPATHErrorResources_zh_CN.java in  » XML » xalan » org » apache » xpath » res » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » XML » xalan » org.apache.xpath.res 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*
0002:         * Copyright 1999-2004 The Apache Software Foundation.
0003:         *
0004:         * Licensed under the Apache License, Version 2.0 (the "License");
0005:         * you may not use this file except in compliance with the License.
0006:         * You may obtain a copy of the License at
0007:         *
0008:         *     http://www.apache.org/licenses/LICENSE-2.0
0009:         *
0010:         * Unless required by applicable law or agreed to in writing, software
0011:         * distributed under the License is distributed on an "AS IS" BASIS,
0012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013:         * See the License for the specific language governing permissions and
0014:         * limitations under the License.
0015:         */
0016:        /*
0017:         * $Id: XPATHErrorResources_zh_CN.java,v 1.10 2005/01/23 01:39:54 mcnamara Exp $
0018:         */
0019:        package org.apache.xpath.res;
0020:
0021:        import java.util.ListResourceBundle;
0022:        import java.util.Locale;
0023:        import java.util.MissingResourceException;
0024:        import java.util.ResourceBundle;
0025:
0026:        /**
0027:         * Set up error messages.
0028:         * We build a two dimensional array of message keys and
0029:         * message strings. In order to add a new message here,
0030:         * you need to first add a Static string constant for the
0031:         * Key and update the contents array with Key, Value pair
0032:         * Also you need to  update the count of messages(MAX_CODE)or
0033:         * the count of warnings(MAX_WARNING) [ Information purpose only]
0034:         * @xsl.usage advanced
0035:         */
0036:        public class XPATHErrorResources_zh_CN extends ListResourceBundle {
0037:
0038:            /*
0039:             * General notes to translators:
0040:             *
0041:             * This file contains error and warning messages related to XPath Error
0042:             * Handling.
0043:             *
0044:             *  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
0045:             *     components.
0046:             *     XSLT is an acronym for "XML Stylesheet Language: Transformations".
0047:             *     XSLTC is an acronym for XSLT Compiler.
0048:             *
0049:             *  2) A stylesheet is a description of how to transform an input XML document
0050:             *     into a resultant XML document (or HTML document or text).  The
0051:             *     stylesheet itself is described in the form of an XML document.
0052:             *
0053:             *  3) A template is a component of a stylesheet that is used to match a
0054:             *     particular portion of an input document and specifies the form of the
0055:             *     corresponding portion of the output document.
0056:             *
0057:             *  4) An element is a mark-up tag in an XML document; an attribute is a
0058:             *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
0059:             *     "elem" is an element name, "attr" and "attr2" are attribute names with
0060:             *     the values "val" and "val2", respectively.
0061:             *
0062:             *  5) A namespace declaration is a special attribute that is used to associate
0063:             *     a prefix with a URI (the namespace).  The meanings of element names and
0064:             *     attribute names that use that prefix are defined with respect to that
0065:             *     namespace.
0066:             *
0067:             *  6) "Translet" is an invented term that describes the class file that
0068:             *     results from compiling an XML stylesheet into a Java class.
0069:             *
0070:             *  7) XPath is a specification that describes a notation for identifying
0071:             *     nodes in a tree-structured representation of an XML document.  An
0072:             *     instance of that notation is referred to as an XPath expression.
0073:             *
0074:             *  8) The context node is the node in the document with respect to which an
0075:             *     XPath expression is being evaluated.
0076:             *
0077:             *  9) An iterator is an object that traverses nodes in the tree, one at a time.
0078:             *
0079:             *  10) NCName is an XML term used to describe a name that does not contain a
0080:             *     colon (a "no-colon name").
0081:             *
0082:             *  11) QName is an XML term meaning "qualified name".
0083:             */
0084:
0085:            /** Field MAX_CODE          */
0086:            public static final int MAX_CODE = 108; // this is needed to keep track of the number of messages
0087:
0088:            /** Field MAX_WARNING          */
0089:            public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings
0090:
0091:            /** Field MAX_OTHERS          */
0092:            public static final int MAX_OTHERS = 20;
0093:
0094:            /** Field MAX_MESSAGES          */
0095:            public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
0096:
0097:            /*
0098:             * static variables
0099:             */
0100:            public static final String ERROR0000 = "ERROR0000";
0101:            public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH = "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
0102:            public static final String ER_CURRENT_TAKES_NO_ARGS = "ER_CURRENT_TAKES_NO_ARGS";
0103:            public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";
0104:            public static final String ER_CONTEXT_HAS_NO_OWNERDOC = "ER_CONTEXT_HAS_NO_OWNERDOC";
0105:            public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS = "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
0106:            public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS";
0107:            public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS";
0108:            public static final String ER_NUMBER_HAS_TOO_MANY_ARGS = "ER_NUMBER_HAS_TOO_MANY_ARGS";
0109:            public static final String ER_NAME_HAS_TOO_MANY_ARGS = "ER_NAME_HAS_TOO_MANY_ARGS";
0110:            public static final String ER_STRING_HAS_TOO_MANY_ARGS = "ER_STRING_HAS_TOO_MANY_ARGS";
0111:            public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS";
0112:            public static final String ER_TRANSLATE_TAKES_3_ARGS = "ER_TRANSLATE_TAKES_3_ARGS";
0113:            public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG = "ER_UNPARSEDENTITYURI_TAKES_1_ARG";
0114:            public static final String ER_NAMESPACEAXIS_NOT_IMPLEMENTED = "ER_NAMESPACEAXIS_NOT_IMPLEMENTED";
0115:            public static final String ER_UNKNOWN_AXIS = "ER_UNKNOWN_AXIS";
0116:            public static final String ER_UNKNOWN_MATCH_OPERATION = "ER_UNKNOWN_MATCH_OPERATION";
0117:            public static final String ER_INCORRECT_ARG_LENGTH = "ER_INCORRECT_ARG_LENGTH";
0118:            public static final String ER_CANT_CONVERT_TO_NUMBER = "ER_CANT_CONVERT_TO_NUMBER";
0119:            public static final String ER_CANT_CONVERT_TO_NODELIST = "ER_CANT_CONVERT_TO_NODELIST";
0120:            public static final String ER_CANT_CONVERT_TO_MUTABLENODELIST = "ER_CANT_CONVERT_TO_MUTABLENODELIST";
0121:            public static final String ER_CANT_CONVERT_TO_TYPE = "ER_CANT_CONVERT_TO_TYPE";
0122:            public static final String ER_EXPECTED_MATCH_PATTERN = "ER_EXPECTED_MATCH_PATTERN";
0123:            public static final String ER_COULDNOT_GET_VAR_NAMED = "ER_COULDNOT_GET_VAR_NAMED";
0124:            public static final String ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE";
0125:            public static final String ER_EXTRA_ILLEGAL_TOKENS = "ER_EXTRA_ILLEGAL_TOKENS";
0126:            public static final String ER_EXPECTED_DOUBLE_QUOTE = "ER_EXPECTED_DOUBLE_QUOTE";
0127:            public static final String ER_EXPECTED_SINGLE_QUOTE = "ER_EXPECTED_SINGLE_QUOTE";
0128:            public static final String ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION";
0129:            public static final String ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND";
0130:            public static final String ER_INCORRECT_PROGRAMMER_ASSERTION = "ER_INCORRECT_PROGRAMMER_ASSERTION";
0131:            public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL";
0132:            public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG";
0133:            public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG";
0134:            public static final String ER_PREDICATE_ILLEGAL_SYNTAX = "ER_PREDICATE_ILLEGAL_SYNTAX";
0135:            public static final String ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME";
0136:            public static final String ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE";
0137:            public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED";
0138:            public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER = "ER_COULDNOT_BE_FORMATTED_TO_NUMBER";
0139:            public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON";
0140:            public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP = "ER_DIDNOT_FIND_XPATH_SELECT_EXP";
0141:            public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH";
0142:            public static final String ER_ERROR_OCCURED = "ER_ERROR_OCCURED";
0143:            public static final String ER_ILLEGAL_VARIABLE_REFERENCE = "ER_ILLEGAL_VARIABLE_REFERENCE";
0144:            public static final String ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED";
0145:            public static final String ER_KEY_HAS_TOO_MANY_ARGS = "ER_KEY_HAS_TOO_MANY_ARGS";
0146:            public static final String ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG";
0147:            public static final String ER_COULDNOT_FIND_FUNCTION = "ER_COULDNOT_FIND_FUNCTION";
0148:            public static final String ER_UNSUPPORTED_ENCODING = "ER_UNSUPPORTED_ENCODING";
0149:            public static final String ER_PROBLEM_IN_DTM_NEXTSIBLING = "ER_PROBLEM_IN_DTM_NEXTSIBLING";
0150:            public static final String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = "ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL";
0151:            public static final String ER_SETDOMFACTORY_NOT_SUPPORTED = "ER_SETDOMFACTORY_NOT_SUPPORTED";
0152:            public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
0153:            public static final String ER_PARSE_NOT_SUPPORTED = "ER_PARSE_NOT_SUPPORTED";
0154:            //public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED =
0155:            //       "ER_CREATEDOCUMENT_NOT_SUPPORTED";
0156:            //public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT =
0157:            //       "ER_CHILD_HAS_NO_OWNER_DOCUMENT";
0158:            //public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT =
0159:            //       "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT";
0160:            public static final String ER_SAX_API_NOT_HANDLED = "ER_SAX_API_NOT_HANDLED";
0161:            public static final String ER_IGNORABLE_WHITESPACE_NOT_HANDLED = "ER_IGNORABLE_WHITESPACE_NOT_HANDLED";
0162:            public static final String ER_DTM_CANNOT_HANDLE_NODES = "ER_DTM_CANNOT_HANDLE_NODES";
0163:            public static final String ER_XERCES_CANNOT_HANDLE_NODES = "ER_XERCES_CANNOT_HANDLE_NODES";
0164:            public static final String ER_XERCES_PARSE_ERROR_DETAILS = "ER_XERCES_PARSE_ERROR_DETAILS";
0165:            public static final String ER_XERCES_PARSE_ERROR = "ER_XERCES_PARSE_ERROR";
0166:            //public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC =
0167:            //       "ER_CANT_OUTPUT_TEXT_BEFORE_DOC";
0168:            //public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT =
0169:            //       "ER_CANT_HAVE_MORE_THAN_ONE_ROOT";
0170:            public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
0171:            public static final String ER_OIERROR = "ER_OIERROR";
0172:            public static final String ER_CANNOT_CREATE_URL = "ER_CANNOT_CREATE_URL";
0173:            public static final String ER_XPATH_READOBJECT = "ER_XPATH_READOBJECT";
0174:            public static final String ER_FUNCTION_TOKEN_NOT_FOUND = "ER_FUNCTION_TOKEN_NOT_FOUND";
0175:            //public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
0176:            public static final String ER_CANNOT_DEAL_XPATH_TYPE = "ER_CANNOT_DEAL_XPATH_TYPE";
0177:            public static final String ER_NODESET_NOT_MUTABLE = "ER_NODESET_NOT_MUTABLE";
0178:            public static final String ER_NODESETDTM_NOT_MUTABLE = "ER_NODESETDTM_NOT_MUTABLE";
0179:            /**  Variable not resolvable:   */
0180:            public static final String ER_VAR_NOT_RESOLVABLE = "ER_VAR_NOT_RESOLVABLE";
0181:            /** Null error handler  */
0182:            public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
0183:            /**  Programmer's assertion: unknown opcode  */
0184:            public static final String ER_PROG_ASSERT_UNKNOWN_OPCODE = "ER_PROG_ASSERT_UNKNOWN_OPCODE";
0185:            /**  0 or 1   */
0186:            public static final String ER_ZERO_OR_ONE = "ER_ZERO_OR_ONE";
0187:            /**  rtf() not supported by XRTreeFragSelectWrapper   */
0188:            public static final String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
0189:            /**  asNodeIterator() not supported by XRTreeFragSelectWrapper   */
0190:            public static final String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
0191:            /**  fsb() not supported for XStringForChars   */
0192:            public static final String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS";
0193:            /**  Could not find variable with the name of   */
0194:            public static final String ER_COULD_NOT_FIND_VAR = "ER_COULD_NOT_FIND_VAR";
0195:            /**  XStringForChars can not take a string for an argument   */
0196:            public static final String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING";
0197:            /**  The FastStringBuffer argument can not be null   */
0198:            public static final String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL";
0199:            /**  2 or 3   */
0200:            public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
0201:            /** Variable accessed before it is bound! */
0202:            public static final String ER_VARIABLE_ACCESSED_BEFORE_BIND = "ER_VARIABLE_ACCESSED_BEFORE_BIND";
0203:            /** XStringForFSB can not take a string for an argument! */
0204:            public static final String ER_FSB_CANNOT_TAKE_STRING = "ER_FSB_CANNOT_TAKE_STRING";
0205:            /** Error! Setting the root of a walker to null! */
0206:            public static final String ER_SETTING_WALKER_ROOT_TO_NULL = "ER_SETTING_WALKER_ROOT_TO_NULL";
0207:            /** This NodeSetDTM can not iterate to a previous node! */
0208:            public static final String ER_NODESETDTM_CANNOT_ITERATE = "ER_NODESETDTM_CANNOT_ITERATE";
0209:            /** This NodeSet can not iterate to a previous node! */
0210:            public static final String ER_NODESET_CANNOT_ITERATE = "ER_NODESET_CANNOT_ITERATE";
0211:            /** This NodeSetDTM can not do indexing or counting functions! */
0212:            public static final String ER_NODESETDTM_CANNOT_INDEX = "ER_NODESETDTM_CANNOT_INDEX";
0213:            /** This NodeSet can not do indexing or counting functions! */
0214:            public static final String ER_NODESET_CANNOT_INDEX = "ER_NODESET_CANNOT_INDEX";
0215:            /** Can not call setShouldCacheNodes after nextNode has been called! */
0216:            public static final String ER_CANNOT_CALL_SETSHOULDCACHENODE = "ER_CANNOT_CALL_SETSHOULDCACHENODE";
0217:            /** {0} only allows {1} arguments */
0218:            public static final String ER_ONLY_ALLOWS = "ER_ONLY_ALLOWS";
0219:            /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
0220:            public static final String ER_UNKNOWN_STEP = "ER_UNKNOWN_STEP";
0221:            /** Problem with RelativeLocationPath */
0222:            public static final String ER_EXPECTED_REL_LOC_PATH = "ER_EXPECTED_REL_LOC_PATH";
0223:            /** Problem with LocationPath */
0224:            public static final String ER_EXPECTED_LOC_PATH = "ER_EXPECTED_LOC_PATH";
0225:            /** Problem with Step */
0226:            public static final String ER_EXPECTED_LOC_STEP = "ER_EXPECTED_LOC_STEP";
0227:            /** Problem with NodeTest */
0228:            public static final String ER_EXPECTED_NODE_TEST = "ER_EXPECTED_NODE_TEST";
0229:            /** Expected step pattern */
0230:            public static final String ER_EXPECTED_STEP_PATTERN = "ER_EXPECTED_STEP_PATTERN";
0231:            /** Expected relative path pattern */
0232:            public static final String ER_EXPECTED_REL_PATH_PATTERN = "ER_EXPECTED_REL_PATH_PATTERN";
0233:            /** localname in QNAME should be a valid NCName */
0234:            //public static final String ER_ARG_LOCALNAME_INVALID =
0235:            //       "ER_ARG_LOCALNAME_INVALID";
0236:            /** prefix in QNAME should be a valid NCName */
0237:            //public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
0238:            /** Field ER_CANT_CONVERT_TO_BOOLEAN          */
0239:            public static final String ER_CANT_CONVERT_TO_BOOLEAN = "ER_CANT_CONVERT_TO_BOOLEAN";
0240:            /** Field ER_CANT_CONVERT_TO_SINGLENODE       */
0241:            public static final String ER_CANT_CONVERT_TO_SINGLENODE = "ER_CANT_CONVERT_TO_SINGLENODE";
0242:            /** Field ER_CANT_GET_SNAPSHOT_LENGTH         */
0243:            public static final String ER_CANT_GET_SNAPSHOT_LENGTH = "ER_CANT_GET_SNAPSHOT_LENGTH";
0244:            /** Field ER_NON_ITERATOR_TYPE                */
0245:            public static final String ER_NON_ITERATOR_TYPE = "ER_NON_ITERATOR_TYPE";
0246:            /** Field ER_DOC_MUTATED                      */
0247:            public static final String ER_DOC_MUTATED = "ER_DOC_MUTATED";
0248:            public static final String ER_INVALID_XPATH_TYPE = "ER_INVALID_XPATH_TYPE";
0249:            public static final String ER_EMPTY_XPATH_RESULT = "ER_EMPTY_XPATH_RESULT";
0250:            public static final String ER_INCOMPATIBLE_TYPES = "ER_INCOMPATIBLE_TYPES";
0251:            public static final String ER_NULL_RESOLVER = "ER_NULL_RESOLVER";
0252:            public static final String ER_CANT_CONVERT_TO_STRING = "ER_CANT_CONVERT_TO_STRING";
0253:            public static final String ER_NON_SNAPSHOT_TYPE = "ER_NON_SNAPSHOT_TYPE";
0254:            public static final String ER_WRONG_DOCUMENT = "ER_WRONG_DOCUMENT";
0255:            /* Note to translators:  The XPath expression cannot be evaluated with respect
0256:             * to this type of node.
0257:             */
0258:            /** Field ER_WRONG_NODETYPE                    */
0259:            public static final String ER_WRONG_NODETYPE = "ER_WRONG_NODETYPE";
0260:            public static final String ER_XPATH_ERROR = "ER_XPATH_ERROR";
0261:
0262:            public static final String WG_LOCALE_NAME_NOT_HANDLED = "WG_LOCALE_NAME_NOT_HANDLED";
0263:            public static final String WG_PROPERTY_NOT_SUPPORTED = "WG_PROPERTY_NOT_SUPPORTED";
0264:            public static final String WG_DONT_DO_ANYTHING_WITH_NS = "WG_DONT_DO_ANYTHING_WITH_NS";
0265:            public static final String WG_SECURITY_EXCEPTION = "WG_SECURITY_EXCEPTION";
0266:            public static final String WG_QUO_NO_LONGER_DEFINED = "WG_QUO_NO_LONGER_DEFINED";
0267:            public static final String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = "WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST";
0268:            public static final String WG_FUNCTION_TOKEN_NOT_FOUND = "WG_FUNCTION_TOKEN_NOT_FOUND";
0269:            public static final String WG_COULDNOT_FIND_FUNCTION = "WG_COULDNOT_FIND_FUNCTION";
0270:            public static final String WG_CANNOT_MAKE_URL_FROM = "WG_CANNOT_MAKE_URL_FROM";
0271:            public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED = "WG_EXPAND_ENTITIES_NOT_SUPPORTED";
0272:            public static final String WG_ILLEGAL_VARIABLE_REFERENCE = "WG_ILLEGAL_VARIABLE_REFERENCE";
0273:            public static final String WG_UNSUPPORTED_ENCODING = "WG_UNSUPPORTED_ENCODING";
0274:
0275:            // Error messages...
0276:
0277:            /**
0278:             * Get the association list.
0279:             *
0280:             * @return The association list.
0281:             */
0282:            public Object[][] getContents() {
0283:                return new Object[][] {
0284:
0285:                        /** Field ERROR0000          */
0286:
0287:                        //  public static final int ERROR0000 = 0;
0288:                        { "ERROR0000", "{0}" },
0289:
0290:                        /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH          */
0291:                        //  public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1;
0292:                        {
0293:                                ER_CURRENT_NOT_ALLOWED_IN_MATCH,
0294:                                "\u5339\u914d\u6a21\u5f0f\u4e2d\u4e0d\u5141\u8bb8\u51fa\u73b0 current() \u51fd\u6570\uff01" },
0295:
0296:                        /** Field ER_CURRENT_TAKES_NO_ARGS          */
0297:                        //public static final int ER_CURRENT_TAKES_NO_ARGS = 2;
0298:                        { ER_CURRENT_TAKES_NO_ARGS,
0299:                                "current() \u51fd\u6570\u4e0d\u63a5\u53d7\u81ea\u53d8\u91cf\uff01" },
0300:
0301:                        /** Field ER_DOCUMENT_REPLACED          */
0302:                        //  public static final int ER_DOCUMENT_REPLACED = 3;
0303:                        {
0304:                                ER_DOCUMENT_REPLACED,
0305:                                "document() \u51fd\u6570\u5b9e\u73b0\u5df2\u88ab org.apache.xalan.xslt.FuncDocument \u66ff\u6362\uff01" },
0306:
0307:                        /** Field ER_CONTEXT_HAS_NO_OWNERDOC          */
0308:                        // public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4;
0309:                        { ER_CONTEXT_HAS_NO_OWNERDOC,
0310:                                "\u4e0a\u4e0b\u6587\u6ca1\u6709\u6240\u6709\u8005\u6587\u6863\uff01" },
0311:
0312:                        /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS          */
0313:                        // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
0314:                        { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
0315:                                "local-name() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002" },
0316:
0317:                        /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS          */
0318:                        //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
0319:                        { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
0320:                                "namespace-uri() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002" },
0321:
0322:                        /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS          */
0323:                        //  public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
0324:                        { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
0325:                                "normalize-space() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002" },
0326:
0327:                        /** Field ER_NUMBER_HAS_TOO_MANY_ARGS          */
0328:                        //  public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
0329:                        { ER_NUMBER_HAS_TOO_MANY_ARGS,
0330:                                "number() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002" },
0331:
0332:                        /** Field ER_NAME_HAS_TOO_MANY_ARGS          */
0333:                        //  public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
0334:                        { ER_NAME_HAS_TOO_MANY_ARGS,
0335:                                "name() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002" },
0336:
0337:                        /** Field ER_STRING_HAS_TOO_MANY_ARGS          */
0338:                        //  public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
0339:                        { ER_STRING_HAS_TOO_MANY_ARGS,
0340:                                "string() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002" },
0341:
0342:                        /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS          */
0343:                        //  public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
0344:                        { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
0345:                                "string-length() \u7684\u81ea\u53d8\u91cf\u592a\u591a\u3002" },
0346:
0347:                        /** Field ER_TRANSLATE_TAKES_3_ARGS          */
0348:                        //  public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
0349:                        { ER_TRANSLATE_TAKES_3_ARGS,
0350:                                "translate() \u51fd\u6570\u6709\u4e09\u4e2a\u81ea\u53d8\u91cf\uff01" },
0351:
0352:                        /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG          */
0353:                        //  public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
0354:                        {
0355:                                ER_UNPARSEDENTITYURI_TAKES_1_ARG,
0356:                                "unparsed-entity-uri \u51fd\u6570\u5e94\u6709\u4e00\u4e2a\u81ea\u53d8\u91cf\uff01" },
0357:
0358:                        /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED          */
0359:                        //  public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
0360:                        { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
0361:                                "\u540d\u79f0\u7a7a\u95f4\u8f74\u5c1a\u672a\u5b9e\u73b0\uff01" },
0362:
0363:                        /** Field ER_UNKNOWN_AXIS          */
0364:                        //  public static final int ER_UNKNOWN_AXIS = 15;
0365:                        { ER_UNKNOWN_AXIS, "\u672a\u77e5\u8f74\uff1a{0}" },
0366:
0367:                        /** Field ER_UNKNOWN_MATCH_OPERATION          */
0368:                        //  public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
0369:                        { ER_UNKNOWN_MATCH_OPERATION,
0370:                                "\u672a\u77e5\u7684\u5339\u914d\u64cd\u4f5c\uff01" },
0371:
0372:                        /** Field ER_INCORRECT_ARG_LENGTH          */
0373:                        //  public static final int ER_INCORRECT_ARG_LENGTH = 17;
0374:                        {
0375:                                ER_INCORRECT_ARG_LENGTH,
0376:                                "processing-instruction() \u8282\u70b9\u6d4b\u8bd5\u7684\u81ea\u53d8\u91cf\u957f\u5ea6\u4e0d\u6b63\u786e\uff01" },
0377:
0378:                        /** Field ER_CANT_CONVERT_TO_NUMBER          */
0379:                        //  public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
0380:                        { ER_CANT_CONVERT_TO_NUMBER,
0381:                                "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u6570\u5b57" },
0382:
0383:                        /** Field ER_CANT_CONVERT_TO_NODELIST          */
0384:                        //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
0385:                        { ER_CANT_CONVERT_TO_NODELIST,
0386:                                "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210 NodeList\uff01" },
0387:
0388:                        /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST          */
0389:                        //  public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
0390:                        { ER_CANT_CONVERT_TO_MUTABLENODELIST,
0391:                                "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210 NodeSetDTM\uff01" },
0392:
0393:                        /** Field ER_CANT_CONVERT_TO_TYPE          */
0394:                        //  public static final int ER_CANT_CONVERT_TO_TYPE = 21;
0395:                        { ER_CANT_CONVERT_TO_TYPE,
0396:                                "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210 type#{1}" },
0397:
0398:                        /** Field ER_EXPECTED_MATCH_PATTERN          */
0399:                        //  public static final int ER_EXPECTED_MATCH_PATTERN = 22;
0400:                        { ER_EXPECTED_MATCH_PATTERN,
0401:                                "getMatchScore \u4e2d\u671f\u671b\u7684\u5339\u914d\u6a21\u5f0f\uff01" },
0402:
0403:                        /** Field ER_COULDNOT_GET_VAR_NAMED          */
0404:                        //  public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
0405:                        { ER_COULDNOT_GET_VAR_NAMED,
0406:                                "\u65e0\u6cd5\u83b7\u53d6\u540d\u4e3a {0} \u7684\u53d8\u91cf" },
0407:
0408:                        /** Field ER_UNKNOWN_OPCODE          */
0409:                        //  public static final int ER_UNKNOWN_OPCODE = 24;
0410:                        { ER_UNKNOWN_OPCODE,
0411:                                "\u9519\u8bef\uff01\u672a\u77e5\u64cd\u4f5c\u7801\uff1a{0}" },
0412:
0413:                        /** Field ER_EXTRA_ILLEGAL_TOKENS          */
0414:                        //  public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
0415:                        { ER_EXTRA_ILLEGAL_TOKENS,
0416:                                "\u989d\u5916\u7684\u975e\u6cd5\u6807\u8bb0\uff1a{0}" },
0417:
0418:                        /** Field ER_EXPECTED_DOUBLE_QUOTE          */
0419:                        //  public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
0420:                        {
0421:                                ER_EXPECTED_DOUBLE_QUOTE,
0422:                                "\u9519\u8bef\u5f15\u7528\u7684\u6587\u5b57... \u671f\u671b\u4e3a\u53cc\u5f15\u53f7\uff01" },
0423:
0424:                        /** Field ER_EXPECTED_SINGLE_QUOTE          */
0425:                        //  public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
0426:                        {
0427:                                ER_EXPECTED_SINGLE_QUOTE,
0428:                                "\u9519\u8bef\u5f15\u7528\u7684\u6587\u5b57... \u671f\u671b\u4e3a\u5355\u5f15\u53f7\uff01" },
0429:
0430:                        /** Field ER_EMPTY_EXPRESSION          */
0431:                        //  public static final int ER_EMPTY_EXPRESSION = 28;
0432:                        { ER_EMPTY_EXPRESSION, "\u7a7a\u8868\u8fbe\u5f0f\uff01" },
0433:
0434:                        /** Field ER_EXPECTED_BUT_FOUND          */
0435:                        //  public static final int ER_EXPECTED_BUT_FOUND = 29;
0436:                        { ER_EXPECTED_BUT_FOUND,
0437:                                "\u671f\u671b {0}\uff0c\u4f46\u627e\u5230\u4e86\uff1a{1}" },
0438:
0439:                        /** Field ER_INCORRECT_PROGRAMMER_ASSERTION          */
0440:                        //  public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
0441:                        { ER_INCORRECT_PROGRAMMER_ASSERTION,
0442:                                "\u7a0b\u5e8f\u5458\u7684\u65ad\u5b9a\u4e0d\u6b63\u786e\uff01\u2015 {0}" },
0443:
0444:                        /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL          */
0445:                        //  public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
0446:                        {
0447:                                ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
0448:                                "19990709 XPath \u8349\u7a3f\u4e2d\uff0c\u5e03\u5c14\uff08...\uff09\u81ea\u53d8\u91cf\u4e0d\u518d\u662f\u53ef\u9009\u7684\u4e86\u3002" },
0449:
0450:                        /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG          */
0451:                        //  public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
0452:                        {
0453:                                ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
0454:                                "\u5df2\u627e\u5230\u201c\uff0c\u201d\u4f46\u524d\u9762\u6ca1\u6709\u81ea\u53d8\u91cf\uff01" },
0455:
0456:                        /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG          */
0457:                        //  public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
0458:                        {
0459:                                ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
0460:                                "\u5df2\u627e\u5230\u201c\uff0c\u201d\u4f46\u540e\u9762\u6ca1\u6709\u81ea\u53d8\u91cf\uff01" },
0461:
0462:                        /** Field ER_PREDICATE_ILLEGAL_SYNTAX          */
0463:                        //  public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
0464:                        {
0465:                                ER_PREDICATE_ILLEGAL_SYNTAX,
0466:                                "\u201c..[predicate]\u201d\u6216\u201c.[predicate]\u201d\u662f\u975e\u6cd5\u7684\u8bed\u6cd5\u3002\u8bf7\u6539\u4e3a\u4f7f\u7528\u201cself::node()[predicate]\u201d\u3002" },
0467:
0468:                        /** Field ER_ILLEGAL_AXIS_NAME          */
0469:                        //  public static final int ER_ILLEGAL_AXIS_NAME = 35;
0470:                        { ER_ILLEGAL_AXIS_NAME,
0471:                                "\u975e\u6cd5\u7684\u8f74\u540d\u79f0\uff1a{0}" },
0472:
0473:                        /** Field ER_UNKNOWN_NODETYPE          */
0474:                        //  public static final int ER_UNKNOWN_NODETYPE = 36;
0475:                        { ER_UNKNOWN_NODETYPE,
0476:                                "\u672a\u77e5\u8282\u70b9\u7c7b\u578b\uff1a{0}" },
0477:
0478:                        /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED          */
0479:                        //  public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
0480:                        { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
0481:                                "\u9700\u8981\u5f15\u7528\u6a21\u5f0f\u6587\u5b57\uff08{0}\uff09\uff01" },
0482:
0483:                        /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER          */
0484:                        //  public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
0485:                        { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
0486:                                "{0} \u65e0\u6cd5\u683c\u5f0f\u5316\u4e3a\u6570\u5b57\uff01" },
0487:
0488:                        /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON          */
0489:                        //  public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
0490:                        { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
0491:                                "\u65e0\u6cd5\u521b\u5efa XML TransformerFactory \u8054\u7cfb\uff1a{0}" },
0492:
0493:                        /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP          */
0494:                        //  public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
0495:                        {
0496:                                ER_DIDNOT_FIND_XPATH_SELECT_EXP,
0497:                                "\u9519\u8bef\uff01\u627e\u4e0d\u5230 xpath \u9009\u62e9\u8868\u8fbe\u5f0f\uff08-select\uff09\u3002" },
0498:
0499:                        /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH          */
0500:                        //  public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
0501:                        { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
0502:                                "\u9519\u8bef\uff01\u5728 OP_LOCATIONPATH \u4e4b\u540e\u627e\u4e0d\u5230 ENDOP" },
0503:
0504:                        /** Field ER_ERROR_OCCURED          */
0505:                        //  public static final int ER_ERROR_OCCURED = 42;
0506:                        { ER_ERROR_OCCURED, "\u51fa\u73b0\u9519\u8bef\uff01" },
0507:
0508:                        /** Field ER_ILLEGAL_VARIABLE_REFERENCE          */
0509:                        //  public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
0510:                        {
0511:                                ER_ILLEGAL_VARIABLE_REFERENCE,
0512:                                "\u5c06 VariableReference \u8d4b\u7ed9\u4e0a\u4e0b\u6587\u5916\u7684\u53d8\u91cf\u6216\u6ca1\u6709\u5b9a\u4e49\u7684\u53d8\u91cf\uff01\u540d\u79f0 = {0}" },
0513:
0514:                        /** Field ER_AXES_NOT_ALLOWED          */
0515:                        //  public static final int ER_AXES_NOT_ALLOWED = 44;
0516:                        {
0517:                                ER_AXES_NOT_ALLOWED,
0518:                                "\u5728\u5339\u914d\u6a21\u5f0f\u4e2d\u53ea\u5141\u8bb8 child:: \u548c attribute:: \u8f74\uff01\u8fdd\u53cd\u7684\u8f74 = {0}" },
0519:
0520:                        /** Field ER_KEY_HAS_TOO_MANY_ARGS          */
0521:                        //  public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
0522:                        { ER_KEY_HAS_TOO_MANY_ARGS,
0523:                                "key() \u7684\u81ea\u53d8\u91cf\u4e2a\u6570\u4e0d\u6b63\u786e\u3002" },
0524:
0525:                        /** Field ER_COUNT_TAKES_1_ARG          */
0526:                        //  public static final int ER_COUNT_TAKES_1_ARG = 46;
0527:                        { ER_COUNT_TAKES_1_ARG,
0528:                                "count \u51fd\u6570\u5e94\u8be5\u6709\u4e00\u4e2a\u81ea\u53d8\u91cf\uff01" },
0529:
0530:                        /** Field ER_COULDNOT_FIND_FUNCTION          */
0531:                        //  public static final int ER_COULDNOT_FIND_FUNCTION = 47;
0532:                        { ER_COULDNOT_FIND_FUNCTION,
0533:                                "\u627e\u4e0d\u5230\u51fd\u6570\uff1a{0}" },
0534:
0535:                        /** Field ER_UNSUPPORTED_ENCODING          */
0536:                        //  public static final int ER_UNSUPPORTED_ENCODING = 48;
0537:                        { ER_UNSUPPORTED_ENCODING,
0538:                                "\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\uff1a{0}" },
0539:
0540:                        /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING          */
0541:                        //  public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
0542:                        {
0543:                                ER_PROBLEM_IN_DTM_NEXTSIBLING,
0544:                                "getNextSibling \u8fc7\u7a0b\u4e2d\uff0cDTM \u4e2d\u51fa\u73b0\u95ee\u9898...\u6b63\u5728\u5c1d\u8bd5\u6062\u590d" },
0545:
0546:                        /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL          */
0547:                        //  public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
0548:                        { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
0549:                                "\u7a0b\u5e8f\u5458\u9519\u8bef\uff1aEmptyNodeList \u4e0d\u53ef\u5199\u3002" },
0550:
0551:                        /** Field ER_SETDOMFACTORY_NOT_SUPPORTED          */
0552:                        //  public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
0553:                        { ER_SETDOMFACTORY_NOT_SUPPORTED,
0554:                                "XPathContext \u4e0d\u652f\u6301 setDOMFactory\uff01" },
0555:
0556:                        /** Field ER_PREFIX_MUST_RESOLVE          */
0557:                        //  public static final int ER_PREFIX_MUST_RESOLVE = 52;
0558:                        { ER_PREFIX_MUST_RESOLVE,
0559:                                "\u524d\u7f00\u5fc5\u987b\u89e3\u6790\u4e3a\u540d\u79f0\u7a7a\u95f4\uff1a{0}" },
0560:
0561:                        /** Field ER_PARSE_NOT_SUPPORTED          */
0562:                        //  public static final int ER_PARSE_NOT_SUPPORTED = 53;
0563:                        {
0564:                                ER_PARSE_NOT_SUPPORTED,
0565:                                "XPathContext \u4e2d\u4e0d\u652f\u6301 parse (InputSource source)\uff01\u65e0\u6cd5\u6253\u5f00 {0}" },
0566:
0567:                        /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED          */
0568:                        //  public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
0569:                        //{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
0570:                        //    "createDocument() not supported in XPathContext!"},
0571:                        /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT          */
0572:                        //  public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
0573:                        //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
0574:                        //    "Attribute child does not have an owner document!"},
0575:                        /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT          */
0576:                        //  public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
0577:                        //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
0578:                        //    "Attribute child does not have an owner document element!"},
0579:                        /** Field ER_SAX_API_NOT_HANDLED          */
0580:                        //  public static final int ER_SAX_API_NOT_HANDLED = 57;
0581:                        { ER_SAX_API_NOT_HANDLED,
0582:                                "DTM \u4e0d\u5904\u7406 SAX API characters(char ch[]...\uff01" },
0583:
0584:                        /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED          */
0585:                        //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
0586:                        { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
0587:                                "DTM \u4e0d\u5904\u7406 ignorableWhitespace(char ch[]...\uff01" },
0588:
0589:                        /** Field ER_DTM_CANNOT_HANDLE_NODES          */
0590:                        //  public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
0591:                        { ER_DTM_CANNOT_HANDLE_NODES,
0592:                                "DTMLiaison \u4e0d\u80fd\u5904\u7406\u7c7b\u578b {0} \u7684\u8282\u70b9" },
0593:
0594:                        /** Field ER_XERCES_CANNOT_HANDLE_NODES          */
0595:                        //  public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
0596:                        { ER_XERCES_CANNOT_HANDLE_NODES,
0597:                                "DOM2Helper \u4e0d\u80fd\u5904\u7406\u7c7b\u578b {0} \u7684\u8282\u70b9" },
0598:
0599:                        /** Field ER_XERCES_PARSE_ERROR_DETAILS          */
0600:                        //  public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
0601:                        {
0602:                                ER_XERCES_PARSE_ERROR_DETAILS,
0603:                                "DOM2Helper.parse \u9519\u8bef\uff1aSystemID \uff0d \u7b2c {0} \u884c \uff0d {1}" },
0604:
0605:                        /** Field ER_XERCES_PARSE_ERROR          */
0606:                        //  public static final int ER_XERCES_PARSE_ERROR = 62;
0607:                        { ER_XERCES_PARSE_ERROR,
0608:                                "DOM2Helper.parse \u9519\u8bef" },
0609:
0610:                        /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC          */
0611:                        //  public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
0612:                        //{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
0613:                        //   "Warning: can't output text before document element!  Ignoring..."},
0614:                        /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT          */
0615:                        //  public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
0616:                        //{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
0617:                        //   "Can't have more than one root on a DOM!"},
0618:                        /** Field ER_INVALID_UTF16_SURROGATE          */
0619:                        //  public static final int ER_INVALID_UTF16_SURROGATE = 65;
0620:                        { ER_INVALID_UTF16_SURROGATE,
0621:                                "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u66ff\u4ee3\u8005\uff1a{0}\uff1f" },
0622:
0623:                        /** Field ER_OIERROR          */
0624:                        //public static final int ER_OIERROR = 66;
0625:                        { ER_OIERROR, "IO \u9519\u8bef" },
0626:
0627:                        /** Field ER_CANNOT_CREATE_URL          */
0628:                        //public static final int ER_CANNOT_CREATE_URL = 67;
0629:                        { ER_CANNOT_CREATE_URL,
0630:                                "\u65e0\u6cd5\u4e3a {0} \u521b\u5efa URL" },
0631:
0632:                        /** Field ER_XPATH_READOBJECT          */
0633:                        //  public static final int ER_XPATH_READOBJECT = 68;
0634:                        { ER_XPATH_READOBJECT,
0635:                                "\u5728 XPath.readObject \u4e2d\uff1a{0}" },
0636:
0637:                        /** Field ER_FUNCTION_TOKEN_NOT_FOUND         */
0638:                        // public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
0639:                        { ER_FUNCTION_TOKEN_NOT_FOUND,
0640:                                "\u627e\u4e0d\u5230\u51fd\u6570\u4ee4\u724c\u3002" },
0641:
0642:                        /**  Argument 'localName' is null  */
0643:                        // public static final int ER_ARG_LOCALNAME_NULL = 70;
0644:                        //{ ER_ARG_LOCALNAME_NULL,
0645:                        //     "Argument 'localName' is null"},
0646:                        /**  Can not deal with XPath type:   */
0647:                        //  public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
0648:                        { ER_CANNOT_DEAL_XPATH_TYPE,
0649:                                "\u65e0\u6cd5\u5904\u7406 XPath \u7c7b\u578b\uff1a{0}" },
0650:
0651:                        /**  This NodeSet is not mutable  */
0652:                        // public static final int ER_NODESET_NOT_MUTABLE = 72;
0653:                        { ER_NODESET_NOT_MUTABLE,
0654:                                "\u6b64 NodeSet \u662f\u4e0d\u6613\u53d8\u7684" },
0655:
0656:                        /**  This NodeSetDTM is not mutable  */
0657:                        //  public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
0658:                        { ER_NODESETDTM_NOT_MUTABLE,
0659:                                "\u6b64 NodeSetDTM \u662f\u4e0d\u6613\u53d8\u7684" },
0660:
0661:                        /**  Variable not resolvable:   */
0662:                        //  public static final int ER_VAR_NOT_RESOLVABLE = 74;
0663:                        { ER_VAR_NOT_RESOLVABLE,
0664:                                "\u53d8\u91cf\u4e0d\u53ef\u89e3\u6790\uff1a{0}" },
0665:
0666:                        /** Null error handler  */
0667:                        // public static final int ER_NULL_ERROR_HANDLER = 75;
0668:                        { ER_NULL_ERROR_HANDLER,
0669:                                "\u9519\u8bef\u5904\u7406\u7a0b\u5e8f\u4e3a\u7a7a" },
0670:
0671:                        /**  Programmer's assertion: unknown opcode  */
0672:                        // public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
0673:                        { ER_PROG_ASSERT_UNKNOWN_OPCODE,
0674:                                "\u7a0b\u5e8f\u5458\u65ad\u8a00\uff1a\u672a\u77e5\u64cd\u4f5c\u7801\uff1a{0}" },
0675:
0676:                        /**  0 or 1   */
0677:                        //  public static final int ER_ZERO_OR_ONE = 77;
0678:                        { ER_ZERO_OR_ONE, "0 \u6216 1" },
0679:
0680:                        /**  rtf() not supported by XRTreeFragSelectWrapper   */
0681:                        //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
0682:                        { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0683:                                "XRTreeFragSelectWrapper \u4e0d\u652f\u6301 rtf()" },
0684:
0685:                        /**  asNodeIterator() not supported by XRTreeFragSelectWrapper   */
0686:                        //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
0687:                        { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0688:                                "XRTreeFragSelectWrapper \u4e0d\u652f\u6301 asNodeIterator()" },
0689:
0690:                        /**  fsb() not supported for XStringForChars   */
0691:                        // public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
0692:                        { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
0693:                                "XStringForChars \u4e0d\u652f\u6301 fsb()" },
0694:
0695:                        /**  Could not find variable with the name of   */
0696:                        // public static final int ER_COULD_NOT_FIND_VAR = 81;
0697:                        { ER_COULD_NOT_FIND_VAR,
0698:                                "\u627e\u4e0d\u5230\u540d\u4e3a {0} \u7684\u53d8\u91cf" },
0699:
0700:                        /**  XStringForChars can not take a string for an argument   */
0701:                        // public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
0702:                        {
0703:                                ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
0704:                                "XStringForChars \u65e0\u6cd5\u5c06\u5b57\u7b26\u4e32\u4f5c\u4e3a\u81ea\u53d8\u91cf" },
0705:
0706:                        /**  The FastStringBuffer argument can not be null   */
0707:                        // public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
0708:                        { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
0709:                                "FastStringBuffer \u81ea\u53d8\u91cf\u4e0d\u80fd\u4e3a\u7a7a" },
0710:
0711:                        /* MANTIS_XALAN CHANGE: BEGIN */
0712:                        /**  2 or 3   */
0713:                        //  public static final int ER_TWO_OR_THREE = 84;
0714:                        { ER_TWO_OR_THREE, "2 \u6216 3" },
0715:
0716:                        /** Variable accessed before it is bound! */
0717:                        //  public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
0718:                        { ER_VARIABLE_ACCESSED_BEFORE_BIND,
0719:                                "\u5728\u7ed1\u5b9a\u524d\u5df2\u8bbf\u95ee\u53d8\u91cf\uff01" },
0720:
0721:                        /** XStringForFSB can not take a string for an argument! */
0722:                        // public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
0723:                        {
0724:                                ER_FSB_CANNOT_TAKE_STRING,
0725:                                "XStringForFSB \u65e0\u6cd5\u5c06\u5b57\u7b26\u4e32\u4f5c\u4e3a\u81ea\u53d8\u91cf\uff01" },
0726:
0727:                        /** Error! Setting the root of a walker to null! */
0728:                        //  public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
0729:                        {
0730:                                ER_SETTING_WALKER_ROOT_TO_NULL,
0731:                                "\n \uff01\uff01\uff01\uff01\u9519\u8bef\uff01\u6b63\u5728\u5c06\u6b65\u884c\u7a0b\u5e8f\u7684\u6839\u8bbe\u7f6e\u4e3a\u7a7a\uff01\uff01\uff01" },
0732:
0733:                        /** This NodeSetDTM can not iterate to a previous node! */
0734:                        //  public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
0735:                        {
0736:                                ER_NODESETDTM_CANNOT_ITERATE,
0737:                                "\u6b64 NodeSetDTM \u65e0\u6cd5\u8fed\u4ee3\u5230\u5148\u524d\u7684\u8282\u70b9\uff01" },
0738:
0739:                        /** This NodeSet can not iterate to a previous node! */
0740:                        // public static final int ER_NODESET_CANNOT_ITERATE = 89;
0741:                        {
0742:                                ER_NODESET_CANNOT_ITERATE,
0743:                                "\u6b64 NodeSet \u65e0\u6cd5\u8fed\u4ee3\u5230\u5148\u524d\u7684\u8282\u70b9\uff01" },
0744:
0745:                        /** This NodeSetDTM can not do indexing or counting functions! */
0746:                        //  public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
0747:                        {
0748:                                ER_NODESETDTM_CANNOT_INDEX,
0749:                                "\u6b64 NodeSetDTM \u65e0\u6cd5\u6267\u884c\u7d22\u5f15\u6216\u8ba1\u6570\u529f\u80fd\uff01" },
0750:
0751:                        /** This NodeSet can not do indexing or counting functions! */
0752:                        //  public static final int ER_NODESET_CANNOT_INDEX = 91;
0753:                        {
0754:                                ER_NODESET_CANNOT_INDEX,
0755:                                "\u6b64 NodeSet \u65e0\u6cd5\u6267\u884c\u7d22\u5f15\u6216\u8ba1\u6570\u529f\u80fd\uff01" },
0756:
0757:                        /** Can not call setShouldCacheNodes after nextNode has been called! */
0758:                        //  public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
0759:                        {
0760:                                ER_CANNOT_CALL_SETSHOULDCACHENODE,
0761:                                "\u5df2\u7ecf\u8c03\u7528 nextNode \u540e\u65e0\u6cd5\u8c03\u7528 setShouldCacheNodes\uff01" },
0762:
0763:                        /** {0} only allows {1} arguments */
0764:                        // public static final int ER_ONLY_ALLOWS = 93;
0765:                        { ER_ONLY_ALLOWS,
0766:                                "{0} \u4ec5\u5141\u8bb8 {1} \u4e2a\u81ea\u53d8\u91cf" },
0767:
0768:                        /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
0769:                        //  public static final int ER_UNKNOWN_STEP = 94;
0770:                        {
0771:                                ER_UNKNOWN_STEP,
0772:                                "\u7a0b\u5e8f\u5458\u5728 getNextStepPos \u4e2d\u7684\u65ad\u8a00\uff1a\u672a\u77e5\u7684 stepType\uff1a{0}" },
0773:
0774:                        //Note to translators:  A relative location path is a form of XPath expression.
0775:                        // The message indicates that such an expression was expected following the
0776:                        // characters '/' or '//', but was not found.
0777:
0778:                        /** Problem with RelativeLocationPath */
0779:                        //  public static final int ER_EXPECTED_REL_LOC_PATH = 95;
0780:                        {
0781:                                ER_EXPECTED_REL_LOC_PATH,
0782:                                "\u5728\u201c/\u201d\u6216\u201c//\u201d\u6807\u8bb0\u540e\u671f\u671b\u51fa\u73b0\u76f8\u5bf9\u4f4d\u7f6e\u8def\u5f84\u3002" },
0783:
0784:                        // Note to translators:  A location path is a form of XPath expression.
0785:                        // The message indicates that syntactically such an expression was expected,but
0786:                        // the characters specified by the substitution text were encountered instead.
0787:
0788:                        /** Problem with LocationPath */
0789:                        //  public static final int ER_EXPECTED_LOC_PATH = 96;
0790:                        {
0791:                                ER_EXPECTED_LOC_PATH,
0792:                                "\u671f\u671b\u51fa\u73b0\u4f4d\u7f6e\u8def\u5f84\uff0c\u4f46\u9047\u5230\u4ee5\u4e0b\u6807\u8bb0\u003a{0}" },
0793:
0794:                        // Note to translators:  A location step is part of an XPath expression.
0795:                        // The message indicates that syntactically such an expression was expected
0796:                        // following the specified characters.
0797:
0798:                        /** Problem with Step */
0799:                        //  public static final int ER_EXPECTED_LOC_STEP = 97;
0800:                        {
0801:                                ER_EXPECTED_LOC_STEP,
0802:                                "\u201c/\u201d\u6216\u201c//\u201d\u6807\u8bb0\u540e\u671f\u671b\u51fa\u73b0\u4f4d\u7f6e\u6b65\u9aa4\u3002" },
0803:
0804:                        // Note to translators:  A node test is part of an XPath expression that is
0805:                        // used to test for particular kinds of nodes.  In this case, a node test that
0806:                        // consists of an NCName followed by a colon and an asterisk or that consists
0807:                        // of a QName was expected, but was not found.
0808:
0809:                        /** Problem with NodeTest */
0810:                        //  public static final int ER_EXPECTED_NODE_TEST = 98;
0811:                        {
0812:                                ER_EXPECTED_NODE_TEST,
0813:                                "\u671f\u671b\u51fa\u73b0\u4e0e NCName:* \u6216 QName \u5339\u914d\u7684\u8282\u70b9\u6d4b\u8bd5\u3002" },
0814:
0815:                        // Note to translators:  A step pattern is part of an XPath expression.
0816:                        // The message indicates that syntactically such an expression was expected,
0817:                        // but the specified character was found in the expression instead.
0818:
0819:                        /** Expected step pattern */
0820:                        //  public static final int ER_EXPECTED_STEP_PATTERN = 99;
0821:                        {
0822:                                ER_EXPECTED_STEP_PATTERN,
0823:                                "\u671f\u671b\u51fa\u73b0\u6b65\u9aa4\u6a21\u5f0f\uff0c\u4f46\u9047\u5230\u4e86\u201c/\u201d\u3002" },
0824:
0825:                        // Note to translators: A relative path pattern is part of an XPath expression.
0826:                        // The message indicates that syntactically such an expression was expected,
0827:                        // but was not found.
0828:
0829:                        /** Expected relative path pattern */
0830:                        //  public static final int ER_EXPECTED_REL_PATH_PATTERN = 100;
0831:                        { ER_EXPECTED_REL_PATH_PATTERN,
0832:                                "\u671f\u671b\u51fa\u73b0\u76f8\u5bf9\u8def\u5f84\u6a21\u5f0f\u3002" },
0833:
0834:                        // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
0835:                        // The localname is the portion after the optional colon; the message indicates
0836:                        // that there is a problem with that part of the QNAME.
0837:
0838:                        /** localname in QNAME should be a valid NCName */
0839:                        //  public static final int ER_ARG_LOCALNAME_INVALID = 101;
0840:                        //{ ER_ARG_LOCALNAME_INVALID,
0841:                        //     "Localname in QNAME should be a valid NCName"},
0842:                        // Note to translators:  A QNAME has the syntactic form [NCName:]NCName
0843:                        // The prefix is the portion before the optional colon; the message indicates
0844:                        // that there is a problem with that part of the QNAME.
0845:                        /** prefix in QNAME should be a valid NCName */
0846:                        // public static final int ER_ARG_PREFIX_INVALID = 102;
0847:                        //{ ER_ARG_PREFIX_INVALID,
0848:                        //    "Prefix in QNAME should be a valid NCName"},
0849:                        // Note to translators:  The substitution text is the name of a data type.  The
0850:                        // message indicates that a value of a particular type could not be converted
0851:                        // to a value of type string.
0852:                        /** Field ER_CANT_CONVERT_TO_BOOLEAN          */
0853:                        //  public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;
0854:                        { ER_CANT_CONVERT_TO_BOOLEAN,
0855:                                "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5e03\u5c14\u578b\u3002" },
0856:
0857:                        // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
0858:                        // FIRST_ORDERED_NODE_TYPE.
0859:
0860:                        /** Field ER_CANT_CONVERT_TO_SINGLENODE       */
0861:                        //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;
0862:                        {
0863:                                ER_CANT_CONVERT_TO_SINGLENODE,
0864:                                "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5355\u8282\u70b9\u3002\u6b64\u83b7\u53d6\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b ANY_UNORDERED_NODE_TYPE \u548c FIRST_ORDERED_NODE_TYPE\u3002" },
0865:
0866:                        // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
0867:                        // ORDERED_NODE_SNAPSHOT_TYPE.
0868:
0869:                        /** Field ER_CANT_GET_SNAPSHOT_LENGTH         */
0870:                        //  public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;
0871:                        {
0872:                                ER_CANT_GET_SNAPSHOT_LENGTH,
0873:                                "\u65e0\u6cd5\u5728\u7c7b\u578b {0} \u4e0a\u83b7\u53d6\u5feb\u7167\u957f\u5ea6\u3002\u6b64\u83b7\u53d6\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE\u3002" },
0874:
0875:                        /** Field ER_NON_ITERATOR_TYPE                */
0876:                        //public static final int ER_NON_ITERATOR_TYPE        = 106;
0877:                        { ER_NON_ITERATOR_TYPE,
0878:                                "\u65e0\u6cd5\u5bf9\u975e\u8fed\u4ee3\u7c7b\u578b {0} \u8fdb\u884c\u8fed\u4ee3" },
0879:
0880:                        // Note to translators: This message indicates that the document being operated
0881:                        // upon changed, so the iterator object that was being used to traverse the
0882:                        // document has now become invalid.
0883:
0884:                        /** Field ER_DOC_MUTATED                      */
0885:                        //  public static final int ER_DOC_MUTATED              = 107;
0886:                        {
0887:                                ER_DOC_MUTATED,
0888:                                "\u8fd4\u56de\u7ed3\u679c\u540e\u6587\u6863\u53d1\u751f\u53d8\u5316\u3002\u8fed\u4ee3\u5668\u65e0\u6548\u3002" },
0889:
0890:                        /** Field ER_INVALID_XPATH_TYPE               */
0891:                        //  public static final int ER_INVALID_XPATH_TYPE       = 108;
0892:                        { ER_INVALID_XPATH_TYPE,
0893:                                "\u65e0\u6548\u7684 XPath \u7c7b\u578b\u81ea\u53d8\u91cf\uff1a{0}" },
0894:
0895:                        /** Field ER_EMPTY_XPATH_RESULT                */
0896:                        //  public static final int ER_EMPTY_XPATH_RESULT       = 109;
0897:                        { ER_EMPTY_XPATH_RESULT,
0898:                                "\u7a7a\u7684 XPath \u7ed3\u679c\u5bf9\u8c61" },
0899:
0900:                        /** Field ER_INCOMPATIBLE_TYPES                */
0901:                        //  public static final int ER_INCOMPATIBLE_TYPES       = 110;
0902:                        {
0903:                                ER_INCOMPATIBLE_TYPES,
0904:                                "\u8fd4\u56de\u7c7b\u578b {0} \u65e0\u6cd5\u5f3a\u5236\u8f6c\u6362\u4e3a\u6307\u5b9a\u7684\u7c7b\u578b\uff1a{1}" },
0905:
0906:                        /** Field ER_NULL_RESOLVER                     */
0907:                        // public static final int ER_NULL_RESOLVER            = 111;
0908:                        {
0909:                                ER_NULL_RESOLVER,
0910:                                "\u65e0\u6cd5\u4f7f\u7528\u7a7a\u524d\u7f00\u89e3\u6790\u5668\u89e3\u6790\u524d\u7f00\u3002" },
0911:
0912:                        // Note to translators:  The substitution text is the name of a data type.  The
0913:                        // message indicates that a value of a particular type could not be converted
0914:                        // to a value of type string.
0915:
0916:                        /** Field ER_CANT_CONVERT_TO_STRING            */
0917:                        //  public static final int ER_CANT_CONVERT_TO_STRING   = 112;
0918:                        { ER_CANT_CONVERT_TO_STRING,
0919:                                "\u65e0\u6cd5\u5c06 {0} \u8f6c\u6362\u6210\u5b57\u7b26\u4e32\u3002" },
0920:
0921:                        // Note to translators: Do not translate snapshotItem,
0922:                        // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
0923:
0924:                        /** Field ER_NON_SNAPSHOT_TYPE                 */
0925:                        //  public static final int ER_NON_SNAPSHOT_TYPE       = 113;
0926:                        {
0927:                                ER_NON_SNAPSHOT_TYPE,
0928:                                "\u65e0\u6cd5\u5728\u7c7b\u578b {0} \u4e0a\u8c03\u7528 snapshotItem\u3002\u6b64\u65b9\u6cd5\u5e94\u7528\u4e8e\u7c7b\u578b UNORDERED_NODE_SNAPSHOT_TYPE \u548c ORDERED_NODE_SNAPSHOT_TYPE\u3002" },
0929:
0930:                        // Note to translators:  XPathEvaluator is a Java interface name.  An
0931:                        // XPathEvaluator is created with respect to a particular XML document, and in
0932:                        // this case the expression represented by this object was being evaluated with
0933:                        // respect to a context node from a different document.
0934:
0935:                        /** Field ER_WRONG_DOCUMENT                    */
0936:                        //  public static final int ER_WRONG_DOCUMENT          = 114;
0937:                        {
0938:                                ER_WRONG_DOCUMENT,
0939:                                "\u4e0a\u4e0b\u6587\u8282\u70b9\u4e0d\u5c5e\u4e8e\u7ed1\u5b9a\u5230\u6b64 XPathEvaluator \u7684\u6587\u6863\u3002" },
0940:
0941:                        // Note to translators:  The XPath expression cannot be evaluated with respect
0942:                        // to this type of node.
0943:                        /** Field ER_WRONG_NODETYPE                    */
0944:                        //  public static final int ER_WRONG_NODETYPE          = 115;
0945:                        { ER_WRONG_NODETYPE,
0946:                                "\u4e0d\u652f\u6301\u4e0a\u4e0b\u6587\u8282\u70b9\u7c7b\u578b\u3002" },
0947:
0948:                        /** Field ER_XPATH_ERROR                       */
0949:                        //  public static final int ER_XPATH_ERROR             = 116;
0950:                        { ER_XPATH_ERROR, "XPath \u672a\u77e5\u9519\u8bef" },
0951:
0952:                        // Warnings...
0953:
0954:                        /** Field WG_LOCALE_NAME_NOT_HANDLED          */
0955:                        //  public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
0956:                        {
0957:                                WG_LOCALE_NAME_NOT_HANDLED,
0958:                                "format-number \u51fd\u6570\u4e2d\u672a\u5904\u7406\u8fc7\u7684\u8bed\u8a00\u73af\u5883\u540d\uff01" },
0959:
0960:                        /** Field WG_PROPERTY_NOT_SUPPORTED          */
0961:                        //  public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
0962:                        { WG_PROPERTY_NOT_SUPPORTED,
0963:                                "\u4e0d\u652f\u6301 XSL \u5c5e\u6027\uff1a{0}" },
0964:
0965:                        /** Field WG_DONT_DO_ANYTHING_WITH_NS          */
0966:                        //  public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
0967:                        {
0968:                                WG_DONT_DO_ANYTHING_WITH_NS,
0969:                                "\u5f53\u524d\u4e0d\u8981\u5728\u5c5e\u6027 {1} \u4e2d\u5bf9\u540d\u79f0\u7a7a\u95f4 {0} \u8fdb\u884c\u4efb\u4f55\u5904\u7406" },
0970:
0971:                        /** Field WG_SECURITY_EXCEPTION          */
0972:                        // public static final int WG_SECURITY_EXCEPTION = 4;
0973:                        {
0974:                                WG_SECURITY_EXCEPTION,
0975:                                "\u5728\u8bd5\u56fe\u8bbf\u95ee XSL \u7cfb\u7edf\u5c5e\u6027 {0} \u65f6\u53d1\u751f SecurityException \u5f02\u5e38" },
0976:
0977:                        /** Field WG_QUO_NO_LONGER_DEFINED          */
0978:                        //  public static final int WG_QUO_NO_LONGER_DEFINED = 5;
0979:                        { WG_QUO_NO_LONGER_DEFINED,
0980:                                "XPath \u4e2d\u4e0d\u518d\u5b9a\u4e49\u65e7\u8bed\u6cd5\uff1aquo(...)\u3002" },
0981:
0982:                        /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST          */
0983:                        // public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
0984:                        {
0985:                                WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
0986:                                "XPath \u9700\u8981\u4e00\u4e2a\u6d3e\u751f\u7684\u5bf9\u8c61\u4ee5\u5b9e\u73b0 nodeTest\uff01" },
0987:
0988:                        /** Field WG_FUNCTION_TOKEN_NOT_FOUND          */
0989:                        //  public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
0990:                        { WG_FUNCTION_TOKEN_NOT_FOUND,
0991:                                "\u627e\u4e0d\u5230\u51fd\u6570\u4ee4\u724c\u3002" },
0992:
0993:                        /** Field WG_COULDNOT_FIND_FUNCTION          */
0994:                        //  public static final int WG_COULDNOT_FIND_FUNCTION = 8;
0995:                        { WG_COULDNOT_FIND_FUNCTION,
0996:                                "\u627e\u4e0d\u5230\u51fd\u6570\uff1a{0}" },
0997:
0998:                        /** Field WG_CANNOT_MAKE_URL_FROM          */
0999:                        //  public static final int WG_CANNOT_MAKE_URL_FROM = 9;
1000:                        { WG_CANNOT_MAKE_URL_FROM,
1001:                                "\u65e0\u6cd5\u4ece {0} \u751f\u6210 URL" },
1002:
1003:                        /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED          */
1004:                        //  public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
1005:                        { WG_EXPAND_ENTITIES_NOT_SUPPORTED,
1006:                                "DTM \u89e3\u6790\u5668\u4e0d\u652f\u6301 -E \u9009\u9879" },
1007:
1008:                        /** Field WG_ILLEGAL_VARIABLE_REFERENCE          */
1009:                        //  public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
1010:                        {
1011:                                WG_ILLEGAL_VARIABLE_REFERENCE,
1012:                                "\u5c06 VariableReference \u8d4b\u7ed9\u4e0a\u4e0b\u6587\u5916\u7684\u53d8\u91cf\u6216\u6ca1\u6709\u5b9a\u4e49\u7684\u53d8\u91cf\uff01\u540d\u79f0 = {0}" },
1013:
1014:                        /** Field WG_UNSUPPORTED_ENCODING          */
1015:                        //  public static final int WG_UNSUPPORTED_ENCODING = 12;
1016:                        { WG_UNSUPPORTED_ENCODING,
1017:                                "\u4e0d\u53d7\u652f\u6301\u7684\u7f16\u7801\uff1a{0}" },
1018:
1019:                        // Other miscellaneous text used inside the code...
1020:                        { "ui_language", "zh" },
1021:                        { "help_language", "zh" },
1022:                        { "language", "zh" },
1023:                        { "BAD_CODE",
1024:                                "createMessage \u7684\u53c2\u6570\u8d85\u51fa\u8303\u56f4" },
1025:                        {
1026:                                "FORMAT_FAILED",
1027:                                "\u5728 messageFormat \u8c03\u7528\u8fc7\u7a0b\u4e2d\u629b\u51fa\u7684\u5f02\u5e38" },
1028:                        { "version", ">>>>>>> Xalan \u7248\u672c" },
1029:                        { "version2", "<<<<<<<" },
1030:                        { "yes", "\u662f" },
1031:                        { "line", "\u884c\u53f7" },
1032:                        { "column", "\u5217\u53f7" },
1033:                        { "xsldone", "XSLProcessor\uff1a\u5b8c\u6210" },
1034:                        { "xpath_option", "xpath \u9009\u9879\uff1a" },
1035:                        { "optionIN", "[-in inputXMLURL]" },
1036:                        { "optionSelect", "[-select xpath \u8868\u8fbe\u5f0f]" },
1037:                        {
1038:                                "optionMatch",
1039:                                "[-match \u5339\u914d\u6a21\u5f0f\uff08\u7528\u4e8e\u5339\u914d\u8bca\u65ad\uff09]" },
1040:                        {
1041:                                "optionAnyExpr",
1042:                                "\u6216\u8005\u4ec5\u4e00\u4e2a xpath \u8868\u8fbe\u5f0f\u5c31\u5c06\u5b8c\u6210\u4e00\u4e2a\u8bca\u65ad\u8f6c\u50a8" },
1043:                        { "noParsermsg1",
1044:                                "XSL \u5904\u7406\u4e0d\u6210\u529f\u3002" },
1045:                        { "noParsermsg2",
1046:                                "** \u627e\u4e0d\u5230\u89e3\u6790\u5668 **" },
1047:                        { "noParsermsg3",
1048:                                "\u8bf7\u68c0\u67e5\u60a8\u7684\u7c7b\u8def\u5f84\u3002" },
1049:                        {
1050:                                "noParsermsg4",
1051:                                "\u5982\u679c\u6ca1\u6709 IBM \u7684 XML Parser for Java\uff0c\u60a8\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u4f4d\u7f6e\u4e0b\u8f7d\u5b83\uff1a" },
1052:                        { "noParsermsg5",
1053:                                "IBM \u7684 AlphaWorks\uff1ahttp://www.alphaworks.ibm.com/formula/xml" },
1054:                        { "gtone", ">1" }, { "zero", "0" }, { "one", "1" },
1055:                        { "two", "2" }, { "three", "3" }
1056:
1057:                };
1058:            }
1059:
1060:            // ================= INFRASTRUCTURE ======================
1061:
1062:            /** Field BAD_CODE          */
1063:            public static final String BAD_CODE = "BAD_CODE";
1064:
1065:            /** Field FORMAT_FAILED          */
1066:            public static final String FORMAT_FAILED = "FORMAT_FAILED";
1067:
1068:            /** Field ERROR_RESOURCES          */
1069:            public static final String ERROR_RESOURCES = "org.apache.xpath.res.XPATHErrorResources";
1070:
1071:            /** Field ERROR_STRING          */
1072:            public static final String ERROR_STRING = "#\u9519\u8bef";
1073:
1074:            /** Field ERROR_HEADER          */
1075:            public static final String ERROR_HEADER = "\u9519\u8bef:";
1076:
1077:            /** Field WARNING_HEADER          */
1078:            public static final String WARNING_HEADER = "\u8b66\u544a:";
1079:
1080:            /** Field XSL_HEADER          */
1081:            public static final String XSL_HEADER = "XSL ";
1082:
1083:            /** Field XML_HEADER          */
1084:            public static final String XML_HEADER = "XML ";
1085:
1086:            /** Field QUERY_HEADER          */
1087:            public static final String QUERY_HEADER = "PATTERN ";
1088:
1089:            /**
1090:             * Return a named ResourceBundle for a particular locale.  This method mimics the behavior
1091:             * of ResourceBundle.getBundle().
1092:             *
1093:             * @param className Name of local-specific subclass.
1094:             * @return the ResourceBundle
1095:             * @throws MissingResourceException
1096:             */
1097:            public static final XPATHErrorResources loadResourceBundle(
1098:                    String className) throws MissingResourceException {
1099:
1100:                Locale locale = Locale.getDefault();
1101:                String suffix = getResourceSuffix(locale);
1102:
1103:                try {
1104:
1105:                    // first try with the given locale
1106:                    return (XPATHErrorResources) ResourceBundle.getBundle(
1107:                            className + suffix, locale);
1108:                } catch (MissingResourceException e) {
1109:                    try // try to fall back to en_US if we can't load
1110:                    {
1111:
1112:                        // Since we can't find the localized property file,
1113:                        // fall back to en_US.
1114:                        return (XPATHErrorResources) ResourceBundle.getBundle(
1115:                                className, new Locale("zh", "CN"));
1116:                    } catch (MissingResourceException e2) {
1117:
1118:                        // Now we are really in trouble.
1119:                        // very bad, definitely very bad...not going to get very far
1120:                        throw new MissingResourceException(
1121:                                "\u65e0\u6cd5\u88c5\u5165\u4efb\u4f55\u8d44\u6e90\u5305\u3002",
1122:                                className, "");
1123:                    }
1124:                }
1125:            }
1126:
1127:            /**
1128:             * Return the resource file suffic for the indicated locale
1129:             * For most locales, this will be based the language code.  However
1130:             * for Chinese, we do distinguish between Taiwan and PRC
1131:             *
1132:             * @param locale the locale
1133:             * @return an String suffix which canbe appended to a resource name
1134:             */
1135:            private static final String getResourceSuffix(Locale locale) {
1136:
1137:                String suffix = "_" + locale.getLanguage();
1138:                String country = locale.getCountry();
1139:
1140:                if (country.equals("TW"))
1141:                    suffix += "_" + country;
1142:
1143:                return suffix;
1144:            }
1145:
1146:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.