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_fr.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_fr 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: { ER_CURRENT_NOT_ALLOWED_IN_MATCH,
0293: "La fonction current() n'est pas admise dans un motif de correspondance !" },
0294:
0295: /** Field ER_CURRENT_TAKES_NO_ARGS */
0296: //public static final int ER_CURRENT_TAKES_NO_ARGS = 2;
0297: { ER_CURRENT_TAKES_NO_ARGS,
0298: "La fonction current() n'accepte pas d'arguments !" },
0299:
0300: /** Field ER_DOCUMENT_REPLACED */
0301: // public static final int ER_DOCUMENT_REPLACED = 3;
0302: {
0303: ER_DOCUMENT_REPLACED,
0304: "L'impl\u00e9mentation de la fonction document() a \u00e9t\u00e9 remplac\u00e9e par org.apache.xalan.xslt.FuncDocument !" },
0305:
0306: /** Field ER_CONTEXT_HAS_NO_OWNERDOC */
0307: // public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4;
0308: { ER_CONTEXT_HAS_NO_OWNERDOC,
0309: "Le contexte ne poss\u00e8de pas de document propri\u00e9taire !" },
0310:
0311: /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
0312: // public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
0313: { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
0314: "local-name() poss\u00e8de trop d'arguments." },
0315:
0316: /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
0317: //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
0318: { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
0319: "namespace-uri() poss\u00e8de trop d'arguments." },
0320:
0321: /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
0322: // public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
0323: { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
0324: "normalize-space() poss\u00e8de trop d'arguments." },
0325:
0326: /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
0327: // public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
0328: { ER_NUMBER_HAS_TOO_MANY_ARGS,
0329: "number() poss\u00e8de trop d'arguments." },
0330:
0331: /** Field ER_NAME_HAS_TOO_MANY_ARGS */
0332: // public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
0333: { ER_NAME_HAS_TOO_MANY_ARGS,
0334: "name() poss\u00e8de trop d'arguments." },
0335:
0336: /** Field ER_STRING_HAS_TOO_MANY_ARGS */
0337: // public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
0338: { ER_STRING_HAS_TOO_MANY_ARGS,
0339: "string() poss\u00e8de trop d'arguments." },
0340:
0341: /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
0342: // public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
0343: { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
0344: "string-length() poss\u00e8de trop d'arguments." },
0345:
0346: /** Field ER_TRANSLATE_TAKES_3_ARGS */
0347: // public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
0348: { ER_TRANSLATE_TAKES_3_ARGS,
0349: "La fonction translate() accepte trois arguments !" },
0350:
0351: /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */
0352: // public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
0353: { ER_UNPARSEDENTITYURI_TAKES_1_ARG,
0354: "Un argument doit \u00eatre fournie \u00e0 la fonction unparsed-entity-uri !" },
0355:
0356: /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
0357: // public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
0358: { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
0359: "L'axe de l'espace de noms n'est pas impl\u00e9ment\u00e9 !" },
0360:
0361: /** Field ER_UNKNOWN_AXIS */
0362: // public static final int ER_UNKNOWN_AXIS = 15;
0363: { ER_UNKNOWN_AXIS, "axe inconnu : {0}" },
0364:
0365: /** Field ER_UNKNOWN_MATCH_OPERATION */
0366: // public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
0367: { ER_UNKNOWN_MATCH_OPERATION,
0368: "op\u00e9ration de correspondance inconnue !" },
0369:
0370: /** Field ER_INCORRECT_ARG_LENGTH */
0371: // public static final int ER_INCORRECT_ARG_LENGTH = 17;
0372: {
0373: ER_INCORRECT_ARG_LENGTH,
0374: "La longueur d'argument du test du noeud processing-instruction() n'est pas correcte !" },
0375:
0376: /** Field ER_CANT_CONVERT_TO_NUMBER */
0377: // public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
0378: { ER_CANT_CONVERT_TO_NUMBER,
0379: "Impossible de convertir {0} en un nombre" },
0380:
0381: /** Field ER_CANT_CONVERT_TO_NODELIST */
0382: //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
0383: { ER_CANT_CONVERT_TO_NODELIST,
0384: "Impossible de convertir {0} en un NodeList !" },
0385:
0386: /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */
0387: // public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
0388: { ER_CANT_CONVERT_TO_MUTABLENODELIST,
0389: "Impossible de convertir {0} en un NodeSetDTM !" },
0390:
0391: /** Field ER_CANT_CONVERT_TO_TYPE */
0392: // public static final int ER_CANT_CONVERT_TO_TYPE = 21;
0393: { ER_CANT_CONVERT_TO_TYPE,
0394: "Impossible de convertir {0} en un type#{1}" },
0395:
0396: /** Field ER_EXPECTED_MATCH_PATTERN */
0397: // public static final int ER_EXPECTED_MATCH_PATTERN = 22;
0398: { ER_EXPECTED_MATCH_PATTERN,
0399: "Motif de correspondance obligatoire dans getMatchScore !" },
0400:
0401: /** Field ER_COULDNOT_GET_VAR_NAMED */
0402: // public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
0403: { ER_COULDNOT_GET_VAR_NAMED,
0404: "Impossible d''extraire la variable {0}" },
0405:
0406: /** Field ER_UNKNOWN_OPCODE */
0407: // public static final int ER_UNKNOWN_OPCODE = 24;
0408: { ER_UNKNOWN_OPCODE,
0409: "ERREUR ! Code op\u00e9ration inconnu : {0}" },
0410:
0411: /** Field ER_EXTRA_ILLEGAL_TOKENS */
0412: // public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
0413: { ER_EXTRA_ILLEGAL_TOKENS,
0414: "Jetons incorrects suppl\u00e9mentaires : {0}" },
0415:
0416: /** Field ER_EXPECTED_DOUBLE_QUOTE */
0417: // public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
0418: { ER_EXPECTED_DOUBLE_QUOTE,
0419: "Erreur de guillemets dans un litt\u00e9ral... Guillemet double obligatoire !" },
0420:
0421: /** Field ER_EXPECTED_SINGLE_QUOTE */
0422: // public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
0423: { ER_EXPECTED_SINGLE_QUOTE,
0424: "Erreur de guillemets dans un litt\u00e9ral... Guillemet simple obligatoire !" },
0425:
0426: /** Field ER_EMPTY_EXPRESSION */
0427: // public static final int ER_EMPTY_EXPRESSION = 28;
0428: { ER_EMPTY_EXPRESSION, "Expression vide !" },
0429:
0430: /** Field ER_EXPECTED_BUT_FOUND */
0431: // public static final int ER_EXPECTED_BUT_FOUND = 29;
0432: { ER_EXPECTED_BUT_FOUND,
0433: "{1} a \u00e9t\u00e9 trouv\u00e9 alors que {0} \u00e9tait attendu :" },
0434:
0435: /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */
0436: // public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
0437: { ER_INCORRECT_PROGRAMMER_ASSERTION,
0438: "Assertion de programme incorrecte ! - {0}" },
0439:
0440: /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */
0441: // public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
0442: {
0443: ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
0444: "L'argument bool\u00e9en(...) n'est plus optionnel avec le document de normalisation XPath 19990709." },
0445:
0446: /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */
0447: // public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
0448: { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
0449: "Virgule trouv\u00e9e sans argument qui la pr\u00e9c\u00e8de !" },
0450:
0451: /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */
0452: // public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
0453: { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
0454: "Virgule trouv\u00e9e sans argument qui la suit !" },
0455:
0456: /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
0457: // public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
0458: {
0459: ER_PREDICATE_ILLEGAL_SYNTAX,
0460: "''..La syntaxe ''[pr\u00e9dicat]'' ou ''.[pr\u00e9dicat]'' est incorrecte. Pr\u00e9f\u00e9rez ''self::node()[pr\u00e9dicat]''." },
0461:
0462: /** Field ER_ILLEGAL_AXIS_NAME */
0463: // public static final int ER_ILLEGAL_AXIS_NAME = 35;
0464: { ER_ILLEGAL_AXIS_NAME, "nom d''axe incorrect : {0}" },
0465:
0466: /** Field ER_UNKNOWN_NODETYPE */
0467: // public static final int ER_UNKNOWN_NODETYPE = 36;
0468: { ER_UNKNOWN_NODETYPE, "Type de noeud inconnu : {0}" },
0469:
0470: /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */
0471: // public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
0472: { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
0473: "Le litt\u00e9ral de motif ({0}) doit figurer entre guillemets !" },
0474:
0475: /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */
0476: // public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
0477: { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
0478: "{0} ne peut \u00eatre format\u00e9e sous forme num\u00e9rique !" },
0479:
0480: /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
0481: // public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
0482: { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
0483: "Impossible de cr\u00e9er XML TransformerFactory Liaison : {0}" },
0484:
0485: /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */
0486: // public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
0487: {
0488: ER_DIDNOT_FIND_XPATH_SELECT_EXP,
0489: "Erreur ! Impossible de trouver l'expression de s\u00e9lection xpath (-select)." },
0490:
0491: /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
0492: // public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
0493: { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
0494: "ERREUR ! Impossible de trouver ENDOP apr\u00e8s OP_LOCATIONPATH" },
0495:
0496: /** Field ER_ERROR_OCCURED */
0497: // public static final int ER_ERROR_OCCURED = 42;
0498: { ER_ERROR_OCCURED, "Une erreur s'est produite !" },
0499:
0500: /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
0501: // public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
0502: {
0503: ER_ILLEGAL_VARIABLE_REFERENCE,
0504: "R\u00e9f\u00e9rence de la variable hors contexte ou sans d\u00e9finition ! Nom = {0}" },
0505:
0506: /** Field ER_AXES_NOT_ALLOWED */
0507: // public static final int ER_AXES_NOT_ALLOWED = 44;
0508: {
0509: ER_AXES_NOT_ALLOWED,
0510: "Seuls les axes child:: et attribute:: sont autoris\u00e9s dans des motifs de correspondance ! Axes incorrects= {0}" },
0511:
0512: /** Field ER_KEY_HAS_TOO_MANY_ARGS */
0513: // public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
0514: { ER_KEY_HAS_TOO_MANY_ARGS,
0515: "key() poss\u00e8de un nombre non valide d'arguments." },
0516:
0517: /** Field ER_COUNT_TAKES_1_ARG */
0518: // public static final int ER_COUNT_TAKES_1_ARG = 46;
0519: { ER_COUNT_TAKES_1_ARG,
0520: "Un seul argument doit \u00eatre fourni \u00e0 la fonction count !" },
0521:
0522: /** Field ER_COULDNOT_FIND_FUNCTION */
0523: // public static final int ER_COULDNOT_FIND_FUNCTION = 47;
0524: { ER_COULDNOT_FIND_FUNCTION,
0525: "Impossible de trouver la fonction : {0}" },
0526:
0527: /** Field ER_UNSUPPORTED_ENCODING */
0528: // public static final int ER_UNSUPPORTED_ENCODING = 48;
0529: { ER_UNSUPPORTED_ENCODING,
0530: "Code non pris en charge : {0}" },
0531:
0532: /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */
0533: // public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
0534: {
0535: ER_PROBLEM_IN_DTM_NEXTSIBLING,
0536: "Une erreur s'est produite dans la DTM de getNextSibling... Tentative de reprise en cours" },
0537:
0538: /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */
0539: // public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
0540: { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
0541: "Erreur de programme : Ecriture impossible dans EmptyNodeList." },
0542:
0543: /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
0544: // public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
0545: { ER_SETDOMFACTORY_NOT_SUPPORTED,
0546: "SetDOMFactory n'est pas pris en charge par XPathContext !" },
0547:
0548: /** Field ER_PREFIX_MUST_RESOLVE */
0549: // public static final int ER_PREFIX_MUST_RESOLVE = 52;
0550: { ER_PREFIX_MUST_RESOLVE,
0551: "Le pr\u00e9fixe doit se convertir en espace de noms : {0}" },
0552:
0553: /** Field ER_PARSE_NOT_SUPPORTED */
0554: // public static final int ER_PARSE_NOT_SUPPORTED = 53;
0555: {
0556: ER_PARSE_NOT_SUPPORTED,
0557: "parse (InputSource source) non pris en charge dans XPathContext ! Ouverture de {0} impossible" },
0558:
0559: /** Field ER_CREATEDOCUMENT_NOT_SUPPORTED */
0560: // public static final int ER_CREATEDOCUMENT_NOT_SUPPORTED = 54;
0561: //{ ER_CREATEDOCUMENT_NOT_SUPPORTED,
0562: // "createDocument() not supported in XPathContext!"},
0563: /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT */
0564: // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT = 55;
0565: //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT,
0566: // "Attribute child does not have an owner document!"},
0567: /** Field ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT */
0568: // public static final int ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = 56;
0569: //{ ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT,
0570: // "Attribute child does not have an owner document element!"},
0571: /** Field ER_SAX_API_NOT_HANDLED */
0572: // public static final int ER_SAX_API_NOT_HANDLED = 57;
0573: { ER_SAX_API_NOT_HANDLED,
0574: "Caract\u00e8res (char ch[]...) de l'API SAX non pris en charge par le DTM !" },
0575:
0576: /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */
0577: //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
0578: { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
0579: "ignorableWhitespace(char ch[]... non pris en charge par le DTM !" },
0580:
0581: /** Field ER_DTM_CANNOT_HANDLE_NODES */
0582: // public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
0583: { ER_DTM_CANNOT_HANDLE_NODES,
0584: "DTMLiaison ne prend pas en charge des noeuds de type {0}" },
0585:
0586: /** Field ER_XERCES_CANNOT_HANDLE_NODES */
0587: // public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
0588: { ER_XERCES_CANNOT_HANDLE_NODES,
0589: "DOM2Helper ne prend pas en charge des noeuds de type {0}" },
0590:
0591: /** Field ER_XERCES_PARSE_ERROR_DETAILS */
0592: // public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
0593: { ER_XERCES_PARSE_ERROR_DETAILS,
0594: "Erreur de DOM2Helper.parse : ID syst\u00e8me - {0} ligne - {1}" },
0595:
0596: /** Field ER_XERCES_PARSE_ERROR */
0597: // public static final int ER_XERCES_PARSE_ERROR = 62;
0598: { ER_XERCES_PARSE_ERROR, "Erreur de DOM2Helper.parse" },
0599:
0600: /** Field ER_CANT_OUTPUT_TEXT_BEFORE_DOC */
0601: // public static final int ER_CANT_OUTPUT_TEXT_BEFORE_DOC = 63;
0602: //{ ER_CANT_OUTPUT_TEXT_BEFORE_DOC,
0603: // "Warning: can't output text before document element! Ignoring..."},
0604: /** Field ER_CANT_HAVE_MORE_THAN_ONE_ROOT */
0605: // public static final int ER_CANT_HAVE_MORE_THAN_ONE_ROOT = 64;
0606: //{ ER_CANT_HAVE_MORE_THAN_ONE_ROOT,
0607: // "Can't have more than one root on a DOM!"},
0608: /** Field ER_INVALID_UTF16_SURROGATE */
0609: // public static final int ER_INVALID_UTF16_SURROGATE = 65;
0610: { ER_INVALID_UTF16_SURROGATE,
0611: "Substitut UTF-16 non valide d\u00e9tect\u00e9 : {0} ?" },
0612:
0613: /** Field ER_OIERROR */
0614: //public static final int ER_OIERROR = 66;
0615: { ER_OIERROR, "Erreur d'E-S" },
0616:
0617: /** Field ER_CANNOT_CREATE_URL */
0618: //public static final int ER_CANNOT_CREATE_URL = 67;
0619: { ER_CANNOT_CREATE_URL,
0620: "Impossible de cr\u00e9er une URL pour : {0}" },
0621:
0622: /** Field ER_XPATH_READOBJECT */
0623: // public static final int ER_XPATH_READOBJECT = 68;
0624: { ER_XPATH_READOBJECT, "Dans XPath.readObject : {0}" },
0625:
0626: /** Field ER_FUNCTION_TOKEN_NOT_FOUND */
0627: // public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
0628: { ER_FUNCTION_TOKEN_NOT_FOUND,
0629: "jeton de fonction introuvable." },
0630:
0631: /** Argument 'localName' is null */
0632: // public static final int ER_ARG_LOCALNAME_NULL = 70;
0633: //{ ER_ARG_LOCALNAME_NULL,
0634: // "Argument 'localName' is null"},
0635: /** Can not deal with XPath type: */
0636: // public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
0637: { ER_CANNOT_DEAL_XPATH_TYPE,
0638: "Impossible de traiter le type XPath : {0}" },
0639:
0640: /** This NodeSet is not mutable */
0641: // public static final int ER_NODESET_NOT_MUTABLE = 72;
0642: { ER_NODESET_NOT_MUTABLE, "NodeSet indivisible" },
0643:
0644: /** This NodeSetDTM is not mutable */
0645: // public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
0646: { ER_NODESETDTM_NOT_MUTABLE, "NodeSetDTM indivisible" },
0647:
0648: /** Variable not resolvable: */
0649: // public static final int ER_VAR_NOT_RESOLVABLE = 74;
0650: { ER_VAR_NOT_RESOLVABLE,
0651: "Impossible de r\u00e9soudre la variable : {0}" },
0652:
0653: /** Null error handler */
0654: // public static final int ER_NULL_ERROR_HANDLER = 75;
0655: { ER_NULL_ERROR_HANDLER, "Gestionnaire d'erreurs vide" },
0656:
0657: /** Programmer's assertion: unknown opcode */
0658: // public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
0659: { ER_PROG_ASSERT_UNKNOWN_OPCODE,
0660: "Assertion de programme : code op\u00e9ration inconnu : {0}" },
0661:
0662: /** 0 or 1 */
0663: // public static final int ER_ZERO_OR_ONE = 77;
0664: { ER_ZERO_OR_ONE, "0 ou 1" },
0665:
0666: /** rtf() not supported by XRTreeFragSelectWrapper */
0667: //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
0668: { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0669: "rtf() non pris en charge par XRTreeFragSelectWrapper" },
0670:
0671: /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
0672: //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
0673: { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
0674: "asNodeIterator() non pris en charge par XRTreeFragSelectWrapper" },
0675:
0676: /** fsb() not supported for XStringForChars */
0677: // public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
0678: { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
0679: "fsb() non pris en charge par XStringForChars" },
0680:
0681: /** Could not find variable with the name of */
0682: // public static final int ER_COULD_NOT_FIND_VAR = 81;
0683: { ER_COULD_NOT_FIND_VAR,
0684: "Impossible de trouver la variable portant le nom {0}" },
0685:
0686: /** XStringForChars can not take a string for an argument */
0687: // public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
0688: { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
0689: "XStringForChars n'accepte pas de cha\u00eene comme argument" },
0690:
0691: /** The FastStringBuffer argument can not be null */
0692: // public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
0693: { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
0694: "L'argument FastStringBuffer ne doit pas \u00eatre vide" },
0695:
0696: /* MANTIS_XALAN CHANGE: BEGIN */
0697: /** 2 or 3 */
0698: // public static final int ER_TWO_OR_THREE = 84;
0699: { ER_TWO_OR_THREE, "2 ou 3" },
0700:
0701: /** Variable accessed before it is bound! */
0702: // public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
0703: {
0704: ER_VARIABLE_ACCESSED_BEFORE_BIND,
0705: "L'acc\u00e8s \u00e0 la variable a pr\u00e9c\u00e9d\u00e9 la liaison de celle-ci !" },
0706:
0707: /** XStringForFSB can not take a string for an argument! */
0708: // public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
0709: { ER_FSB_CANNOT_TAKE_STRING,
0710: "XStringForFSB n'accepte pas de cha\u00eene comme argument !" },
0711:
0712: /** Error! Setting the root of a walker to null! */
0713: // public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
0714: {
0715: ER_SETTING_WALKER_ROOT_TO_NULL,
0716: "\n !!!! Erreur ! D\u00e9finition d'une valeur nulle pour la racine d'un \u00e9l\u00e9ment walker !!!" },
0717:
0718: /** This NodeSetDTM can not iterate to a previous node! */
0719: // public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
0720: {
0721: ER_NODESETDTM_CANNOT_ITERATE,
0722: "Ce NodeSetDTM ne permet pas d'it\u00e9ration vers un noeud pr\u00e9c\u00e9dent !" },
0723:
0724: /** This NodeSet can not iterate to a previous node! */
0725: // public static final int ER_NODESET_CANNOT_ITERATE = 89;
0726: { ER_NODESET_CANNOT_ITERATE,
0727: "Ce NodeSet ne permet pas d'it\u00e9ration vers un noeud pr\u00e9c\u00e9dent !" },
0728:
0729: /** This NodeSetDTM can not do indexing or counting functions! */
0730: // public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
0731: {
0732: ER_NODESETDTM_CANNOT_INDEX,
0733: "Ce NodeSetDTM ne peut pas effectuer de fonctions d'indexage ou de d\u00e9nombrement !" },
0734:
0735: /** This NodeSet can not do indexing or counting functions! */
0736: // public static final int ER_NODESET_CANNOT_INDEX = 91;
0737: {
0738: ER_NODESET_CANNOT_INDEX,
0739: "Ce NodeSet ne peut pas effectuer de fonctions d'indexage ou de d\u00e9nombrement !" },
0740:
0741: /** Can not call setShouldCacheNodes after nextNode has been called! */
0742: // public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
0743: { ER_CANNOT_CALL_SETSHOULDCACHENODE,
0744: "Impossible d'appeler setShouldCacheNodes apr\u00e8s nextNode !" },
0745:
0746: /** {0} only allows {1} arguments */
0747: // public static final int ER_ONLY_ALLOWS = 93;
0748: { ER_ONLY_ALLOWS,
0749: "{0} accepte uniquement {1} arguments" },
0750:
0751: /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
0752: // public static final int ER_UNKNOWN_STEP = 94;
0753: { ER_UNKNOWN_STEP,
0754: "Assertion du programmeur dans getNextStepPos : stepType inconnu : {0}" },
0755:
0756: //Note to translators: A relative location path is a form of XPath expression.
0757: // The message indicates that such an expression was expected following the
0758: // characters '/' or '//', but was not found.
0759:
0760: /** Problem with RelativeLocationPath */
0761: // public static final int ER_EXPECTED_REL_LOC_PATH = 95;
0762: {
0763: ER_EXPECTED_REL_LOC_PATH,
0764: "Un chemin d'emplacement relatif \u00e9tait attendu apr\u00e8s le jeton ''/'' ou ''//''." },
0765:
0766: // Note to translators: A location path is a form of XPath expression.
0767: // The message indicates that syntactically such an expression was expected,but
0768: // the characters specified by the substitution text were encountered instead.
0769:
0770: /** Problem with LocationPath */
0771: // public static final int ER_EXPECTED_LOC_PATH = 96;
0772: {
0773: ER_EXPECTED_LOC_PATH,
0774: "Un chemin d'emplacement \u00e9tait attendu, mais le jeton suivant a \u00e9t\u00e9 d\u00e9tect\u00e9 : {0}" },
0775:
0776: // Note to translators: A location step is part of an XPath expression.
0777: // The message indicates that syntactically such an expression was expected
0778: // following the specified characters.
0779:
0780: /** Problem with Step */
0781: // public static final int ER_EXPECTED_LOC_STEP = 97;
0782: {
0783: ER_EXPECTED_LOC_STEP,
0784: "Une \u00e9tape d'emplacement \u00e9tait attendue apr\u00e8s le jeton ''/'' ou ''//''." },
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: { ER_EXPECTED_NODE_TEST,
0794: "Un test de noeud correspondant \u00e0 NCName:* ou QName \u00e9tait attendu." },
0795:
0796: // Note to translators: A step pattern is part of an XPath expression.
0797: // The message indicates that syntactically such an expression was expected,
0798: // but the specified character was found in the expression instead.
0799:
0800: /** Expected step pattern */
0801: // public static final int ER_EXPECTED_STEP_PATTERN = 99;
0802: {
0803: ER_EXPECTED_STEP_PATTERN,
0804: "Un mod\u00e8le d'\u00e9tape \u00e9tait attendu, mais ''/'' a \u00e9t\u00e9 d\u00e9tect\u00e9." },
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: "Un mod\u00e8le de chemin relatif \u00e9tait attendu." },
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: "Conversion impossible de {0} en valeur bool\u00e9enne." },
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: "Conversion impossible de {0} en noeud unique. Ce getter s''applique aux types ANY_UNORDERED_NODE_TYPE et 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: "Obtention impossible de la longueur d''image instantan\u00e9e sur le type : {0}. Ce getter s''applique aux types UNORDERED_NODE_SNAPSHOT_TYPE et 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: "It\u00e9ration impossible sur un type de programme de non it\u00e9ration : {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: "Mutation du document depuis le renvoi du r\u00e9sultat. L'it\u00e9rateur est incorrect." },
0871:
0872: /** Field ER_INVALID_XPATH_TYPE */
0873: // public static final int ER_INVALID_XPATH_TYPE = 108;
0874: { ER_INVALID_XPATH_TYPE,
0875: "Argument de type XPath incorrect : {0}" },
0876:
0877: /** Field ER_EMPTY_XPATH_RESULT */
0878: // public static final int ER_EMPTY_XPATH_RESULT = 109;
0879: { ER_EMPTY_XPATH_RESULT,
0880: "Objet r\u00e9sultat XPath vide" },
0881:
0882: /** Field ER_INCOMPATIBLE_TYPES */
0883: // public static final int ER_INCOMPATIBLE_TYPES = 110;
0884: {
0885: ER_INCOMPATIBLE_TYPES,
0886: "Le type renvoy\u00e9 : {0} ne peut pas \u00eatre forc\u00e9 dans le type sp\u00e9cifi\u00e9 : {1}" },
0887:
0888: /** Field ER_NULL_RESOLVER */
0889: // public static final int ER_NULL_RESOLVER = 111;
0890: {
0891: ER_NULL_RESOLVER,
0892: "Conversion impossible du pr\u00e9fixe avec un solveur de pr\u00e9fixe de valeur nulle." },
0893:
0894: // Note to translators: The substitution text is the name of a data type. The
0895: // message indicates that a value of a particular type could not be converted
0896: // to a value of type string.
0897:
0898: /** Field ER_CANT_CONVERT_TO_STRING */
0899: // public static final int ER_CANT_CONVERT_TO_STRING = 112;
0900: { ER_CANT_CONVERT_TO_STRING,
0901: "Conversion impossible de {0} en cha\u00eene." },
0902:
0903: // Note to translators: Do not translate snapshotItem,
0904: // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
0905:
0906: /** Field ER_NON_SNAPSHOT_TYPE */
0907: // public static final int ER_NON_SNAPSHOT_TYPE = 113;
0908: {
0909: ER_NON_SNAPSHOT_TYPE,
0910: "Appel impossible de snapshotItem sur le type : {0}. Cette m\u00e9thode s''applique aux types UNORDERED_NODE_SNAPSHOT_TYPE et ORDERED_NODE_SNAPSHOT_TYPE." },
0911:
0912: // Note to translators: XPathEvaluator is a Java interface name. An
0913: // XPathEvaluator is created with respect to a particular XML document, and in
0914: // this case the expression represented by this object was being evaluated with
0915: // respect to a context node from a different document.
0916:
0917: /** Field ER_WRONG_DOCUMENT */
0918: // public static final int ER_WRONG_DOCUMENT = 114;
0919: {
0920: ER_WRONG_DOCUMENT,
0921: "Le noeud de contexte n'appartient pas au document li\u00e9 \u00e0 ce XPathEvaluator." },
0922:
0923: // Note to translators: The XPath expression cannot be evaluated with respect
0924: // to this type of node.
0925: /** Field ER_WRONG_NODETYPE */
0926: // public static final int ER_WRONG_NODETYPE = 115;
0927: { ER_WRONG_NODETYPE,
0928: "Le type de noeud contextuel n'est pas pris en charge." },
0929:
0930: /** Field ER_XPATH_ERROR */
0931: // public static final int ER_XPATH_ERROR = 116;
0932: { ER_XPATH_ERROR,
0933: "Erreur inconnue d\u00e9tect\u00e9e dans XPath." },
0934:
0935: // Warnings...
0936:
0937: /** Field WG_LOCALE_NAME_NOT_HANDLED */
0938: // public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
0939: {
0940: WG_LOCALE_NAME_NOT_HANDLED,
0941: "Le nom d'environnement local de la fonction format-number n'est pas encore pris en charge." },
0942:
0943: /** Field WG_PROPERTY_NOT_SUPPORTED */
0944: // public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
0945: { WG_PROPERTY_NOT_SUPPORTED,
0946: "Propri\u00e9t\u00e9 XSL non prise en charge : {0}" },
0947:
0948: /** Field WG_DONT_DO_ANYTHING_WITH_NS */
0949: // public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
0950: { WG_DONT_DO_ANYTHING_WITH_NS,
0951: "Espace de noms {0} inexploitable dans la propri\u00e9t\u00e9 : {1}" },
0952:
0953: /** Field WG_SECURITY_EXCEPTION */
0954: // public static final int WG_SECURITY_EXCEPTION = 4;
0955: {
0956: WG_SECURITY_EXCEPTION,
0957: "Une exception de s\u00e9curit\u00e9 s''est produite lors de l''acc\u00e8s \u00e0 la propri\u00e9t\u00e9 : {0}" },
0958:
0959: /** Field WG_QUO_NO_LONGER_DEFINED */
0960: // public static final int WG_QUO_NO_LONGER_DEFINED = 5;
0961: { WG_QUO_NO_LONGER_DEFINED,
0962: "L'ancienne syntaxe : quo(...) n'est plus d\u00e9finie dans XPath." },
0963:
0964: /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */
0965: // public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
0966: { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
0967: "XPath requiert un objet d\u00e9riv\u00e9 pour impl\u00e9menter nodeTest !" },
0968:
0969: /** Field WG_FUNCTION_TOKEN_NOT_FOUND */
0970: // public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
0971: { WG_FUNCTION_TOKEN_NOT_FOUND,
0972: "jeton de fonction introuvable." },
0973:
0974: /** Field WG_COULDNOT_FIND_FUNCTION */
0975: // public static final int WG_COULDNOT_FIND_FUNCTION = 8;
0976: { WG_COULDNOT_FIND_FUNCTION,
0977: "Impossible de trouver la fonction : {0}" },
0978:
0979: /** Field WG_CANNOT_MAKE_URL_FROM */
0980: // public static final int WG_CANNOT_MAKE_URL_FROM = 9;
0981: { WG_CANNOT_MAKE_URL_FROM,
0982: "Impossible de cr\u00e9er l''URL \u00e0 partir de : {0}" },
0983:
0984: /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */
0985: // public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
0986: { WG_EXPAND_ENTITIES_NOT_SUPPORTED,
0987: "L'option -E n'est pas prise en charge pour l'analyseur DTM" },
0988:
0989: /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
0990: // public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
0991: {
0992: WG_ILLEGAL_VARIABLE_REFERENCE,
0993: "R\u00e9f\u00e9rence de la variable hors contexte ou sans d\u00e9finition ! Nom = {0}" },
0994:
0995: /** Field WG_UNSUPPORTED_ENCODING */
0996: // public static final int WG_UNSUPPORTED_ENCODING = 12;
0997: { WG_UNSUPPORTED_ENCODING,
0998: "Codage non pris en charge : {0}" },
0999:
1000: // Other miscellaneous text used inside the code...
1001: { "ui_language", "en" },
1002: { "help_language", "en" },
1003: { "language", "en" },
1004: { "BAD_CODE",
1005: "Le param\u00e8tre de createMessage se trouve hors limites" },
1006: { "FORMAT_FAILED",
1007: "Exception soulev\u00e9e lors de l'appel de messageFormat" },
1008: { "version", ">>>>>>> Version de Xalan " },
1009: { "version2", "<<<<<<<" },
1010: { "yes", "oui" },
1011: { "line", "Ligne #" },
1012: { "column", "Colonne #" },
1013: { "xsldone", "XSLProcessor : termin\u00e9" },
1014: { "xpath_option", "options xpath : " },
1015: { "optionIN", " [-in URLXMLentr\u00e9e]" },
1016: { "optionSelect", " [-select expression xpath]" },
1017: { "optionMatch",
1018: " [-match motif de correspondance (diagnostics)]" },
1019: { "optionAnyExpr",
1020: "Une expression xpath effectuera un vidage de diagnostics" },
1021: { "noParsermsg1", "Echec du processus XSL." },
1022: { "noParsermsg2", "** Analyseur introuvable **" },
1023: { "noParsermsg3",
1024: "V\u00e9rifiez le chemin d'acc\u00e8s des classes." },
1025: { "noParsermsg4",
1026: "XML Parser for Java disponible en t\u00e9l\u00e9chargement sur le site" },
1027: { "noParsermsg5",
1028: "AlphaWorks de IBM : http://www.alphaworks.ibm.com/formula/xml" },
1029: { "gtone", ">1" }, { "zero", "0" }, { "one", "1" },
1030: { "two", "2" }, { "three", "3" }
1031:
1032: };
1033: }
1034:
1035: // ================= INFRASTRUCTURE ======================
1036:
1037: /** Field BAD_CODE */
1038: public static final String BAD_CODE = "BAD_CODE";
1039:
1040: /** Field FORMAT_FAILED */
1041: public static final String FORMAT_FAILED = "FORMAT_FAILED";
1042:
1043: /** Field ERROR_RESOURCES */
1044: public static final String ERROR_RESOURCES = "org.apache.xpath.res.XPATHErrorResources";
1045:
1046: /** Field ERROR_STRING */
1047: public static final String ERROR_STRING = "#error";
1048:
1049: /** Field ERROR_HEADER */
1050: public static final String ERROR_HEADER = "Erreur : ";
1051:
1052: /** Field WARNING_HEADER */
1053: public static final String WARNING_HEADER = "Avertissement : ";
1054:
1055: /** Field XSL_HEADER */
1056: public static final String XSL_HEADER = "XSL ";
1057:
1058: /** Field XML_HEADER */
1059: public static final String XML_HEADER = "XML ";
1060:
1061: /** Field QUERY_HEADER */
1062: public static final String QUERY_HEADER = "PATTERN ";
1063:
1064: /**
1065: * Return a named ResourceBundle for a particular locale. This method mimics the behavior
1066: * of ResourceBundle.getBundle().
1067: *
1068: * @param className Name of local-specific subclass.
1069: * @return the ResourceBundle
1070: * @throws MissingResourceException
1071: */
1072: public static final XPATHErrorResources loadResourceBundle(
1073: String className) throws MissingResourceException {
1074:
1075: Locale locale = Locale.getDefault();
1076: String suffix = getResourceSuffix(locale);
1077:
1078: try {
1079:
1080: // first try with the given locale
1081: return (XPATHErrorResources) ResourceBundle.getBundle(
1082: className + suffix, locale);
1083: } catch (MissingResourceException e) {
1084: try // try to fall back to en_US if we can't load
1085: {
1086:
1087: // Since we can't find the localized property file,
1088: // fall back to en_US.
1089: return (XPATHErrorResources) ResourceBundle.getBundle(
1090: className, new Locale("en", "US"));
1091: } catch (MissingResourceException e2) {
1092:
1093: // Now we are really in trouble.
1094: // very bad, definitely very bad...not going to get very far
1095: throw new MissingResourceException(
1096: "Could not load any resource bundles.",
1097: className, "");
1098: }
1099: }
1100: }
1101:
1102: /**
1103: * Return the resource file suffic for the indicated locale
1104: * For most locales, this will be based the language code. However
1105: * for Chinese, we do distinguish between Taiwan and PRC
1106: *
1107: * @param locale the locale
1108: * @return an String suffix which canbe appended to a resource name
1109: */
1110: private static final String getResourceSuffix(Locale locale) {
1111:
1112: String suffix = "_" + locale.getLanguage();
1113: String country = locale.getCountry();
1114:
1115: if (country.equals("TW"))
1116: suffix += "_" + country;
1117:
1118: return suffix;
1119: }
1120:
1121: }
|