0001: /*
0002: * Copyright 1999-2004 The Apache Software Foundation.
0003: *
0004: * Licensed under the Apache License, Version 2.0 (the "License");
0005: * you may not use this file except in compliance with the License.
0006: * You may obtain a copy of the License at
0007: *
0008: * http://www.apache.org/licenses/LICENSE-2.0
0009: *
0010: * Unless required by applicable law or agreed to in writing, software
0011: * distributed under the License is distributed on an "AS IS" BASIS,
0012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013: * See the License for the specific language governing permissions and
0014: * limitations under the License.
0015: */
0016: /*
0017: * $Id: XPATHErrorResources_de.java,v 1.10 2005/01/23 01:39:54 mcnamara Exp $
0018: */
0019: package org.apache.xpath.res;
0020:
0021: import java.util.ListResourceBundle;
0022: import java.util.Locale;
0023: import java.util.MissingResourceException;
0024: import java.util.ResourceBundle;
0025:
0026: /**
0027: * Set up error messages.
0028: * We build a two dimensional array of message keys and
0029: * message strings. In order to add a new message here,
0030: * you need to first add a Static string constant for the
0031: * Key and update the contents array with Key, Value pair
0032: * Also you need to update the count of messages(MAX_CODE)or
0033: * the count of warnings(MAX_WARNING) [ Information purpose only]
0034: * @xsl.usage advanced
0035: */
0036: public class XPATHErrorResources_de extends ListResourceBundle {
0037:
0038: /*
0039: * General notes to translators:
0040: *
0041: * This file contains error and warning messages related to XPath Error
0042: * Handling.
0043: *
0044: * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
0045: * components.
0046: * XSLT is an acronym for "XML Stylesheet Language: Transformations".
0047: * XSLTC is an acronym for XSLT Compiler.
0048: *
0049: * 2) A stylesheet is a description of how to transform an input XML document
0050: * into a resultant XML document (or HTML document or text). The
0051: * stylesheet itself is described in the form of an XML document.
0052: *
0053: * 3) A template is a component of a stylesheet that is used to match a
0054: * particular portion of an input document and specifies the form of the
0055: * corresponding portion of the output document.
0056: *
0057: * 4) An element is a mark-up tag in an XML document; an attribute is a
0058: * modifier on the tag. For example, in <elem attr='val' attr2='val2'>
0059: * "elem" is an element name, "attr" and "attr2" are attribute names with
0060: * the values "val" and "val2", respectively.
0061: *
0062: * 5) A namespace declaration is a special attribute that is used to associate
0063: * a prefix with a URI (the namespace). The meanings of element names and
0064: * attribute names that use that prefix are defined with respect to that
0065: * namespace.
0066: *
0067: * 6) "Translet" is an invented term that describes the class file that
0068: * results from compiling an XML stylesheet into a Java class.
0069: *
0070: * 7) XPath is a specification that describes a notation for identifying
0071: * nodes in a tree-structured representation of an XML document. An
0072: * instance of that notation is referred to as an XPath expression.
0073: *
0074: * 8) The context node is the node in the document with respect to which an
0075: * XPath expression is being evaluated.
0076: *
0077: * 9) An iterator is an object that traverses nodes in the tree, one at a time.
0078: *
0079: * 10) NCName is an XML term used to describe a name that does not contain a
0080: * colon (a "no-colon name").
0081: *
0082: * 11) QName is an XML term meaning "qualified name".
0083: */
0084:
0085: /** Field MAX_CODE */
0086: public static final int MAX_CODE = 108; // this is needed to keep track of the number of messages
0087:
0088: /** Field MAX_WARNING */
0089: public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings
0090:
0091: /** Field MAX_OTHERS */
0092: public static final int MAX_OTHERS = 20;
0093:
0094: /** Field MAX_MESSAGES */
0095: public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
0096:
0097: /*
0098: * static variables
0099: */
0100: public static final String ERROR0000 = "ERROR0000";
0101: public static final String ER_CURRENT_NOT_ALLOWED_IN_MATCH = "ER_CURRENT_NOT_ALLOWED_IN_MATCH";
0102: public static final String ER_CURRENT_TAKES_NO_ARGS = "ER_CURRENT_TAKES_NO_ARGS";
0103: public static final String ER_DOCUMENT_REPLACED = "ER_DOCUMENT_REPLACED";
0104: public static final String ER_CONTEXT_HAS_NO_OWNERDOC = "ER_CONTEXT_HAS_NO_OWNERDOC";
0105: public static final String ER_LOCALNAME_HAS_TOO_MANY_ARGS = "ER_LOCALNAME_HAS_TOO_MANY_ARGS";
0106: public static final String ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = "ER_NAMESPACEURI_HAS_TOO_MANY_ARGS";
0107: public static final String ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = "ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS";
0108: public static final String ER_NUMBER_HAS_TOO_MANY_ARGS = "ER_NUMBER_HAS_TOO_MANY_ARGS";
0109: public static final String ER_NAME_HAS_TOO_MANY_ARGS = "ER_NAME_HAS_TOO_MANY_ARGS";
0110: public static final String ER_STRING_HAS_TOO_MANY_ARGS = "ER_STRING_HAS_TOO_MANY_ARGS";
0111: public static final String ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = "ER_STRINGLENGTH_HAS_TOO_MANY_ARGS";
0112: public static final String ER_TRANSLATE_TAKES_3_ARGS = "ER_TRANSLATE_TAKES_3_ARGS";
0113: public static final String ER_UNPARSEDENTITYURI_TAKES_1_ARG = "ER_UNPARSEDENTITYURI_TAKES_1_ARG";
0114: public static final String ER_NAMESPACEAXIS_NOT_IMPLEMENTED = "ER_NAMESPACEAXIS_NOT_IMPLEMENTED";
0115: public static final String ER_UNKNOWN_AXIS = "ER_UNKNOWN_AXIS";
0116: public static final String ER_UNKNOWN_MATCH_OPERATION = "ER_UNKNOWN_MATCH_OPERATION";
0117: public static final String ER_INCORRECT_ARG_LENGTH = "ER_INCORRECT_ARG_LENGTH";
0118: public static final String ER_CANT_CONVERT_TO_NUMBER = "ER_CANT_CONVERT_TO_NUMBER";
0119: public static final String ER_CANT_CONVERT_TO_NODELIST = "ER_CANT_CONVERT_TO_NODELIST";
0120: public static final String ER_CANT_CONVERT_TO_MUTABLENODELIST = "ER_CANT_CONVERT_TO_MUTABLENODELIST";
0121: public static final String ER_CANT_CONVERT_TO_TYPE = "ER_CANT_CONVERT_TO_TYPE";
0122: public static final String ER_EXPECTED_MATCH_PATTERN = "ER_EXPECTED_MATCH_PATTERN";
0123: public static final String ER_COULDNOT_GET_VAR_NAMED = "ER_COULDNOT_GET_VAR_NAMED";
0124: public static final String ER_UNKNOWN_OPCODE = "ER_UNKNOWN_OPCODE";
0125: public static final String ER_EXTRA_ILLEGAL_TOKENS = "ER_EXTRA_ILLEGAL_TOKENS";
0126: public static final String ER_EXPECTED_DOUBLE_QUOTE = "ER_EXPECTED_DOUBLE_QUOTE";
0127: public static final String ER_EXPECTED_SINGLE_QUOTE = "ER_EXPECTED_SINGLE_QUOTE";
0128: public static final String ER_EMPTY_EXPRESSION = "ER_EMPTY_EXPRESSION";
0129: public static final String ER_EXPECTED_BUT_FOUND = "ER_EXPECTED_BUT_FOUND";
0130: public static final String ER_INCORRECT_PROGRAMMER_ASSERTION = "ER_INCORRECT_PROGRAMMER_ASSERTION";
0131: public static final String ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = "ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL";
0132: public static final String ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = "ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG";
0133: public static final String ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = "ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG";
0134: public static final String ER_PREDICATE_ILLEGAL_SYNTAX = "ER_PREDICATE_ILLEGAL_SYNTAX";
0135: public static final String ER_ILLEGAL_AXIS_NAME = "ER_ILLEGAL_AXIS_NAME";
0136: public static final String ER_UNKNOWN_NODETYPE = "ER_UNKNOWN_NODETYPE";
0137: public static final String ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = "ER_PATTERN_LITERAL_NEEDS_BE_QUOTED";
0138: public static final String ER_COULDNOT_BE_FORMATTED_TO_NUMBER = "ER_COULDNOT_BE_FORMATTED_TO_NUMBER";
0139: public static final String ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = "ER_COULDNOT_CREATE_XMLPROCESSORLIAISON";
0140: public static final String ER_DIDNOT_FIND_XPATH_SELECT_EXP = "ER_DIDNOT_FIND_XPATH_SELECT_EXP";
0141: public static final String ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = "ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH";
0142: public static final String ER_ERROR_OCCURED = "ER_ERROR_OCCURED";
0143: public static final String ER_ILLEGAL_VARIABLE_REFERENCE = "ER_ILLEGAL_VARIABLE_REFERENCE";
0144: public static final String ER_AXES_NOT_ALLOWED = "ER_AXES_NOT_ALLOWED";
0145: public static final String ER_KEY_HAS_TOO_MANY_ARGS = "ER_KEY_HAS_TOO_MANY_ARGS";
0146: public static final String ER_COUNT_TAKES_1_ARG = "ER_COUNT_TAKES_1_ARG";
0147: public static final String ER_COULDNOT_FIND_FUNCTION = "ER_COULDNOT_FIND_FUNCTION";
0148: public static final String ER_UNSUPPORTED_ENCODING = "ER_UNSUPPORTED_ENCODING";
0149: public static final String ER_PROBLEM_IN_DTM_NEXTSIBLING = "ER_PROBLEM_IN_DTM_NEXTSIBLING";
0150: public static final String ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = "ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL";
0151: public static final String ER_SETDOMFACTORY_NOT_SUPPORTED = "ER_SETDOMFACTORY_NOT_SUPPORTED";
0152: public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
0153: public static final String ER_PARSE_NOT_SUPPORTED = "ER_PARSE_NOT_SUPPORTED";
0154: //public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED =
0155: // "ER_CREATEDOCUMENT_NOT_SUPPORTED";
0156: //public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT =
0157: // "ER_CHILD_HAS_NO_OWNER_DOCUMENT";
0158: //public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT =
0159: // "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT";
0160: public static final String ER_SAX_API_NOT_HANDLED = "ER_SAX_API_NOT_HANDLED";
0161: public static final String ER_IGNORABLE_WHITESPACE_NOT_HANDLED = "ER_IGNORABLE_WHITESPACE_NOT_HANDLED";
0162: public static final String ER_DTM_CANNOT_HANDLE_NODES = "ER_DTM_CANNOT_HANDLE_NODES";
0163: public static final String ER_XERCES_CANNOT_HANDLE_NODES = "ER_XERCES_CANNOT_HANDLE_NODES";
0164: public static final String ER_XERCES_PARSE_ERROR_DETAILS = "ER_XERCES_PARSE_ERROR_DETAILS";
0165: public static final String ER_XERCES_PARSE_ERROR = "ER_XERCES_PARSE_ERROR";
0166: //public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC =
0167: // "ER_CANT_OUTPUT_TEXT_BEFORE_DOC";
0168: //public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT =
0169: // "ER_CANT_HAVE_MORE_THAN_ONE_ROOT";
0170: public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE";
0171: public static final String ER_OIERROR = "ER_OIERROR";
0172: public static final String ER_CANNOT_CREATE_URL = "ER_CANNOT_CREATE_URL";
0173: public static final String ER_XPATH_READOBJECT = "ER_XPATH_READOBJECT";
0174: public static final String ER_FUNCTION_TOKEN_NOT_FOUND = "ER_FUNCTION_TOKEN_NOT_FOUND";
0175: //public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL";
0176: public static final String ER_CANNOT_DEAL_XPATH_TYPE = "ER_CANNOT_DEAL_XPATH_TYPE";
0177: public static final String ER_NODESET_NOT_MUTABLE = "ER_NODESET_NOT_MUTABLE";
0178: public static final String ER_NODESETDTM_NOT_MUTABLE = "ER_NODESETDTM_NOT_MUTABLE";
0179: /** Variable not resolvable: */
0180: public static final String ER_VAR_NOT_RESOLVABLE = "ER_VAR_NOT_RESOLVABLE";
0181: /** Null error handler */
0182: public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
0183: /** Programmer's assertion: unknown opcode */
0184: public static final String ER_PROG_ASSERT_UNKNOWN_OPCODE = "ER_PROG_ASSERT_UNKNOWN_OPCODE";
0185: /** 0 or 1 */
0186: public static final String ER_ZERO_OR_ONE = "ER_ZERO_OR_ONE";
0187: /** rtf() not supported by XRTreeFragSelectWrapper */
0188: public static final String ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
0189: /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
0190: public static final String ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = "ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER";
0191: /** fsb() not supported for XStringForChars */
0192: public static final String ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = "ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS";
0193: /** Could not find variable with the name of */
0194: public static final String ER_COULD_NOT_FIND_VAR = "ER_COULD_NOT_FIND_VAR";
0195: /** XStringForChars can not take a string for an argument */
0196: public static final String ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = "ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING";
0197: /** The FastStringBuffer argument can not be null */
0198: public static final String ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = "ER_FASTSTRINGBUFFER_CANNOT_BE_NULL";
0199: /** 2 or 3 */
0200: public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
0201: /** Variable accessed before it is bound! */
0202: public static final String ER_VARIABLE_ACCESSED_BEFORE_BIND = "ER_VARIABLE_ACCESSED_BEFORE_BIND";
0203: /** XStringForFSB can not take a string for an argument! */
0204: public static final String ER_FSB_CANNOT_TAKE_STRING = "ER_FSB_CANNOT_TAKE_STRING";
0205: /** Error! Setting the root of a walker to null! */
0206: public static final String ER_SETTING_WALKER_ROOT_TO_NULL = "ER_SETTING_WALKER_ROOT_TO_NULL";
0207: /** This NodeSetDTM can not iterate to a previous node! */
0208: public static final String ER_NODESETDTM_CANNOT_ITERATE = "ER_NODESETDTM_CANNOT_ITERATE";
0209: /** This NodeSet can not iterate to a previous node! */
0210: public static final String ER_NODESET_CANNOT_ITERATE = "ER_NODESET_CANNOT_ITERATE";
0211: /** This NodeSetDTM can not do indexing or counting functions! */
0212: public static final String ER_NODESETDTM_CANNOT_INDEX = "ER_NODESETDTM_CANNOT_INDEX";
0213: /** This NodeSet can not do indexing or counting functions! */
0214: public static final String ER_NODESET_CANNOT_INDEX = "ER_NODESET_CANNOT_INDEX";
0215: /** Can not call setShouldCacheNodes after nextNode has been called! */
0216: public static final String ER_CANNOT_CALL_SETSHOULDCACHENODE = "ER_CANNOT_CALL_SETSHOULDCACHENODE";
0217: /** {0} only allows {1} arguments */
0218: public static final String ER_ONLY_ALLOWS = "ER_ONLY_ALLOWS";
0219: /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
0220: public static final String ER_UNKNOWN_STEP = "ER_UNKNOWN_STEP";
0221: /** Problem with RelativeLocationPath */
0222: public static final String ER_EXPECTED_REL_LOC_PATH = "ER_EXPECTED_REL_LOC_PATH";
0223: /** Problem with LocationPath */
0224: public static final String ER_EXPECTED_LOC_PATH = "ER_EXPECTED_LOC_PATH";
0225: /** Problem with Step */
0226: public static final String ER_EXPECTED_LOC_STEP = "ER_EXPECTED_LOC_STEP";
0227: /** Problem with NodeTest */
0228: public static final String ER_EXPECTED_NODE_TEST = "ER_EXPECTED_NODE_TEST";
0229: /** Expected step pattern */
0230: public static final String ER_EXPECTED_STEP_PATTERN = "ER_EXPECTED_STEP_PATTERN";
0231: /** Expected relative path pattern */
0232: public static final String ER_EXPECTED_REL_PATH_PATTERN = "ER_EXPECTED_REL_PATH_PATTERN";
0233: /** localname in QNAME should be a valid NCName */
0234: //public static final String ER_ARG_LOCALNAME_INVALID =
0235: // "ER_ARG_LOCALNAME_INVALID";
0236: /** prefix in QNAME should be a valid NCName */
0237: //public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID";
0238: /** Field ER_CANT_CONVERT_TO_BOOLEAN */
0239: public static final String ER_CANT_CONVERT_TO_BOOLEAN = "ER_CANT_CONVERT_TO_BOOLEAN";
0240: /** Field ER_CANT_CONVERT_TO_SINGLENODE */
0241: public static final String ER_CANT_CONVERT_TO_SINGLENODE = "ER_CANT_CONVERT_TO_SINGLENODE";
0242: /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
0243: public static final String ER_CANT_GET_SNAPSHOT_LENGTH = "ER_CANT_GET_SNAPSHOT_LENGTH";
0244: /** Field ER_NON_ITERATOR_TYPE */
0245: public static final String ER_NON_ITERATOR_TYPE = "ER_NON_ITERATOR_TYPE";
0246: /** Field ER_DOC_MUTATED */
0247: public static final String ER_DOC_MUTATED = "ER_DOC_MUTATED";
0248: public static final String ER_INVALID_XPATH_TYPE = "ER_INVALID_XPATH_TYPE";
0249: public static final String ER_EMPTY_XPATH_RESULT = "ER_EMPTY_XPATH_RESULT";
0250: public static final String ER_INCOMPATIBLE_TYPES = "ER_INCOMPATIBLE_TYPES";
0251: public static final String ER_NULL_RESOLVER = "ER_NULL_RESOLVER";
0252: public static final String ER_CANT_CONVERT_TO_STRING = "ER_CANT_CONVERT_TO_STRING";
0253: public static final String ER_NON_SNAPSHOT_TYPE = "ER_NON_SNAPSHOT_TYPE";
0254: public static final String ER_WRONG_DOCUMENT = "ER_WRONG_DOCUMENT";
0255: /* Note to translators: The XPath expression cannot be evaluated with respect
0256: * to this type of node.
0257: */
0258: /** Field ER_WRONG_NODETYPE */
0259: public static final String ER_WRONG_NODETYPE = "ER_WRONG_NODETYPE";
0260: public static final String ER_XPATH_ERROR = "ER_XPATH_ERROR";
0261:
0262: public static final String WG_LOCALE_NAME_NOT_HANDLED = "WG_LOCALE_NAME_NOT_HANDLED";
0263: public static final String WG_PROPERTY_NOT_SUPPORTED = "WG_PROPERTY_NOT_SUPPORTED";
0264: public static final String WG_DONT_DO_ANYTHING_WITH_NS = "WG_DONT_DO_ANYTHING_WITH_NS";
0265: public static final String WG_SECURITY_EXCEPTION = "WG_SECURITY_EXCEPTION";
0266: public static final String WG_QUO_NO_LONGER_DEFINED = "WG_QUO_NO_LONGER_DEFINED";
0267: public static final String WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = "WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST";
0268: public static final String WG_FUNCTION_TOKEN_NOT_FOUND = "WG_FUNCTION_TOKEN_NOT_FOUND";
0269: public static final String WG_COULDNOT_FIND_FUNCTION = "WG_COULDNOT_FIND_FUNCTION";
0270: public static final String WG_CANNOT_MAKE_URL_FROM = "WG_CANNOT_MAKE_URL_FROM";
0271: public static final String WG_EXPAND_ENTITIES_NOT_SUPPORTED = "WG_EXPAND_ENTITIES_NOT_SUPPORTED";
0272: public static final String WG_ILLEGAL_VARIABLE_REFERENCE = "WG_ILLEGAL_VARIABLE_REFERENCE";
0273: public static final String WG_UNSUPPORTED_ENCODING = "WG_UNSUPPORTED_ENCODING";
0274:
0275: // Error messages...
0276:
0277: /**
0278: * Get the association list.
0279: *
0280: * @return The association list.
0281: */
0282: public Object[][] getContents() {
0283: return new Object[][] {
0284:
0285: /** Field ERROR0000 */
0286:
0287: // public static final int ERROR0000 = 0;
0288: { "ERROR0000", "{0}" },
0289:
0290: /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH */
0291: // public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1;
0292: {
0293: ER_CURRENT_NOT_ALLOWED_IN_MATCH,
0294: "Die Funktion current() ist in einem \u00dcbereinstimmungsmuster nicht zul\u00e4ssig!" },
0295:
0296: /** Field ER_CURRENT_TAKES_NO_ARGS */
0297: //public static final int ER_CURRENT_TAKES_NO_ARGS = 2;
0298: { ER_CURRENT_TAKES_NO_ARGS,
0299: "In der Funktion current() d\u00fcrfen keine Argumente angegeben werden!" },
0300:
0301: /** Field ER_DOCUMENT_REPLACED */
0302: // public static final int ER_DOCUMENT_REPLACED = 3;
0303: {
0304: ER_DOCUMENT_REPLACED,
0305: "Die Implementierung der Funktion document() wurde durch org.apache.xalan.xslt.FuncDocument ersetzt!" },
0306:
0307: /** Field ER_CONTEXT_HAS_NO_OWNERDOC */
0308: // public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4;
0309: { ER_CONTEXT_HAS_NO_OWNERDOC,
0310: "Der Kontextknoten verf\u00fcgt nicht \u00fcber ein Eignerdokument!" },
0311:
0312: /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
0313: // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
0314: { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
0315: "local-name() weist zu viele Argumente auf." },
0316:
0317: /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
0318: //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
0319: { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
0320: "namespace-uri() weist zu viele Argumente auf." },
0321:
0322: /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
0323: // public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
0324: { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
0325: "normalize-space() weist zu viele Argumente auf." },
0326:
0327: /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
0328: // public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
0329: { ER_NUMBER_HAS_TOO_MANY_ARGS,
0330: "number() weist zu viele Argumente auf." },
0331:
0332: /** Field ER_NAME_HAS_TOO_MANY_ARGS */
0333: // public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
0334: { ER_NAME_HAS_TOO_MANY_ARGS,
0335: "name() weist zu viele Argumente auf." },
0336:
0337: /** Field ER_STRING_HAS_TOO_MANY_ARGS */
0338: // public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
0339: { ER_STRING_HAS_TOO_MANY_ARGS,
0340: "string() weist zu viele Argumente auf." },
0341:
0342: /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
0343: // public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
0344: { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
0345: "string-length() weist zu viele Argumente auf." },
0346:
0347: /** Field ER_TRANSLATE_TAKES_3_ARGS */
0348: // public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
0349: { ER_TRANSLATE_TAKES_3_ARGS,
0350: "Die Funktion translate() erfordert drei Argumente!" },
0351:
0352: /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */
0353: // public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
0354: { ER_UNPARSEDENTITYURI_TAKES_1_ARG,
0355: "Die Funktion unparsed-entity-uri sollte ein einziges Argument enthalten!" },
0356:
0357: /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
0358: // public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
0359: { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
0360: "Die Namensbereichachse ist bisher nicht implementiert!" },
0361:
0362: /** Field ER_UNKNOWN_AXIS */
0363: // public static final int ER_UNKNOWN_AXIS = 15;
0364: { ER_UNKNOWN_AXIS, "Unbekannte Achse: {0}" },
0365:
0366: /** Field ER_UNKNOWN_MATCH_OPERATION */
0367: // public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
0368: { ER_UNKNOWN_MATCH_OPERATION,
0369: "Unbekannter \u00dcbereinstimmungsvorgang!" },
0370:
0371: /** Field ER_INCORRECT_ARG_LENGTH */
0372: // public static final int ER_INCORRECT_ARG_LENGTH = 17;
0373: {
0374: ER_INCORRECT_ARG_LENGTH,
0375: "Die L\u00e4nge des Arguments f\u00fcr den Knotentest von processing-instruction() ist falsch!" },
0376:
0377: /** Field ER_CANT_CONVERT_TO_NUMBER */
0378: // public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
0379: { ER_CANT_CONVERT_TO_NUMBER,
0380: "{0} kann nicht in eine Zahl konvertiert werden!" },
0381:
0382: /** Field ER_CANT_CONVERT_TO_NODELIST */
0383: //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
0384: { ER_CANT_CONVERT_TO_NODELIST,
0385: "{0} kann nicht in NodeList konvertiert werden!" },
0386:
0387: /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */
0388: // public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
0389: { ER_CANT_CONVERT_TO_MUTABLENODELIST,
0390: "{0} kann nicht in NodeSetDTM konvertiert werden!" },
0391:
0392: /** Field ER_CANT_CONVERT_TO_TYPE */
0393: // public static final int ER_CANT_CONVERT_TO_TYPE = 21;
0394: { ER_CANT_CONVERT_TO_TYPE,
0395: "{0} kann nicht in type#{1} konvertiert werden." },
0396:
0397: /** Field ER_EXPECTED_MATCH_PATTERN */
0398: // public static final int ER_EXPECTED_MATCH_PATTERN = 22;
0399: { ER_EXPECTED_MATCH_PATTERN,
0400: "\u00dcbereinstimmungsmuster in getMatchScore erwartet!" },
0401:
0402: /** Field ER_COULDNOT_GET_VAR_NAMED */
0403: // public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
0404: { ER_COULDNOT_GET_VAR_NAMED,
0405: "Die Variable mit dem Namen {0} konnte nicht abgerufen werden." },
0406:
0407: /** Field ER_UNKNOWN_OPCODE */
0408: // public static final int ER_UNKNOWN_OPCODE = 24;
0409: { ER_UNKNOWN_OPCODE,
0410: "FEHLER! Unbekannter Operationscode: {0}" },
0411:
0412: /** Field ER_EXTRA_ILLEGAL_TOKENS */
0413: // public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
0414: { ER_EXTRA_ILLEGAL_TOKENS,
0415: "Zus\u00e4tzliche nicht zul\u00e4ssige Token: {0}" },
0416:
0417: /** Field ER_EXPECTED_DOUBLE_QUOTE */
0418: // public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
0419: {
0420: ER_EXPECTED_DOUBLE_QUOTE,
0421: "Falsche Anf\u00fchrungszeichen f\u00fcr Literal... Doppelte Anf\u00fchrungszeichen wurden erwartet!" },
0422:
0423: /** Field ER_EXPECTED_SINGLE_QUOTE */
0424: // public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
0425: {
0426: ER_EXPECTED_SINGLE_QUOTE,
0427: "Falsche Anf\u00fchrungszeichen f\u00fcr Literal... Einfache Anf\u00fchrungszeichen wurden erwartet!" },
0428:
0429: /** Field ER_EMPTY_EXPRESSION */
0430: // public static final int ER_EMPTY_EXPRESSION = 28;
0431: { ER_EMPTY_EXPRESSION, "Leerer Ausdruck!" },
0432:
0433: /** Field ER_EXPECTED_BUT_FOUND */
0434: // public static final int ER_EXPECTED_BUT_FOUND = 29;
0435: { ER_EXPECTED_BUT_FOUND,
0436: "Erwartet wurde {0}, gefunden wurde: {1}" },
0437:
0438: /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */
0439: // public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
0440: { ER_INCORRECT_PROGRAMMER_ASSERTION,
0441: "Festlegung des Programmierers ist falsch! - {0}" },
0442:
0443: /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */
0444: // public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
0445: { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
0446: "Das Argument boolean(...) ist im XPath-Entwurf 19990709 nicht mehr optional." },
0447:
0448: /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */
0449: // public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
0450: { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
0451: "Gefunden wurde ',' ohne vorangestelltes Argument!" },
0452:
0453: /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */
0454: // public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
0455: { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
0456: "Gefunden wurde ',' ohne nachfolgendes Argument!" },
0457:
0458: /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
0459: // public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
0460: {
0461: ER_PREDICATE_ILLEGAL_SYNTAX,
0462: "'..[predicate]' oder '.[predicate]' ist eine nicht zul\u00e4ssige Syntax. Verwenden Sie stattdessen 'self::node()[predicate]'." },
0463:
0464: /** Field ER_ILLEGAL_AXIS_NAME */
0465: // public static final int ER_ILLEGAL_AXIS_NAME = 35;
0466: { ER_ILLEGAL_AXIS_NAME,
0467: "Nicht zul\u00e4ssiger Achsenname: {0}" },
0468:
0469: /** Field ER_UNKNOWN_NODETYPE */
0470: // public static final int ER_UNKNOWN_NODETYPE = 36;
0471: { ER_UNKNOWN_NODETYPE, "Unbekannter Knotentyp: {0}" },
0472:
0473: /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */
0474: // public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
0475: { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
0476: "Musterliteral ({0}) muss in Anf\u00fchrungszeichen angegeben werden!" },
0477:
0478: /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */
0479: // public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
0480: { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
0481: "{0} konnte nicht als Zahl formatiert werden!" },
0482:
0483: /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
0484: // public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
0485: { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
0486: "XML-TransformerFactory-Liaison konnte nicht erstellt werden: {0}" },
0487:
0488: /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */
0489: // public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
0490: { ER_DIDNOT_FIND_XPATH_SELECT_EXP,
0491: "Fehler! xpath-Auswahlausdruck (-select) konnte nicht gefunden werden." },
0492:
0493: /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
0494: // public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
0495: { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
0496: "FEHLER! ENDOP konnte nach OP_LOCATIONPATH nicht gefunden werden." },
0497:
0498: /** Field ER_ERROR_OCCURED */
0499: // public static final int ER_ERROR_OCCURED = 42;
0500: { ER_ERROR_OCCURED, "Es ist ein Fehler aufgetreten!" },
0501:
0502: /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
0503: // public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
0504: {
0505: ER_ILLEGAL_VARIABLE_REFERENCE,
0506: "Das f\u00fcr die Variable angegebene Argument VariableReference befindet sich au\u00dferhalb des Kontexts oder weist keine Definition auf! Name = {0}" },
0507:
0508: /** Field ER_AXES_NOT_ALLOWED */
0509: // public static final int ER_AXES_NOT_ALLOWED = 44;
0510: {
0511: ER_AXES_NOT_ALLOWED,
0512: "Nur die Achsen ''child::'' und ''attribute::'' sind in Suchmustern zul\u00e4ssig! Fehlerhafte Achsen = {0}" },
0513:
0514: /** Field ER_KEY_HAS_TOO_MANY_ARGS */
0515: // public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
0516: { ER_KEY_HAS_TOO_MANY_ARGS,
0517: "key() weist eine falsche Anzahl Argumenten auf." },
0518:
0519: /** Field ER_COUNT_TAKES_1_ARG */
0520: // public static final int ER_COUNT_TAKES_1_ARG = 46;
0521: { ER_COUNT_TAKES_1_ARG,
0522: "Die Funktion count sollte ein einziges Argument enthalten!" },
0523:
0524: /** Field ER_COULDNOT_FIND_FUNCTION */
0525: // public static final int ER_COULDNOT_FIND_FUNCTION = 47;
0526: { ER_COULDNOT_FIND_FUNCTION,
0527: "Die Funktion konnte nicht gefunden werden: {0}" },
0528:
0529: /** Field ER_UNSUPPORTED_ENCODING */
0530: // public static final int ER_UNSUPPORTED_ENCODING = 48;
0531: { ER_UNSUPPORTED_ENCODING,
0532: "Nicht unterst\u00fctzte Verschl\u00fcsselung: {0}" },
0533:
0534: /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */
0535: // public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
0536: {
0537: ER_PROBLEM_IN_DTM_NEXTSIBLING,
0538: "In dem DTM in getNextSibling ist ein Fehler aufgetreten... Wiederherstellung wird durchgef\u00fchrt" },
0539:
0540: /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */
0541: // public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
0542: { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
0543: "Programmierungsfehler: In EmptyNodeList kann nicht geschrieben werden." },
0544:
0545: /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
0546: // public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
0547: { ER_SETDOMFACTORY_NOT_SUPPORTED,
0548: "setDOMFactory wird nicht von XPathContext unterst\u00fctzt!" },
0549:
0550: /** Field ER_PREFIX_MUST_RESOLVE */
0551: // public static final int ER_PREFIX_MUST_RESOLVE = 52;
0552: { ER_PREFIX_MUST_RESOLVE,
0553: "Das Pr\u00e4fix muss in einen Namensbereich aufgel\u00f6st werden: {0}" },
0554:
0555: /** Field ER_PARSE_NOT_SUPPORTED */
0556: // public static final int ER_PARSE_NOT_SUPPORTED = 53;
0557: {
0558: ER_PARSE_NOT_SUPPORTED,
0559: "parse (InputSource Quelle) wird nicht in XPathContext unterst\u00fctzt! {0} kann nicht ge\u00f6ffnet werden." },
0560:
0561: /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */
0562: // public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
0563: //{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
0564: // "createDocument() not supported in XPathContext!"},
0565: /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT */
0566: // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
0567: //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
0568: // "Attribute child does not have an owner document!"},
0569: /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT */
0570: // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
0571: //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
0572: // "Attribute child does not have an owner document element!"},
0573: /** Field ER_SAX_API_NOT_HANDLED */
0574: // public static final int ER_SAX_API_NOT_HANDLED = 57;
0575: { ER_SAX_API_NOT_HANDLED,
0576: "SAX-API characters(char ch[]... wird nicht von dem DTM verarbeitet!" },
0577:
0578: /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */
0579: //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
0580: { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
0581: "ignorableWhitespace(char ch[]... wird nicht von dem DTM verarbeitet!" },
0582:
0583: /** Field ER_DTM_CANNOT_HANDLE_NODES */
0584: // public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
0585: { ER_DTM_CANNOT_HANDLE_NODES,
0586: "DTMLiaison kann keine Knoten vom Typ {0} verarbeiten" },
0587:
0588: /** Field ER_XERCES_CANNOT_HANDLE_NODES */
0589: // public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
0590: { ER_XERCES_CANNOT_HANDLE_NODES,
0591: "DOM2Helper kann keine Knoten vom Typ {0} verarbeiten" },
0592:
0593: /** Field ER_XERCES_PARSE_ERROR_DETAILS */
0594: // public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
0595: { ER_XERCES_PARSE_ERROR_DETAILS,
0596: "Fehler bei DOM2Helper.parse: System-ID - {0} Zeile - {1}" },
0597:
0598: /** Field ER_XERCES_PARSE_ERROR */
0599: // public static final int ER_XERCES_PARSE_ERROR = 62;
0600: { ER_XERCES_PARSE_ERROR, "Fehler bei DOM2Helper.parse" },
0601:
0602: /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC */
0603: // public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
0604: //{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
0605: // "Warning: can't output text before document element! Ignoring..."},
0606: /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT */
0607: // public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
0608: //{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
0609: // "Can't have more than one root on a DOM!"},
0610: /** Field ER_INVALID_UTF16_SURROGATE */
0611: // public static final int ER_INVALID_UTF16_SURROGATE = 65;
0612: { ER_INVALID_UTF16_SURROGATE,
0613: "Ung\u00fcltige UTF-16-Ersetzung festgestellt: {0} ?" },
0614:
0615: /** Field ER_OIERROR */
0616: //public static final int ER_OIERROR = 66;
0617: { ER_OIERROR, "E/A-Fehler" },
0618:
0619: /** Field ER_CANNOT_CREATE_URL */
0620: //public static final int ER_CANNOT_CREATE_URL = 67;
0621: { ER_CANNOT_CREATE_URL,
0622: "URL kann nicht erstellt werden f\u00fcr: {0}" },
0623:
0624: /** Field ER_XPATH_READOBJECT */
0625: // public static final int ER_XPATH_READOBJECT = 68;
0626: { ER_XPATH_READOBJECT, "In XPath.readObject: {0}" },
0627:
0628: /** Field ER_FUNCTION_TOKEN_NOT_FOUND */
0629: // public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
0630: { ER_FUNCTION_TOKEN_NOT_FOUND,
0631: "Funktionstoken wurde nicht gefunden." },
0632:
0633: /** Argument 'localName' is null */
0634: // public static final int ER_ARG_LOCALNAME_NULL = 70;
0635: //{ ER_ARG_LOCALNAME_NULL,
0636: // "Argument 'localName' is null"},
0637: /** Can not deal with XPath type: */
0638: // public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
0639: { ER_CANNOT_DEAL_XPATH_TYPE,
0640: "Der XPath-Typ kann nicht verarbeitet werden: {0}" },
0641:
0642: /** This NodeSet is not mutable */
0643: // public static final int ER_NODESET_NOT_MUTABLE = 72;
0644: { ER_NODESET_NOT_MUTABLE,
0645: "Diese NodeSet kann nicht ge\u00e4ndert werden" },
0646:
0647: /** This NodeSetDTM is not mutable */
0648: // public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
0649: { ER_NODESETDTM_NOT_MUTABLE,
0650: "Dieses NodeSetDTM kann nicht ge\u00e4ndert werden" },
0651:
0652: /** Variable not resolvable: */
0653: // public static final int ER_VAR_NOT_RESOLVABLE = 74;
0654: { ER_VAR_NOT_RESOLVABLE,
0655: "Die Variable kann nicht aufgel\u00f6st werden: {0}" },
0656:
0657: /** Null error handler */
0658: // public static final int ER_NULL_ERROR_HANDLER = 75;
0659: { ER_NULL_ERROR_HANDLER,
0660: "Kein Fehlerbehandlungsprogramm vorhanden" },
0661:
0662: /** Programmer's assertion: unknown opcode */
0663: // public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
0664: { ER_PROG_ASSERT_UNKNOWN_OPCODE,
0665: "Programmiererfestlegung: Unbekannter Operationscode: {0} " },
0666:
0667: /** 0 or 1 */
0668: // public static final int ER_ZERO_OR_ONE = 77;
0669: { ER_ZERO_OR_ONE, "0 oder 1" },
0670:
0671: /** rtf() not supported by XRTreeFragSelectWrapper */
0672: //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
0673: { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0674: "rtf() wird nicht von XRTreeFragSelectWrapper unterst\u00fctzt" },
0675:
0676: /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
0677: //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
0678: { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0679: "asNodeIterator() wird nicht von XRTreeFragSelectWrapper unterst\u00fctzt" },
0680:
0681: /** fsb() not supported for XStringForChars */
0682: // public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
0683: { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
0684: "fsb() wird nicht f\u00fcr XStringForChars unterst\u00fctzt" },
0685:
0686: /** Could not find variable with the name of */
0687: // public static final int ER_COULD_NOT_FIND_VAR = 81;
0688: { ER_COULD_NOT_FIND_VAR,
0689: "Die Variable mit dem Namen {0} konnte nicht gefunden werden" },
0690:
0691: /** XStringForChars can not take a string for an argument */
0692: // public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
0693: { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
0694: "XStringForChars kann keine Zeichenfolge als Argument enthalten" },
0695:
0696: /** The FastStringBuffer argument can not be null */
0697: // public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
0698: { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
0699: "Das Argument FastStringBuffer kann nicht Null sein" },
0700:
0701: /* MANTIS_XALAN CHANGE: BEGIN */
0702: /** 2 or 3 */
0703: // public static final int ER_TWO_OR_THREE = 84;
0704: { ER_TWO_OR_THREE, "2 oder 3" },
0705:
0706: /** Variable accessed before it is bound! */
0707: // public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
0708: { ER_VARIABLE_ACCESSED_BEFORE_BIND,
0709: "Auf die Variable wurde zugegriffen, bevor diese gebunden wurde!" },
0710:
0711: /** XStringForFSB can not take a string for an argument! */
0712: // public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
0713: { ER_FSB_CANNOT_TAKE_STRING,
0714: "XStringForFSB kann keine Zeichenfolge als Argument enthalten!" },
0715:
0716: /** Error! Setting the root of a walker to null! */
0717: // public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
0718: { ER_SETTING_WALKER_ROOT_TO_NULL,
0719: "\n !!!! Fehler! Root eines Walker wird auf Null gesetzt!!!" },
0720:
0721: /** This NodeSetDTM can not iterate to a previous node! */
0722: // public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
0723: { ER_NODESETDTM_CANNOT_ITERATE,
0724: "Dieses NodeSetDTM kann keinen vorherigen Knoten wiederholen!" },
0725:
0726: /** This NodeSet can not iterate to a previous node! */
0727: // public static final int ER_NODESET_CANNOT_ITERATE = 89;
0728: { ER_NODESET_CANNOT_ITERATE,
0729: "Diese NodeSet kann keinen vorherigen Knoten wiederholen!" },
0730:
0731: /** This NodeSetDTM can not do indexing or counting functions! */
0732: // public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
0733: {
0734: ER_NODESETDTM_CANNOT_INDEX,
0735: "Dieses NodeSetDTM kann keine Indexierungs- oder Z\u00e4hlfunktionen ausf\u00fchren!" },
0736:
0737: /** This NodeSet can not do indexing or counting functions! */
0738: // public static final int ER_NODESET_CANNOT_INDEX = 91;
0739: {
0740: ER_NODESET_CANNOT_INDEX,
0741: "Diese NodeSet kann keine Indexierungs- oder Z\u00e4hlfunktionen ausf\u00fchren!" },
0742:
0743: /** Can not call setShouldCacheNodes after nextNode has been called! */
0744: // public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
0745: {
0746: ER_CANNOT_CALL_SETSHOULDCACHENODE,
0747: "setShouldCacheNodes kann nicht aufgerufen werden, nachdem nextNode aufgerufen wurde!" },
0748:
0749: /** {0} only allows {1} arguments */
0750: // public static final int ER_ONLY_ALLOWS = 93;
0751: { ER_ONLY_ALLOWS, "{0} erlaubt nur {1} Argument(e)" },
0752:
0753: /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
0754: // public static final int ER_UNKNOWN_STEP = 94;
0755: { ER_UNKNOWN_STEP,
0756: "Programmiererfestlegung in getNextStepPos: stepType unbekannt: {0} " },
0757:
0758: //Note to translators: A relative location path is a form of XPath expression.
0759: // The message indicates that such an expression was expected following the
0760: // characters '/' or '//', but was not found.
0761:
0762: /** Problem with RelativeLocationPath */
0763: // public static final int ER_EXPECTED_REL_LOC_PATH = 95;
0764: { ER_EXPECTED_REL_LOC_PATH,
0765: "Nach dem Token '/' oder '//' wurde ein relativer Positionspfad erwartet." },
0766:
0767: // Note to translators: A location path is a form of XPath expression.
0768: // The message indicates that syntactically such an expression was expected,but
0769: // the characters specified by the substitution text were encountered instead.
0770:
0771: /** Problem with LocationPath */
0772: // public static final int ER_EXPECTED_LOC_PATH = 96;
0773: {
0774: ER_EXPECTED_LOC_PATH,
0775: "Es wurde ein Positionspfad erwartet, aber folgendes Token wurde festgestellt\u003a {0} " },
0776:
0777: // Note to translators: A location step is part of an XPath expression.
0778: // The message indicates that syntactically such an expression was expected
0779: // following the specified characters.
0780:
0781: /** Problem with Step */
0782: // public static final int ER_EXPECTED_LOC_STEP = 97;
0783: { ER_EXPECTED_LOC_STEP,
0784: "Nach dem Token '/' oder '//' wurde ein Positionsschritt erwartet." },
0785:
0786: // Note to translators: A node test is part of an XPath expression that is
0787: // used to test for particular kinds of nodes. In this case, a node test that
0788: // consists of an NCName followed by a colon and an asterisk or that consists
0789: // of a QName was expected, but was not found.
0790:
0791: /** Problem with NodeTest */
0792: // public static final int ER_EXPECTED_NODE_TEST = 98;
0793: {
0794: ER_EXPECTED_NODE_TEST,
0795: "Es wurde ein Knotentest erwartet, der entweder NCName:* oder dem QNamen entspricht." },
0796:
0797: // Note to translators: A step pattern is part of an XPath expression.
0798: // The message indicates that syntactically such an expression was expected,
0799: // but the specified character was found in the expression instead.
0800:
0801: /** Expected step pattern */
0802: // public static final int ER_EXPECTED_STEP_PATTERN = 99;
0803: { ER_EXPECTED_STEP_PATTERN,
0804: "Es wurde ein Schrittmuster erwartet, aber '/' festgestellt." },
0805:
0806: // Note to translators: A relative path pattern is part of an XPath expression.
0807: // The message indicates that syntactically such an expression was expected,
0808: // but was not found.
0809:
0810: /** Expected relative path pattern */
0811: // public static final int ER_EXPECTED_REL_PATH_PATTERN = 100;
0812: { ER_EXPECTED_REL_PATH_PATTERN,
0813: "Es wurde ein Muster eines relativen Pfads erwartet." },
0814:
0815: // Note to translators: A QNAME has the syntactic form [NCName:]NCName
0816: // The localname is the portion after the optional colon; the message indicates
0817: // that there is a problem with that part of the QNAME.
0818:
0819: /** localname in QNAME should be a valid NCName */
0820: // public static final int ER_ARG_LOCALNAME_INVALID = 101;
0821: //{ ER_ARG_LOCALNAME_INVALID,
0822: // "Localname in QNAME should be a valid NCName"},
0823: // Note to translators: A QNAME has the syntactic form [NCName:]NCName
0824: // The prefix is the portion before the optional colon; the message indicates
0825: // that there is a problem with that part of the QNAME.
0826: /** prefix in QNAME should be a valid NCName */
0827: // public static final int ER_ARG_PREFIX_INVALID = 102;
0828: //{ ER_ARG_PREFIX_INVALID,
0829: // "Prefix in QNAME should be a valid NCName"},
0830: // Note to translators: The substitution text is the name of a data type. The
0831: // message indicates that a value of a particular type could not be converted
0832: // to a value of type string.
0833: /** Field ER_CANT_CONVERT_TO_BOOLEAN */
0834: // public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;
0835: { ER_CANT_CONVERT_TO_BOOLEAN,
0836: "{0} kann nicht in einen Booleschen Wert konvertiert werden." },
0837:
0838: // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
0839: // FIRST_ORDERED_NODE_TYPE.
0840:
0841: /** Field ER_CANT_CONVERT_TO_SINGLENODE */
0842: //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;
0843: {
0844: ER_CANT_CONVERT_TO_SINGLENODE,
0845: "{0} kann nicht in einen Einzelknoten konvertiert werden. Diese Abruffunktion gilt f\u00fcr die Typen ANY_UNORDERED_NODE_TYPE und FIRST_ORDERED_NODE_TYPE." },
0846:
0847: // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
0848: // ORDERED_NODE_SNAPSHOT_TYPE.
0849:
0850: /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
0851: // public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;
0852: {
0853: ER_CANT_GET_SNAPSHOT_LENGTH,
0854: "Die L\u00e4nge der Momentaufnahme f\u00fcr den Typ {0} kann nicht abgerufen werden. Diese Abruffunktion gilt f\u00fcr die Typen UNORDERED_NODE_SNAPSHOT_TYPE und ORDERED_NODE_SNAPSHOT_TYPE." },
0855:
0856: /** Field ER_NON_ITERATOR_TYPE */
0857: //public static final int ER_NON_ITERATOR_TYPE = 106;
0858: {
0859: ER_NON_ITERATOR_TYPE,
0860: "F\u00fcr Nicht-Iterator-Typen k\u00f6nnen keine Iterationen ausgef\u00fchrt werden: {0}" },
0861:
0862: // Note to translators: This message indicates that the document being operated
0863: // upon changed, so the iterator object that was being used to traverse the
0864: // document has now become invalid.
0865:
0866: /** Field ER_DOC_MUTATED */
0867: // public static final int ER_DOC_MUTATED = 107;
0868: {
0869: ER_DOC_MUTATED,
0870: "Seit der R\u00fcckgabe des Ergebnisses wurde das Dokument ge\u00e4ndert. Der Iterator ist ung\u00fcltig." },
0871:
0872: /** Field ER_INVALID_XPATH_TYPE */
0873: // public static final int ER_INVALID_XPATH_TYPE = 108;
0874: { ER_INVALID_XPATH_TYPE,
0875: "Ung\u00fcltiges XPath-Typenargument: {0}" },
0876:
0877: /** Field ER_EMPTY_XPATH_RESULT */
0878: // public static final int ER_EMPTY_XPATH_RESULT = 109;
0879: { ER_EMPTY_XPATH_RESULT, "Leeres XPath-Ergebnisobjekt" },
0880:
0881: /** Field ER_INCOMPATIBLE_TYPES */
0882: // public static final int ER_INCOMPATIBLE_TYPES = 110;
0883: {
0884: ER_INCOMPATIBLE_TYPES,
0885: "Eine Konvertierung des zur\u00fcckgegebenen Typs {0} in den angegebenen Typ {1} kann nicht erzwungen werden." },
0886:
0887: /** Field ER_NULL_RESOLVER */
0888: // public static final int ER_NULL_RESOLVER = 111;
0889: {
0890: ER_NULL_RESOLVER,
0891: "Das Pr\u00e4fix kann nicht mit einer Aufl\u00f6sungsfunktion f\u00fcr Nullpr\u00e4fixe aufgel\u00f6st werden." },
0892:
0893: // Note to translators: The substitution text is the name of a data type. The
0894: // message indicates that a value of a particular type could not be converted
0895: // to a value of type string.
0896:
0897: /** Field ER_CANT_CONVERT_TO_STRING */
0898: // public static final int ER_CANT_CONVERT_TO_STRING = 112;
0899: { ER_CANT_CONVERT_TO_STRING,
0900: "{0} kann nicht in eine Zeichenfolge (string) konvertiert werden." },
0901:
0902: // Note to translators: Do not translate snapshotItem,
0903: // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
0904:
0905: /** Field ER_NON_SNAPSHOT_TYPE */
0906: // public static final int ER_NON_SNAPSHOT_TYPE = 113;
0907: {
0908: ER_NON_SNAPSHOT_TYPE,
0909: "snapshotItem kann nicht f\u00fcr Typ {0} aufgerufen werden. Diese Methode gilt f\u00fcr die Typen UNORDERED_NODE_SNAPSHOT_TYPE und ORDERED_NODE_SNAPSHOT_TYPE." },
0910:
0911: // Note to translators: XPathEvaluator is a Java interface name. An
0912: // XPathEvaluator is created with respect to a particular XML document, and in
0913: // this case the expression represented by this object was being evaluated with
0914: // respect to a context node from a different document.
0915:
0916: /** Field ER_WRONG_DOCUMENT */
0917: // public static final int ER_WRONG_DOCUMENT = 114;
0918: {
0919: ER_WRONG_DOCUMENT,
0920: "Kontextknoten geh\u00f6rt nicht zu dem Dokument, das an diesen XPathEvaluator gebunden ist." },
0921:
0922: // Note to translators: The XPath expression cannot be evaluated with respect
0923: // to this type of node.
0924: /** Field ER_WRONG_NODETYPE */
0925: // public static final int ER_WRONG_NODETYPE = 115;
0926: { ER_WRONG_NODETYPE,
0927: "Der Kontextknotentyp wird nicht unterst\u00fctzt." },
0928:
0929: /** Field ER_XPATH_ERROR */
0930: // public static final int ER_XPATH_ERROR = 116;
0931: { ER_XPATH_ERROR, "Unbekannter Fehler in XPath." },
0932:
0933: // Warnings...
0934:
0935: /** Field WG_LOCALE_NAME_NOT_HANDLED */
0936: // public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
0937: {
0938: WG_LOCALE_NAME_NOT_HANDLED,
0939: "Der Name der L\u00e4ndereinstellung in der Funktion format-number wurde bisher nicht verarbeitet!" },
0940:
0941: /** Field WG_PROPERTY_NOT_SUPPORTED */
0942: // public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
0943: { WG_PROPERTY_NOT_SUPPORTED,
0944: "XSL-Merkmal wird nicht unterst\u00fctzt: {0}" },
0945:
0946: /** Field WG_DONT_DO_ANYTHING_WITH_NS */
0947: // public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
0948: {
0949: WG_DONT_DO_ANYTHING_WITH_NS,
0950: "F\u00fchren Sie derzeit keine Vorg\u00e4nge mit dem Namensbereich {0} in folgendem Merkmal durch: {1}" },
0951:
0952: /** Field WG_SECURITY_EXCEPTION */
0953: // public static final int WG_SECURITY_EXCEPTION = 4;
0954: { WG_SECURITY_EXCEPTION,
0955: "SecurityException beim Zugriff auf XSL-Systemmerkmal: {0}" },
0956:
0957: /** Field WG_QUO_NO_LONGER_DEFINED */
0958: // public static final int WG_QUO_NO_LONGER_DEFINED = 5;
0959: { WG_QUO_NO_LONGER_DEFINED,
0960: "Veraltete Syntax: quo(...) ist nicht mehr in XPath definiert." },
0961:
0962: /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */
0963: // public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
0964: {
0965: WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
0966: "XPath ben\u00f6tigt f\u00fcr die Implementierung von nodeTest ein abgeleitetes Objekt!" },
0967:
0968: /** Field WG_FUNCTION_TOKEN_NOT_FOUND */
0969: // public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
0970: { WG_FUNCTION_TOKEN_NOT_FOUND,
0971: "Funktionstoken wurde nicht gefunden." },
0972:
0973: /** Field WG_COULDNOT_FIND_FUNCTION */
0974: // public static final int WG_COULDNOT_FIND_FUNCTION = 8;
0975: { WG_COULDNOT_FIND_FUNCTION,
0976: "Die Funktion konnte nicht gefunden werden: {0}" },
0977:
0978: /** Field WG_CANNOT_MAKE_URL_FROM */
0979: // public static final int WG_CANNOT_MAKE_URL_FROM = 9;
0980: { WG_CANNOT_MAKE_URL_FROM,
0981: "URL konnte nicht erstellt werden aus: {0}" },
0982:
0983: /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */
0984: // public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
0985: { WG_EXPAND_ENTITIES_NOT_SUPPORTED,
0986: "Option -E wird f\u00fcr DTM-Parser nicht unterst\u00fctzt" },
0987:
0988: /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
0989: // public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
0990: {
0991: WG_ILLEGAL_VARIABLE_REFERENCE,
0992: "Das f\u00fcr die Variable angegebene Argument VariableReference befindet sich au\u00dferhalb des Kontexts oder weist keine Definition auf! Name = {0}" },
0993:
0994: /** Field WG_UNSUPPORTED_ENCODING */
0995: // public static final int WG_UNSUPPORTED_ENCODING = 12;
0996: { WG_UNSUPPORTED_ENCODING,
0997: "Nicht unterst\u00fctzte Verschl\u00fcsselung: {0}" },
0998:
0999: // Other miscellaneous text used inside the code...
1000: { "ui_language", "de" },
1001: { "help_language", "de" },
1002: { "language", "de" },
1003: {
1004: "BAD_CODE",
1005: "Der Parameter f\u00fcr createMessage lag au\u00dferhalb des g\u00fcltigen Bereichs" },
1006: {
1007: "FORMAT_FAILED",
1008: "W\u00e4hrend des Aufrufs von messageFormat wurde eine Ausnahmebedingung ausgel\u00f6st" },
1009: { "version", ">>>>>>> Xalan-Version " },
1010: { "version2", "<<<<<<<" },
1011: { "yes", "ja" },
1012: { "line", "Zeilennummer" },
1013: { "column", "Spaltennummer" },
1014: { "xsldone", "XSLProcessor: fertig" },
1015: { "xpath_option", "xpath-Optionen: " },
1016: { "optionIN", "[-in EingabeXMLURL]" },
1017: { "optionSelect", "[-select Xpath-Ausdruck]" },
1018: { "optionMatch",
1019: "[-match \u00dcbereinstimmungsmuster (f\u00fcr \u00dcbereinstimmungsdiagnose)]" },
1020: {
1021: "optionAnyExpr",
1022: "\u00dcber einen einfachen xpath-Ausdruck wird ein Diagnosespeicherauszug erstellt" },
1023: { "noParsermsg1",
1024: "XSL-Prozess konnte nicht erfolgreich durchgef\u00fchrt werden." },
1025: { "noParsermsg2",
1026: "** Parser konnte nicht gefunden werden **" },
1027: { "noParsermsg3",
1028: "Bitte \u00fcberpr\u00fcfen Sie den Klassenpfad." },
1029: {
1030: "noParsermsg4",
1031: "Wenn Sie nicht \u00fcber einen IBM XML-Parser f\u00fcr Java verf\u00fcgen, k\u00f6nnen Sie ihn \u00fcber" },
1032: { "noParsermsg5",
1033: "IBM AlphaWorks: http://www.alphaworks.ibm.com/formula/xml" },
1034: { "gtone", ">1" }, { "zero", "0" }, { "one", "1" },
1035: { "two", "2" }, { "three", "3" }
1036:
1037: };
1038: }
1039:
1040: // ================= INFRASTRUCTURE ======================
1041:
1042: /** Field BAD_CODE */
1043: public static final String BAD_CODE = "FEHLERHAFTER_CODE";
1044:
1045: /** Field FORMAT_FAILED */
1046: public static final String FORMAT_FAILED = "FORMAT_FEHLGESCHLAGEN";
1047:
1048: /** Field ERROR_RESOURCES */
1049: public static final String ERROR_RESOURCES = "org.apache.xpath.res.XPATHErrorResources";
1050:
1051: /** Field ERROR_STRING */
1052: public static final String ERROR_STRING = "#Fehler";
1053:
1054: /** Field ERROR_HEADER */
1055: public static final String ERROR_HEADER = "Fehler: ";
1056:
1057: /** Field WARNING_HEADER */
1058: public static final String WARNING_HEADER = "Achtung: ";
1059:
1060: /** Field XSL_HEADER */
1061: public static final String XSL_HEADER = "XSL ";
1062:
1063: /** Field XML_HEADER */
1064: public static final String XML_HEADER = "XML ";
1065:
1066: /** Field QUERY_HEADER */
1067: public static final String QUERY_HEADER = "MUSTER ";
1068:
1069: /**
1070: * Return a named ResourceBundle for a particular locale. This method mimics the behavior
1071: * of ResourceBundle.getBundle().
1072: *
1073: * @param className Name of local-specific subclass.
1074: * @return the ResourceBundle
1075: * @throws MissingResourceException
1076: */
1077: public static final XPATHErrorResources loadResourceBundle(
1078: String className) throws MissingResourceException {
1079:
1080: Locale locale = Locale.getDefault();
1081: String suffix = getResourceSuffix(locale);
1082:
1083: try {
1084:
1085: // first try with the given locale
1086: return (XPATHErrorResources) ResourceBundle.getBundle(
1087: className + suffix, locale);
1088: } catch (MissingResourceException e) {
1089: try // try to fall back to en_US if we can't load
1090: {
1091:
1092: // Since we can't find the localized property file,
1093: // fall back to en_US.
1094: return (XPATHErrorResources) ResourceBundle.getBundle(
1095: className, new Locale("en", "US"));
1096: } catch (MissingResourceException e2) {
1097:
1098: // Now we are really in trouble.
1099: // very bad, definitely very bad...not going to get very far
1100: throw new MissingResourceException(
1101: "Could not load any resource bundles.",
1102: className, "");
1103: }
1104: }
1105: }
1106:
1107: /**
1108: * Return the resource file suffic for the indicated locale
1109: * For most locales, this will be based the language code. However
1110: * for Chinese, we do distinguish between Taiwan and PRC
1111: *
1112: * @param locale the locale
1113: * @return an String suffix which canbe appended to a resource name
1114: */
1115: private static final String getResourceSuffix(Locale locale) {
1116:
1117: String suffix = "_" + locale.getLanguage();
1118: String country = locale.getCountry();
1119:
1120: if (country.equals("TW"))
1121: suffix += "_" + country;
1122:
1123: return suffix;
1124: }
1125:
1126: }
|