KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xpath > internal > res > XPATHErrorResources_ja


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 /*
17  * $Id: XPATHErrorResources_ja.java,v 1.8 2004/02/17 04:36:46 minchau Exp $
18  */

19 package com.sun.org.apache.xpath.internal.res;
20
21 import java.util.ListResourceBundle JavaDoc;
22 import java.util.Locale JavaDoc;
23 import java.util.MissingResourceException JavaDoc;
24 import java.util.ResourceBundle JavaDoc;
25
26 /**
27  * Set up error messages.
28  * We build a two dimensional array of message keys and
29  * message strings. In order to add a new message here,
30  * you need to first add a Static string constant for the
31  * Key and update the contents array with Key, Value pair
32   * Also you need to update the count of messages(MAX_CODE)or
33  * the count of warnings(MAX_WARNING) [ Information purpose only]
34  * @xsl.usage advanced
35  */

36 public class XPATHErrorResources_ja extends ListResourceBundle JavaDoc
37 {
38
39 /*
40  * General notes to translators:
41  *
42  * This file contains error and warning messages related to XPath Error
43  * Handling.
44  *
45  * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
46  * components.
47  * XSLT is an acronym for "XML Stylesheet Language: Transformations".
48  * XSLTC is an acronym for XSLT Compiler.
49  *
50  * 2) A stylesheet is a description of how to transform an input XML document
51  * into a resultant XML document (or HTML document or text). The
52  * stylesheet itself is described in the form of an XML document.
53  *
54  * 3) A template is a component of a stylesheet that is used to match a
55  * particular portion of an input document and specifies the form of the
56  * corresponding portion of the output document.
57  *
58  * 4) An element is a mark-up tag in an XML document; an attribute is a
59  * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
60  * "elem" is an element name, "attr" and "attr2" are attribute names with
61  * the values "val" and "val2", respectively.
62  *
63  * 5) A namespace declaration is a special attribute that is used to associate
64  * a prefix with a URI (the namespace). The meanings of element names and
65  * attribute names that use that prefix are defined with respect to that
66  * namespace.
67  *
68  * 6) "Translet" is an invented term that describes the class file that
69  * results from compiling an XML stylesheet into a Java class.
70  *
71  * 7) XPath is a specification that describes a notation for identifying
72  * nodes in a tree-structured representation of an XML document. An
73  * instance of that notation is referred to as an XPath expression.
74  *
75  * 8) The context node is the node in the document with respect to which an
76  * XPath expression is being evaluated.
77  *
78  * 9) An iterator is an object that traverses nodes in the tree, one at a time.
79  *
80  * 10) NCName is an XML term used to describe a name that does not contain a
81  * colon (a "no-colon name").
82  *
83  * 11) QName is an XML term meaning "qualified name".
84  */

85
86   /** Field MAX_CODE */
87   public static final int MAX_CODE = 108; // this is needed to keep track of the number of messages
88

89   /** Field MAX_WARNING */
90   public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings
91

92   /** Field MAX_OTHERS */
93   public static final int MAX_OTHERS = 20;
94
95   /** Field MAX_MESSAGES */
96   public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
97
98
99   /*
100    * static variables
101    */

102   public static final String JavaDoc ERROR0000 = "ERROR0000";
103   public static final String JavaDoc ER_CURRENT_NOT_ALLOWED_IN_MATCH =
104          "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
105   public static final String JavaDoc ER_CURRENT_TAKES_NO_ARGS =
106          "ER_CURRENT_TAKES_NO_ARGS";
107   public static final String JavaDoc ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";
108   public static final String JavaDoc ER_CONTEXT_HAS_NO_OWNERDOC =
109          "ER_CONTEXT_HAS_NO_OWNERDOC";
110   public static final String JavaDoc ER_LOCALNAME_HAS_TOO_MANY_ARGS =
111          "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
112   public static final String JavaDoc ER_NAMESPACEURI_HAS_TOO_MANY_ARGS =
113          "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS";
114   public static final String JavaDoc ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS =
115          "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS";
116   public static final String JavaDoc ER_NUMBER_HAS_TOO_MANY_ARGS =
117          "ER_NUMBER_HAS_TOO_MANY_ARGS";
118   public static final String JavaDoc ER_NAME_HAS_TOO_MANY_ARGS =
119          "ER_NAME_HAS_TOO_MANY_ARGS";
120   public static final String JavaDoc ER_STRING_HAS_TOO_MANY_ARGS =
121          "ER_STRING_HAS_TOO_MANY_ARGS";
122   public static final String JavaDoc ER_STRINGLENGTH_HAS_TOO_MANY_ARGS =
123          "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS";
124   public static final String JavaDoc ER_TRANSLATE_TAKES_3_ARGS =
125          "ER_TRANSLATE_TAKES_3_ARGS";
126   public static final String JavaDoc ER_UNPARSEDENTITYURI_TAKES_1_ARG =
127          "ER_UNPARSEDENTITYURI_TAKES_1_ARG";
128   public static final String JavaDoc ER_NAMESPACEAXIS_NOT_IMPLEMENTED =
129          "ER_NAMESPACEAXIS_NOT_IMPLEMENTED";
130   public static final String JavaDoc ER_UNKNOWN_AXIS = "ER_UNKNOWN_AXIS";
131   public static final String JavaDoc ER_UNKNOWN_MATCH_OPERATION =
132          "ER_UNKNOWN_MATCH_OPERATION";
133   public static final String JavaDoc ER_INCORRECT_ARG_LENGTH ="ER_INCORRECT_ARG_LENGTH";
134   public static final String JavaDoc ER_CANT_CONVERT_TO_NUMBER =
135          "ER_CANT_CONVERT_TO_NUMBER";
136   public static final String JavaDoc ER_CANT_CONVERT_TO_NODELIST =
137          "ER_CANT_CONVERT_TO_NODELIST";
138   public static final String JavaDoc ER_CANT_CONVERT_TO_MUTABLENODELIST =
139          "ER_CANT_CONVERT_TO_MUTABLENODELIST";
140   public static final String JavaDoc ER_CANT_CONVERT_TO_TYPE ="ER_CANT_CONVERT_TO_TYPE";
141   public static final String JavaDoc ER_EXPECTED_MATCH_PATTERN =
142          "ER_EXPECTED_MATCH_PATTERN";
143   public static final String JavaDoc ER_COULDNOT_GET_VAR_NAMED =
144          "ER_COULDNOT_GET_VAR_NAMED";
145   public static final String JavaDoc ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE";
146   public static final String JavaDoc ER_EXTRA_ILLEGAL_TOKENS ="ER_EXTRA_ILLEGAL_TOKENS";
147   public static final String JavaDoc ER_EXPECTED_DOUBLE_QUOTE =
148          "ER_EXPECTED_DOUBLE_QUOTE";
149   public static final String JavaDoc ER_EXPECTED_SINGLE_QUOTE =
150          "ER_EXPECTED_SINGLE_QUOTE";
151   public static final String JavaDoc ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION";
152   public static final String JavaDoc ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND";
153   public static final String JavaDoc ER_INCORRECT_PROGRAMMER_ASSERTION =
154          "ER_INCORRECT_PROGRAMMER_ASSERTION";
155   public static final String JavaDoc ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL =
156          "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL";
157   public static final String JavaDoc ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG =
158          "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG";
159   public static final String JavaDoc ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG =
160          "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG";
161   public static final String JavaDoc ER_PREDICATE_ILLEGAL_SYNTAX =
162          "ER_PREDICATE_ILLEGAL_SYNTAX";
163   public static final String JavaDoc ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME";
164   public static final String JavaDoc ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE";
165   public static final String JavaDoc ER_PATTERN_LITERAL_NEEDS_BE_QUOTED =
166          "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED";
167   public static final String JavaDoc ER_COULDNOT_BE_FORMATTED_TO_NUMBER =
168          "ER_COULDNOT_BE_FORMATTED_TO_NUMBER";
169   public static final String JavaDoc ER_COULDNOT_CREATE_XMLPROCESSORLIAISON =
170          "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON";
171   public static final String JavaDoc ER_DIDNOT_FIND_XPATH_SELECT_EXP =
172          "ER_DIDNOT_FIND_XPATH_SELECT_EXP";
173   public static final String JavaDoc ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH =
174          "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH";
175   public static final String JavaDoc ER_ERROR_OCCURED = "ER_ERROR_OCCURED";
176   public static final String JavaDoc ER_ILLEGAL_VARIABLE_REFERENCE =
177          "ER_ILLEGAL_VARIABLE_REFERENCE";
178   public static final String JavaDoc ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED";
179   public static final String JavaDoc ER_KEY_HAS_TOO_MANY_ARGS =
180          "ER_KEY_HAS_TOO_MANY_ARGS";
181   public static final String JavaDoc ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG";
182   public static final String JavaDoc ER_COULDNOT_FIND_FUNCTION =
183          "ER_COULDNOT_FIND_FUNCTION";
184   public static final String JavaDoc ER_UNSUPPORTED_ENCODING ="ER_UNSUPPORTED_ENCODING";
185   public static final String JavaDoc ER_PROBLEM_IN_DTM_NEXTSIBLING =
186          "ER_PROBLEM_IN_DTM_NEXTSIBLING";
187   public static final String JavaDoc ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL =
188          "ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL";
189   public static final String JavaDoc ER_SETDOMFACTORY_NOT_SUPPORTED =
190          "ER_SETDOMFACTORY_NOT_SUPPORTED";
191   public static final String JavaDoc ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
192   public static final String JavaDoc ER_PARSE_NOT_SUPPORTED = "ER_PARSE_NOT_SUPPORTED";
193   //public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED =
194
// "ER_CREATEDOCUMENT_NOT_SUPPORTED";
195
//public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT =
196
// "ER_CHILD_HAS_NO_OWNER_DOCUMENT";
197
//public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT =
198
// "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT";
199
public static final String JavaDoc ER_SAX_API_NOT_HANDLED = "ER_SAX_API_NOT_HANDLED";
200 public static final String JavaDoc ER_IGNORABLE_WHITESPACE_NOT_HANDLED =
201          "ER_IGNORABLE_WHITESPACE_NOT_HANDLED";
202   public static final String JavaDoc ER_DTM_CANNOT_HANDLE_NODES =
203          "ER_DTM_CANNOT_HANDLE_NODES";
204   public static final String JavaDoc ER_XERCES_CANNOT_HANDLE_NODES =
205          "ER_XERCES_CANNOT_HANDLE_NODES";
206   public static final String JavaDoc ER_XERCES_PARSE_ERROR_DETAILS =
207          "ER_XERCES_PARSE_ERROR_DETAILS";
208   public static final String JavaDoc ER_XERCES_PARSE_ERROR = "ER_XERCES_PARSE_ERROR";
209   //public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC =
210
// "ER_CANT_OUTPUT_TEXT_BEFORE_DOC";
211
//public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT =
212
// "ER_CANT_HAVE_MORE_THAN_ONE_ROOT";
213
public static final String JavaDoc ER_INVALID_UTF16_SURROGATE =
214          "ER_INVALID_UTF16_SURROGATE";
215   public static final String JavaDoc ER_OIERROR = "ER_OIERROR";
216   public static final String JavaDoc ER_CANNOT_CREATE_URL = "ER_CANNOT_CREATE_URL";
217   public static final String JavaDoc ER_XPATH_READOBJECT = "ER_XPATH_READOBJECT";
218  public static final String JavaDoc ER_FUNCTION_TOKEN_NOT_FOUND =
219          "ER_FUNCTION_TOKEN_NOT_FOUND";
220  //public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
221
public static final String JavaDoc ER_CANNOT_DEAL_XPATH_TYPE =
222          "ER_CANNOT_DEAL_XPATH_TYPE";
223   public static final String JavaDoc ER_NODESET_NOT_MUTABLE = "ER_NODESET_NOT_MUTABLE";
224   public static final String JavaDoc ER_NODESETDTM_NOT_MUTABLE =
225          "ER_NODESETDTM_NOT_MUTABLE";
226    /** Variable not resolvable: */
227   public static final String JavaDoc ER_VAR_NOT_RESOLVABLE = "ER_VAR_NOT_RESOLVABLE";
228    /** Null error handler */
229  public static final String JavaDoc ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
230    /** Programmer's assertion: unknown opcode */
231   public static final String JavaDoc ER_PROG_ASSERT_UNKNOWN_OPCODE =
232          "ER_PROG_ASSERT_UNKNOWN_OPCODE";
233    /** 0 or 1 */
234   public static final String JavaDoc ER_ZERO_OR_ONE = "ER_ZERO_OR_ONE";
235    /** rtf() not supported by XRTreeFragSelectWrapper */
236   public static final String JavaDoc ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER =
237          "ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
238    /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
239   public static final String JavaDoc ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
240    /** fsb() not supported for XStringForChars */
241   public static final String JavaDoc ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS =
242          "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS";
243    /** Could not find variable with the name of */
244  public static final String JavaDoc ER_COULD_NOT_FIND_VAR = "ER_COULD_NOT_FIND_VAR";
245    /** XStringForChars can not take a string for an argument */
246  public static final String JavaDoc ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING =
247          "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING";
248    /** The FastStringBuffer argument can not be null */
249  public static final String JavaDoc ER_FASTSTRINGBUFFER_CANNOT_BE_NULL =
250          "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL";
251    /** 2 or 3 */
252   public static final String JavaDoc ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
253    /** Variable accessed before it is bound! */
254   public static final String JavaDoc ER_VARIABLE_ACCESSED_BEFORE_BIND =
255          "ER_VARIABLE_ACCESSED_BEFORE_BIND";
256    /** XStringForFSB can not take a string for an argument! */
257  public static final String JavaDoc ER_FSB_CANNOT_TAKE_STRING =
258          "ER_FSB_CANNOT_TAKE_STRING";
259    /** Error! Setting the root of a walker to null! */
260   public static final String JavaDoc ER_SETTING_WALKER_ROOT_TO_NULL =
261          "ER_SETTING_WALKER_ROOT_TO_NULL";
262    /** This NodeSetDTM can not iterate to a previous node! */
263   public static final String JavaDoc ER_NODESETDTM_CANNOT_ITERATE =
264          "ER_NODESETDTM_CANNOT_ITERATE";
265   /** This NodeSet can not iterate to a previous node! */
266  public static final String JavaDoc ER_NODESET_CANNOT_ITERATE =
267          "ER_NODESET_CANNOT_ITERATE";
268   /** This NodeSetDTM can not do indexing or counting functions! */
269   public static final String JavaDoc ER_NODESETDTM_CANNOT_INDEX =
270          "ER_NODESETDTM_CANNOT_INDEX";
271   /** This NodeSet can not do indexing or counting functions! */
272   public static final String JavaDoc ER_NODESET_CANNOT_INDEX =
273          "ER_NODESET_CANNOT_INDEX";
274   /** Can not call setShouldCacheNodes after nextNode has been called! */
275   public static final String JavaDoc ER_CANNOT_CALL_SETSHOULDCACHENODE =
276          "ER_CANNOT_CALL_SETSHOULDCACHENODE";
277   /** {0} only allows {1} arguments */
278  public static final String JavaDoc ER_ONLY_ALLOWS = "ER_ONLY_ALLOWS";
279   /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
280   public static final String JavaDoc ER_UNKNOWN_STEP = "ER_UNKNOWN_STEP";
281   /** Problem with RelativeLocationPath */
282   public static final String JavaDoc ER_EXPECTED_REL_LOC_PATH =
283          "ER_EXPECTED_REL_LOC_PATH";
284   /** Problem with LocationPath */
285   public static final String JavaDoc ER_EXPECTED_LOC_PATH = "ER_EXPECTED_LOC_PATH";
286   /** Problem with Step */
287   public static final String JavaDoc ER_EXPECTED_LOC_STEP = "ER_EXPECTED_LOC_STEP";
288   /** Problem with NodeTest */
289   public static final String JavaDoc ER_EXPECTED_NODE_TEST = "ER_EXPECTED_NODE_TEST";
290   /** Expected step pattern */
291   public static final String JavaDoc ER_EXPECTED_STEP_PATTERN =
292         "ER_EXPECTED_STEP_PATTERN";
293   /** Expected relative path pattern */
294   public static final String JavaDoc ER_EXPECTED_REL_PATH_PATTERN =
295          "ER_EXPECTED_REL_PATH_PATTERN";
296   /** localname in QNAME should be a valid NCName */
297   //public static final String ER_ARG_LOCALNAME_INVALID =
298
// "ER_ARG_LOCALNAME_INVALID";
299
/** prefix in QNAME should be a valid NCName */
300   //public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
301
/** Field ER_CANT_CONVERT_TO_BOOLEAN */
302   public static final String JavaDoc ER_CANT_CONVERT_TO_BOOLEAN =
303          "ER_CANT_CONVERT_TO_BOOLEAN";
304   /** Field ER_CANT_CONVERT_TO_SINGLENODE */
305   public static final String JavaDoc ER_CANT_CONVERT_TO_SINGLENODE =
306          "ER_CANT_CONVERT_TO_SINGLENODE";
307   /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
308   public static final String JavaDoc ER_CANT_GET_SNAPSHOT_LENGTH =
309          "ER_CANT_GET_SNAPSHOT_LENGTH";
310   /** Field ER_NON_ITERATOR_TYPE */
311   public static final String JavaDoc ER_NON_ITERATOR_TYPE = "ER_NON_ITERATOR_TYPE";
312   /** Field ER_DOC_MUTATED */
313   public static final String JavaDoc ER_DOC_MUTATED = "ER_DOC_MUTATED";
314   public static final String JavaDoc ER_INVALID_XPATH_TYPE = "ER_INVALID_XPATH_TYPE";
315   public static final String JavaDoc ER_EMPTY_XPATH_RESULT = "ER_EMPTY_XPATH_RESULT";
316   public static final String JavaDoc ER_INCOMPATIBLE_TYPES = "ER_INCOMPATIBLE_TYPES";
317   public static final String JavaDoc ER_NULL_RESOLVER = "ER_NULL_RESOLVER";
318   public static final String JavaDoc ER_CANT_CONVERT_TO_STRING =
319          "ER_CANT_CONVERT_TO_STRING";
320   public static final String JavaDoc ER_NON_SNAPSHOT_TYPE = "ER_NON_SNAPSHOT_TYPE";
321   public static final String JavaDoc ER_WRONG_DOCUMENT = "ER_WRONG_DOCUMENT";
322   /* Note to translators: The XPath expression cannot be evaluated with respect
323    * to this type of node.
324    */

325   /** Field ER_WRONG_NODETYPE */
326   public static final String JavaDoc ER_WRONG_NODETYPE = "ER_WRONG_NODETYPE";
327   public static final String JavaDoc ER_XPATH_ERROR = "ER_XPATH_ERROR";
328
329   public static final String JavaDoc WG_LOCALE_NAME_NOT_HANDLED =
330          "WG_LOCALE_NAME_NOT_HANDLED";
331   public static final String JavaDoc WG_PROPERTY_NOT_SUPPORTED =
332          "WG_PROPERTY_NOT_SUPPORTED";
333   public static final String JavaDoc WG_DONT_DO_ANYTHING_WITH_NS =
334          "WG_DONT_DO_ANYTHING_WITH_NS";
335   public static final String JavaDoc WG_SECURITY_EXCEPTION = "WG_SECURITY_EXCEPTION";
336   public static final String JavaDoc WG_QUO_NO_LONGER_DEFINED =
337          "WG_QUO_NO_LONGER_DEFINED";
338   public static final String JavaDoc WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST =
339          "WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST";
340   public static final String JavaDoc WG_FUNCTION_TOKEN_NOT_FOUND =
341          "WG_FUNCTION_TOKEN_NOT_FOUND";
342   public static final String JavaDoc WG_COULDNOT_FIND_FUNCTION =
343          "WG_COULDNOT_FIND_FUNCTION";
344   public static final String JavaDoc WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM";
345   public static final String JavaDoc WG_EXPAND_ENTITIES_NOT_SUPPORTED =
346          "WG_EXPAND_ENTITIES_NOT_SUPPORTED";
347   public static final String JavaDoc WG_ILLEGAL_VARIABLE_REFERENCE =
348          "WG_ILLEGAL_VARIABLE_REFERENCE";
349   public static final String JavaDoc WG_UNSUPPORTED_ENCODING ="WG_UNSUPPORTED_ENCODING";
350
351
352   // Error messages...
353

354   public static final Object JavaDoc[][] contents = {
355
356   /** Field ERROR0000 */
357
358 // public static final int ERROR0000 = 0;
359

360   { "ERROR0000" , "{0}" },
361
362
363   /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH */
364 // public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1;
365

366   { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "current() \u95a2\u6570\u306f\u30d1\u30bf\u30fc\u30f3\u306e\u30de\u30c3\u30c1\u30f3\u30b0\u3067\u306f\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093!" },
367
368   /** Field ER_CURRENT_TAKES_NO_ARGS */
369   //public static final int ER_CURRENT_TAKES_NO_ARGS = 2;
370

371   { ER_CURRENT_TAKES_NO_ARGS, "current() \u95a2\u6570\u306f\u5f15\u304d\u6570\u3092\u53d7\u3051\u5165\u308c\u307e\u305b\u3093!" },
372
373   /** Field ER_DOCUMENT_REPLACED */
374 // public static final int ER_DOCUMENT_REPLACED = 3;
375
{ ER_DOCUMENT_REPLACED,
376       "document() \u95a2\u6570\u306e\u30a4\u30f3\u30d7\u30ea\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u304c com.sun.org.apache.xalan.internal.xslt.FuncDocument \u306b\u3088\u308a\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3057\u305f!"},
377
378
379   /** Field ER_CONTEXT_HAS_NO_OWNERDOC */
380  // public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4;
381

382   { ER_CONTEXT_HAS_NO_OWNERDOC,
383       "\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306b\u6240\u6709\u8005\u6587\u66f8\u304c\u3042\u308a\u307e\u305b\u3093!"},
384
385   /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
386  // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
387

388   { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
389       "local-name() \u306e\u5f15\u304d\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u3002"},
390
391   /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
392  //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
393

394   { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
395       "namespace-uri() \u306e\u5f15\u304d\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u3002"},
396
397   /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
398 // public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
399
{ ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
400       "normalize-space() \u306e\u5f15\u304d\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u3002"},
401
402   /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
403 // public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
404

405   { ER_NUMBER_HAS_TOO_MANY_ARGS,
406       "number() \u306e\u5f15\u304d\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u3002"},
407
408   /** Field ER_NAME_HAS_TOO_MANY_ARGS */
409 // public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
410

411   { ER_NAME_HAS_TOO_MANY_ARGS,
412      "name() \u306e\u5f15\u304d\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u3002"},
413
414   /** Field ER_STRING_HAS_TOO_MANY_ARGS */
415 // public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
416

417   { ER_STRING_HAS_TOO_MANY_ARGS,
418       "string() \u306e\u5f15\u304d\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u3002"},
419
420   /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
421 // public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
422

423   { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
424       "string-length() \u306e\u5f15\u304d\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u3002"},
425
426   /** Field ER_TRANSLATE_TAKES_3_ARGS */
427 // public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
428

429   { ER_TRANSLATE_TAKES_3_ARGS,
430       "translate() \u95a2\u6570\u306f 3 \u500b\u306e\u5f15\u304d\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059!"},
431
432   /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */
433 // public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
434

435   { ER_UNPARSEDENTITYURI_TAKES_1_ARG,
436       "unparsed-entity-uri \u95a2\u6570\u306f\u5f15\u304d\u6570\u3092 1 \u500b\u4f7f\u7528\u3057\u307e\u3059!"},
437
438   /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
439 // public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
440

441   { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
442       "namespace axis \u304c\u307e\u3060\u30a4\u30f3\u30d7\u30ea\u30e1\u30f3\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093!"},
443
444   /** Field ER_UNKNOWN_AXIS */
445 // public static final int ER_UNKNOWN_AXIS = 15;
446

447   { ER_UNKNOWN_AXIS,
448      "\u4e0d\u660e\u306a\u8ef8: {0}"},
449
450   /** Field ER_UNKNOWN_MATCH_OPERATION */
451 // public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
452

453   { ER_UNKNOWN_MATCH_OPERATION,
454      "\u4e0d\u660e\u306e\u30de\u30c3\u30c1\u30f3\u30b0\u64cd\u4f5c!"},
455
456   /** Field ER_INCORRECT_ARG_LENGTH */
457 // public static final int ER_INCORRECT_ARG_LENGTH = 17;
458

459   { ER_INCORRECT_ARG_LENGTH,
460       "processing-instruction() \u306e\u30ce\u30fc\u30c9\u30fb\u30c6\u30b9\u30c8\u306e\u5f15\u304d\u6570\u306e\u9577\u3055\u304c\u8aa4\u3063\u3066\u3044\u307e\u3059!"},
461
462   /** Field ER_CANT_CONVERT_TO_NUMBER */
463 // public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
464

465   { ER_CANT_CONVERT_TO_NUMBER,
466       "{0} \u3092\u6570\u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093"},
467
468   /** Field ER_CANT_CONVERT_TO_NODELIST */
469   //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
470

471   { ER_CANT_CONVERT_TO_NODELIST,
472       "{0} \u3092 NodeList \u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093!"},
473
474   /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */
475 // public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
476

477   { ER_CANT_CONVERT_TO_MUTABLENODELIST,
478       "{0} \u3092 NodeSetDTM \u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093!"},
479
480   /** Field ER_CANT_CONVERT_TO_TYPE */
481 // public static final int ER_CANT_CONVERT_TO_TYPE = 21;
482

483   { ER_CANT_CONVERT_TO_TYPE,
484       "{0} \u3092 type#{1} \u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093"},
485
486   /** Field ER_EXPECTED_MATCH_PATTERN */
487 // public static final int ER_EXPECTED_MATCH_PATTERN = 22;
488

489   { ER_EXPECTED_MATCH_PATTERN,
490       "getMatchScore \u3067\u5fc5\u8981\u306a\u4e00\u81f4\u30d1\u30bf\u30fc\u30f3\u3067\u3059!"},
491
492   /** Field ER_COULDNOT_GET_VAR_NAMED */
493 // public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
494

495   { ER_COULDNOT_GET_VAR_NAMED,
496       "{0} \u3068\u3044\u3046\u540d\u524d\u306e\u5909\u6570\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f"},
497
498   /** Field ER_UNKNOWN_OPCODE */
499 // public static final int ER_UNKNOWN_OPCODE = 24;
500

501   { ER_UNKNOWN_OPCODE,
502      "\u30a8\u30e9\u30fc! \u4e0d\u660e\u306a op \u30b3\u30fc\u30c9: {0}"},
503
504   /** Field ER_EXTRA_ILLEGAL_TOKENS */
505 // public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
506

507   { ER_EXTRA_ILLEGAL_TOKENS,
508      "\u4f59\u5206\u306e\u6b63\u3057\u304f\u306a\u3044\u30c8\u30fc\u30af\u30f3: {0}"},
509
510   /** Field ER_EXPECTED_DOUBLE_QUOTE */
511 // public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
512

513   { ER_EXPECTED_DOUBLE_QUOTE,
514       "\u5f15\u7528\u7b26\u304c\u8aa4\u3063\u3066\u3044\u308b\u30ea\u30c6\u30e9\u30eb... \u4e8c\u91cd\u5f15\u7528\u7b26\u304c\u5fc5\u8981\u3067\u3057\u305f!"},
515
516   /** Field ER_EXPECTED_SINGLE_QUOTE */
517 // public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
518

519   { ER_EXPECTED_SINGLE_QUOTE,
520       "\u5f15\u7528\u7b26\u304c\u8aa4\u3063\u3066\u3044\u308b\u30ea\u30c6\u30e9\u30eb... \u5358\u4e00\u5f15\u7528\u7b26\u304c\u5fc5\u8981\u3067\u3057\u305f!"},
521
522   /** Field ER_EMPTY_EXPRESSION */
523 // public static final int ER_EMPTY_EXPRESSION = 28;
524

525   { ER_EMPTY_EXPRESSION,
526      "\u7a7a\u306e\u5f0f\u3067\u3059!"},
527
528   /** Field ER_EXPECTED_BUT_FOUND */
529 // public static final int ER_EXPECTED_BUT_FOUND = 29;
530

531   { ER_EXPECTED_BUT_FOUND,
532      "{0} \u304c\u5fc5\u8981\u3067\u3057\u305f\u304c\u3001{1} \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f"},
533
534   /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */
535 // public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
536

537   { ER_INCORRECT_PROGRAMMER_ASSERTION,
538       "\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3\u304c\u8aa4\u3063\u3066\u3044\u307e\u3059! - {0}"},
539
540   /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */
541 // public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
542

543   { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
544       "\u30d6\u30fc\u30eb(...) \u5f15\u304d\u6570\u306f 19990709 XPath \u30c9\u30e9\u30d5\u30c8\u3067\u306f\u3082\u3046\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3042\u308a\u307e\u305b\u3093\u3002"},
545
546   /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */
547 // public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
548

549   { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
550       "',' \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u5148\u7acb\u3064\u5f15\u304d\u6570\u304c\u3042\u308a\u307e\u305b\u3093!"},
551
552   /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */
553 // public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
554

555   { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
556       "',' \u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u5f8c\u7d9a\u306e\u5f15\u304d\u6570\u304c\u3042\u308a\u307e\u305b\u3093!"},
557
558   /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
559 // public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
560

561   { ER_PREDICATE_ILLEGAL_SYNTAX,
562       "'..[predicate]' \u307e\u305f\u306f '.[predicate]' \u306f\u6b63\u3057\u304f\u306a\u3044\u69cb\u6587\u3067\u3059\u3002 \u4ee3\u308a\u306b 'self::node()[predicate]' \u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002"},
563
564   /** Field ER_ILLEGAL_AXIS_NAME */
565 // public static final int ER_ILLEGAL_AXIS_NAME = 35;
566

567   { ER_ILLEGAL_AXIS_NAME,
568      "\u6b63\u3057\u304f\u306a\u3044\u8ef8\u306e\u540d\u524d: {0}"},
569
570   /** Field ER_UNKNOWN_NODETYPE */
571 // public static final int ER_UNKNOWN_NODETYPE = 36;
572

573   { ER_UNKNOWN_NODETYPE,
574      "\u4e0d\u660e\u306a\u30ce\u30fc\u30c9\u30fb\u30bf\u30a4\u30d7: {0}"},
575
576   /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */
577 // public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
578

579   { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
580       "\u30d1\u30bf\u30fc\u30f3\u30fb\u30ea\u30c6\u30e9\u30eb ({0}) \u306b\u306f\u5f15\u7528\u7b26\u304c\u5fc5\u8981\u3067\u3059!"},
581
582   /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */
583 // public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
584

585   { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
586       "{0} \u3092\u6570\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f!"},
587
588   /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
589 // public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
590

591   { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
592       "XML TransformerFactory Liaison \u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f: {0}"},
593
594   /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */
595 // public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
596

597   { ER_DIDNOT_FIND_XPATH_SELECT_EXP,
598       "\u30a8\u30e9\u30fc! xpath select \u5f0f (-select) \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002"},
599
600   /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
601 // public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
602

603   { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
604       "\u30a8\u30e9\u30fc! OP_LOCATIONPATH \u306e\u5f8c\u306b ENDOP \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f"},
605
606   /** Field ER_ERROR_OCCURED */
607 // public static final int ER_ERROR_OCCURED = 42;
608

609   { ER_ERROR_OCCURED,
610      "\u30a8\u30e9\u30fc\u304c\u8d77\u3053\u308a\u307e\u3057\u305f!"},
611
612   /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
613 // public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
614

615   { ER_ILLEGAL_VARIABLE_REFERENCE,
616       "\u5909\u6570\u306b\u6307\u5b9a\u3055\u308c\u305f VariableReference \u304c\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5916\u304b\u3001\u5b9a\u7fa9\u306a\u3057\u3067\u3059! \u540d\u524d = {0}"},
617
618   /** Field ER_AXES_NOT_ALLOWED */
619 // public static final int ER_AXES_NOT_ALLOWED = 44;
620

621   { ER_AXES_NOT_ALLOWED,
622       "\u30de\u30c3\u30c1\u30f3\u30b0\u30fb\u30d1\u30bf\u30fc\u30f3\u3067\u8a31\u53ef\u3055\u308c\u3066\u3044\u308b\u306e\u306f child:: \u304a\u3088\u3073 attribute:: \u3060\u3051\u3067\u3059! \u554f\u984c\u306e\u8ef8 = {0}"},
623
624   /** Field ER_KEY_HAS_TOO_MANY_ARGS */
625 // public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
626

627   { ER_KEY_HAS_TOO_MANY_ARGS,
628       "key() \u306e\u5f15\u304d\u6570\u306e\u6570\u304c\u8aa4\u3063\u3066\u3044\u307e\u3059\u3002"},
629
630   /** Field ER_COUNT_TAKES_1_ARG */
631 // public static final int ER_COUNT_TAKES_1_ARG = 46;
632

633   { ER_COUNT_TAKES_1_ARG,
634       "count \u95a2\u6570\u306f\u5f15\u304d\u6570\u3092 1 \u500b\u4f7f\u7528\u3057\u307e\u3059!"},
635
636   /** Field ER_COULDNOT_FIND_FUNCTION */
637 // public static final int ER_COULDNOT_FIND_FUNCTION = 47;
638

639   { ER_COULDNOT_FIND_FUNCTION,
640      "\u95a2\u6570: {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f"},
641
642   /** Field ER_UNSUPPORTED_ENCODING */
643 // public static final int ER_UNSUPPORTED_ENCODING = 48;
644

645   { ER_UNSUPPORTED_ENCODING,
646      "\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\u30a8\u30f3\u30b3\u30fc\u30c9: {0}"},
647
648   /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */
649 // public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
650

651   { ER_PROBLEM_IN_DTM_NEXTSIBLING,
652       "\u554f\u984c\u304c getNextSibling \u5185\u306e DTM \u3067\u8d77\u3053\u308a\u307e\u3057\u305f... \u30ea\u30ab\u30d0\u30ea\u30fc\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059"},
653
654   /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */
655 // public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
656

657   { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
658       "\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u30fb\u30a8\u30e9\u30fc: EmptyNodeList \u3092\u66f8\u304d\u8fbc\u307f\u5148\u306b\u306f\u3067\u304d\u307e\u305b\u3093\u3002"},
659
660   /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
661 // public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
662

663   { ER_SETDOMFACTORY_NOT_SUPPORTED,
664       "setDOMFactory \u306f XPathContext \u306b\u3088\u308a\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093!"},
665
666   /** Field ER_PREFIX_MUST_RESOLVE */
667 // public static final int ER_PREFIX_MUST_RESOLVE = 52;
668

669   { ER_PREFIX_MUST_RESOLVE,
670       "\u63a5\u982d\u90e8\u306f\u30cd\u30fc\u30e0\u30fb\u30b9\u30da\u30fc\u30b9\u306b\u89e3\u6c7a\u3055\u308c\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093: {0}"},
671
672   /** Field ER_PARSE_NOT_SUPPORTED */
673 // public static final int ER_PARSE_NOT_SUPPORTED = 53;
674

675   { ER_PARSE_NOT_SUPPORTED,
676       "parse (InputSource \u30bd\u30fc\u30b9) \u306f XPathContext \u5185\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093! {0} \u3092\u30aa\u30fc\u30d7\u30f3\u3067\u304d\u307e\u305b\u3093"},
677
678   /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */
679 // public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
680

681   //{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
682
// "createDocument() not supported in XPathContext!"},
683

684   /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT */
685 // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
686

687   //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
688
// "Attribute child does not have an owner document!"},
689

690   /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT */
691 // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
692

693   //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
694
// "Attribute child does not have an owner document element!"},
695

696   /** Field ER_SAX_API_NOT_HANDLED */
697 // public static final int ER_SAX_API_NOT_HANDLED = 57;
698

699   { ER_SAX_API_NOT_HANDLED,
700       "SAX API characters(char ch[]... \u306f DTM \u306b\u3088\u308a\u51e6\u7406\u3055\u308c\u307e\u305b\u3093!"},
701
702   /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */
703 //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
704

705   { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
706       "ignorableWhitespace(char ch[]... \u306f DTM \u306b\u3088\u308a\u51e6\u7406\u3055\u308c\u307e\u305b\u3093!"},
707
708   /** Field ER_DTM_CANNOT_HANDLE_NODES */
709 // public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
710

711   { ER_DTM_CANNOT_HANDLE_NODES,
712       "DTMLiaison \u306f\u30bf\u30a4\u30d7 {0} \u306e\u30ce\u30fc\u30c9\u3092\u51e6\u7406\u3067\u304d\u307e\u305b\u3093"},
713
714   /** Field ER_XERCES_CANNOT_HANDLE_NODES */
715 // public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
716

717   { ER_XERCES_CANNOT_HANDLE_NODES,
718       "DOM2Helper \u306f\u30bf\u30a4\u30d7 {0} \u306e\u30ce\u30fc\u30c9\u3092\u51e6\u7406\u3067\u304d\u307e\u305b\u3093"},
719
720   /** Field ER_XERCES_PARSE_ERROR_DETAILS */
721 // public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
722

723   { ER_XERCES_PARSE_ERROR_DETAILS,
724       "DOM2Helper.parse \u30a8\u30e9\u30fc: SystemID - {0} \u884c - {1}"},
725
726   /** Field ER_XERCES_PARSE_ERROR */
727 // public static final int ER_XERCES_PARSE_ERROR = 62;
728

729   { ER_XERCES_PARSE_ERROR,
730      "DOM2Helper.parse \u30a8\u30e9\u30fc"},
731
732   /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC */
733 // public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
734

735   //{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
736
// "Warning: can't output text before document element! Ignoring..."},
737

738   /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT */
739 // public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
740

741   //{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
742
// "Can't have more than one root on a DOM!"},
743

744   /** Field ER_INVALID_UTF16_SURROGATE */
745 // public static final int ER_INVALID_UTF16_SURROGATE = 65;
746

747   { ER_INVALID_UTF16_SURROGATE,
748       "\u7121\u52b9\u306a UTF-16 \u30b5\u30ed\u30b2\u30fc\u30c8\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f: {0} ?"},
749
750   /** Field ER_OIERROR */
751   //public static final int ER_OIERROR = 66;
752

753   { ER_OIERROR,
754      "\u5165\u51fa\u529b\u30a8\u30e9\u30fc"},
755
756   /** Field ER_CANNOT_CREATE_URL */
757   //public static final int ER_CANNOT_CREATE_URL = 67;
758

759   { ER_CANNOT_CREATE_URL,
760      "{0} \u306e URL \u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002"},
761
762   /** Field ER_XPATH_READOBJECT */
763 // public static final int ER_XPATH_READOBJECT = 68;
764

765   { ER_XPATH_READOBJECT,
766      "XPath.readObject \u5185: {0}"},
767
768   /** Field ER_FUNCTION_TOKEN_NOT_FOUND */
769 // public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
770

771   { ER_FUNCTION_TOKEN_NOT_FOUND,
772       "\u95a2\u6570\u30c8\u30fc\u30af\u30f3\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002"},
773
774    /** Argument 'localName' is null */
775 // public static final int ER_ARG_LOCALNAME_NULL = 70;
776

777   //{ ER_ARG_LOCALNAME_NULL,
778
// "Argument 'localName' is null"},
779

780    /** Can not deal with XPath type: */
781 // public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
782

783   { ER_CANNOT_DEAL_XPATH_TYPE,
784        "XPath \u30bf\u30a4\u30d7: {0} \u3092\u51e6\u7406\u3067\u304d\u307e\u305b\u3093"},
785
786    /** This NodeSet is not mutable */
787  // public static final int ER_NODESET_NOT_MUTABLE = 72;
788

789   { ER_NODESET_NOT_MUTABLE,
790        "\u3053\u306e NodeSet \u306f\u53ef\u5909\u3067\u3042\u308a\u307e\u305b\u3093"},
791
792    /** This NodeSetDTM is not mutable */
793 // public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
794

795   { ER_NODESETDTM_NOT_MUTABLE,
796        "\u3053\u306e NodeSetDTM \u306f\u53ef\u5909\u3067\u3042\u308a\u307e\u305b\u3093"},
797
798    /** Variable not resolvable: */
799 // public static final int ER_VAR_NOT_RESOLVABLE = 74;
800

801   { ER_VAR_NOT_RESOLVABLE,
802         "\u5909\u6570\u306f\u89e3\u6c7a\u53ef\u80fd\u3067\u3042\u308a\u307e\u305b\u3093: {0}"},
803
804    /** Null error handler */
805 // public static final int ER_NULL_ERROR_HANDLER = 75;
806

807   { ER_NULL_ERROR_HANDLER,
808         "\u30cc\u30eb\u306e\u30a8\u30e9\u30fc\u30fb\u30cf\u30f3\u30c9\u30e9\u30fc"},
809
810    /** Programmer's assertion: unknown opcode */
811  // public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
812

813   { ER_PROG_ASSERT_UNKNOWN_OPCODE,
814        "\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3: \u4e0d\u660e\u306a\u547d\u4ee4\u30b3\u30fc\u30c9: {0}"},
815
816    /** 0 or 1 */
817 // public static final int ER_ZERO_OR_ONE = 77;
818

819   { ER_ZERO_OR_ONE,
820        "0 \u307e\u305f\u306f 1"},
821
822
823    /** rtf() not supported by XRTreeFragSelectWrapper */
824   //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
825

826   { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
827        "rtf() \u306f XRTreeFragSelectWrapper \u306b\u3088\u3063\u3066\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093"},
828
829    /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
830   //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
831

832   { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
833        "asNodeIterator() \u306f XRTreeFragSelectWrapper \u306b\u3088\u3063\u3066\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093"},
834
835    /** fsb() not supported for XStringForChars */
836  // public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
837

838   { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
839        "fsb() \u306f XStringForChars \u306e\u5834\u5408\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093"},
840
841    /** Could not find variable with the name of */
842 // public static final int ER_COULD_NOT_FIND_VAR = 81;
843

844   { ER_COULD_NOT_FIND_VAR,
845       "\u540d\u524d {0} \u3092\u3082\u3064\u5909\u6570\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f"},
846
847    /** XStringForChars can not take a string for an argument */
848 // public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
849

850   { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
851       "XStringForChars \u306f\u5f15\u304d\u6570\u306b\u30b9\u30c8\u30ea\u30f3\u30b0\u3092\u4f7f\u7528\u3057\u307e\u305b\u3093"},
852
853    /** The FastStringBuffer argument can not be null */
854 // public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
855

856   { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
857       "FastStringBuffer \u5f15\u304d\u6570\u306f\u30cc\u30eb\u306b\u3067\u304d\u307e\u305b\u3093"},
858
859   /* MANTIS_XALAN CHANGE: BEGIN */
860    /** 2 or 3 */
861 // public static final int ER_TWO_OR_THREE = 84;
862

863   { ER_TWO_OR_THREE,
864        "2 \u307e\u305f\u306f 3"},
865
866    /** Variable accessed before it is bound! */
867 // public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
868

869   { ER_VARIABLE_ACCESSED_BEFORE_BIND,
870        "\u5909\u6570\u304c\u30d0\u30a4\u30f3\u30c9\u3055\u308c\u308b\u524d\u306b\u30a2\u30af\u30bb\u30b9\u3055\u308c\u307e\u3057\u305f!"},
871
872    /** XStringForFSB can not take a string for an argument! */
873 // public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
874

875   { ER_FSB_CANNOT_TAKE_STRING,
876        "XStringForFSB \u306f\u5f15\u304d\u6570\u306b\u30b9\u30c8\u30ea\u30f3\u30b0\u3092\u4f7f\u7528\u3057\u307e\u305b\u3093!"},
877
878    /** Error! Setting the root of a walker to null! */
879 // public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
880

881   { ER_SETTING_WALKER_ROOT_TO_NULL,
882        "\n !!!! \u30a8\u30e9\u30fc! \u30a6\u30a9\u30fc\u30ab\u30fc\u306e\u30eb\u30fc\u30c8\u3092\u30cc\u30eb\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059!!!"},
883
884    /** This NodeSetDTM can not iterate to a previous node! */
885 // public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
886

887   { ER_NODESETDTM_CANNOT_ITERATE,
888        "\u3053\u306e NodeSetDTM \u306f\u76f4\u524d\u306e\u30ce\u30fc\u30c9\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093!"},
889
890   /** This NodeSet can not iterate to a previous node! */
891 // public static final int ER_NODESET_CANNOT_ITERATE = 89;
892

893   { ER_NODESET_CANNOT_ITERATE,
894        "\u3053\u306e NodeSet \u306f\u76f4\u524d\u306e\u30ce\u30fc\u30c9\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093!"},
895
896   /** This NodeSetDTM can not do indexing or counting functions! */
897 // public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
898

899   { ER_NODESETDTM_CANNOT_INDEX,
900        "\u3053\u306e NodeSetDTM \u306f\u7d22\u5f15\u4ed8\u3051\u3084\u30ab\u30a6\u30f3\u30c8\u306e\u6a5f\u80fd\u3092\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093!"},
901
902   /** This NodeSet can not do indexing or counting functions! */
903 // public static final int ER_NODESET_CANNOT_INDEX = 91;
904

905   { ER_NODESET_CANNOT_INDEX,
906        "\u3053\u306e NodeSet \u306f\u7d22\u5f15\u4ed8\u3051\u3084\u30ab\u30a6\u30f3\u30c8\u306e\u6a5f\u80fd\u3092\u5b9f\u884c\u3067\u304d\u307e\u305b\u3093!"},
907
908   /** Can not call setShouldCacheNodes after nextNode has been called! */
909 // public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
910

911   { ER_CANNOT_CALL_SETSHOULDCACHENODE,
912        "nextNode \u3092\u547c\u3073\u51fa\u3057\u305f\u5f8c\u306b setShouldCacheNodes \u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093!"},
913
914   /** {0} only allows {1} arguments */
915 // public static final int ER_ONLY_ALLOWS = 93;
916

917   { ER_ONLY_ALLOWS,
918        "{0} \u306b\u8a31\u53ef\u3055\u308c\u308b\u5f15\u304d\u6570\u306f {1} \u500b\u306e\u307f\u3067\u3059"},
919
920   /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
921 // public static final int ER_UNKNOWN_STEP = 94;
922

923   { ER_UNKNOWN_STEP,
924        "getNextStepPos \u5185\u306e\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u30a2\u30b5\u30fc\u30b7\u30e7\u30f3: \u4e0d\u660e\u306a stepType: {0}"},
925
926   //Note to translators: A relative location path is a form of XPath expression.
927
// The message indicates that such an expression was expected following the
928
// characters '/' or '//', but was not found.
929

930   /** Problem with RelativeLocationPath */
931 // public static final int ER_EXPECTED_REL_LOC_PATH = 95;
932

933   { ER_EXPECTED_REL_LOC_PATH,
934       "\u76f8\u5bfe\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30d1\u30b9\u306f '/' \u307e\u305f\u306f '//' \u30c8\u30fc\u30af\u30f3\u306e\u6b21\u306b\u5fc5\u8981\u3067\u3057\u305f\u3002"},
935
936   // Note to translators: A location path is a form of XPath expression.
937
// The message indicates that syntactically such an expression was expected,but
938
// the characters specified by the substitution text were encountered instead.
939

940   /** Problem with LocationPath */
941 // public static final int ER_EXPECTED_LOC_PATH = 96;
942

943   { ER_EXPECTED_LOC_PATH,
944        "\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30d1\u30b9\u304c\u5fc5\u8981\u3067\u3057\u305f\u304c\u3001\u6b21\u306e\u30c8\u30fc\u30af\u30f3\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u003a {0}"},
945
946   // Note to translators: A location step is part of an XPath expression.
947
// The message indicates that syntactically such an expression was expected
948
// following the specified characters.
949

950   /** Problem with Step */
951 // public static final int ER_EXPECTED_LOC_STEP = 97;
952

953   { ER_EXPECTED_LOC_STEP,
954        "\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30b9\u30c6\u30c3\u30d7\u306f '/' \u307e\u305f\u306f '//' \u30c8\u30fc\u30af\u30f3\u306e\u6b21\u306b\u5fc5\u8981\u3067\u3057\u305f\u3002"},
955
956   // Note to translators: A node test is part of an XPath expression that is
957
// used to test for particular kinds of nodes. In this case, a node test that
958
// consists of an NCName followed by a colon and an asterisk or that consists
959
// of a QName was expected, but was not found.
960

961   /** Problem with NodeTest */
962 // public static final int ER_EXPECTED_NODE_TEST = 98;
963

964   { ER_EXPECTED_NODE_TEST,
965        "NCName:* \u307e\u305f\u306f QName \u306e\u3044\u305a\u308c\u304b\u3068\u4e00\u81f4\u3059\u308b\u30ce\u30fc\u30c9\u30fb\u30c6\u30b9\u30c8\u304c\u5fc5\u8981\u3067\u3057\u305f\u3002"},
966
967   // Note to translators: A step pattern is part of an XPath expression.
968
// The message indicates that syntactically such an expression was expected,
969
// but the specified character was found in the expression instead.
970

971   /** Expected step pattern */
972 // public static final int ER_EXPECTED_STEP_PATTERN = 99;
973

974   { ER_EXPECTED_STEP_PATTERN,
975        "\u30b9\u30c6\u30c3\u30d7\u30fb\u30d1\u30bf\u30fc\u30f3\u304c\u5fc5\u8981\u3067\u3057\u305f\u304c\u3001'/' \u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f\u3002"},
976
977   // Note to translators: A relative path pattern is part of an XPath expression.
978
// The message indicates that syntactically such an expression was expected,
979
// but was not found.
980

981   /** Expected relative path pattern */
982 // public static final int ER_EXPECTED_REL_PATH_PATTERN = 100;
983

984   { ER_EXPECTED_REL_PATH_PATTERN,
985        "\u76f8\u5bfe\u30d1\u30b9\u30fb\u30d1\u30bf\u30fc\u30f3\u304c\u5fc5\u8981\u3067\u3057\u305f\u3002"},
986
987   // Note to translators: A QNAME has the syntactic form [NCName:]NCName
988
// The localname is the portion after the optional colon; the message indicates
989
// that there is a problem with that part of the QNAME.
990

991   /** localname in QNAME should be a valid NCName */
992 // public static final int ER_ARG_LOCALNAME_INVALID = 101;
993

994   //{ ER_ARG_LOCALNAME_INVALID,
995
// "Localname in QNAME should be a valid NCName"},
996

997   // Note to translators: A QNAME has the syntactic form [NCName:]NCName
998
// The prefix is the portion before the optional colon; the message indicates
999
// that there is a problem with that part of the QNAME.
1000

1001  /** prefix in QNAME should be a valid NCName */
1002 // public static final int ER_ARG_PREFIX_INVALID = 102;
1003

1004  //{ ER_ARG_PREFIX_INVALID,
1005
// "Prefix in QNAME should be a valid NCName"},
1006

1007  // Note to translators: The substitution text is the name of a data type. The
1008
// message indicates that a value of a particular type could not be converted
1009
// to a value of type string.
1010

1011  /** Field ER_CANT_CONVERT_TO_BOOLEAN */
1012// public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;
1013

1014  { ER_CANT_CONVERT_TO_BOOLEAN,
1015       "{0} \u3092\u30d6\u30fc\u30eb\u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3002"},
1016
1017  // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
1018
// FIRST_ORDERED_NODE_TYPE.
1019

1020  /** Field ER_CANT_CONVERT_TO_SINGLENODE */
1021  //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;
1022

1023  { ER_CANT_CONVERT_TO_SINGLENODE,
1024       "{0} \u3092\u5358\u4e00\u30ce\u30fc\u30c9\u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3002 \u3053\u306e getter \u304c\u30bf\u30a4\u30d7 ANY_UNORDERED_NODE_TYPE \u304a\u3088\u3073 FIRST_ORDERED_NODE_TYPE \u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002"},
1025
1026  // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
1027
// ORDERED_NODE_SNAPSHOT_TYPE.
1028

1029  /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
1030// public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;
1031

1032  { ER_CANT_GET_SNAPSHOT_LENGTH,
1033       "\u30bf\u30a4\u30d7: {0} \u306b\u3064\u3044\u3066\u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u9577\u3055\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002 \u3053\u306e getter \u304c\u30bf\u30a4\u30d7 UNORDERED_NODE_SNAPSHOT_TYPE \u304a\u3088\u3073 ORDERED_NODE_SNAPSHOT_TYPE \u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002"},
1034
1035  /** Field ER_NON_ITERATOR_TYPE */
1036  //public static final int ER_NON_ITERATOR_TYPE = 106;
1037

1038  { ER_NON_ITERATOR_TYPE,
1039       "\u975e\u30a4\u30c6\u30ec\u30fc\u30bf\u30fc\u30fb\u30bf\u30a4\u30d7: {0} \u306f\u7e70\u308a\u8fd4\u3057\u304c\u3067\u304d\u307e\u305b\u3093"},
1040
1041  // Note to translators: This message indicates that the document being operated
1042
// upon changed, so the iterator object that was being used to traverse the
1043
// document has now become invalid.
1044

1045  /** Field ER_DOC_MUTATED */
1046// public static final int ER_DOC_MUTATED = 107;
1047

1048  { ER_DOC_MUTATED,
1049       "\u7d50\u679c\u304c\u623b\u3055\u308c\u305f\u4ee5\u5f8c\u306b\u6587\u66f8\u304c\u5909\u66f4\u3055\u308c\u307e\u3057\u305f\u3002 \u30a4\u30c6\u30ec\u30fc\u30bf\u30fc\u304c\u7121\u52b9\u3067\u3059\u3002"},
1050
1051  /** Field ER_INVALID_XPATH_TYPE */
1052// public static final int ER_INVALID_XPATH_TYPE = 108;
1053

1054  { ER_INVALID_XPATH_TYPE,
1055       "\u7121\u52b9\u306a XPath \u30bf\u30a4\u30d7\u5f15\u304d\u6570: {0}"},
1056
1057  /** Field ER_EMPTY_XPATH_RESULT */
1058// public static final int ER_EMPTY_XPATH_RESULT = 109;
1059

1060  { ER_EMPTY_XPATH_RESULT,
1061       "\u7a7a\u306e XPath \u7d50\u679c\u30aa\u30d6\u30b8\u30a7\u30af\u30c8"},
1062
1063  /** Field ER_INCOMPATIBLE_TYPES */
1064// public static final int ER_INCOMPATIBLE_TYPES = 110;
1065

1066  { ER_INCOMPATIBLE_TYPES,
1067       "\u623b\u3055\u308c\u305f\u30bf\u30a4\u30d7: {0} \u306f\u6307\u5b9a\u3055\u308c\u305f\u30bf\u30a4\u30d7: {1} \u306b\u5f37\u5236\u3067\u304d\u307e\u305b\u3093"},
1068
1069  /** Field ER_NULL_RESOLVER */
1070 // public static final int ER_NULL_RESOLVER = 111;
1071

1072  { ER_NULL_RESOLVER,
1073       "\u63a5\u982d\u90e8\u3092\u30cc\u30eb\u63a5\u982d\u90e8\u30ea\u30be\u30eb\u30d0\u30fc\u306b\u89e3\u6c7a\u3067\u304d\u307e\u305b\u3093\u3002"},
1074
1075  // Note to translators: The substitution text is the name of a data type. The
1076
// message indicates that a value of a particular type could not be converted
1077
// to a value of type string.
1078

1079  /** Field ER_CANT_CONVERT_TO_STRING */
1080// public static final int ER_CANT_CONVERT_TO_STRING = 112;
1081

1082  { ER_CANT_CONVERT_TO_STRING,
1083       "{0} \u3092\u30b9\u30c8\u30ea\u30f3\u30b0\u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3002"},
1084
1085  // Note to translators: Do not translate snapshotItem,
1086
// UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
1087

1088  /** Field ER_NON_SNAPSHOT_TYPE */
1089// public static final int ER_NON_SNAPSHOT_TYPE = 113;
1090

1091  { ER_NON_SNAPSHOT_TYPE,
1092       "\u30bf\u30a4\u30d7: {0} \u4e0a\u306e snapshotItem \u306e\u547c\u3073\u51fa\u3057\u304c\u3067\u304d\u307e\u305b\u3093\u3002 \u3053\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u30bf\u30a4\u30d7 UNORDERED_NODE_SNAPSHOT_TYPE \u304a\u3088\u3073 ORDERED_NODE_SNAPSHOT_TYPE \u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002"},
1093
1094  // Note to translators: XPathEvaluator is a Java interface name. An
1095
// XPathEvaluator is created with respect to a particular XML document, and in
1096
// this case the expression represented by this object was being evaluated with
1097
// respect to a context node from a different document.
1098

1099  /** Field ER_WRONG_DOCUMENT */
1100// public static final int ER_WRONG_DOCUMENT = 114;
1101

1102  { ER_WRONG_DOCUMENT,
1103       "\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30fb\u30ce\u30fc\u30c9\u306f\u3053\u306e XPathEvaluator \u306b\u30d0\u30a4\u30f3\u30c9\u3055\u308c\u3066\u3044\u308b\u6587\u66f8\u306b\u5c5e\u3057\u3066\u3044\u307e\u305b\u3093\u3002"},
1104
1105  // Note to translators: The XPath expression cannot be evaluated with respect
1106
// to this type of node.
1107
/** Field ER_WRONG_NODETYPE */
1108// public static final int ER_WRONG_NODETYPE = 115;
1109

1110  { ER_WRONG_NODETYPE,
1111       "\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30fb\u30ce\u30fc\u30c9\u30fb\u30bf\u30a4\u30d7\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"},
1112
1113  /** Field ER_XPATH_ERROR */
1114// public static final int ER_XPATH_ERROR = 116;
1115

1116  { ER_XPATH_ERROR,
1117       "XPath \u306b\u4e0d\u660e\u306a\u30a8\u30e9\u30fc\u304c\u3042\u308a\u307e\u3059\u3002"},
1118
1119
1120  // Warnings...
1121

1122  /** Field WG_LOCALE_NAME_NOT_HANDLED */
1123// public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
1124

1125  { WG_LOCALE_NAME_NOT_HANDLED,
1126      "\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u756a\u53f7\u95a2\u6570\u5185\u306e\u30ed\u30b1\u30fc\u30eb\u540d\u306f\u307e\u3060\u51e6\u7406\u3055\u308c\u307e\u305b\u3093!"},
1127
1128  /** Field WG_PROPERTY_NOT_SUPPORTED */
1129// public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
1130

1131  { WG_PROPERTY_NOT_SUPPORTED,
1132      "XSL \u30d7\u30ed\u30d1\u30c6\u30a3\u30fc: {0} \u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093"},
1133
1134  /** Field WG_DONT_DO_ANYTHING_WITH_NS */
1135// public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
1136

1137  { WG_DONT_DO_ANYTHING_WITH_NS,
1138      "\u73fe\u5728\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc {1} \u306e\u30cd\u30fc\u30e0\u30fb\u30b9\u30da\u30fc\u30b9 {0} \u3067\u4f55\u3082\u5b9f\u884c\u3055\u308c\u3066\u3044\u307e\u305b\u3093"},
1139
1140  /** Field WG_SECURITY_EXCEPTION */
1141// public static final int WG_SECURITY_EXCEPTION = 4;
1142

1143  { WG_SECURITY_EXCEPTION,
1144      "XSL \u30b7\u30b9\u30c6\u30e0\u30fb\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc: {0} \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u3068\u304d\u306b SecurityException"},
1145
1146  /** Field WG_QUO_NO_LONGER_DEFINED */
1147// public static final int WG_QUO_NO_LONGER_DEFINED = 5;
1148

1149  { WG_QUO_NO_LONGER_DEFINED,
1150      "\u65e7\u69cb\u6587: quo(...) \u306f XPath \u5185\u306b\u3082\u3046\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"},
1151
1152  /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */
1153// public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
1154

1155  { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
1156      "nodeTest \u3092\u30a4\u30f3\u30d7\u30ea\u30e1\u30f3\u30c8\u3059\u308b\u306b\u306f XPath \u306b\u6d3e\u751f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5fc5\u8981\u3067\u3059!"},
1157
1158  /** Field WG_FUNCTION_TOKEN_NOT_FOUND */
1159// public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
1160

1161  { WG_FUNCTION_TOKEN_NOT_FOUND,
1162      "\u95a2\u6570\u30c8\u30fc\u30af\u30f3\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3002"},
1163
1164  /** Field WG_COULDNOT_FIND_FUNCTION */
1165// public static final int WG_COULDNOT_FIND_FUNCTION = 8;
1166

1167  { WG_COULDNOT_FIND_FUNCTION,
1168      "\u95a2\u6570: {0} \u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f"},
1169
1170  /** Field WG_CANNOT_MAKE_URL_FROM */
1171// public static final int WG_CANNOT_MAKE_URL_FROM = 9;
1172

1173  { WG_CANNOT_MAKE_URL_FROM,
1174      "URL \u3092 {0} \u304b\u3089\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002"},
1175
1176  /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */
1177// public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
1178

1179  { WG_EXPAND_ENTITIES_NOT_SUPPORTED,
1180      "-E \u30aa\u30d7\u30b7\u30e7\u30f3\u306f DTM \u30d1\u30fc\u30b5\u30fc\u306e\u5834\u5408\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093"},
1181
1182  /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
1183// public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
1184

1185  { WG_ILLEGAL_VARIABLE_REFERENCE,
1186      "\u5909\u6570\u306b\u6307\u5b9a\u3055\u308c\u305f VariableReference \u304c\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u5916\u304b\u3001\u5b9a\u7fa9\u306a\u3057\u3067\u3059! \u540d\u524d = {0}"},
1187
1188  /** Field WG_UNSUPPORTED_ENCODING */
1189// public static final int WG_UNSUPPORTED_ENCODING = 12;
1190

1191  { WG_UNSUPPORTED_ENCODING,
1192     "\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u3044\u30a8\u30f3\u30b3\u30fc\u30c9: {0}"},
1193
1194
1195
1196  // Other miscellaneous text used inside the code...
1197
{ "ui_language", "en"},
1198  { "help_language", "en"},
1199  { "language", "en"},
1200  { "BAD_CODE", "createMessage \u3078\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u304c\u5883\u754c\u5916\u3067\u3057\u305f\u3002"},
1201  { "FORMAT_FAILED", "messageFormat \u547c\u3073\u51fa\u3057\u4e2d\u306b\u4f8b\u5916\u304c\u30b9\u30ed\u30fc\u3055\u308c\u307e\u3057\u305f\u3002"},
1202  { "version", ">>>>>>> Xalan \u30d0\u30fc\u30b8\u30e7\u30f3 "},
1203  { "version2", "<<<<<<<"},
1204  { "yes", "\u306f\u3044"},
1205  { "line", "\u884c #"},
1206  { "column", "\u6841 #"},
1207  { "xsldone", "XSLProcessor: \u5b8c\u4e86"},
1208  { "xpath_option", "xpath \u30aa\u30d7\u30b7\u30e7\u30f3: "},
1209  { "optionIN", " [-in inputXMLURL]"},
1210  { "optionSelect", " [-select xpath \u5f0f]"},
1211  { "optionMatch", " [-match \u30de\u30c3\u30c1\u30f3\u30b0\u30fb\u30d1\u30bf\u30fc\u30f3 (\u30de\u30c3\u30c1\u30f3\u30b0\u8a3a\u65ad\u7528)]"},
1212  { "optionAnyExpr", "\u3042\u308b\u3044\u306f\u8a3a\u65ad\u30c0\u30f3\u30d7\u3092\u5b9f\u884c\u3059\u308b\u306e\u306f xpath \u5f0f\u3060\u3051\u3067\u3059"},
1213  { "noParsermsg1", "XSL \u51e6\u7406\u306f\u6210\u529f\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002"},
1214  { "noParsermsg2", "** \u30d1\u30fc\u30b5\u30fc\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f **"},
1215  { "noParsermsg3", "\u30af\u30e9\u30b9\u30d1\u30b9\u3092\u8abf\u3079\u3066\u304f\u3060\u3055\u3044\u3002"},
1216  { "noParsermsg4", "IBM \u306e XML Parser for Java \u304c\u306a\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b5\u30a4\u30c8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059:"},
1217  { "noParsermsg5", "IBM AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"},
1218  { "gtone", ">1" },
1219  { "zero", "0" },
1220  { "one", "1" },
1221  { "two" , "2" },
1222  { "three", "3" }
1223
1224  };
1225
1226
1227  // ================= INFRASTRUCTURE ======================
1228

1229  /** Field BAD_CODE */
1230  public static final String JavaDoc BAD_CODE = "BAD_CODE";
1231
1232  /** Field FORMAT_FAILED */
1233  public static final String JavaDoc FORMAT_FAILED = "FORMAT_FAILED";
1234
1235  /** Field ERROR_RESOURCES */
1236  public static final String JavaDoc ERROR_RESOURCES =
1237    "com.sun.org.apache.xpath.internal.res.XPATHErrorResources";
1238
1239  /** Field ERROR_STRING */
1240  public static final String JavaDoc ERROR_STRING = "#\u30a8\u30e9\u30fc";
1241
1242  /** Field ERROR_HEADER */
1243  public static final String JavaDoc ERROR_HEADER = "\u30a8\u30e9\u30fc: ";
1244
1245  /** Field WARNING_HEADER */
1246  public static final String JavaDoc WARNING_HEADER = "\u8b66\u544a: ";
1247
1248  /** Field XSL_HEADER */
1249  public static final String JavaDoc XSL_HEADER = "XSL ";
1250
1251  /** Field XML_HEADER */
1252  public static final String JavaDoc XML_HEADER = "XML ";
1253
1254  /** Field QUERY_HEADER */
1255  public static final String JavaDoc QUERY_HEADER = "\u30d1\u30bf\u30fc\u30f3 ";
1256
1257  /**
1258   * Get the association list.
1259   *
1260   * @return The association list.
1261   */

1262  protected Object JavaDoc[][] getContents() {
1263      // return a copy of contents; in theory we want a deep clone
1264
// of contents, but since it only contains (immutable) Strings,
1265
// this shallow copy is sufficient
1266
Object JavaDoc[][] msgCopy = new Object JavaDoc[contents.length][2];
1267      for (int i = 0; i < contents.length; i++) {
1268          msgCopy[i][0] = contents[i][0];
1269          msgCopy[i][1] = contents[i][1];
1270      }
1271      return msgCopy;
1272  }
1273
1274  /**
1275   * Return a named ResourceBundle for a particular locale. This method mimics the behavior
1276   * of ResourceBundle.getBundle().
1277   *
1278   * @param res the name of the resource to load.
1279   * @param locale the locale to prefer when searching for the bundle
1280   *
1281   * @param className Name of local-specific subclass.
1282   * @return the ResourceBundle
1283   * @throws MissingResourceException
1284   */

1285  public static final XPATHErrorResources loadResourceBundle(String JavaDoc className)
1286          throws MissingResourceException JavaDoc
1287  {
1288
1289    Locale JavaDoc locale = Locale.getDefault();
1290    String JavaDoc suffix = getResourceSuffix(locale);
1291
1292    try
1293    {
1294
1295      // first try with the given locale
1296
return (XPATHErrorResources) ResourceBundle.getBundle(className
1297              + suffix, locale);
1298    }
1299    catch (MissingResourceException JavaDoc e)
1300    {
1301      try // try to fall back to en_US if we can't load
1302
{
1303
1304        // Since we can't find the localized property file,
1305
// fall back to en_US.
1306
return (XPATHErrorResources) ResourceBundle.getBundle(className,
1307                new Locale JavaDoc("en", "US"));
1308      }
1309      catch (MissingResourceException JavaDoc e2)
1310      {
1311
1312        // Now we are really in trouble.
1313
// very bad, definitely very bad...not going to get very far
1314
throw new MissingResourceException JavaDoc(
1315          "Could not load any resource bundles.", className, "");
1316      }
1317    }
1318  }
1319
1320  /**
1321   * Return the resource file suffic for the indicated locale
1322   * For most locales, this will be based the language code. However
1323   * for Chinese, we do distinguish between Taiwan and PRC
1324   *
1325   * @param locale the locale
1326   * @return an String suffix which canbe appended to a resource name
1327   */

1328  private static final String JavaDoc getResourceSuffix(Locale JavaDoc locale)
1329  {
1330
1331    String JavaDoc suffix = "_" + locale.getLanguage();
1332    String JavaDoc country = locale.getCountry();
1333
1334    if (country.equals("TW"))
1335      suffix += "_" + country;
1336
1337    return suffix;
1338  }
1339
1340}
1341
Popular Tags