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_tr.java,v 1.5 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_tr 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: "E\u015fle\u015fme \u00f6r\u00fcnt\u00fcs\u00fcnde current() i\u015flevine izin verilmez!" },
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: "current() i\u015flevi ba\u011f\u0131ms\u0131z de\u011fi\u015fken kabul etmez!" },
0300:
0301: /** Field ER_DOCUMENT_REPLACED */
0302: // public static final int ER_DOCUMENT_REPLACED = 3;
0303: {
0304: ER_DOCUMENT_REPLACED,
0305: "document() i\u015flevi uygulamas\u0131 org.apache.xalan.xslt.FuncDocument ile de\u011fi\u015ftirildi!" },
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: "Ba\u011flam\u0131n iye belgesi yok!" },
0311:
0312: /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
0313: // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
0314: {
0315: ER_LOCALNAME_HAS_TOO_MANY_ARGS,
0316: "local-name() i\u015flevinde \u00e7ok fazla ba\u011f\u0131ms\u0131z de\u011fi\u015fken var." },
0317:
0318: /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
0319: //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
0320: {
0321: ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
0322: "namespace-uri() i\u015flevinde \u00e7ok fazla ba\u011f\u0131ms\u0131z de\u011fi\u015fken var." },
0323:
0324: /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
0325: // public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
0326: {
0327: ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
0328: "normalize-space() i\u015flevinde \u00e7ok fazla ba\u011f\u0131ms\u0131z de\u011fi\u015fken var." },
0329:
0330: /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
0331: // public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
0332: {
0333: ER_NUMBER_HAS_TOO_MANY_ARGS,
0334: "number() i\u015flevinde \u00e7ok fazla ba\u011f\u0131ms\u0131z de\u011fi\u015fken var." },
0335:
0336: /** Field ER_NAME_HAS_TOO_MANY_ARGS */
0337: // public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
0338: {
0339: ER_NAME_HAS_TOO_MANY_ARGS,
0340: "name() i\u015flevinde \u00e7ok fazla ba\u011f\u0131ms\u0131z de\u011fi\u015fken var." },
0341:
0342: /** Field ER_STRING_HAS_TOO_MANY_ARGS */
0343: // public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
0344: {
0345: ER_STRING_HAS_TOO_MANY_ARGS,
0346: "string() i\u015flevinde \u00e7ok fazla ba\u011f\u0131ms\u0131z de\u011fi\u015fken var." },
0347:
0348: /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
0349: // public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
0350: {
0351: ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
0352: "string-length() i\u015flevinde \u00e7ok fazla ba\u011f\u0131ms\u0131z de\u011fi\u015fken var." },
0353:
0354: /** Field ER_TRANSLATE_TAKES_3_ARGS */
0355: // public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
0356: {
0357: ER_TRANSLATE_TAKES_3_ARGS,
0358: "translate() i\u015flevi \u00fc\u00e7 ba\u011f\u0131ms\u0131z de\u011fi\u015fken al\u0131r!" },
0359:
0360: /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */
0361: // public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
0362: {
0363: ER_UNPARSEDENTITYURI_TAKES_1_ARG,
0364: "unparsed-entity-uri i\u015flevi bir ba\u011f\u0131ms\u0131z de\u011fi\u015fken almal\u0131d\u0131r!" },
0365:
0366: /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
0367: // public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
0368: { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
0369: "namespace ekseni hen\u00fcz ger\u00e7ekle\u015ftirilmedi!" },
0370:
0371: /** Field ER_UNKNOWN_AXIS */
0372: // public static final int ER_UNKNOWN_AXIS = 15;
0373: { ER_UNKNOWN_AXIS, "Bilinmeyen eksen: {0}" },
0374:
0375: /** Field ER_UNKNOWN_MATCH_OPERATION */
0376: // public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
0377: { ER_UNKNOWN_MATCH_OPERATION,
0378: "Bilinmeyen e\u015fle\u015fme i\u015flemi!" },
0379:
0380: /** Field ER_INCORRECT_ARG_LENGTH */
0381: // public static final int ER_INCORRECT_ARG_LENGTH = 17;
0382: {
0383: ER_INCORRECT_ARG_LENGTH,
0384: "processing-instruction() d\u00fc\u011f\u00fcm s\u0131namas\u0131n\u0131n ba\u011f\u0131ms\u0131z de\u011fi\u015fken uzunlu\u011fu yanl\u0131\u015f!" },
0385:
0386: /** Field ER_CANT_CONVERT_TO_NUMBER */
0387: // public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
0388: { ER_CANT_CONVERT_TO_NUMBER,
0389: "{0} bir say\u0131ya d\u00f6n\u00fc\u015ft\u00fcr\u00fclemez" },
0390:
0391: /** Field ER_CANT_CONVERT_TO_NODELIST */
0392: //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
0393: { ER_CANT_CONVERT_TO_NODELIST,
0394: "{0} NodeList''e d\u00f6n\u00fc\u015ft\u00fcr\u00fclemez!" },
0395:
0396: /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */
0397: // public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
0398: { ER_CANT_CONVERT_TO_MUTABLENODELIST,
0399: "{0} NodeSetDTM''ye d\u00f6n\u00fc\u015ft\u00fcr\u00fclemez!" },
0400:
0401: /** Field ER_CANT_CONVERT_TO_TYPE */
0402: // public static final int ER_CANT_CONVERT_TO_TYPE = 21;
0403: { ER_CANT_CONVERT_TO_TYPE,
0404: "{0} - type#{1} d\u00f6n\u00fc\u015f\u00fcm\u00fc yap\u0131lamaz" },
0405:
0406: /** Field ER_EXPECTED_MATCH_PATTERN */
0407: // public static final int ER_EXPECTED_MATCH_PATTERN = 22;
0408: {
0409: ER_EXPECTED_MATCH_PATTERN,
0410: "getMatchScore i\u00e7inde e\u015fle\u015fme \u00f6r\u00fcnt\u00fcs\u00fc bekleniyor!" },
0411:
0412: /** Field ER_COULDNOT_GET_VAR_NAMED */
0413: // public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
0414: { ER_COULDNOT_GET_VAR_NAMED,
0415: "{0} adl\u0131 de\u011fi\u015fken al\u0131namad\u0131" },
0416:
0417: /** Field ER_UNKNOWN_OPCODE */
0418: // public static final int ER_UNKNOWN_OPCODE = 24;
0419: { ER_UNKNOWN_OPCODE,
0420: "HATA! Bilinmeyen i\u015flem kodu: {0}" },
0421:
0422: /** Field ER_EXTRA_ILLEGAL_TOKENS */
0423: // public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
0424: { ER_EXTRA_ILLEGAL_TOKENS,
0425: "Fazladan ge\u00e7ersiz simgeler: {0}" },
0426:
0427: /** Field ER_EXPECTED_DOUBLE_QUOTE */
0428: // public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
0429: {
0430: ER_EXPECTED_DOUBLE_QUOTE,
0431: "Haz\u0131r bilginin t\u0131rnak imi yanl\u0131\u015f... \u00e7ift t\u0131rnak bekleniyor!" },
0432:
0433: /** Field ER_EXPECTED_SINGLE_QUOTE */
0434: // public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
0435: {
0436: ER_EXPECTED_SINGLE_QUOTE,
0437: "Haz\u0131r bilginin t\u0131rnak imi yanl\u0131\u015f... tek t\u0131rnak bekleniyor!" },
0438:
0439: /** Field ER_EMPTY_EXPRESSION */
0440: // public static final int ER_EMPTY_EXPRESSION = 28;
0441: { ER_EMPTY_EXPRESSION, "\u0130fade bo\u015f!" },
0442:
0443: /** Field ER_EXPECTED_BUT_FOUND */
0444: // public static final int ER_EXPECTED_BUT_FOUND = 29;
0445: { ER_EXPECTED_BUT_FOUND,
0446: "{0} bekleniyordu, {1} bulundu" },
0447:
0448: /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */
0449: // public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
0450: { ER_INCORRECT_PROGRAMMER_ASSERTION,
0451: "Programc\u0131 de\u011ferlendirmesi yanl\u0131\u015f! - {0}" },
0452:
0453: /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */
0454: // public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
0455: {
0456: ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
0457: "boolean(...) ba\u011f\u0131ms\u0131z de\u011fi\u015fkeni 19990709 XPath tasla\u011f\u0131yla art\u0131k iste\u011fe ba\u011fl\u0131 de\u011fil." },
0458:
0459: /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */
0460: // public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
0461: {
0462: ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
0463: "',' bulundu, ancak \u00f6ncesinde ba\u011f\u0131ms\u0131z de\u011fi\u015fken yok!" },
0464:
0465: /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */
0466: // public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
0467: {
0468: ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
0469: "',' bulundu, ancak sonras\u0131nda ba\u011f\u0131ms\u0131z de\u011fi\u015fken yok!" },
0470:
0471: /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
0472: // public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
0473: {
0474: ER_PREDICATE_ILLEGAL_SYNTAX,
0475: "'..[kar\u015f\u0131la\u015ft\u0131rma belirtimi]' ya da '.[kar\u015f\u0131la\u015ft\u0131rma belirtimi]' ge\u00e7ersiz bir s\u00f6zdizimi. Yerine \u015funu kullan\u0131n: 'self::node()[kar\u015f\u0131la\u015ft\u0131rma belirtimi]'." },
0476:
0477: /** Field ER_ILLEGAL_AXIS_NAME */
0478: // public static final int ER_ILLEGAL_AXIS_NAME = 35;
0479: { ER_ILLEGAL_AXIS_NAME,
0480: "Eksen ad\u0131 ge\u00e7ersiz: {0}" },
0481:
0482: /** Field ER_UNKNOWN_NODETYPE */
0483: // public static final int ER_UNKNOWN_NODETYPE = 36;
0484: { ER_UNKNOWN_NODETYPE,
0485: "D\u00fc\u011f\u00fcm tipi ge\u00e7ersiz: {0}" },
0486:
0487: /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */
0488: // public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
0489: {
0490: ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
0491: "\u00d6r\u00fcnt\u00fc haz\u0131r bilgisinin ({0}) t\u0131rnak i\u00e7ine al\u0131nmas\u0131 gerekiyor!" },
0492:
0493: /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */
0494: // public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
0495: { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
0496: "{0} bir say\u0131 olarak bi\u00e7imlenemedi!" },
0497:
0498: /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
0499: // public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
0500: { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
0501: "XML TransformerFactory ili\u015fkisi {0} yarat\u0131lamad\u0131" },
0502:
0503: /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */
0504: // public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
0505: { ER_DIDNOT_FIND_XPATH_SELECT_EXP,
0506: "Hata! xpath select ifadesi (-select) bulunamad\u0131." },
0507:
0508: /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
0509: // public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
0510: { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
0511: "HATA! OP_LOCATIONPATH sonras\u0131nda ENDOP bulunamad\u0131." },
0512:
0513: /** Field ER_ERROR_OCCURED */
0514: // public static final int ER_ERROR_OCCURED = 42;
0515: { ER_ERROR_OCCURED, "Hata olu\u015ftu!" },
0516:
0517: /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
0518: // public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
0519: {
0520: ER_ILLEGAL_VARIABLE_REFERENCE,
0521: "De\u011fi\u015fken i\u00e7in belirtilen VariableReference ba\u011flam d\u0131\u015f\u0131 ya da tan\u0131ms\u0131z! Ad = {0}" },
0522:
0523: /** Field ER_AXES_NOT_ALLOWED */
0524: // public static final int ER_AXES_NOT_ALLOWED = 44;
0525: {
0526: ER_AXES_NOT_ALLOWED,
0527: "E\u015fle\u015fme \u00f6r\u00fcnt\u00fclerinde yaln\u0131zca child:: ve attribute:: eksenlerine izin verilir! Ge\u00e7ersiz eksenler = {0}" },
0528:
0529: /** Field ER_KEY_HAS_TOO_MANY_ARGS */
0530: // public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
0531: {
0532: ER_KEY_HAS_TOO_MANY_ARGS,
0533: "key() yanl\u0131\u015f say\u0131da ba\u011f\u0131ms\u0131z de\u011fi\u015fken i\u00e7eriyor." },
0534:
0535: /** Field ER_COUNT_TAKES_1_ARG */
0536: // public static final int ER_COUNT_TAKES_1_ARG = 46;
0537: {
0538: ER_COUNT_TAKES_1_ARG,
0539: "Say\u0131m i\u015flevi tek bir ba\u011f\u0131ms\u0131z de\u011fi\u015fken almal\u0131d\u0131r!" },
0540:
0541: /** Field ER_COULDNOT_FIND_FUNCTION */
0542: // public static final int ER_COULDNOT_FIND_FUNCTION = 47;
0543: { ER_COULDNOT_FIND_FUNCTION,
0544: "\u0130\u015flev bulunamad\u0131: {0}" },
0545:
0546: /** Field ER_UNSUPPORTED_ENCODING */
0547: // public static final int ER_UNSUPPORTED_ENCODING = 48;
0548: { ER_UNSUPPORTED_ENCODING,
0549: "Desteklenmeyen kodlama: {0}" },
0550:
0551: /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */
0552: // public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
0553: {
0554: ER_PROBLEM_IN_DTM_NEXTSIBLING,
0555: "getNextSibling s\u0131ras\u0131nda DTM i\u00e7inde sorun olu\u015ftu... kurtarma giri\u015fiminde bulunuluyor" },
0556:
0557: /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */
0558: // public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
0559: { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
0560: "Programc\u0131 hatas\u0131: EmptyNodeList i\u00e7ine yaz\u0131lamaz." },
0561:
0562: /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
0563: // public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
0564: { ER_SETDOMFACTORY_NOT_SUPPORTED,
0565: "setDOMFactory, XPathContext taraf\u0131ndan desteklenmiyor!" },
0566:
0567: /** Field ER_PREFIX_MUST_RESOLVE */
0568: // public static final int ER_PREFIX_MUST_RESOLVE = 52;
0569: { ER_PREFIX_MUST_RESOLVE,
0570: "\u00d6nek bir ad alan\u0131na \u00e7\u00f6z\u00fclmelidir: {0}" },
0571:
0572: /** Field ER_PARSE_NOT_SUPPORTED */
0573: // public static final int ER_PARSE_NOT_SUPPORTED = 53;
0574: {
0575: ER_PARSE_NOT_SUPPORTED,
0576: "XPathContext i\u00e7inde parse (InputSource kayna\u011f\u0131) desteklenmiyor! {0} a\u00e7\u0131lam\u0131yor" },
0577:
0578: /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */
0579: // public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
0580: //{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
0581: // "createDocument() not supported in XPathContext!"},
0582: /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT */
0583: // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
0584: //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
0585: // "Attribute child does not have an owner document!"},
0586: /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT */
0587: // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
0588: //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
0589: // "Attribute child does not have an owner document element!"},
0590: /** Field ER_SAX_API_NOT_HANDLED */
0591: // public static final int ER_SAX_API_NOT_HANDLED = 57;
0592: { ER_SAX_API_NOT_HANDLED,
0593: "SAX API characters(char ch[]... DTM taraf\u0131ndan i\u015flenmedi!" },
0594:
0595: /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */
0596: //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
0597: { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
0598: "ignorableWhitespace(char ch[]... DTM taraf\u0131ndan i\u015flenmedi!" },
0599:
0600: /** Field ER_DTM_CANNOT_HANDLE_NODES */
0601: // public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
0602: { ER_DTM_CANNOT_HANDLE_NODES,
0603: "DTMLiaison {0} tipi d\u00fc\u011f\u00fcmleri i\u015fleyemez" },
0604:
0605: /** Field ER_XERCES_CANNOT_HANDLE_NODES */
0606: // public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
0607: { ER_XERCES_CANNOT_HANDLE_NODES,
0608: "DOM2Helper {0} tipi d\u00fc\u011f\u00fcmleri i\u015fleyemez" },
0609:
0610: /** Field ER_XERCES_PARSE_ERROR_DETAILS */
0611: // public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
0612: { ER_XERCES_PARSE_ERROR_DETAILS,
0613: "DOM2Helper.parse hatas\u0131: Sistem tnt - {0} sat\u0131r - {1}" },
0614:
0615: /** Field ER_XERCES_PARSE_ERROR */
0616: // public static final int ER_XERCES_PARSE_ERROR = 62;
0617: { ER_XERCES_PARSE_ERROR, "DOM2Helper.parse hatas\u0131" },
0618:
0619: /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC */
0620: // public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
0621: //{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
0622: // "Warning: can't output text before document element! Ignoring..."},
0623: /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT */
0624: // public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
0625: //{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
0626: // "Can't have more than one root on a DOM!"},
0627: /** Field ER_INVALID_UTF16_SURROGATE */
0628: // public static final int ER_INVALID_UTF16_SURROGATE = 65;
0629: { ER_INVALID_UTF16_SURROGATE,
0630: "UTF-16 yerine kullan\u0131lan de\u011fer ge\u00e7ersiz: {0} ?" },
0631:
0632: /** Field ER_OIERROR */
0633: //public static final int ER_OIERROR = 66;
0634: { ER_OIERROR, "G\u00c7 hatas\u0131" },
0635:
0636: /** Field ER_CANNOT_CREATE_URL */
0637: //public static final int ER_CANNOT_CREATE_URL = 67;
0638: { ER_CANNOT_CREATE_URL,
0639: "\u0130lgili url yarat\u0131lam\u0131yor: {0}" },
0640:
0641: /** Field ER_XPATH_READOBJECT */
0642: // public static final int ER_XPATH_READOBJECT = 68;
0643: { ER_XPATH_READOBJECT,
0644: "XPath.readObject i\u00e7inde: {0}" },
0645:
0646: /** Field ER_FUNCTION_TOKEN_NOT_FOUND */
0647: // public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
0648: { ER_FUNCTION_TOKEN_NOT_FOUND,
0649: "\u0130\u015flev simgesi bulunamad\u0131." },
0650:
0651: /** Argument 'localName' is null */
0652: // public static final int ER_ARG_LOCALNAME_NULL = 70;
0653: //{ ER_ARG_LOCALNAME_NULL,
0654: // "Argument 'localName' is null"},
0655: /** Can not deal with XPath type: */
0656: // public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
0657: { ER_CANNOT_DEAL_XPATH_TYPE,
0658: "XPath tipi i\u015flenemiyor: {0}" },
0659:
0660: /** This NodeSet is not mutable */
0661: // public static final int ER_NODESET_NOT_MUTABLE = 72;
0662: { ER_NODESET_NOT_MUTABLE,
0663: "Bu NodeSet de\u011fi\u015febilir t\u00fcrde de\u011fil" },
0664:
0665: /** This NodeSetDTM is not mutable */
0666: // public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
0667: { ER_NODESETDTM_NOT_MUTABLE,
0668: "Bu NodeSetDTM de\u011fi\u015febilir t\u00fcrde de\u011fil" },
0669:
0670: /** Variable not resolvable: */
0671: // public static final int ER_VAR_NOT_RESOLVABLE = 74;
0672: {
0673: ER_VAR_NOT_RESOLVABLE,
0674: "De\u011fi\u015fken \u00e7\u00f6z\u00fclebilir bir de\u011fi\u015fken de\u011fil: {0}" },
0675:
0676: /** Null error handler */
0677: // public static final int ER_NULL_ERROR_HANDLER = 75;
0678: { ER_NULL_ERROR_HANDLER,
0679: "Bo\u015f de\u011ferli hata i\u015fleyici" },
0680:
0681: /** Programmer's assertion: unknown opcode */
0682: // public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
0683: { ER_PROG_ASSERT_UNKNOWN_OPCODE,
0684: "Programc\u0131 de\u011ferlendirmesi: bilinmeyen opcode: {0}" },
0685:
0686: /** 0 or 1 */
0687: // public static final int ER_ZERO_OR_ONE = 77;
0688: { ER_ZERO_OR_ONE, "0 ya da 1" },
0689:
0690: /** rtf() not supported by XRTreeFragSelectWrapper */
0691: //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
0692: { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0693: "rtf() XRTreeFragSelectWrapper taraf\u0131ndan desteklenmiyor" },
0694:
0695: /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
0696: //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
0697: { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0698: "asNodeIterator() XRTreeFragSelectWrapper taraf\u0131ndan desteklenmiyor" },
0699:
0700: /** fsb() not supported for XStringForChars */
0701: // public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
0702: { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
0703: "fsb() XStringForChars i\u00e7in desteklenmiyor" },
0704:
0705: /** Could not find variable with the name of */
0706: // public static final int ER_COULD_NOT_FIND_VAR = 81;
0707: { ER_COULD_NOT_FIND_VAR,
0708: "{0} ad\u0131nda de\u011fi\u015fken bulunamad\u0131" },
0709:
0710: /** XStringForChars can not take a string for an argument */
0711: // public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
0712: {
0713: ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
0714: "XStringForChars ba\u011f\u0131ms\u0131z de\u011fi\u015fken olarak dizgi alamaz" },
0715:
0716: /** The FastStringBuffer argument can not be null */
0717: // public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
0718: {
0719: ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
0720: "FastStringBuffer ba\u011f\u0131ms\u0131z de\u011fi\u015fkeni bo\u015f de\u011ferli olamaz" },
0721:
0722: /* MANTIS_XALAN CHANGE: BEGIN */
0723: /** 2 or 3 */
0724: // public static final int ER_TWO_OR_THREE = 84;
0725: { ER_TWO_OR_THREE, "2 ya da 3" },
0726:
0727: /** Variable accessed before it is bound! */
0728: // public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
0729: { ER_VARIABLE_ACCESSED_BEFORE_BIND,
0730: "De\u011fi\u015fkene ba\u011f tan\u0131mlamadan \u00f6nce eri\u015fildi!" },
0731:
0732: /** XStringForFSB can not take a string for an argument! */
0733: // public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
0734: { ER_FSB_CANNOT_TAKE_STRING,
0735: "XStringForFSB ba\u011f\u0131ms\u0131z de\u011fi\u015fken olarak dizgi alamaz!" },
0736:
0737: /** Error! Setting the root of a walker to null! */
0738: // public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
0739: { ER_SETTING_WALKER_ROOT_TO_NULL,
0740: "\n !!!! Hata! Walker k\u00f6k\u00fc bo\u015f de\u011fere ayarlan\u0131yor!!!" },
0741:
0742: /** This NodeSetDTM can not iterate to a previous node! */
0743: // public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
0744: { ER_NODESETDTM_CANNOT_ITERATE,
0745: "Bu NodeSetDTM \u00f6nceki bir d\u00fc\u011f\u00fcme yineleme yapamaz!" },
0746:
0747: /** This NodeSet can not iterate to a previous node! */
0748: // public static final int ER_NODESET_CANNOT_ITERATE = 89;
0749: { ER_NODESET_CANNOT_ITERATE,
0750: "Bu NodeSet \u00f6nceki bir d\u00fc\u011f\u00fcme yineleme yapamaz!" },
0751:
0752: /** This NodeSetDTM can not do indexing or counting functions! */
0753: // public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
0754: { ER_NODESETDTM_CANNOT_INDEX,
0755: "Bu NodeSetDTM dizinleme ya da sayma i\u015flevleri yapamaz!" },
0756:
0757: /** This NodeSet can not do indexing or counting functions! */
0758: // public static final int ER_NODESET_CANNOT_INDEX = 91;
0759: { ER_NODESET_CANNOT_INDEX,
0760: "Bu NodeSet dizinleme ya da sayma i\u015flevleri yapamaz!" },
0761:
0762: /** Can not call setShouldCacheNodes after nextNode has been called! */
0763: // public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
0764: {
0765: ER_CANNOT_CALL_SETSHOULDCACHENODE,
0766: "nextNode \u00e7a\u011fr\u0131ld\u0131ktan sonra setShouldCacheNodes \u00e7a\u011fr\u0131lamaz!" },
0767:
0768: /** {0} only allows {1} arguments */
0769: // public static final int ER_ONLY_ALLOWS = 93;
0770: { ER_ONLY_ALLOWS,
0771: "{0} yaln\u0131zca {1} ba\u011f\u0131ms\u0131z de\u011fi\u015fkene izin verir" },
0772:
0773: /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
0774: // public static final int ER_UNKNOWN_STEP = 94;
0775: {
0776: ER_UNKNOWN_STEP,
0777: "getNextStepPos i\u00e7inde programc\u0131 de\u011ferlendirmesi: bilinmeyen stepType: {0}" },
0778:
0779: //Note to translators: A relative location path is a form of XPath expression.
0780: // The message indicates that such an expression was expected following the
0781: // characters '/' or '//', but was not found.
0782:
0783: /** Problem with RelativeLocationPath */
0784: // public static final int ER_EXPECTED_REL_LOC_PATH = 95;
0785: { ER_EXPECTED_REL_LOC_PATH,
0786: "'/' ya da '//' simgesinden sonra g\u00f6reli yer yolu bekleniyordu." },
0787:
0788: // Note to translators: A location path is a form of XPath expression.
0789: // The message indicates that syntactically such an expression was expected,but
0790: // the characters specified by the substitution text were encountered instead.
0791:
0792: /** Problem with LocationPath */
0793: // public static final int ER_EXPECTED_LOC_PATH = 96;
0794: { ER_EXPECTED_LOC_PATH,
0795: "Yer yolu bekleniyordu, ancak \u015fu simge saptand\u0131\u003a {0}" },
0796:
0797: // Note to translators: A location step is part of an XPath expression.
0798: // The message indicates that syntactically such an expression was expected
0799: // following the specified characters.
0800:
0801: /** Problem with Step */
0802: // public static final int ER_EXPECTED_LOC_STEP = 97;
0803: { ER_EXPECTED_LOC_STEP,
0804: "'/' ya da '//' simgesinden sonra yer ad\u0131m\u0131 bekleniyordu." },
0805:
0806: // Note to translators: A node test is part of an XPath expression that is
0807: // used to test for particular kinds of nodes. In this case, a node test that
0808: // consists of an NCName followed by a colon and an asterisk or that consists
0809: // of a QName was expected, but was not found.
0810:
0811: /** Problem with NodeTest */
0812: // public static final int ER_EXPECTED_NODE_TEST = 98;
0813: {
0814: ER_EXPECTED_NODE_TEST,
0815: "NCName:* ya da QName ile e\u015fle\u015fen bir d\u00fc\u011f\u00fcm s\u0131namas\u0131 bekleniyordu." },
0816:
0817: // Note to translators: A step pattern is part of an XPath expression.
0818: // The message indicates that syntactically such an expression was expected,
0819: // but the specified character was found in the expression instead.
0820:
0821: /** Expected step pattern */
0822: // public static final int ER_EXPECTED_STEP_PATTERN = 99;
0823: { ER_EXPECTED_STEP_PATTERN,
0824: "Ad\u0131m \u00f6r\u00fcnt\u00fcs\u00fc bekleniyordu, ancak '/' saptand\u0131." },
0825:
0826: // Note to translators: A relative path pattern is part of an XPath expression.
0827: // The message indicates that syntactically such an expression was expected,
0828: // but was not found.
0829:
0830: /** Expected relative path pattern */
0831: // public static final int ER_EXPECTED_REL_PATH_PATTERN = 100;
0832: { ER_EXPECTED_REL_PATH_PATTERN,
0833: "G\u00f6reli yol \u00f6r\u00fcnt\u00fcs\u00fc bekleniyordu." },
0834:
0835: // Note to translators: A QNAME has the syntactic form [NCName:]NCName
0836: // The localname is the portion after the optional colon; the message indicates
0837: // that there is a problem with that part of the QNAME.
0838:
0839: /** localname in QNAME should be a valid NCName */
0840: // public static final int ER_ARG_LOCALNAME_INVALID = 101;
0841: //{ ER_ARG_LOCALNAME_INVALID,
0842: // "Localname in QNAME should be a valid NCName"},
0843: // Note to translators: A QNAME has the syntactic form [NCName:]NCName
0844: // The prefix is the portion before the optional colon; the message indicates
0845: // that there is a problem with that part of the QNAME.
0846: /** prefix in QNAME should be a valid NCName */
0847: // public static final int ER_ARG_PREFIX_INVALID = 102;
0848: //{ ER_ARG_PREFIX_INVALID,
0849: // "Prefix in QNAME should be a valid NCName"},
0850: // Note to translators: The substitution text is the name of a data type. The
0851: // message indicates that a value of a particular type could not be converted
0852: // to a value of type string.
0853: /** Field ER_CANT_CONVERT_TO_BOOLEAN */
0854: // public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;
0855: { ER_CANT_CONVERT_TO_BOOLEAN,
0856: "{0} boole tipine d\u00f6n\u00fc\u015ft\u00fcr\u00fclemedi" },
0857:
0858: // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
0859: // FIRST_ORDERED_NODE_TYPE.
0860:
0861: /** Field ER_CANT_CONVERT_TO_SINGLENODE */
0862: //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;
0863: {
0864: ER_CANT_CONVERT_TO_SINGLENODE,
0865: "{0} tek d\u00fc\u011f\u00fcme d\u00f6n\u00fc\u015ft\u00fcr\u00fclemiyor. Bu alma y\u00f6ntemi (getter) ANY_UNORDERED_NODE_TYPE ve FIRST_ORDERED_NODE_TYPE tipleri i\u00e7in ge\u00e7erlidir." },
0866:
0867: // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
0868: // ORDERED_NODE_SNAPSHOT_TYPE.
0869:
0870: /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
0871: // public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;
0872: {
0873: ER_CANT_GET_SNAPSHOT_LENGTH,
0874: "Bu tip \u00fczerinde anl\u0131k g\u00f6r\u00fcn\u00fcm uzunlu\u011fu al\u0131nam\u0131yor: {0}. Bu alma y\u00f6ntemi (getter) UNORDERED_NODE_SNAPSHOT_TYPE ve ORDERED_NODE_SNAPSHOT_TYPE tipleri i\u00e7in ge\u00e7erlidir." },
0875:
0876: /** Field ER_NON_ITERATOR_TYPE */
0877: //public static final int ER_NON_ITERATOR_TYPE = 106;
0878: { ER_NON_ITERATOR_TYPE,
0879: "Yineleyici olmayan tip \u00fczerinde yinelenemez: {0}" },
0880:
0881: // Note to translators: This message indicates that the document being operated
0882: // upon changed, so the iterator object that was being used to traverse the
0883: // document has now become invalid.
0884:
0885: /** Field ER_DOC_MUTATED */
0886: // public static final int ER_DOC_MUTATED = 107;
0887: {
0888: ER_DOC_MUTATED,
0889: "Sonu\u00e7 d\u00f6nd\u00fcr\u00fcld\u00fckten sonra belge de\u011fi\u015ftirildi. Yineleyici ge\u00e7ersiz." },
0890:
0891: /** Field ER_INVALID_XPATH_TYPE */
0892: // public static final int ER_INVALID_XPATH_TYPE = 108;
0893: { ER_INVALID_XPATH_TYPE,
0894: "Ge\u00e7ersiz XPath tipi ba\u011f\u0131ms\u0131z de\u011fi\u015fkeni: {0}" },
0895:
0896: /** Field ER_EMPTY_XPATH_RESULT */
0897: // public static final int ER_EMPTY_XPATH_RESULT = 109;
0898: { ER_EMPTY_XPATH_RESULT,
0899: "Bo\u015f XPath sonu\u00e7 nesnesi" },
0900:
0901: /** Field ER_INCOMPATIBLE_TYPES */
0902: // public static final int ER_INCOMPATIBLE_TYPES = 110;
0903: { ER_INCOMPATIBLE_TYPES,
0904: "D\u00f6nd\u00fcr\u00fclen {0} tipi, belirtilen {1} tipine zorlanamaz." },
0905:
0906: /** Field ER_NULL_RESOLVER */
0907: // public static final int ER_NULL_RESOLVER = 111;
0908: {
0909: ER_NULL_RESOLVER,
0910: "Bo\u015f de\u011ferli \u00f6nek \u00e7\u00f6z\u00fcc\u00fcyle \u00f6nek \u00e7\u00f6z\u00fclemez." },
0911:
0912: // Note to translators: The substitution text is the name of a data type. The
0913: // message indicates that a value of a particular type could not be converted
0914: // to a value of type string.
0915:
0916: /** Field ER_CANT_CONVERT_TO_STRING */
0917: // public static final int ER_CANT_CONVERT_TO_STRING = 112;
0918: { ER_CANT_CONVERT_TO_STRING,
0919: "{0} bir dizgiye d\u00f6n\u00fc\u015ft\u00fcr\u00fclemiyor." },
0920:
0921: // Note to translators: Do not translate snapshotItem,
0922: // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
0923:
0924: /** Field ER_NON_SNAPSHOT_TYPE */
0925: // public static final int ER_NON_SNAPSHOT_TYPE = 113;
0926: {
0927: ER_NON_SNAPSHOT_TYPE,
0928: "{0} tipi \u00fczerinde snapshotItem \u00e7a\u011fr\u0131lam\u0131yor. Bu y\u00f6ntem UNORDERED_NODE_SNAPSHOT_TYPE ve ORDERED_NODE_SNAPSHOT_TYPE tipleri i\u00e7in ge\u00e7erlidir." },
0929:
0930: // Note to translators: XPathEvaluator is a Java interface name. An
0931: // XPathEvaluator is created with respect to a particular XML document, and in
0932: // this case the expression represented by this object was being evaluated with
0933: // respect to a context node from a different document.
0934:
0935: /** Field ER_WRONG_DOCUMENT */
0936: // public static final int ER_WRONG_DOCUMENT = 114;
0937: {
0938: ER_WRONG_DOCUMENT,
0939: "Ba\u011flam d\u00fc\u011f\u00fcm\u00fc, bu XPathEvaluator arabirimine ba\u011flanan belgeye ait de\u011fil." },
0940:
0941: // Note to translators: The XPath expression cannot be evaluated with respect
0942: // to this type of node.
0943: /** Field ER_WRONG_NODETYPE */
0944: // public static final int ER_WRONG_NODETYPE = 115;
0945: { ER_WRONG_NODETYPE,
0946: "Ba\u011flam d\u00fc\u011f\u00fcm\u00fc tipi desteklenmiyor." },
0947:
0948: /** Field ER_XPATH_ERROR */
0949: // public static final int ER_XPATH_ERROR = 116;
0950: { ER_XPATH_ERROR, "XPath i\u00e7inde bilinmeyen hata." },
0951:
0952: // Warnings...
0953:
0954: /** Field WG_LOCALE_NAME_NOT_HANDLED */
0955: // public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
0956: {
0957: WG_LOCALE_NAME_NOT_HANDLED,
0958: "format-number i\u015flevinde \u00fclke de\u011feri ad\u0131 hen\u00fcz i\u015flenmedi!" },
0959:
0960: /** Field WG_PROPERTY_NOT_SUPPORTED */
0961: // public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
0962: { WG_PROPERTY_NOT_SUPPORTED,
0963: "XSL \u00f6zelli\u011fi desteklenmiyor: {0}" },
0964:
0965: /** Field WG_DONT_DO_ANYTHING_WITH_NS */
0966: // public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
0967: {
0968: WG_DONT_DO_ANYTHING_WITH_NS,
0969: "{1} \u00f6zelli\u011findeki {0} ad alan\u0131yla \u015fu an hi\u00e7bir \u015fey yapmay\u0131n" },
0970:
0971: /** Field WG_SECURITY_EXCEPTION */
0972: // public static final int WG_SECURITY_EXCEPTION = 4;
0973: {
0974: WG_SECURITY_EXCEPTION,
0975: "{0} XSL sistem \u00f6zelli\u011fine eri\u015fme giri\u015fimi s\u0131ras\u0131nda SecurityException" },
0976:
0977: /** Field WG_QUO_NO_LONGER_DEFINED */
0978: // public static final int WG_QUO_NO_LONGER_DEFINED = 5;
0979: { WG_QUO_NO_LONGER_DEFINED,
0980: "Eski s\u00f6zdizimi: quo(...) art\u0131k XPath i\u00e7inde tan\u0131mlanmaz." },
0981:
0982: /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */
0983: // public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
0984: {
0985: WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
0986: "nodeTest uygulanmas\u0131 i\u00e7in XPath t\u00fcretilmi\u015f bir nesne gerektirir!" },
0987:
0988: /** Field WG_FUNCTION_TOKEN_NOT_FOUND */
0989: // public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
0990: { WG_FUNCTION_TOKEN_NOT_FOUND,
0991: "\u0130\u015flev simgesi bulunamad\u0131." },
0992:
0993: /** Field WG_COULDNOT_FIND_FUNCTION */
0994: // public static final int WG_COULDNOT_FIND_FUNCTION = 8;
0995: { WG_COULDNOT_FIND_FUNCTION,
0996: "\u0130\u015flev bulunamad\u0131: {0}" },
0997:
0998: /** Field WG_CANNOT_MAKE_URL_FROM */
0999: // public static final int WG_CANNOT_MAKE_URL_FROM = 9;
1000: { WG_CANNOT_MAKE_URL_FROM,
1001: "Dizgiden URL olu\u015fturulamad\u0131: {0}" },
1002:
1003: /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */
1004: // public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
1005: {
1006: WG_EXPAND_ENTITIES_NOT_SUPPORTED,
1007: "DTM ayr\u0131\u015ft\u0131r\u0131c\u0131s\u0131 i\u00e7in -E se\u00e7ene\u011fi desteklenmiyor" },
1008:
1009: /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
1010: // public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
1011: {
1012: WG_ILLEGAL_VARIABLE_REFERENCE,
1013: "De\u011fi\u015fken i\u00e7in belirtilen VariableReference ba\u011flam d\u0131\u015f\u0131 ya da tan\u0131ms\u0131z! Ad = {0}" },
1014:
1015: /** Field WG_UNSUPPORTED_ENCODING */
1016: // public static final int WG_UNSUPPORTED_ENCODING = 12;
1017: { WG_UNSUPPORTED_ENCODING,
1018: "Desteklenmeyen kodlama: {0}" },
1019:
1020: // Other miscellaneous text used inside the code...
1021: { "ui_language", "tr" },
1022: { "help_language", "tr" },
1023: { "language", "tr" },
1024: {
1025: "BAD_CODE",
1026: "createMessage i\u00e7in kullan\u0131lan de\u011fi\u015ftirge s\u0131n\u0131rlar\u0131n d\u0131\u015f\u0131nda" },
1027: {
1028: "FORMAT_FAILED",
1029: "messageFormat \u00e7a\u011fr\u0131s\u0131 s\u0131ras\u0131nda kural d\u0131\u015f\u0131 durum yay\u0131nland\u0131" },
1030: { "version", ">>>>>>> Xalan S\u00fcr\u00fcm " },
1031: { "version2", "<<<<<<<" },
1032: { "yes", "yes" },
1033: { "line", "Sat\u0131r #" },
1034: { "column", "Kolon #" },
1035: { "xsldone", "XSLProcessor: bitti" },
1036: { "xpath_option", "xpath se\u00e7enekleri: " },
1037: { "optionIN", " [-in inputXMLURL]" },
1038: { "optionSelect", " [-select xpath ifadesi]" },
1039: {
1040: "optionMatch",
1041: " [-match e\u015fle\u015fme \u00f6r\u00fcnt\u00fcs\u00fc (e\u015fle\u015fme tan\u0131lamas\u0131 i\u00e7in)]" },
1042: {
1043: "optionAnyExpr",
1044: "Ya da yaln\u0131zca xpath ifadesi de tan\u0131lama d\u00f6k\u00fcm\u00fc sa\u011flar" },
1045: { "noParsermsg1",
1046: "XSL i\u015flemi ba\u015far\u0131s\u0131z oldu." },
1047: { "noParsermsg2",
1048: "** Ayr\u0131\u015ft\u0131r\u0131c\u0131 bulunamad\u0131 **" },
1049: { "noParsermsg3",
1050: "L\u00fctfen classpath de\u011fi\u015fkeninizi inceleyin." },
1051: {
1052: "noParsermsg4",
1053: "Sisteminizde IBM XML Parser for Java arac\u0131 yoksa, \u015fu adresten y\u00fckleyebilirsiniz:" },
1054: { "noParsermsg5",
1055: "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml" },
1056: { "gtone", ">1" }, { "zero", "0" }, { "one", "1" },
1057: { "two", "2" }, { "three", "3" }
1058:
1059: };
1060: }
1061:
1062: // ================= INFRASTRUCTURE ======================
1063:
1064: /** Field BAD_CODE */
1065: public static final String BAD_CODE = "HATALI_KOD";
1066:
1067: /** Field FORMAT_FAILED */
1068: public static final String FORMAT_FAILED = "B\u0130\u00c7\u0130MLEME_BA\u015eARISIZ";
1069:
1070: /** Field ERROR_RESOURCES */
1071: public static final String ERROR_RESOURCES = "org.apache.xpath.res.XPATHErrorResources";
1072:
1073: /** Field ERROR_STRING */
1074: public static final String ERROR_STRING = "#hata";
1075:
1076: /** Field ERROR_HEADER */
1077: public static final String ERROR_HEADER = "Hata: ";
1078:
1079: /** Field WARNING_HEADER */
1080: public static final String WARNING_HEADER = "Uyar\u0131: ";
1081:
1082: /** Field XSL_HEADER */
1083: public static final String XSL_HEADER = "XSL ";
1084:
1085: /** Field XML_HEADER */
1086: public static final String XML_HEADER = "XML ";
1087:
1088: /** Field QUERY_HEADER */
1089: public static final String QUERY_HEADER = "\u00d6R\u00dcNT\u00dc ";
1090:
1091: /**
1092: * Return a named ResourceBundle for a particular locale. This method mimics the behavior
1093: * of ResourceBundle.getBundle().
1094: *
1095: * @param className Name of local-specific subclass.
1096: * @return the ResourceBundle
1097: * @throws MissingResourceException
1098: */
1099: public static final XPATHErrorResources loadResourceBundle(
1100: String className) throws MissingResourceException {
1101:
1102: Locale locale = Locale.getDefault();
1103: String suffix = getResourceSuffix(locale);
1104:
1105: try {
1106:
1107: // first try with the given locale
1108: return (XPATHErrorResources) ResourceBundle.getBundle(
1109: className + suffix, locale);
1110: } catch (MissingResourceException e) {
1111: try // try to fall back to en_US if we can't load
1112: {
1113:
1114: // Since we can't find the localized property file,
1115: // fall back to en_US.
1116: return (XPATHErrorResources) ResourceBundle.getBundle(
1117: className, new Locale("tr", "TR"));
1118: } catch (MissingResourceException e2) {
1119:
1120: // Now we are really in trouble.
1121: // very bad, definitely very bad...not going to get very far
1122: throw new MissingResourceException(
1123: "Could not load any resource bundles.",
1124: className, "");
1125: }
1126: }
1127: }
1128:
1129: /**
1130: * Return the resource file suffic for the indicated locale
1131: * For most locales, this will be based the language code. However
1132: * for Chinese, we do distinguish between Taiwan and PRC
1133: *
1134: * @param locale the locale
1135: * @return an String suffix which canbe appended to a resource name
1136: */
1137: private static final String getResourceSuffix(Locale locale) {
1138:
1139: String suffix = "_" + locale.getLanguage();
1140: String country = locale.getCountry();
1141:
1142: if (country.equals("TW"))
1143: suffix += "_" + country;
1144:
1145: return suffix;
1146: }
1147:
1148: }
|