1/* 2 * reserved comment block 3 * DO NOT REMOVE OR ALTER! 4 */ 5/* 6 * Licensed to the Apache Software Foundation (ASF) under one or more 7 * contributor license agreements. See the NOTICE file distributed with 8 * this work for additional information regarding copyright ownership. 9 * The ASF licenses this file to You under the Apache License, Version 2.0 10 * (the "License"); you may not use this file except in compliance with 11 * the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 */ 21 22package com.sun.org.apache.xpath.internal.res; 23 24import java.util.ListResourceBundle; 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 */ 36public class XPATHErrorResources extends ListResourceBundle 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 /* 87 * static variables 88 */ 89 public static final String ERROR0000 = "ERROR0000"; 90 public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH = 91 "ER_CURRENT_NOT_ALLOWED_IN_MATCH"; 92 public static final String ER_CURRENT_TAKES_NO_ARGS = 93 "ER_CURRENT_TAKES_NO_ARGS"; 94 public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED"; 95 public static final String ER_CONTEXT_CAN_NOT_BE_NULL = "ER_CONTEXT_CAN_NOT_BE_NULL"; 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"; 184public 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_CAN_NOT_BE_NULL, 372 "The context can not be null when the operation is context-dependent."}, 373 374 { ER_CONTEXT_HAS_NO_OWNERDOC, 375 "context does not have an owner document!"}, 376 377 { ER_LOCALNAME_HAS_TOO_MANY_ARGS, 378 "local-name() has too many arguments."}, 379 380 { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, 381 "namespace-uri() has too many arguments."}, 382 383 { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, 384 "normalize-space() has too many arguments."}, 385 386 { ER_NUMBER_HAS_TOO_MANY_ARGS, 387 "number() has too many arguments."}, 388 389 { ER_NAME_HAS_TOO_MANY_ARGS, 390 "name() has too many arguments."}, 391 392 { ER_STRING_HAS_TOO_MANY_ARGS, 393 "string() has too many arguments."}, 394 395 { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, 396 "string-length() has too many arguments."}, 397 398 { ER_TRANSLATE_TAKES_3_ARGS, 399 "The translate() function takes three arguments!"}, 400 401 { ER_UNPARSEDENTITYURI_TAKES_1_ARG, 402 "The unparsed-entity-uri function should take one argument!"}, 403 404 { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, 405 "namespace axis not implemented yet!"}, 406 407 { ER_UNKNOWN_AXIS, 408 "unknown axis: {0}"}, 409 410 { ER_UNKNOWN_MATCH_OPERATION, 411 "unknown match operation!"}, 412 413 { ER_INCORRECT_ARG_LENGTH, 414 "Arg length of processing-instruction() node test is incorrect!"}, 415 416 { ER_CANT_CONVERT_TO_NUMBER, 417 "Can not convert {0} to a number"}, 418 419 { ER_CANT_CONVERT_TO_NODELIST, 420 "Can not convert {0} to a NodeList!"}, 421 422 { ER_CANT_CONVERT_TO_MUTABLENODELIST, 423 "Can not convert {0} to a NodeSetDTM!"}, 424 425 { ER_CANT_CONVERT_TO_TYPE, 426 "Can not convert {0} to a type#{1}"}, 427 428 { ER_EXPECTED_MATCH_PATTERN, 429 "Expected match pattern in getMatchScore!"}, 430 431 { ER_COULDNOT_GET_VAR_NAMED, 432 "Could not get variable named {0}"}, 433 434 { ER_UNKNOWN_OPCODE, 435 "ERROR! Unknown op code: {0}"}, 436 437 { ER_EXTRA_ILLEGAL_TOKENS, 438 "Extra illegal tokens: {0}"}, 439 440 { ER_EXPECTED_DOUBLE_QUOTE, 441 "misquoted literal... expected double quote!"}, 442 443 { ER_EXPECTED_SINGLE_QUOTE, 444 "misquoted literal... expected single quote!"}, 445 446 { ER_EMPTY_EXPRESSION, 447 "Empty expression!"}, 448 449 { ER_EXPECTED_BUT_FOUND, 450 "Expected {0}, but found: {1}"}, 451 452 { ER_INCORRECT_PROGRAMMER_ASSERTION, 453 "Programmer assertion is incorrect! - {0}"}, 454 455 { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, 456 "boolean(...) argument is no longer optional with 19990709 XPath draft."}, 457 458 { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, 459 "Found ',' but no preceding argument!"}, 460 461 { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, 462 "Found ',' but no following argument!"}, 463 464 { ER_PREDICATE_ILLEGAL_SYNTAX, 465 "'..[predicate]' or '.[predicate]' is illegal syntax. Use 'self::node()[predicate]' instead."}, 466 467 { ER_ILLEGAL_AXIS_NAME, 468 "illegal axis name: {0}"}, 469 470 { ER_UNKNOWN_NODETYPE, 471 "Unknown nodetype: {0}"}, 472 473 { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, 474 "Pattern literal ({0}) needs to be quoted!"}, 475 476 { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, 477 "{0} could not be formatted to a number!"}, 478 479 { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, 480 "Could not create XML TransformerFactory Liaison: {0}"}, 481 482 { ER_DIDNOT_FIND_XPATH_SELECT_EXP, 483 "Error! Did not find xpath select expression (-select)."}, 484 485 { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, 486 "ERROR! Could not find ENDOP after OP_LOCATIONPATH"}, 487 488 { ER_ERROR_OCCURED, 489 "Error occured!"}, 490 491 { ER_ILLEGAL_VARIABLE_REFERENCE, 492 "VariableReference given for variable out of context or without definition! Name = {0}"}, 493 494 { ER_AXES_NOT_ALLOWED, 495 "Only child:: and attribute:: axes are allowed in match patterns! Offending axes = {0}"}, 496 497 { ER_KEY_HAS_TOO_MANY_ARGS, 498 "key() has an incorrect number of arguments."}, 499 500 { ER_COUNT_TAKES_1_ARG, 501 "The count function should take one argument!"}, 502 503 { ER_COULDNOT_FIND_FUNCTION, 504 "Could not find function: {0}"}, 505 506 { ER_UNSUPPORTED_ENCODING, 507 "Unsupported encoding: {0}"}, 508 509 { ER_PROBLEM_IN_DTM_NEXTSIBLING, 510 "Problem occured in DTM in getNextSibling... trying to recover"}, 511 512 { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, 513 "Programmer error: EmptyNodeList can not be written to."}, 514 515 { ER_SETDOMFACTORY_NOT_SUPPORTED, 516 "setDOMFactory is not supported by XPathContext!"}, 517 518 { ER_PREFIX_MUST_RESOLVE, 519 "Prefix must resolve to a namespace: {0}"}, 520 521 { ER_PARSE_NOT_SUPPORTED, 522 "parse (InputSource source) not supported in XPathContext! Can not open {0}"}, 523 524 { ER_SAX_API_NOT_HANDLED, 525 "SAX API characters(char ch[]... not handled by the DTM!"}, 526 527 { ER_IGNORABLE_WHITESPACE_NOT_HANDLED, 528 "ignorableWhitespace(char ch[]... not handled by the DTM!"}, 529 530 { ER_DTM_CANNOT_HANDLE_NODES, 531 "DTMLiaison can not handle nodes of type {0}"}, 532 533 { ER_XERCES_CANNOT_HANDLE_NODES, 534 "DOM2Helper can not handle nodes of type {0}"}, 535 536 { ER_XERCES_PARSE_ERROR_DETAILS, 537 "DOM2Helper.parse error: SystemID - {0} line - {1}"}, 538 539 { ER_XERCES_PARSE_ERROR, 540 "DOM2Helper.parse error"}, 541 542 { ER_INVALID_UTF16_SURROGATE, 543 "Invalid UTF-16 surrogate detected: {0} ?"}, 544 545 { ER_OIERROR, 546 "IO error"}, 547 548 { ER_CANNOT_CREATE_URL, 549 "Cannot create url for: {0}"}, 550 551 { ER_XPATH_READOBJECT, 552 "In XPath.readObject: {0}"}, 553 554 { ER_FUNCTION_TOKEN_NOT_FOUND, 555 "function token not found."}, 556 557 { ER_CANNOT_DEAL_XPATH_TYPE, 558 "Can not deal with XPath type: {0}"}, 559 560 { ER_NODESET_NOT_MUTABLE, 561 "This NodeSet is not mutable"}, 562 563 { ER_NODESETDTM_NOT_MUTABLE, 564 "This NodeSetDTM is not mutable"}, 565 566 { ER_VAR_NOT_RESOLVABLE, 567 "Variable not resolvable: {0}"}, 568 569 { ER_NULL_ERROR_HANDLER, 570 "Null error handler"}, 571 572 { ER_PROG_ASSERT_UNKNOWN_OPCODE, 573 "Programmer''s assertion: unknown opcode: {0}"}, 574 575 { ER_ZERO_OR_ONE, 576 "0 or 1"}, 577 578 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 579 "rtf() not supported by XRTreeFragSelectWrapper"}, 580 581 { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 582 "asNodeIterator() not supported by XRTreeFragSelectWrapper"}, 583 584 /** detach() not supported by XRTreeFragSelectWrapper */ 585 { ER_DETACH_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 586 "detach() not supported by XRTreeFragSelectWrapper"}, 587 588 /** num() not supported by XRTreeFragSelectWrapper */ 589 { ER_NUM_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 590 "num() not supported by XRTreeFragSelectWrapper"}, 591 592 /** xstr() not supported by XRTreeFragSelectWrapper */ 593 { ER_XSTR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 594 "xstr() not supported by XRTreeFragSelectWrapper"}, 595 596 /** str() not supported by XRTreeFragSelectWrapper */ 597 { ER_STR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, 598 "str() not supported by XRTreeFragSelectWrapper"}, 599 600 { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, 601 "fsb() not supported for XStringForChars"}, 602 603 { ER_COULD_NOT_FIND_VAR, 604 "Could not find variable with the name of {0}"}, 605 606 { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, 607 "XStringForChars can not take a string for an argument"}, 608 609 { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL, 610 "The FastStringBuffer argument can not be null"}, 611 612 { ER_TWO_OR_THREE, 613 "2 or 3"}, 614 615 { ER_VARIABLE_ACCESSED_BEFORE_BIND, 616 "Variable accessed before it is bound!"}, 617 618 { ER_FSB_CANNOT_TAKE_STRING, 619 "XStringForFSB can not take a string for an argument!"}, 620 621 { ER_SETTING_WALKER_ROOT_TO_NULL, 622 "\n !!!! Error! Setting the root of a walker to null!!!"}, 623 624 { ER_NODESETDTM_CANNOT_ITERATE, 625 "This NodeSetDTM can not iterate to a previous node!"}, 626 627 { ER_NODESET_CANNOT_ITERATE, 628 "This NodeSet can not iterate to a previous node!"}, 629 630 { ER_NODESETDTM_CANNOT_INDEX, 631 "This NodeSetDTM can not do indexing or counting functions!"}, 632 633 { ER_NODESET_CANNOT_INDEX, 634 "This NodeSet can not do indexing or counting functions!"}, 635 636 { ER_CANNOT_CALL_SETSHOULDCACHENODE, 637 "Can not call setShouldCacheNodes after nextNode has been called!"}, 638 639 { ER_ONLY_ALLOWS, 640 "{0} only allows {1} arguments"}, 641 642 { ER_UNKNOWN_STEP, 643 "Programmer''s assertion in getNextStepPos: unknown stepType: {0}"}, 644 645 //Note to translators: A relative location path is a form of XPath expression. 646 // The message indicates that such an expression was expected following the 647 // characters '/' or '//', but was not found. 648 { ER_EXPECTED_REL_LOC_PATH, 649 "A relative location path was expected following the '/' or '//' token."}, 650 651 // Note to translators: A location path is a form of XPath expression. 652 // The message indicates that syntactically such an expression was expected,but 653 // the characters specified by the substitution text were encountered instead. 654 { ER_EXPECTED_LOC_PATH, 655 "A location path was expected, but the following token was encountered\u003a {0}"}, 656 657 // Note to translators: A location path is a form of XPath expression. 658 // The message indicates that syntactically such a subexpression was expected, 659 // but no more characters were found in the expression. 660 { ER_EXPECTED_LOC_PATH_AT_END_EXPR, 661 "A location path was expected, but the end of the XPath expression was found instead."}, 662 663 // Note to translators: A location step is part of an XPath expression. 664 // The message indicates that syntactically such an expression was expected 665 // following the specified characters. 666 { ER_EXPECTED_LOC_STEP, 667 "A location step was expected following the '/' or '//' token."}, 668 669 // Note to translators: A node test is part of an XPath expression that is 670 // used to test for particular kinds of nodes. In this case, a node test that 671 // consists of an NCName followed by a colon and an asterisk or that consists 672 // of a QName was expected, but was not found. 673 { ER_EXPECTED_NODE_TEST, 674 "A node test that matches either NCName:* or QName was expected."}, 675 676 // Note to translators: A step pattern is part of an XPath expression. 677 // The message indicates that syntactically such an expression was expected, 678 // but the specified character was found in the expression instead. 679 { ER_EXPECTED_STEP_PATTERN, 680 "A step pattern was expected, but '/' was encountered."}, 681 682 // Note to translators: A relative path pattern is part of an XPath expression. 683 // The message indicates that syntactically such an expression was expected, 684 // but was not found. 685 { ER_EXPECTED_REL_PATH_PATTERN, 686 "A relative path pattern was expected."}, 687 688 // Note to translators: The substitution text is the name of a data type. The 689 // message indicates that a value of a particular type could not be converted 690 // to a value of type boolean. 691 { ER_CANT_CONVERT_TO_BOOLEAN, 692 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be converted to a boolean."}, 693 694 // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and 695 // FIRST_ORDERED_NODE_TYPE. 696 { ER_CANT_CONVERT_TO_SINGLENODE, 697 "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."}, 698 699 // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and 700 // ORDERED_NODE_SNAPSHOT_TYPE. 701 { ER_CANT_GET_SNAPSHOT_LENGTH, 702 "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."}, 703 704 { ER_NON_ITERATOR_TYPE, 705 "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."}, 706 707 // Note to translators: This message indicates that the document being operated 708 // upon changed, so the iterator object that was being used to traverse the 709 // document has now become invalid. 710 { ER_DOC_MUTATED, 711 "Document mutated since result was returned. Iterator is invalid."}, 712 713 { ER_INVALID_XPATH_TYPE, 714 "Invalid XPath type argument: {0}"}, 715 716 { ER_EMPTY_XPATH_RESULT, 717 "Empty XPath result object"}, 718 719 { ER_INCOMPATIBLE_TYPES, 720 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be coerced into the specified XPathResultType of {2}."}, 721 722 { ER_NULL_RESOLVER, 723 "Unable to resolve prefix with null prefix resolver."}, 724 725 // Note to translators: The substitution text is the name of a data type. The 726 // message indicates that a value of a particular type could not be converted 727 // to a value of type string. 728 { ER_CANT_CONVERT_TO_STRING, 729 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be converted to a string."}, 730 731 // Note to translators: Do not translate snapshotItem, 732 // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE. 733 { ER_NON_SNAPSHOT_TYPE, 734 "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."}, 735 736 // Note to translators: XPathEvaluator is a Java interface name. An 737 // XPathEvaluator is created with respect to a particular XML document, and in 738 // this case the expression represented by this object was being evaluated with 739 // respect to a context node from a different document. 740 { ER_WRONG_DOCUMENT, 741 "Context node does not belong to the document that is bound to this XPathEvaluator."}, 742 743 // Note to translators: The XPath expression cannot be evaluated with respect 744 // to this type of node. 745 { ER_WRONG_NODETYPE, 746 "The context node type is not supported."}, 747 748 { ER_XPATH_ERROR, 749 "Unknown error in XPath."}, 750 751 { ER_CANT_CONVERT_XPATHRESULTTYPE_TO_NUMBER, 752 "The XPathResult of XPath expression ''{0}'' has an XPathResultType of {1} which cannot be converted to a number"}, 753 754 //BEGIN: Definitions of error keys used in exception messages of JAXP 1.3 XPath API implementation 755 756 /** Field ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED */ 757 758 { ER_EXTENSION_FUNCTION_CANNOT_BE_INVOKED, 759 "Extension function: ''{0}'' can not be invoked when the XMLConstants.FEATURE_SECURE_PROCESSING feature is set to true."}, 760 761 /** Field ER_RESOLVE_VARIABLE_RETURNS_NULL */ 762 763 { ER_RESOLVE_VARIABLE_RETURNS_NULL, 764 "resolveVariable for variable {0} returning null"}, 765 766 /** Field ER_UNSUPPORTED_RETURN_TYPE */ 767 768 { ER_UNSUPPORTED_RETURN_TYPE, 769 "UnSupported Return Type : {0}"}, 770 771 /** Field ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL */ 772 773 { ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL, 774 "Source and/or Return Type can not be null"}, 775 776 /** Field ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL */ 777 778 { ER_SOURCE_RETURN_TYPE_CANNOT_BE_NULL, 779 "Source and/or Return Type can not be null"}, 780 781 /** Field ER_ARG_CANNOT_BE_NULL */ 782 783 { ER_ARG_CANNOT_BE_NULL, 784 "{0} argument can not be null"}, 785 786 /** Field ER_OBJECT_MODEL_NULL */ 787 788 { ER_OBJECT_MODEL_NULL, 789 "{0}#isObjectModelSupported( String objectModel ) cannot be called with objectModel == null"}, 790 791 /** Field ER_OBJECT_MODEL_EMPTY */ 792 793 { ER_OBJECT_MODEL_EMPTY, 794 "{0}#isObjectModelSupported( String objectModel ) cannot be called with objectModel == \"\""}, 795 796 /** Field ER_OBJECT_MODEL_EMPTY */ 797 798 { ER_FEATURE_NAME_NULL, 799 "Trying to set a feature with a null name: {0}#setFeature( null, {1})"}, 800 801 /** Field ER_FEATURE_UNKNOWN */ 802 803 { ER_FEATURE_UNKNOWN, 804 "Trying to set the unknown feature \"{0}\":{1}#setFeature({0},{2})"}, 805 806 /** Field ER_GETTING_NULL_FEATURE */ 807 808 { ER_GETTING_NULL_FEATURE, 809 "Trying to get a feature with a null name: {0}#getFeature(null)"}, 810 811 /** Field ER_GETTING_NULL_FEATURE */ 812 813 { ER_GETTING_UNKNOWN_FEATURE, 814 "Trying to get the unknown feature \"{0}\":{1}#getFeature({0})"}, 815 816 {ER_SECUREPROCESSING_FEATURE, 817 "FEATURE_SECURE_PROCESSING: Cannot set the feature to false when security manager is present: {1}#setFeature({0},{2})"}, 818 819 /** Field ER_NULL_XPATH_FUNCTION_RESOLVER */ 820 821 { ER_NULL_XPATH_FUNCTION_RESOLVER, 822 "Attempting to set a null XPathFunctionResolver:{0}#setXPathFunctionResolver(null)"}, 823 824 /** Field ER_NULL_XPATH_VARIABLE_RESOLVER */ 825 826 { ER_NULL_XPATH_VARIABLE_RESOLVER, 827 "Attempting to set a null XPathVariableResolver:{0}#setXPathVariableResolver(null)"}, 828 829 //END: Definitions of error keys used in exception messages of JAXP 1.3 XPath API implementation 830 831 // Warnings... 832 833 { WG_LOCALE_NAME_NOT_HANDLED, 834 "locale name in the format-number function not yet handled!"}, 835 836 { WG_PROPERTY_NOT_SUPPORTED, 837 "XSL Property not supported: {0}"}, 838 839 { WG_DONT_DO_ANYTHING_WITH_NS, 840 "Do not currently do anything with namespace {0} in property: {1}"}, 841 842 { WG_SECURITY_EXCEPTION, 843 "SecurityException when trying to access XSL system property: {0}"}, 844 845 { WG_QUO_NO_LONGER_DEFINED, 846 "Old syntax: quo(...) is no longer defined in XPath."}, 847 848 { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST, 849 "XPath needs a derived object to implement nodeTest!"}, 850 851 { WG_FUNCTION_TOKEN_NOT_FOUND, 852 "function token not found."}, 853 854 { WG_COULDNOT_FIND_FUNCTION, 855 "Could not find function: {0}"}, 856 857 { WG_CANNOT_MAKE_URL_FROM, 858 "Can not make URL from: {0}"}, 859 860 { WG_EXPAND_ENTITIES_NOT_SUPPORTED, 861 "-E option not supported for DTM parser"}, 862 863 { WG_ILLEGAL_VARIABLE_REFERENCE, 864 "VariableReference given for variable out of context or without definition! Name = {0}"}, 865 866 { WG_UNSUPPORTED_ENCODING, 867 "Unsupported encoding: {0}"}, 868 869 870 871 // Other miscellaneous text used inside the code... 872 { "ui_language", "en"}, 873 { "help_language", "en"}, 874 { "language", "en"}, 875 { "BAD_CODE", "Parameter to createMessage was out of bounds"}, 876 { "FORMAT_FAILED", "Exception thrown during messageFormat call"}, 877 { "version", ">>>>>>> Xalan Version "}, 878 { "version2", "<<<<<<<"}, 879 { "yes", "yes"}, 880 { "line", "Line #"}, 881 { "column", "Column #"}, 882 { "xsldone", "XSLProcessor: done"}, 883 { "xpath_option", "xpath options: "}, 884 { "optionIN", " [-in inputXMLURL]"}, 885 { "optionSelect", " [-select xpath expression]"}, 886 { "optionMatch", " [-match match pattern (for match diagnostics)]"}, 887 { "optionAnyExpr", "Or just an xpath expression will do a diagnostic dump"}, 888 { "noParsermsg1", "XSL Process was not successful."}, 889 { "noParsermsg2", "** Could not find parser **"}, 890 { "noParsermsg3", "Please check your classpath."}, 891 { "noParsermsg4", "If you don't have IBM's XML Parser for Java, you can download it from"}, 892 { "noParsermsg5", "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"}, 893 { "gtone", ">1" }, 894 { "zero", "0" }, 895 { "one", "1" }, 896 { "two" , "2" }, 897 { "three", "3" } 898 899 }; 900 901 /** 902 * Get the association list. 903 * 904 * @return The association list. 905 */ 906 public Object[][] getContents() 907 { 908 return _contents; 909 } 910 911 912 // ================= INFRASTRUCTURE ====================== 913 914 /** Field BAD_CODE */ 915 public static final String BAD_CODE = "BAD_CODE"; 916 917 /** Field FORMAT_FAILED */ 918 public static final String FORMAT_FAILED = "FORMAT_FAILED"; 919 920 /** Field ERROR_RESOURCES */ 921 public static final String ERROR_RESOURCES = 922 "com.sun.org.apache.xpath.internal.res.XPATHErrorResources"; 923 924 /** Field ERROR_STRING */ 925 public static final String ERROR_STRING = "#error"; 926 927 /** Field ERROR_HEADER */ 928 public static final String ERROR_HEADER = "Error: "; 929 930 /** Field WARNING_HEADER */ 931 public static final String WARNING_HEADER = "Warning: "; 932 933 /** Field XSL_HEADER */ 934 public static final String XSL_HEADER = "XSL "; 935 936 /** Field XML_HEADER */ 937 public static final String XML_HEADER = "XML "; 938 939 /** Field QUERY_HEADER */ 940 public static final String QUERY_HEADER = "PATTERN "; 941 942} 943