1 /* 2 * reserved comment block 3 * DO NOT REMOVE OR ALTER! 4 */ 5 /* 6 * Copyright 1999-2005 The Apache Software Foundation. 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 */ 20 /* 21 * $Id: XPATHErrorResources.java,v 1.2.4.1 2005/09/15 01:29:15 jeffsuttor Exp $ 22 */ 23 package com.sun.org.apache.xpath.internal.res; 24 25 import java.util.ListResourceBundle; 26 27 /** 28 * Set up error messages. 29 * We build a two dimensional array of message keys and 30 * message strings. In order to add a new message here, 31 * you need to first add a Static string constant for the 32 * Key and update the contents array with Key, Value pair 33 * Also you need to update the count of messages(MAX_CODE)or 34 * the count of warnings(MAX_WARNING) [ Information purpose only] 35 * @xsl.usage advanced 36 */ 37 public class XPATHErrorResources extends ListResourceBundle 38 { 39 40 /* 41 * General notes to translators: 42 * 43 * This file contains error and warning messages related to XPath Error 44 * Handling. 45 * 46 * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of 47 * components. 48 * XSLT is an acronym for "XML Stylesheet Language: Transformations". 49 * XSLTC is an acronym for XSLT Compiler. 50 * 51 * 2) A stylesheet is a description of how to transform an input XML document 52 * into a resultant XML document (or HTML document or text). The 53 * stylesheet itself is described in the form of an XML document. 54 * 55 * 3) A template is a component of a stylesheet that is used to match a 56 * particular portion of an input document and specifies the form of the 57 * corresponding portion of the output document. 58 * 59 * 4) An element is a mark-up tag in an XML document; an attribute is a 60 * modifier on the tag. For example, in <elem attr='val' attr2='val2'> 61 * "elem" is an element name, "attr" and "attr2" are attribute names with 62 * the values "val" and "val2", respectively. 63 * 64 * 5) A namespace declaration is a special attribute that is used to associate 65 * a prefix with a URI (the namespace). The meanings of element names and 66 * attribute names that use that prefix are defined with respect to that 67 * namespace. 68 * 69 * 6) "Translet" is an invented term that describes the class file that 70 * results from compiling an XML stylesheet into a Java class. 71 * 72 * 7) XPath is a specification that describes a notation for identifying 73 * nodes in a tree-structured representation of an XML document. An 74 * instance of that notation is referred to as an XPath expression. 75 * 76 * 8) The context node is the node in the document with respect to which an 77 * XPath expression is being evaluated. 78 * 79 * 9) An iterator is an object that traverses nodes in the tree, one at a time. 80 * 81 * 10) NCName is an XML term used to describe a name that does not contain a 82 * colon (a "no-colon name"). 83 * 84 * 11) QName is an XML term meaning "qualified name". 85 */ 86 87 /* 88 * static variables 89 */ 90 public static final String ERROR0000 = "ERROR0000"; 91 public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH = 92 "ER_CURRENT_NOT_ALLOWED_IN_MATCH"; 93 public static final String ER_CURRENT_TAKES_NO_ARGS = 94 "ER_CURRENT_TAKES_NO_ARGS"; 95 public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED"; 96 public static final String ER_CONTEXT_HAS_NO_OWNERDOC = 97 "ER_CONTEXT_HAS_NO_OWNERDOC"; 98 public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS = 99 "ER_LOCALNAME_HAS_TOO_MANY_ARGS"; 100 public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 101 "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS"; 102 public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 103 "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS"; 104 public static final String ER_NUMBER_HAS_TOO_MANY_ARGS = 105 "ER_NUMBER_HAS_TOO_MANY_ARGS"; 106 public static final String ER_NAME_HAS_TOO_MANY_ARGS = 107 "ER_NAME_HAS_TOO_MANY_ARGS"; 108 public static final String ER_STRING_HAS_TOO_MANY_ARGS = 109 "ER_STRING_HAS_TOO_MANY_ARGS"; 110 public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 111 "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS"; 112 public static final String ER_TRANSLATE_TAKES_3_ARGS = 113 "ER_TRANSLATE_TAKES_3_ARGS"; 114 public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG = 115 "ER_UNPARSEDENTITYURI_TAKES_1_ARG"; 116 public static final String ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 117 "ER_NAMESPACEAXIS_NOT_IMPLEMENTED"; 118 public static final String ER_UNKNOWN_AXIS = "ER_UNKNOWN_AXIS"; 119 public static final String ER_UNKNOWN_MATCH_OPERATION = 120 "ER_UNKNOWN_MATCH_OPERATION"; 121 public static final String ER_INCORRECT_ARG_LENGTH ="ER_INCORRECT_ARG_LENGTH"; 122 public static final String ER_CANT_CONVERT_TO_NUMBER = 123 "ER_CANT_CONVERT_TO_NUMBER"; 124 public static final String ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBER = 125 "ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBER"; 126 public static final String ER_CANT_CONVERT_TO_NODELIST = 127 "ER_CANT_CONVERT_TO_NODELIST"; 128 public static final String ER_CANT_CONVERT_TO_MUTABLENODELIST = 129 "ER_CANT_CONVERT_TO_MUTABLENODELIST"; 130 public static final String ER_CANT_CONVERT_TO_TYPE ="ER_CANT_CONVERT_TO_TYPE"; 131 public static final String ER_EXPECTED_MATCH_PATTERN = 132 "ER_EXPECTED_MATCH_PATTERN"; 133 public static final String ER_COULDNOT_GET_VAR_NAMED = 134 "ER_COULDNOT_GET_VAR_NAMED"; 135 public static final String ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE"; 136 public static final String ER_EXTRA_ILLEGAL_TOKENS ="ER_EXTRA_ILLEGAL_TOKENS"; 137 public static final String ER_EXPECTED_DOUBLE_QUOTE = 138 "ER_EXPECTED_DOUBLE_QUOTE"; 139 public static final String ER_EXPECTED_SINGLE_QUOTE = 140 "ER_EXPECTED_SINGLE_QUOTE"; 141 public static final String ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION"; 142 public static final String ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND"; 143 public static final String ER_INCORRECT_PROGRAMMER_ASSERTION = 144 "ER_INCORRECT_PROGRAMMER_ASSERTION"; 145 public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 146 "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL"; 147 public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 148 "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG"; 149 public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 150 "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG"; 151 public static final String ER_PREDICATE_ILLEGAL_SYNTAX = 152 "ER_PREDICATE_ILLEGAL_SYNTAX"; 153 public static final String ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME"; 154 public static final String ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE"; 155 public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 156 "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED"; 157 public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 158 "ER_COULDNOT_BE_FORMATTED_TO_NUMBER"; 159 public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 160 "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON"; 161 public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP = 162 "ER_DIDNOT_FIND_XPATH_SELECT_EXP"; 163 public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 164 "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH"; 165 public static final String ER_ERROR_OCCURED = "ER_ERROR_OCCURED"; 166 public static final String ER_ILLEGAL_VARIABLE_REFERENCE = 167 "ER_ILLEGAL_VARIABLE_REFERENCE"; 168 public static final String ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED"; 169 public static final String ER_KEY_HAS_TOO_MANY_ARGS = 170 "ER_KEY_HAS_TOO_MANY_ARGS"; 171 public static final String ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG"; 172 public static final String ER_COULDNOT_FIND_FUNCTION = 173 "ER_COULDNOT_FIND_FUNCTION"; 174 public static final String ER_UNSUPPORTED_ENCODING ="ER_UNSUPPORTED_ENCODING"; 175 public static final String ER_PROBLEM_IN_DTM_NEXTSIBLING = 176 "ER_PROBLEM_IN_DTM_NEXTSIBLING"; 177 public static final String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 178 "ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL"; 179 public static final String ER_SETDOMFACTORY_NOT_SUPPORTED = 180 "ER_SETDOMFACTORY_NOT_SUPPORTED"; 181 public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; 182 public static final String ER_PARSE_NOT_SUPPORTED = "ER_PARSE_NOT_SUPPORTED"; 183 public static final String ER_SAX_API_NOT_HANDLED = "ER_SAX_API_NOT_HANDLED"; 184 public static final String ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 185 "ER_IGNORABLE_WHITESPACE_NOT_HANDLED"; 186 public static final String ER_DTM_CANNOT_HANDLE_NODES = 187 "ER_DTM_CANNOT_HANDLE_NODES"; 188 public static final String ER_XERCES_CANNOT_HANDLE_NODES = 189 "ER_XERCES_CANNOT_HANDLE_NODES"; 190 public static final String ER_XERCES_PARSE_ERROR_DETAILS = 191 "ER_XERCES_PARSE_ERROR_DETAILS"; 192 public static final String ER_XERCES_PARSE_ERROR = "ER_XERCES_PARSE_ERROR"; 193 public static final String ER_INVALID_UTF16_SURROGATE = 194 "ER_INVALID_UTF16_SURROGATE"; 195 public static final String ER_OIERROR = "ER_OIERROR"; 196 public static final String ER_CANNOT_CREATE_URL = "ER_CANNOT_CREATE_URL"; 197 public static final String ER_XPATH_READOBJECT = "ER_XPATH_READOBJECT"; 198 public static final String ER_FUNCTION_TOKEN_NOT_FOUND = 199 "ER_FUNCTION_TOKEN_NOT_FOUND"; 200 public static final String ER_CANNOT_DEAL_XPATH_TYPE = 201 "ER_CANNOT_DEAL_XPATH_TYPE"; 202 public static final String ER_NODESET_NOT_MUTABLE = "ER_NODESET_NOT_MUTABLE"; 203 public static final String ER_NODESETDTM_NOT_MUTABLE = 204 "ER_NODESETDTM_NOT_MUTABLE"; 205 /** Variable not resolvable: */ 206 public static final String ER_VAR_NOT_RESOLVABLE = "ER_VAR_NOT_RESOLVABLE"; 207 /** Null error handler */ 208 public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER"; 209 /** Programmer's assertion: unknown opcode */ 210 public static final String ER_PROG_ASSERT_UNKNOWN_OPCODE = 211 "ER_PROG_ASSERT_UNKNOWN_OPCODE"; 212 /** 0 or 1 */ 213 public static final String ER_ZERO_OR_ONE = "ER_ZERO_OR_ONE"; 214 /** rtf() not supported by XRTreeFragSelectWrapper */ 215 public static final String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 216 "ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 217 /** asNodeIterator() not supported by XRTreeFragSelectWrapper */ 218 public static final String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 219 /** fsb() not supported for XStringForChars */ 220 public static final String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 221 "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS"; 222 /** Could not find variable with the name of */ 223 public static final String ER_COULD_NOT_FIND_VAR = "ER_COULD_NOT_FIND_VAR"; 224 /** XStringForChars can not take a string for an argument */ 225 public static final String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 226 "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING"; 227 /** The FastStringBuffer argument can not be null */ 228 public static final String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 229 "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL"; 230 /** 2 or 3 */ 231 public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE"; 232 /** Variable accessed before it is bound! */ 233 public static final String ER_VARIABLE_ACCESSED_BEFORE_BIND = 234 "ER_VARIABLE_ACCESSED_BEFORE_BIND"; 235 /** XStringForFSB can not take a string for an argument! */ 236 public static final String ER_FSB_CANNOT_TAKE_STRING = 237 "ER_FSB_CANNOT_TAKE_STRING"; 238 /** Error! Setting the root of a walker to null! */ 239 public static final String ER_SETTING_WALKER_ROOT_TO_NULL = 240 "ER_SETTING_WALKER_ROOT_TO_NULL"; 241 /** This NodeSetDTM can not iterate to a previous node! */ 242 public static final String ER_NODESETDTM_CANNOT_ITERATE = 243 "ER_NODESETDTM_CANNOT_ITERATE"; 244 /** This NodeSet can not iterate to a previous node! */ 245 public static final String ER_NODESET_CANNOT_ITERATE = 246 "ER_NODESET_CANNOT_ITERATE"; 247 /** This NodeSetDTM can not do indexing or counting functions! */ 248 public static final String ER_NODESETDTM_CANNOT_INDEX = 249 "ER_NODESETDTM_CANNOT_INDEX"; 250 /** This NodeSet can not do indexing or counting functions! */ 251 public static final String ER_NODESET_CANNOT_INDEX = 252 "ER_NODESET_CANNOT_INDEX"; 253 /** Can not call setShouldCacheNodes after nextNode has been called! */ 254 public static final String ER_CANNOT_CALL_SETSHOULDCACHENODE = 255 "ER_CANNOT_CALL_SETSHOULDCACHENODE"; 256 /** {0} only allows {1} arguments */ 257 public static final String ER_ONLY_ALLOWS = "ER_ONLY_ALLOWS"; 258 /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */ 259 public static final String ER_UNKNOWN_STEP = "ER_UNKNOWN_STEP"; 260 /** Problem with RelativeLocationPath */ 261 public static final String ER_EXPECTED_REL_LOC_PATH = 262 "ER_EXPECTED_REL_LOC_PATH"; 263 /** Problem with LocationPath */ 264 public static final String ER_EXPECTED_LOC_PATH = "ER_EXPECTED_LOC_PATH"; 265 public static final String ER_EXPECTED_LOC_PATH_AT_END_EXPR = 266 "ER_EXPECTED_LOC_PATH_AT_END_EXPR"; 267 /** Problem with Step */ 268 public static final String ER_EXPECTED_LOC_STEP = "ER_EXPECTED_LOC_STEP"; 269 /** Problem with NodeTest */ 270 public static final String ER_EXPECTED_NODE_TEST = "ER_EXPECTED_NODE_TEST"; 271 /** Expected step pattern */ 272 public static final String ER_EXPECTED_STEP_PATTERN = 273 "ER_EXPECTED_STEP_PATTERN"; 274 /** Expected relative path pattern */ 275 public static final String ER_EXPECTED_REL_PATH_PATTERN = 276 "ER_EXPECTED_REL_PATH_PATTERN"; 277 /** ER_CANT_CONVERT_XPATHRESULTTYPE_TO_BOOLEAN */ 278 public static final String ER_CANT_CONVERT_TO_BOOLEAN = 279 "ER_CANT_CONVERT_TO_BOOLEAN"; 280 /** Field ER_CANT_CONVERT_TO_SINGLENODE */ 281 public static final String ER_CANT_CONVERT_TO_SINGLENODE = 282 "ER_CANT_CONVERT_TO_SINGLENODE"; 283 /** Field ER_CANT_GET_SNAPSHOT_LENGTH */ 284 public static final String ER_CANT_GET_SNAPSHOT_LENGTH = 285 "ER_CANT_GET_SNAPSHOT_LENGTH"; 286 /** Field ER_NON_ITERATOR_TYPE */ 287 public static final String ER_NON_ITERATOR_TYPE = "ER_NON_ITERATOR_TYPE"; 288 /** Field ER_DOC_MUTATED */ 289 public static final String ER_DOC_MUTATED = "ER_DOC_MUTATED"; 290 public static final String ER_INVALID_XPATH_TYPE = "ER_INVALID_XPATH_TYPE"; 291 public static final String ER_EMPTY_XPATH_RESULT = "ER_EMPTY_XPATH_RESULT"; 292 public static final String ER_INCOMPATIBLE_TYPES = "ER_INCOMPATIBLE_TYPES"; 293 public static final String ER_NULL_RESOLVER = "ER_NULL_RESOLVER"; 294 public static final String ER_CANT_CONVERT_TO_STRING = 295 "ER_CANT_CONVERT_TO_STRING"; 296 public static final String ER_NON_SNAPSHOT_TYPE = "ER_NON_SNAPSHOT_TYPE"; 297 public static final String ER_WRONG_DOCUMENT = "ER_WRONG_DOCUMENT"; 298 /* Note to translators: The XPath expression cannot be evaluated with respect 299 * to this type of node. 300 */ 301 /** Field ER_WRONG_NODETYPE */ 302 public static final String ER_WRONG_NODETYPE = "ER_WRONG_NODETYPE"; 303 public static final String ER_XPATH_ERROR = "ER_XPATH_ERROR"; 304 305 //BEGIN: Keys needed for exception messages of JAXP 1.3 XPath API implementation 306 public static final String ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED = "ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED"; 307 public static final String ER_RESOLVE_VARIABLE_RETURNS_NULL = "ER_RESOLVE_VARIABLE_RETURNS_NULL"; 308 public static final String ER_UNSUPPORTED_RETURN_TYPE = "ER_UNSUPPORTED_RETURN_TYPE"; 309 public static final String ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL = "ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL"; 310 public static final String ER_ARG_CANNOT_BE_NULL = "ER_ARG_CANNOT_BE_NULL"; 311 312 public static final String ER_OBJECT_MODEL_NULL = "ER_OBJECT_MODEL_NULL"; 313 public static final String ER_OBJECT_MODEL_EMPTY = "ER_OBJECT_MODEL_EMPTY"; 314 public static final String ER_FEATURE_NAME_NULL = "ER_FEATURE_NAME_NULL"; 315 public static final String ER_FEATURE_UNKNOWN = "ER_FEATURE_UNKNOWN"; 316 public static final String ER_GETTING_NULL_FEATURE = "ER_GETTING_NULL_FEATURE"; 317 public static final String ER_GETTING_UNKNOWN_FEATURE = "ER_GETTING_UNKNOWN_FEATURE"; 318 public static final String ER_SECUREPROCESSING_FEATURE = "ER_SECUREPROCESSING_FEATURE"; 319 public static final String ER_NULL_XPATH_FUNCTION_RESOLVER = "ER_NULL_XPATH_FUNCTION_RESOLVER"; 320 public static final String ER_NULL_XPATH_VARIABLE_RESOLVER = "ER_NULL_XPATH_VARIABLE_RESOLVER"; 321 //END: Keys needed for exception messages of JAXP 1.3 XPath API implementation 322 323 public static final String WG_LOCALE_NAME_NOT_HANDLED = 324 "WG_LOCALE_NAME_NOT_HANDLED"; 325 public static final String WG_PROPERTY_NOT_SUPPORTED = 326 "WG_PROPERTY_NOT_SUPPORTED"; 327 public static final String WG_DONT_DO_ANYTHING_WITH_NS = 328 "WG_DONT_DO_ANYTHING_WITH_NS"; 329 public static final String WG_SECURITY_EXCEPTION = "WG_SECURITY_EXCEPTION"; 330 public static final String WG_QUO_NO_LONGER_DEFINED = 331 "WG_QUO_NO_LONGER_DEFINED"; 332 public static final String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 333 "WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST"; 334 public static final String WG_FUNCTION_TOKEN_NOT_FOUND = 335 "WG_FUNCTION_TOKEN_NOT_FOUND"; 336 public static final String WG_COULDNOT_FIND_FUNCTION = 337 "WG_COULDNOT_FIND_FUNCTION"; 338 public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM"; 339 public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED = 340 "WG_EXPAND_ENTITIES_NOT_SUPPORTED"; 341 public static final String WG_ILLEGAL_VARIABLE_REFERENCE = 342 "WG_ILLEGAL_VARIABLE_REFERENCE"; 343 public static final String WG_UNSUPPORTED_ENCODING ="WG_UNSUPPORTED_ENCODING"; 344 345 /** detach() not supported by XRTreeFragSelectWrapper */ 346 public static final String ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 347 "ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 348 /** num() not supported by XRTreeFragSelectWrapper */ 349 public static final String ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 350 "ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 351 /** xstr() not supported by XRTreeFragSelectWrapper */ 352 public static final String ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 353 "ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 354 /** str() not supported by XRTreeFragSelectWrapper */ 355 public static final String ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 356 "ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER"; 357 358 // Error messages... 359 360 private static final Object[][] _contents = new Object[][]{ 361 362 { "ERROR0000" , "{0}" }, 363 364 { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "The current() function is not allowed in a match pattern!" }, 365 366 { ER_CURRENT_TAKES_NO_ARGS, "The current() function does not accept arguments!" }, 367 368 { ER_DOCUMENT_REPLACED, 369 "document() function implementation has been replaced by com.sun.org.apache.xalan.internal.xslt.FuncDocument!"}, 370 371 { ER_CONTEXT_HAS_NO_OWNERDOC, 372 "context does not have an owner document!"}, 373 374 { ER_LOCALNAME_HAS_TOO_MANY_ARGS, 375 "local-name() has too many arguments."}, 376 377 { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, 378 "namespace-uri() has too many arguments."}, 379 380 { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, 381 "normalize-space() has too many arguments."}, 382 383 { ER_NUMBER_HAS_TOO_MANY_ARGS, 384 "number() has too many arguments."}, 385 386 { ER_NAME_HAS_TOO_MANY_ARGS, 387 "name() has too many arguments."}, 388 389 { ER_STRING_HAS_TOO_MANY_ARGS, 390 "string() has too many arguments."}, 391 392 { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, 393 "string-length() has too many arguments."}, 394 395 { ER_TRANSLATE_TAKES_3_ARGS, 396 "The translate() function takes three arguments!"}, 397 398 { ER_UNPARSEDENTITYURI_TAKES_1_ARG, 399 "The unparsed-entity-uri function should take one argument!"}, 400 401 { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, 402 "namespace axis not implemented yet!"}, 403 404 { ER_UNKNOWN_AXIS, 405 "unknown axis: {0}"}, 406 407 { ER_UNKNOWN_MATCH_OPERATION, 408 "unknown match operation!"}, 409 410 { ER_INCORRECT_ARG_LENGTH, 411 "Arg length of processing-instruction() node test is incorrect!"}, 412 413 { ER_CANT_CONVERT_TO_NUMBER, 414 "Can not convert {0} to a number"}, 415 416 { ER_CANT_CONVERT_TO_NODELIST, 417 "Can not convert {0} to a NodeList!"}, 418 419 { ER_CANT_CONVERT_TO_MUTABLENODELIST, 420 "Can not convert {0} to a NodeSetDTM!"}, 421 422 { ER_CANT_CONVERT_TO_TYPE, 423 "Can not convert {0} to a type#{1}"}, 424 425 { ER_EXPECTED_MATCH_PATTERN, 426 "Expected match pattern in getMatchScore!"}, 427 428 { ER_COULDNOT_GET_VAR_NAMED, 429 "Could not get variable named {0}"}, 430 431 { ER_UNKNOWN_OPCODE, 432 "ERROR! Unknown op code: {0}"}, 433 434 { ER_EXTRA_ILLEGAL_TOKENS, 435 "Extra illegal tokens: {0}"}, 436 437 { ER_EXPECTED_DOUBLE_QUOTE, 438 "misquoted literal... expected double quote!"}, 439 440 { ER_EXPECTED_SINGLE_QUOTE, 441 "misquoted literal... expected single quote!"}, 442 443 { ER_EMPTY_EXPRESSION, 444 "Empty expression!"}, 445 446 { ER_EXPECTED_BUT_FOUND, 447 "Expected {0}, but found: {1}"}, 448 449 { ER_INCORRECT_PROGRAMMER_ASSERTION, 450 "Programmer assertion is incorrect! - {0}"}, 451 452 { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, 453 "boolean(...) argument is no longer optional with 19990709 XPath draft."}, 454 455 { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, 456 "Found ',' but no preceding argument!"}, 457 458 { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, 459 "Found ',' but no following argument!"}, 460 461 { ER_PREDICATE_ILLEGAL_SYNTAX, 462 "'..[predicate]' or '.[predicate]' is illegal syntax. Use 'self::node()[predicate]' instead."}, 463 464 { ER_ILLEGAL_AXIS_NAME, 465 "illegal axis name: {0}"}, 466 467 { ER_UNKNOWN_NODETYPE, 468 "Unknown nodetype: {0}"}, 469 470 { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, 471 "Pattern literal ({0}) needs to be quoted!"}, 472 473 { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, 474 "{0} could not be formatted to a number!"}, 475 476 { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, 477 "Could not create XML TransformerFactory Liaison: {0}"}, 478 479 { ER_DIDNOT_FIND_XPATH_SELECT_EXP, 480 "Error! Did not find xpath select expression (-select)."}, 481 482 { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, 483 "ERROR! Could not find ENDOP after OP_LOCATIONPATH"}, 484 485 { ER_ERROR_OCCURED, 486 "Error occured!"}, 487 488 { ER_ILLEGAL_VARIABLE_REFERENCE, 489 "VariableReference given for variable out of context or without definition! Name = {0}"}, 490 491 { ER_AXES_NOT_ALLOWED, 492 "Only child:: and attribute:: axes are allowed in match patterns! Offending axes = {0}"}, 493 494 { ER_KEY_HAS_TOO_MANY_ARGS, 495 "key() has an incorrect number of arguments."}, 496 497 { ER_COUNT_TAKES_1_ARG, 498 "The count function should take one argument!"}, 499 500 { ER_COULDNOT_FIND_FUNCTION, 501 "Could not find function: {0}"}, 502 503 { ER_UNSUPPORTED_ENCODING, 504 "Unsupported encoding: {0}"}, 505 506 { ER_PROBLEM_IN_DTM_NEXTSIBLING, 507 "Problem occured in DTM in getNextSibling... trying to recover"}, 508 509 { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, 510 "Programmer error: EmptyNodeList can not be written to."}, 511 512 { ER_SETDOMFACTORY_NOT_SUPPORTED, 513 "setDOMFactory is not supported by XPathContext!"}, 514 515 { ER_PREFIX_MUST_RESOLVE, 516 "Prefix must resolve to a namespace: {0}"}, 517 518 { ER_PARSE_NOT_SUPPORTED, 519 "parse (InputSource source) not supported in XPathContext! Can not open {0}"}, 520 521 { ER_SAX_API_NOT_HANDLED, 522 "SAX API characters(char ch[]... not handled by the DTM!"}, 523 524 { ER_IGNORABLE_WHITESPACE_NOT_HANDLED, 525 "ignorableWhitespace(char ch[]... not handled by the DTM!"}, 526 527 { ER_DTM_CANNOT_HANDLE_NODES, 528 "DTMLiaison can not handle nodes of type {0}"}, 529 530 { ER_XERCES_CANNOT_HANDLE_NODES, 531 "DOM2Helper can not handle nodes of type {0}"}, 532 533 { ER_XERCES_PARSE_ERROR_DETAILS, 534 "DOM2Helper.parse error: SystemID - {0} line - {1}"}, 535 536 { ER_XERCES_PARSE_ERROR, 537 "DOM2Helper.parse error"}, 538 539 { ER_INVALID_UTF16_SURROGATE, 540 "Invalid UTF-16 surrogate detected: {0} ?"}, 541 542 { ER_OIERROR, 543 "IO error"}, 544 545 { ER_CANNOT_CREATE_URL, 546 "Cannot create url for: {0}"}, 547 548 { ER_XPATH_READOBJECT, 549 "In XPath.readObject: {0}"}, 550 551 { ER_FUNCTION_TOKEN_NOT_FOUND, 552 "function token not found."}, 553 554 { ER_CANNOT_DEAL_XPATH_TYPE, 555 "Can not deal with XPath type: {0}"}, 556 557 { ER_NODESET_NOT_MUTABLE, 558 "This NodeSet is not mutable"}, 559 560 { ER_NODESETDTM_NOT_MUTABLE, 561 "This NodeSetDTM is not mutable"}, 562 563 { ER_VAR_NOT_RESOLVABLE, 564 "Variable not resolvable: {0}"}, 565 566 { ER_NULL_ERROR_HANDLER, 567 "Null error handler"}, 568 569 { ER_PROG_ASSERT_UNKNOWN_OPCODE, 570 "Programmer''s assertion: unknown opcode: {0}"}, 571 572 { ER_ZERO_OR_ONE, 573 "0 or 1"}, 574 575 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 576 "rtf() not supported by XRTreeFragSelectWrapper"}, 577 578 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 579 "asNodeIterator() not supported by XRTreeFragSelectWrapper"}, 580 581 /** detach() not supported by XRTreeFragSelectWrapper */ 582 { ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 583 "detach() not supported by XRTreeFragSelectWrapper"}, 584 585 /** num() not supported by XRTreeFragSelectWrapper */ 586 { ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 587 "num() not supported by XRTreeFragSelectWrapper"}, 588 589 /** xstr() not supported by XRTreeFragSelectWrapper */ 590 { ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 591 "xstr() not supported by XRTreeFragSelectWrapper"}, 592 593 /** str() not supported by XRTreeFragSelectWrapper */ 594 { ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 595 "str() not supported by XRTreeFragSelectWrapper"}, 596 597 { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, 598 "fsb() not supported for XStringForChars"}, 599 600 { ER_COULD_NOT_FIND_VAR, 601 "Could not find variable with the name of {0}"}, 602 603 { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, 604 "XStringForChars can not take a string for an argument"}, 605 606 { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL, 607 "The FastStringBuffer argument can not be null"}, 608 609 { ER_TWO_OR_THREE, 610 "2 or 3"}, 611 612 { ER_VARIABLE_ACCESSED_BEFORE_BIND, 613 "Variable accessed before it is bound!"}, 614 615 { ER_FSB_CANNOT_TAKE_STRING, 616 "XStringForFSB can not take a string for an argument!"}, 617 618 { ER_SETTING_WALKER_ROOT_TO_NULL, 619 "\n !!!! Error! Setting the root of a walker to null!!!"}, 620 621 { ER_NODESETDTM_CANNOT_ITERATE, 622 "This NodeSetDTM can not iterate to a previous node!"}, 623 624 { ER_NODESET_CANNOT_ITERATE, 625 "This NodeSet can not iterate to a previous node!"}, 626 627 { ER_NODESETDTM_CANNOT_INDEX, 628 "This NodeSetDTM can not do indexing or counting functions!"}, 629 630 { ER_NODESET_CANNOT_INDEX, 631 "This NodeSet can not do indexing or counting functions!"}, 632 633 { ER_CANNOT_CALL_SETSHOULDCACHENODE, 634 "Can not call setShouldCacheNodes after nextNode has been called!"}, 635 636 { ER_ONLY_ALLOWS, 637 "{0} only allows {1} arguments"}, 638 639 { ER_UNKNOWN_STEP, 640 "Programmer''s assertion in getNextStepPos: unknown stepType: {0}"}, 641 642 //Note to translators: A relative location path is a form of XPath expression. 643 // The message indicates that such an expression was expected following the 644 // characters '/' or '//', but was not found. 645 { ER_EXPECTED_REL_LOC_PATH, 646 "A relative location path was expected following the '/' or '//' token."}, 647 648 // Note to translators: A location path is a form of XPath expression. 649 // The message indicates that syntactically such an expression was expected,but 650 // the characters specified by the substitution text were encountered instead. 651 { ER_EXPECTED_LOC_PATH, 652 "A location path was expected, but the following token was encountered\u003a {0}"}, 653 654 // Note to translators: A location path is a form of XPath expression. 655 // The message indicates that syntactically such a subexpression was expected, 656 // but no more characters were found in the expression. 657 { ER_EXPECTED_LOC_PATH_AT_END_EXPR, 658 "A location path was expected, but the end of the XPath expression was found instead."}, 659 660 // Note to translators: A location step is part of an XPath expression. 661 // The message indicates that syntactically such an expression was expected 662 // following the specified characters. 663 { ER_EXPECTED_LOC_STEP, 664 "A location step was expected following the '/' or '//' token."}, 665 666 // Note to translators: A node test is part of an XPath expression that is 667 // used to test for particular kinds of nodes. In this case, a node test that 668 // consists of an NCName followed by a colon and an asterisk or that consists 669 // of a QName was expected, but was not found. 670 { ER_EXPECTED_NODE_TEST, 671 "A node test that matches either NCName:* or QName was expected."}, 672 673 // Note to translators: A step pattern is part of an XPath expression. 674 // The message indicates that syntactically such an expression was expected, 675 // but the specified character was found in the expression instead. 676 { ER_EXPECTED_STEP_PATTERN, 677 "A step pattern was expected, but '/' was encountered."}, 678 679 // Note to translators: A relative path pattern is part of an XPath expression. 680 // The message indicates that syntactically such an expression was expected, 681 // but was not found. 682 { ER_EXPECTED_REL_PATH_PATTERN, 683 "A relative path pattern was expected."}, 684 685 // Note to translators: The substitution text is the name of a data type. The 686 // message indicates that a value of a particular type could not be converted 687 // to a value of type boolean. 688 { ER_CANT_CONVERT_TO_BOOLEAN, 689 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be converted to a boolean."}, 690 691 // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and 692 // FIRST_ORDERED_NODE_TYPE. 693 { ER_CANT_CONVERT_TO_SINGLENODE, 694 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be converted to a single node. The method getSingleNodeValue applies only to types ANY_UNORDERED_NODE_TYPE and FIRST_ORDERED_NODE_TYPE."}, 695 696 // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and 697 // ORDERED_NODE_SNAPSHOT_TYPE. 698 { ER_CANT_GET_SNAPSHOT_LENGTH, 699 "The method getSnapshotLength cannot be called on the XPathResult of XPath expression ''{0}'' because its XPathResultType is {1}. This method applies only to types UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE."}, 700 701 { ER_NON_ITERATOR_TYPE, 702 "The method iterateNext cannot be called on the XPathResult of XPath expression ''{0}'' because its XPathResultType is {1}. This method applies only to types UNORDERED_NODE_ITERATOR_TYPE and ORDERED_NODE_ITERATOR_TYPE."}, 703 704 // Note to translators: This message indicates that the document being operated 705 // upon changed, so the iterator object that was being used to traverse the 706 // document has now become invalid. 707 { ER_DOC_MUTATED, 708 "Document mutated since result was returned. Iterator is invalid."}, 709 710 { ER_INVALID_XPATH_TYPE, 711 "Invalid XPath type argument: {0}"}, 712 713 { ER_EMPTY_XPATH_RESULT, 714 "Empty XPath result object"}, 715 716 { ER_INCOMPATIBLE_TYPES, 717 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be coerced into the specified XPathResultType of {2}."}, 718 719 { ER_NULL_RESOLVER, 720 "Unable to resolve prefix with null prefix resolver."}, 721 722 // Note to translators: The substitution text is the name of a data type. The 723 // message indicates that a value of a particular type could not be converted 724 // to a value of type string. 725 { ER_CANT_CONVERT_TO_STRING, 726 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be converted to a string."}, 727 728 // Note to translators: Do not translate snapshotItem, 729 // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE. 730 { ER_NON_SNAPSHOT_TYPE, 731 "The method snapshotItem cannot be called on the XPathResult of XPath expression ''{0}'' because its XPathResultType is {1}. This method applies only to types UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE."}, 732 733 // Note to translators: XPathEvaluator is a Java interface name. An 734 // XPathEvaluator is created with respect to a particular XML document, and in 735 // this case the expression represented by this object was being evaluated with 736 // respect to a context node from a different document. 737 { ER_WRONG_DOCUMENT, 738 "Context node does not belong to the document that is bound to this XPathEvaluator."}, 739 740 // Note to translators: The XPath expression cannot be evaluated with respect 741 // to this type of node. 742 { ER_WRONG_NODETYPE, 743 "The context node type is not supported."}, 744 745 { ER_XPATH_ERROR, 746 "Unknown error in XPath."}, 747 748 { ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBER, 749 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be converted to a number"}, 750 751 //BEGIN: Definitions of error keys used in exception messages of JAXP 1.3 XPath API implementation 752 753 /** Field ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED */ 754 755 { ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED, 756 "Extension function: ''{0}'' can not be invoked when the XMLConstants.FEATURE_SECURE_PROCESSING feature is set to true."}, 757 758 /** Field ER_RESOLVE_VARIABLE_RETURNS_NULL */ 759 760 { ER_RESOLVE_VARIABLE_RETURNS_NULL, 761 "resolveVariable for variable {0} returning null"}, 762 763 /** Field ER_UNSUPPORTED_RETURN_TYPE */ 764 765 { ER_UNSUPPORTED_RETURN_TYPE, 766 "UnSupported Return Type : {0}"}, 767 768 /** Field ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL */ 769 770 { ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL, 771 "Source and/or Return Type can not be null"}, 772 773 /** Field ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL */ 774 775 { ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL, 776 "Source and/or Return Type can not be null"}, 777 778 /** Field ER_ARG_CANNOT_BE_NULL */ 779 780 { ER_ARG_CANNOT_BE_NULL, 781 "{0} argument can not be null"}, 782 783 /** Field ER_OBJECT_MODEL_NULL */ 784 785 { ER_OBJECT_MODEL_NULL, 786 "{0}#isObjectModelSupported( String objectModel ) cannot be called with objectModel == null"}, 787 788 /** Field ER_OBJECT_MODEL_EMPTY */ 789 790 { ER_OBJECT_MODEL_EMPTY, 791 "{0}#isObjectModelSupported( String objectModel ) cannot be called with objectModel == \"\""}, 792 793 /** Field ER_OBJECT_MODEL_EMPTY */ 794 795 { ER_FEATURE_NAME_NULL, 796 "Trying to set a feature with a null name: {0}#setFeature( null, {1})"}, 797 798 /** Field ER_FEATURE_UNKNOWN */ 799 800 { ER_FEATURE_UNKNOWN, 801 "Trying to set the unknown feature \"{0}\":{1}#setFeature({0},{2})"}, 802 803 /** Field ER_GETTING_NULL_FEATURE */ 804 805 { ER_GETTING_NULL_FEATURE, 806 "Trying to get a feature with a null name: {0}#getFeature(null)"}, 807 808 /** Field ER_GETTING_NULL_FEATURE */ 809 810 { ER_GETTING_UNKNOWN_FEATURE, 811 "Trying to get the unknown feature \"{0}\":{1}#getFeature({0})"}, 812 813 {ER_SECUREPROCESSING_FEATURE, 814 "FEATURE_SECURE_PROCESSING: Cannot set the feature to false when security manager is present: {1}#setFeature({0},{2})"}, 815 816 /** Field ER_NULL_XPATH_FUNCTION_RESOLVER */ 817 818 { ER_NULL_XPATH_FUNCTION_RESOLVER, 819 "Attempting to set a null XPathFunctionResolver:{0}#setXPathFunctionResolver(null)"}, 820 821 /** Field ER_NULL_XPATH_VARIABLE_RESOLVER */ 822 823 { ER_NULL_XPATH_VARIABLE_RESOLVER, 824 "Attempting to set a null XPathVariableResolver:{0}#setXPathVariableResolver(null)"}, 825 826 //END: Definitions of error keys used in exception messages of JAXP 1.3 XPath API implementation 827 828 // Warnings... 829 830 { WG_LOCALE_NAME_NOT_HANDLED, 831 "locale name in the format-number function not yet handled!"}, 832 833 { WG_PROPERTY_NOT_SUPPORTED, 834 "XSL Property not supported: {0}"}, 835 836 { WG_DONT_DO_ANYTHING_WITH_NS, 837 "Do not currently do anything with namespace {0} in property: {1}"}, 838 839 { WG_SECURITY_EXCEPTION, 840 "SecurityException when trying to access XSL system property: {0}"}, 841 842 { WG_QUO_NO_LONGER_DEFINED, 843 "Old syntax: quo(...) is no longer defined in XPath."}, 844 845 { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST, 846 "XPath needs a derived object to implement nodeTest!"}, 847 848 { WG_FUNCTION_TOKEN_NOT_FOUND, 849 "function token not found."}, 850 851 { WG_COULDNOT_FIND_FUNCTION, 852 "Could not find function: {0}"}, 853 854 { WG_CANNOT_MAKE_URL_FROM, 855 "Can not make URL from: {0}"}, 856 857 { WG_EXPAND_ENTITIES_NOT_SUPPORTED, 858 "-E option not supported for DTM parser"}, 859 860 { WG_ILLEGAL_VARIABLE_REFERENCE, 861 "VariableReference given for variable out of context or without definition! Name = {0}"}, 862 863 { WG_UNSUPPORTED_ENCODING, 864 "Unsupported encoding: {0}"}, 865 866 867 868 // Other miscellaneous text used inside the code... 869 { "ui_language", "en"}, 870 { "help_language", "en"}, 871 { "language", "en"}, 872 { "BAD_CODE", "Parameter to createMessage was out of bounds"}, 873 { "FORMAT_FAILED", "Exception thrown during messageFormat call"}, 874 { "version", ">>>>>>> Xalan Version "}, 875 { "version2", "<<<<<<<"}, 876 { "yes", "yes"}, 877 { "line", "Line #"}, 878 { "column", "Column #"}, 879 { "xsldone", "XSLProcessor: done"}, 880 { "xpath_option", "xpath options: "}, 881 { "optionIN", " [-in inputXMLURL]"}, 882 { "optionSelect", " [-select xpath expression]"}, 883 { "optionMatch", " [-match match pattern (for match diagnostics)]"}, 884 { "optionAnyExpr", "Or just an xpath expression will do a diagnostic dump"}, 885 { "noParsermsg1", "XSL Process was not successful."}, 886 { "noParsermsg2", "** Could not find parser **"}, 887 { "noParsermsg3", "Please check your classpath."}, 888 { "noParsermsg4", "If you don't have IBM's XML Parser for Java, you can download it from"}, 889 { "noParsermsg5", "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"}, 890 { "gtone", ">1" }, 891 { "zero", "0" }, 892 { "one", "1" }, 893 { "two" , "2" }, 894 { "three", "3" } 895 896 }; 897 898 /** 899 * Get the association list. 900 * 901 * @return The association list. 902 */ 903 public Object[][] getContents() 904 { 905 return _contents; 906 } 907 908 909 // ================= INFRASTRUCTURE ====================== 910 911 /** Field BAD_CODE */ 912 public static final String BAD_CODE = "BAD_CODE"; 913 914 /** Field FORMAT_FAILED */ 915 public static final String FORMAT_FAILED = "FORMAT_FAILED"; 916 917 /** Field ERROR_RESOURCES */ 918 public static final String ERROR_RESOURCES = 919 "com.sun.org.apache.xpath.internal.res.XPATHErrorResources"; 920 921 /** Field ERROR_STRING */ 922 public static final String ERROR_STRING = "#error"; 923 924 /** Field ERROR_HEADER */ 925 public static final String ERROR_HEADER = "Error: "; 926 927 /** Field WARNING_HEADER */ 928 public static final String WARNING_HEADER = "Warning: "; 929 930 /** Field XSL_HEADER */ 931 public static final String XSL_HEADER = "XSL "; 932 933 /** Field XML_HEADER */ 934 public static final String XML_HEADER = "XML "; 935 936 /** Field QUERY_HEADER */ 937 public static final String QUERY_HEADER = "PATTERN "; 938 939 }