Source Code Cross Referenced for ErrorMessages_zh_CN.java in  » XML » xalan » org » apache » xalan » xsltc » runtime » 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.xalan.xsltc.runtime 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2001-2004 The Apache Software Foundation.
003:         *
004:         * Licensed under the Apache License, Version 2.0 (the "License");
005:         * you may not use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         *
008:         *     http://www.apache.org/licenses/LICENSE-2.0
009:         *
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.
015:         */
016:        /*
017:         * $Id: ErrorMessages_zh_CN.java,v 1.3 2004/12/15 17:35:46 jycli Exp $
018:         */
019:
020:        package org.apache.xalan.xsltc.runtime;
021:
022:        import java.util.ListResourceBundle;
023:
024:        /**
025:         * @author Morten Jorgensen
026:         */
027:        public class ErrorMessages_zh_CN extends ListResourceBundle {
028:
029:            /*
030:             * XSLTC run-time error messages.
031:             *
032:             * General notes to translators and definitions:
033:             *
034:             *   1) XSLTC is the name of the product.  It is an acronym for XML Stylesheet:
035:             *      Transformations Compiler
036:             *
037:             *   2) A stylesheet is a description of how to transform an input XML document
038:             *      into a resultant output XML document (or HTML document or text)
039:             *
040:             *   3) An axis is a particular "dimension" in a tree representation of an XML
041:             *      document; the nodes in the tree are divided along different axes.
042:             *      Traversing the "child" axis, for instance, means that the program
043:             *      would visit each child of a particular node; traversing the "descendant"
044:             *      axis means that the program would visit the child nodes of a particular
045:             *      node, their children, and so on until the leaf nodes of the tree are
046:             *      reached.
047:             *
048:             *   4) An iterator is an object that traverses nodes in a tree along a
049:             *      particular axis, one at a time.
050:             *
051:             *   5) An element is a mark-up tag in an XML document; an attribute is a
052:             *      modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
053:             *      "elem" is an element name, "attr" and "attr2" are attribute names with
054:             *      the values "val" and "val2", respectively.
055:             *
056:             *   6) A namespace declaration is a special attribute that is used to associate
057:             *      a prefix with a URI (the namespace).  The meanings of element names and
058:             *      attribute names that use that prefix are defined with respect to that
059:             *      namespace.
060:             *
061:             *   7) DOM is an acronym for Document Object Model.  It is a tree
062:             *      representation of an XML document.
063:             *
064:             *      SAX is an acronym for the Simple API for XML processing.  It is an API
065:             *      used inform an XML processor (in this case XSLTC) of the structure and
066:             *      content of an XML document.
067:             *
068:             *      Input to the stylesheet processor can come from an XML parser in the
069:             *      form of a DOM tree or through the SAX API.
070:             *
071:             *   8) DTD is a document type declaration.  It is a way of specifying the
072:             *      grammar for an XML file, the names and types of elements, attributes,
073:             *      etc.
074:             *
075:             */
076:
077:            // These message should be read from a locale-specific resource bundle
078:            /** Get the lookup table for error messages.   
079:             *
080:             * @return The message lookup table.
081:             */
082:            public Object[][] getContents() {
083:                return new Object[][] {
084:
085:                        /*
086:                         * Note to translators:  the substitution text in the following message
087:                         * is a class name.  Used for internal errors in the processor.
088:                         */
089:                        { BasisLibrary.RUN_TIME_INTERNAL_ERR,
090:                                "\u201c{0}\u201d\u4e2d\u5b58\u5728\u8fd0\u884c\u65f6\u5185\u90e8\u9519\u8bef" },
091:
092:                        /*
093:                         * Note to translators:  <xsl:copy> is a keyword that should not be
094:                         * translated.
095:                         */
096:                        {
097:                                BasisLibrary.RUN_TIME_COPY_ERR,
098:                                "\u5728\u6267\u884c <xsl:copy> \u65f6\u53d1\u751f\u8fd0\u884c\u65f6\u9519\u8bef\u3002" },
099:
100:                        /*
101:                         * Note to translators:  The substitution text refers to data types.
102:                         * The message is displayed if a value in a particular context needs to
103:                         * be converted to type {1}, but that's not possible for a value of type
104:                         * {0}.
105:                         */
106:                        {
107:                                BasisLibrary.DATA_CONVERSION_ERR,
108:                                "\u4ece\u201c{0}\u201d\u5230\u201c{1}\u201d\u7684\u8f6c\u6362\u65e0\u6548\u3002" },
109:
110:                        /*
111:                         * Note to translators:  This message is displayed if the function named
112:                         * by the substitution text is not a function that is supported.  XSLTC
113:                         * is the acronym naming the product.
114:                         */
115:                        { BasisLibrary.EXTERNAL_FUNC_ERR,
116:                                "XSLTC \u4e0d\u652f\u6301\u5916\u90e8\u51fd\u6570\u201c{0}\u201d\u3002" },
117:
118:                        /*
119:                         * Note to translators:  This message is displayed if two values are
120:                         * compared for equality, but the data type of one of the values is
121:                         * unknown.
122:                         */
123:                        {
124:                                BasisLibrary.EQUALITY_EXPR_ERR,
125:                                "\u7b49\u5f0f\u8868\u8fbe\u5f0f\u4e2d\u7684\u81ea\u53d8\u91cf\u7c7b\u578b\u672a\u77e5\u3002" },
126:
127:                        /*
128:                         * Note to translators:  The substitution text for {0} will be a data
129:                         * type; the substitution text for {1} will be the name of a function.
130:                         * This is displayed if an argument of the particular data type is not
131:                         * permitted for a call to this function.
132:                         */
133:                        {
134:                                BasisLibrary.INVALID_ARGUMENT_ERR,
135:                                "\u5728\u5bf9\u201c{1}\u201d\u7684\u8c03\u7528\u4e2d\u7684\u81ea\u53d8\u91cf\u7c7b\u578b\u201c{0}\u201d\u65e0\u6548" },
136:
137:                        /*
138:                         * Note to translators:  There is way of specifying a format for a
139:                         * number using a pattern; the processor was unable to format the
140:                         * particular value using the specified pattern.
141:                         */
142:                        {
143:                                BasisLibrary.FORMAT_NUMBER_ERR,
144:                                "\u8bd5\u56fe\u4f7f\u7528\u6a21\u5f0f\u201c{1}\u201d\u683c\u5f0f\u5316\u6570\u503c\u201c{0}\u201d\u3002" },
145:
146:                        /*
147:                         * Note to translators:  The following represents an internal error
148:                         * situation in XSLTC.  The processor was unable to create a copy of an
149:                         * iterator.  (See definition of iterator above.)
150:                         */
151:                        { BasisLibrary.ITERATOR_CLONE_ERR,
152:                                "\u65e0\u6cd5\u514b\u9686\u8fed\u4ee3\u5668\u201c{0}\u201d\u3002" },
153:
154:                        /*
155:                         * Note to translators:  The following represents an internal error
156:                         * situation in XSLTC.  The processor attempted to create an iterator
157:                         * for a particular axis (see definition above) that it does not
158:                         * support.
159:                         */
160:                        { BasisLibrary.AXIS_SUPPORT_ERR,
161:                                "\u4e0d\u652f\u6301\u8f74\u201c{0}\u201d\u7684\u8fed\u4ee3\u5668\u3002" },
162:
163:                        /*
164:                         * Note to translators:  The following represents an internal error
165:                         * situation in XSLTC.  The processor attempted to create an iterator
166:                         * for a particular axis (see definition above) that it does not
167:                         * support.
168:                         */
169:                        {
170:                                BasisLibrary.TYPED_AXIS_SUPPORT_ERR,
171:                                "\u4e0d\u652f\u6301\u8f93\u5165\u7684\u8f74\u201c{0}\u201d\u7684\u8fed\u4ee3\u5668\u3002" },
172:
173:                        /*
174:                         * Note to translators:  This message is reported if the stylesheet
175:                         * being processed attempted to construct an XML document with an
176:                         * attribute in a place other than on an element.  The substitution text
177:                         * specifies the name of the attribute.
178:                         */
179:                        { BasisLibrary.STRAY_ATTRIBUTE_ERR,
180:                                "\u5c5e\u6027\u201c{0}\u201d\u5728\u5143\u7d20\u5916\u3002" },
181:
182:                        /*
183:                         * Note to translators:  As with the preceding message, a namespace
184:                         * declaration has the form of an attribute and is only permitted to
185:                         * appear on an element.  The substitution text {0} is the namespace
186:                         * prefix and {1} is the URI that was being used in the erroneous
187:                         * namespace declaration.
188:                         */
189:                        {
190:                                BasisLibrary.STRAY_NAMESPACE_ERR,
191:                                "\u540d\u79f0\u7a7a\u95f4\u8bf4\u660e\u201c{0}\u201d=\u201c{1}\u201d\u5728\u5143\u7d20\u5916\u3002" },
192:
193:                        /*
194:                         * Note to translators:  The stylesheet contained a reference to a
195:                         * namespace prefix that was undefined.  The value of the substitution
196:                         * text is the name of the prefix.
197:                         */
198:                        {
199:                                BasisLibrary.NAMESPACE_PREFIX_ERR,
200:                                "\u6ca1\u6709\u8bf4\u660e\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\u201c{0}\u201d\u3002" },
201:
202:                        /*
203:                         * Note to translators:  The following represents an internal error.
204:                         * DOMAdapter is a Java class in XSLTC.
205:                         */
206:                        {
207:                                BasisLibrary.DOM_ADAPTER_INIT_ERR,
208:                                "\u4f7f\u7528\u9519\u8bef\u7c7b\u578b\u7684\u6e90 DOM \u521b\u5efa\u4e86 DOMAdapter\u3002" },
209:
210:                        /*
211:                         * Note to translators:  The following message indicates that the XML
212:                         * parser that is providing input to XSLTC cannot be used because it
213:                         * does not describe to XSLTC the structure of the input XML document's
214:                         * DTD.
215:                         */
216:                        {
217:                                BasisLibrary.PARSER_DTD_SUPPORT_ERR,
218:                                "\u6b63\u5728\u4f7f\u7528\u7684 SAX \u89e3\u6790\u5668\u4e0d\u5904\u7406 DTD \u8bf4\u660e\u4e8b\u4ef6\u3002" },
219:
220:                        /*
221:                         * Note to translators:  The following message indicates that the XML
222:                         * parser that is providing input to XSLTC cannot be used because it
223:                         * does not distinguish between ordinary XML attributes and namespace
224:                         * declarations.
225:                         */
226:                        {
227:                                BasisLibrary.NAMESPACES_SUPPORT_ERR,
228:                                "\u6b63\u5728\u4f7f\u7528\u7684 SAX \u89e3\u6790\u5668\u4e0d\u652f\u6301 XML \u540d\u79f0\u7a7a\u95f4\u3002" },
229:
230:                        /*
231:                         * Note to translators:  The substitution text is the URI that was in
232:                         * error.
233:                         */
234:                        { BasisLibrary.CANT_RESOLVE_RELATIVE_URI_ERR,
235:                                "\u65e0\u6cd5\u89e3\u6790 URI \u5f15\u7528\u201c{0}\u201d\u3002" } };
236:            }
237:
238:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.