/* * Copyright 1999-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* * $Id: XPATHErrorResources_sv.java,v 1.7 2004/02/17 04:36:46 minchau Exp $ */ package com.sun.org.apache.xpath.internal.res; /** * Set up error messages. * We build a two dimensional array of message keys and * message strings. In order to add a new message here, * you need to first add a Static string constant for the * Key and update the contents array with Key, Value pair * Also you need to update the count of messages(MAX_CODE)or * the count of warnings(MAX_WARNING) [ Information purpose only] * @xsl.usage advanced */ public class XPATHErrorResources_sv extends XPATHErrorResources { /** Field MAX_CODE */ public static final int MAX_CODE = 108; // this is needed to keep track of the number of messages /** Field MAX_WARNING */ public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings /** Field MAX_OTHERS */ public static final int MAX_OTHERS = 20; /** Field MAX_MESSAGES */ public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; // Error messages... public static final Object[][] contents = { /** Field ERROR0000 */ //public static final int ERROR0000 = 0; { "ERROR0000", "{0}"}, /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH */ //public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1; { ER_CURRENT_NOT_ALLOWED_IN_MATCH, "Funktionen current() \u00e4r inte till\u00e5ten i ett matchningsm\u00f6nster!"}, /** Field ER_CURRENT_TAKES_NO_ARGS */ //public static final int ER_CURRENT_TAKES_NO_ARGS = 2; { ER_CURRENT_TAKES_NO_ARGS, "Funktionen current() tar inte emot argument!"}, /** Field ER_DOCUMENT_REPLACED */ //public static final int ER_DOCUMENT_REPLACED = 3; { ER_DOCUMENT_REPLACED, "Implementeringen av funktionen document() har ersatts av com.sun.org.apache.xalan.internal.xslt.FuncDocument!"}, /** Field ER_CONTEXT_HAS_NO_OWNERDOC */ //public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4; { ER_CONTEXT_HAS_NO_OWNERDOC, "Kontext saknar \u00e4gardokument!"}, /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */ //public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5; { ER_LOCALNAME_HAS_TOO_MANY_ARGS, "local-name() har f\u00f6r m\u00e5nga argument."}, /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */ //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6; { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS, "namespace-uri() har f\u00f6r m\u00e5nga argument."}, /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */ //public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7; { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS, "normalize-space() har f\u00f6r m\u00e5nga argument."}, /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */ //public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8; { ER_NUMBER_HAS_TOO_MANY_ARGS, "number() har f\u00f6r m\u00e5nga argument."}, /** Field ER_NAME_HAS_TOO_MANY_ARGS */ //public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9; { ER_NAME_HAS_TOO_MANY_ARGS, "name() har f\u00f6r m\u00e5nga argument."}, /** Field ER_STRING_HAS_TOO_MANY_ARGS */ //public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10; { ER_STRING_HAS_TOO_MANY_ARGS, "string() har f\u00f6r m\u00e5nga argument."}, /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */ //public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11; { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS, "string.length() har f\u00f6r m\u00e5nga argument."}, /** Field ER_TRANSLATE_TAKES_3_ARGS */ //public static final int ER_TRANSLATE_TAKES_3_ARGS = 12; { ER_TRANSLATE_TAKES_3_ARGS, "Funktionen translate() tar emot tre argument!"}, /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */ //public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13; { ER_UNPARSEDENTITYURI_TAKES_1_ARG, "Funktionen unparsed-entity-uri borde ta emot ett argument!"}, /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */ //public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14; { ER_NAMESPACEAXIS_NOT_IMPLEMENTED, "Namespace-axel inte implementerad \u00e4n!"}, /** Field ER_UNKNOWN_AXIS */ //public static final int ER_UNKNOWN_AXIS = 15; { ER_UNKNOWN_AXIS, "ok\u00e4nd axel: {0}"}, /** Field ER_UNKNOWN_MATCH_OPERATION */ //public static final int ER_UNKNOWN_MATCH_OPERATION = 16; { ER_UNKNOWN_MATCH_OPERATION, "ok\u00e4nd matchningshandling!"}, /** Field ER_INCORRECT_ARG_LENGTH */ //public static final int ER_INCORRECT_ARG_LENGTH = 17; { ER_INCORRECT_ARG_LENGTH, "Nodtests argumentl\u00e4ngd i processing-instruction() \u00e4r inte korrekt!"}, /** Field ER_CANT_CONVERT_TO_NUMBER */ //public static final int ER_CANT_CONVERT_TO_NUMBER = 18; { ER_CANT_CONVERT_TO_NUMBER, "Kan inte konvertera {0} till ett nummer"}, /** Field ER_CANT_CONVERT_TO_NODELIST */ //public static final int ER_CANT_CONVERT_TO_NODELIST = 19; { ER_CANT_CONVERT_TO_NODELIST, "Kan inte konvertera {0} till en NodeList!"}, /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */ //public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20; { ER_CANT_CONVERT_TO_MUTABLENODELIST, "Kan inte konvertera {0} till en NodeSetDTM!"}, /** Field ER_CANT_CONVERT_TO_TYPE */ //public static final int ER_CANT_CONVERT_TO_TYPE = 21; { ER_CANT_CONVERT_TO_TYPE, "Kan inte konvertera {0} till en type//{1}"}, /** Field ER_EXPECTED_MATCH_PATTERN */ //public static final int ER_EXPECTED_MATCH_PATTERN = 22; { ER_EXPECTED_MATCH_PATTERN, "Matchningsm\u00f6nster i getMatchScore f\u00f6rv\u00e4ntat!"}, /** Field ER_COULDNOT_GET_VAR_NAMED */ //public static final int ER_COULDNOT_GET_VAR_NAMED = 23; { ER_COULDNOT_GET_VAR_NAMED, "Kunde inte h\u00e4mta variabeln {0}"}, /** Field ER_UNKNOWN_OPCODE */ //public static final int ER_UNKNOWN_OPCODE = 24; { ER_UNKNOWN_OPCODE, "FEL! Ok\u00e4nd op-kod: {0}"}, /** Field ER_EXTRA_ILLEGAL_TOKENS */ //public static final int ER_EXTRA_ILLEGAL_TOKENS = 25; { ER_EXTRA_ILLEGAL_TOKENS, "Ytterligare otill\u00e5tna tecken: {0}"}, /** Field ER_EXPECTED_DOUBLE_QUOTE */ //public static final int ER_EXPECTED_DOUBLE_QUOTE = 26; { ER_EXPECTED_DOUBLE_QUOTE, "Litteral omges av fel sorts citationstecken... dubbla citationstecken f\u00f6rv\u00e4ntade!"}, /** Field ER_EXPECTED_SINGLE_QUOTE */ //public static final int ER_EXPECTED_SINGLE_QUOTE = 27; { ER_EXPECTED_SINGLE_QUOTE, "Litteral omges av fel sorts citationstecken... enkla citationstecken f\u00f6rv\u00e4ntade!"}, /** Field ER_EMPTY_EXPRESSION */ //public static final int ER_EMPTY_EXPRESSION = 28; { ER_EMPTY_EXPRESSION, "Tomt uttryck!"}, /** Field ER_EXPECTED_BUT_FOUND */ //public static final int ER_EXPECTED_BUT_FOUND = 29; { ER_EXPECTED_BUT_FOUND, "{0} f\u00f6rv\u00e4ntat, men hittade: {1}"}, /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */ //public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30; { ER_INCORRECT_PROGRAMMER_ASSERTION, "Programmerares f\u00f6rs\u00e4kran \u00e4r inte korrekt! - {0}"}, /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */ //public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31; { ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL, "boolean(...)-argument \u00e4r inte l\u00e4ngre valfri med 19990709 XPath-utkast."}, /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */ //public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32; { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG, "Hittade ',' men inget f\u00f6reg\u00e5ende argument!"}, /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */ //public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33; { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG, "Hittade ',' men inget efterf\u00f6ljande argument!"}, /** Field ER_PREDICATE_ILLEGAL_SYNTAX */ //public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34; { ER_PREDICATE_ILLEGAL_SYNTAX, "'..[predikat]' or '.[predikat]' \u00e4r otill\u00e5ten syntax. Anv\u00e4nd 'self::node()[predikat]' ist\u00e4llet."}, /** Field ER_ILLEGAL_AXIS_NAME */ //public static final int ER_ILLEGAL_AXIS_NAME = 35; { ER_ILLEGAL_AXIS_NAME, "otill\u00e5tet axel-namn: {0}"}, /** Field ER_UNKNOWN_NODETYPE */ //public static final int ER_UNKNOWN_NODETYPE = 36; { ER_UNKNOWN_NODETYPE, "ok\u00e4nd nodtyp: {0}"}, /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */ //public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37; { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED, "M\u00f6nsterlitteral {0} m\u00e5ste s\u00e4ttas inom citationstecken!"}, /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */ //public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38; { ER_COULDNOT_BE_FORMATTED_TO_NUMBER, "{0} kunde inte formateras till ett nummer"}, /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */ //public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39; { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON, "Kunde inte skapa XML TransformerFactory Liaison: {0}"}, /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */ //public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40; { ER_DIDNOT_FIND_XPATH_SELECT_EXP, "Fel! Hittade inte xpath select-uttryck (-select)."}, /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */ //public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41; { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH, "FEL! Hittade inte ENDOP efter OP_LOCATIONPATH"}, /** Field ER_ERROR_OCCURED */ //public static final int ER_ERROR_OCCURED = 42; { ER_ERROR_OCCURED, "Fel intr\u00e4ffade!"}, /** Field ER_ILLEGAL_VARIABLE_REFERENCE */ //public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43; { ER_ILLEGAL_VARIABLE_REFERENCE, "VariableReference angiven f\u00f6r variabel som \u00e4r utanf\u00f6r sammanhanget eller som saknar definition! Namn = {0}"}, /** Field ER_AXES_NOT_ALLOWED */ //public static final int ER_AXES_NOT_ALLOWED = 44; { ER_AXES_NOT_ALLOWED, "Enbart barn::- och attribut::- axlar \u00e4r till\u00e5tna i matchningsm\u00f6nster! Regelvidriga axlar = {0}"}, /** Field ER_KEY_HAS_TOO_MANY_ARGS */ //public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45; { ER_KEY_HAS_TOO_MANY_ARGS, "key() har ett felaktigt antal argument."}, /** Field ER_COUNT_TAKES_1_ARG */ //public static final int ER_COUNT_TAKES_1_ARG = 46; { ER_COUNT_TAKES_1_ARG, "Funktionen count borde ta emot ett argument!"}, /** Field ER_COULDNOT_FIND_FUNCTION */ //public static final int ER_COULDNOT_FIND_FUNCTION = 47; { ER_COULDNOT_FIND_FUNCTION, "Hittade inte funktionen: {0}"}, /** Field ER_UNSUPPORTED_ENCODING */ //public static final int ER_UNSUPPORTED_ENCODING = 48; { ER_UNSUPPORTED_ENCODING, "Ej underst\u00f6dd kodning: {0}"}, /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */ //public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49; { ER_PROBLEM_IN_DTM_NEXTSIBLING, "Problem intr\u00e4ffade i DTM i getNextSibling... f\u00f6rs\u00f6ker \u00e5terh\u00e4mta"}, /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */ //public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50; { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL, "Programmerarfel: EmptyNodeList kan inte skrivas till."}, /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */ //public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51; { ER_SETDOMFACTORY_NOT_SUPPORTED, "setDOMFactory underst\u00f6ds inte av XPathContext!"}, /** Field ER_PREFIX_MUST_RESOLVE */ //public static final int ER_PREFIX_MUST_RESOLVE = 52; { ER_PREFIX_MUST_RESOLVE, "Prefix must resolve to a namespace: {0}"}, /** Field ER_PARSE_NOT_SUPPORTED */ //public static final int ER_PARSE_NOT_SUPPORTED = 53; { ER_PARSE_NOT_SUPPORTED, "parse (InputSource source) underst\u00f6ds inte av XPathContext! Kan inte \u00f6ppna {0}"}, /** Field ER_SAX_API_NOT_HANDLED */ //public static final int ER_SAX_API_NOT_HANDLED = 57; { ER_SAX_API_NOT_HANDLED, "SAX API-tecken(char ch[]... hanteras inte av DTM!"}, /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */ //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58; { ER_IGNORABLE_WHITESPACE_NOT_HANDLED, "ignorableWhitespace(char ch[]... hanteras inte av DTM!"}, /** Field ER_DTM_CANNOT_HANDLE_NODES */ //public static final int ER_DTM_CANNOT_HANDLE_NODES = 59; { ER_DTM_CANNOT_HANDLE_NODES, "DTMLiaison kan inte hantera noder av typen {0}"}, /** Field ER_XERCES_CANNOT_HANDLE_NODES */ //public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60; { ER_XERCES_CANNOT_HANDLE_NODES, "DOM2Helper kan inte hantera noder av typen {0}"}, /** Field ER_XERCES_PARSE_ERROR_DETAILS */ //public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61; { ER_XERCES_PARSE_ERROR_DETAILS, "DOM2Helper.parse-fel: SystemID - {0} rad - {1}"}, /** Field ER_XERCES_PARSE_ERROR */ //public static final int ER_XERCES_PARSE_ERROR = 62; { ER_XERCES_PARSE_ERROR, "DOM2Helper.parse-fel"}, /** Field ER_INVALID_UTF16_SURROGATE */ //public static final int ER_INVALID_UTF16_SURROGATE = 65; { ER_INVALID_UTF16_SURROGATE, "Ogiltigt UTF-16-surrogat uppt\u00e4ckt: {0} ?"}, /** Field ER_OIERROR */ //public static final int ER_OIERROR = 66; { ER_OIERROR, "IO-fel"}, /** Field ER_CANNOT_CREATE_URL */ //public static final int ER_CANNOT_CREATE_URL = 67; { ER_CANNOT_CREATE_URL, "Kan inte skapa url f\u00f6r: {0}"}, /** Field ER_XPATH_READOBJECT */ //public static final int ER_XPATH_READOBJECT = 68; { ER_XPATH_READOBJECT, "I XPath.readObject: {0}"}, /** Field ER_XPATH_READOBJECT */ //public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69; { ER_FUNCTION_TOKEN_NOT_FOUND, "funktionstecken saknas."}, /** Can not deal with XPath type: */ //public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71; { ER_CANNOT_DEAL_XPATH_TYPE, "Kan inte hantera XPath-typ: {0}"}, /** This NodeSet is not mutable */ //public static final int ER_NODESET_NOT_MUTABLE = 72; { ER_NODESET_NOT_MUTABLE, "NodeSet \u00e4r of\u00f6r\u00e4nderlig"}, /** This NodeSetDTM is not mutable */ //public static final int ER_NODESETDTM_NOT_MUTABLE = 73; { ER_NODESETDTM_NOT_MUTABLE, "NodeSetDTM \u00e4r of\u00f6r\u00e4nderlig"}, /** Variable not resolvable: */ //public static final int ER_VAR_NOT_RESOLVABLE = 74; { ER_VAR_NOT_RESOLVABLE, "Variabel ej l\u00f6sbar: {0}"}, /** Null error handler */ //public static final int ER_NULL_ERROR_HANDLER = 75; { ER_NULL_ERROR_HANDLER, "Null error handler"}, /** Programmer's assertion: unknown opcode */ //public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76; { ER_PROG_ASSERT_UNKNOWN_OPCODE, "Programmerares f\u00f6rs\u00e4kran: ok\u00e4nd op-kod: {0}"}, /** 0 or 1 */ //public static final int ER_ZERO_OR_ONE = 77; { ER_ZERO_OR_ONE, "0 eller 1"}, /** rtf() not supported by XRTreeFragSelectWrapper */ //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78; { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "rtf() underst\u00f6ds inte av XRTreeFragSelectWrapper!"}, /** asNodeIterator() not supported by XRTreeFragSelectWrapper */ //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79; { ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER, "asNodeIterator() underst\u00f6ds inte av XRTreeFragSelectWrapper!"}, /** fsb() not supported for XStringForChars */ //public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80; { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS, "fsb() underst\u00f6ds inte av XRStringForChars!"}, /** Could not find variable with the name of */ //public static final int ER_COULD_NOT_FIND_VAR = 81; { ER_COULD_NOT_FIND_VAR, "Hittade inte variabeln med namn {0}"}, /** XStringForChars can not take a string for an argument */ //public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82; { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING, "XStringForChars kan inte ta en str\u00e4ng som argument"}, /** The FastStringBuffer argument can not be null */ //public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83; { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL, "FastStringBuffer-argumentet f\u00e5r inte vara null"}, /* MANTIS_XALAN CHANGE: BEGIN */ /** 2 or 3 */ //public static final int ER_TWO_OR_THREE = 84; { ER_TWO_OR_THREE, "2 eller 3"}, /** Variable accessed before it is bound! */ //public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85; { ER_VARIABLE_ACCESSED_BEFORE_BIND, "Variabeln anv\u00e4ndes innan den bands!"}, /** XStringForFSB can not take a string for an argument! */ //public static final int ER_FSB_CANNOT_TAKE_STRING = 86; { ER_FSB_CANNOT_TAKE_STRING, "XStringForFSB kan inte ha en str\u00e4ng som argument!"}, /** Error! Setting the root of a walker to null! */ //public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87; { ER_SETTING_WALKER_ROOT_TO_NULL, "\n !!!! Fel! Anger roten f\u00f6r en \"walker\" till null!!!"}, /** This NodeSetDTM can not iterate to a previous node! */ //public static final int ER_NODESETDTM_CANNOT_ITERATE = 88; { ER_NODESETDTM_CANNOT_ITERATE, "Detta NodeSetDTM kan inte iterera till en tidigare nod!"}, /** This NodeSet can not iterate to a previous node! */ //public static final int ER_NODESET_CANNOT_ITERATE = 89; { ER_NODESET_CANNOT_ITERATE, "Detta NodeSet kan inte iterera till en tidigare nod!"}, /** This NodeSetDTM can not do indexing or counting functions! */ //public static final int ER_NODESETDTM_CANNOT_INDEX = 90; { ER_NODESETDTM_CANNOT_INDEX, "Detta NodeSetDTM har inte funktioner f\u00f6r indexering och r\u00e4kning!"}, /** This NodeSet can not do indexing or counting functions! */ //public static final int ER_NODESET_CANNOT_INDEX = 91; { ER_NODESET_CANNOT_INDEX, "Detta NodeSet har inte funktioner f\u00f6r indexering och r\u00e4kning!"}, /** Can not call setShouldCacheNodes after nextNode has been called! */ //public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92; { ER_CANNOT_CALL_SETSHOULDCACHENODE, "Det g\u00e5r inte att anropa setShouldCacheNodes efter att nextNode har anropats!"}, /** {0} only allows {1} arguments */ //public static final int ER_ONLY_ALLOWS = 93; { ER_ONLY_ALLOWS, "{0} till\u00e5ter bara {1} argument"}, /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */ //public static final int ER_UNKNOWN_STEP = 94; { ER_UNKNOWN_STEP, "Programmerarkontroll i getNextStepPos: ok\u00e4nt steg Typ: {0}"}, //Note to translators: A relative location path is a form of XPath expression. // The message indicates that such an expression was expected following the // characters '/' or '//', but was not found. /** Problem with RelativeLocationPath */ //public static final int ER_EXPECTED_REL_LOC_PATH = 95; { ER_EXPECTED_REL_LOC_PATH, "En relativ s\u00f6kv\u00e4g f\u00f6rv\u00e4ntades efter token '/' eller '//'."}, // Note to translators: A location path is a form of XPath expression. // The message indicates that syntactically such an expression was expected,but // the characters specified by the substitution text were encountered instead. /** Problem with LocationPath */ //public static final int ER_EXPECTED_LOC_PATH = 96; { ER_EXPECTED_LOC_PATH, "En plats f\u00f6rv\u00e4ntades, men f\u00f6ljande token p\u00e5tr\u00e4ffades\u003a {0}"}, // Note to translators: A location step is part of an XPath expression. // The message indicates that syntactically such an expression was expected // following the specified characters. /** Problem with Step */ //public static final int ER_EXPECTED_LOC_STEP = 97; { ER_EXPECTED_LOC_STEP, "Ett platssteg f\u00f6rv\u00e4ntades efter token '/' eller '//'."}, // Note to translators: A node test is part of an XPath expression that is // used to test for particular kinds of nodes. In this case, a node test that // consists of an NCName followed by a colon and an asterisk or that consists // of a QName was expected, but was not found. /** Problem with NodeTest */ //public static final int ER_EXPECTED_NODE_TEST = 98; { ER_EXPECTED_NODE_TEST, "Ett nodtest som matchar antingen NCName:* eller QName f\u00f6rv\u00e4ntades."}, // Note to translators: A step pattern is part of an XPath expression. // The message indicates that syntactically such an expression was expected, // but the specified character was found in the expression instead. /** Expected step pattern */ //public static final int ER_EXPECTED_STEP_PATTERN = 99; { ER_EXPECTED_STEP_PATTERN, "Ett stegm\u00f6nster f\u00f6rv\u00e4ntades, men '/' p\u00e5tr\u00e4ffades."}, // Note to translators: A relative path pattern is part of an XPath expression. // The message indicates that syntactically such an expression was expected, // but was not found. /** Expected relative path pattern */ //public static final int ER_EXPECTED_REL_PATH_PATTERN = 100; { ER_EXPECTED_REL_PATH_PATTERN, "Ett m\u00f6nster f\u00f6r relativ s\u00f6kv\u00e4g f\u00f6rv\u00e4ntades."}, // Note to translators: The substitution text is the name of a data type. The // message indicates that a value of a particular type could not be converted // to a value of type string. /** Field ER_CANT_CONVERT_TO_BOOLEAN */ //public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103; { ER_CANT_CONVERT_TO_BOOLEAN, "Det g\u00e5r inte att konvertera {0} till ett Booleskt v\u00e4rde."}, // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and // FIRST_ORDERED_NODE_TYPE. /** Field ER_CANT_CONVERT_TO_SINGLENODE */ //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104; { ER_CANT_CONVERT_TO_SINGLENODE, "Det g\u00e5r inte att konvertera {0} till en enda nod. G\u00e4ller typerna ANY_UNORDERED_NODE_TYPE och FIRST_ORDERED_NODE_TYPE."}, // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and // ORDERED_NODE_SNAPSHOT_TYPE. /** Field ER_CANT_GET_SNAPSHOT_LENGTH */ //public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105; { ER_CANT_GET_SNAPSHOT_LENGTH, "Det g\u00e5r inte att erh\u00e5lla l\u00e4ngd f\u00f6r \u00f6gonblicksbild p\u00e5 typ: {0}. G\u00e4ller typerna UNORDERED_NODE_SNAPSHOT_TYPE och ORDERED_NODE_SNAPSHOT_TYPE."}, /** Field ER_NON_ITERATOR_TYPE */ //public static final int ER_NON_ITERATOR_TYPE = 106; { ER_NON_ITERATOR_TYPE, "Det g\u00e5r inte att iterera \u00f6ver den icke itererbara typen: {0}"}, // Note to translators: This message indicates that the document being operated // upon changed, so the iterator object that was being used to traverse the // document has now become invalid. /** Field ER_DOC_MUTATED */ //public static final int ER_DOC_MUTATED = 107; { ER_DOC_MUTATED, "Dokumentet har \u00e4ndrats sedan resultatet genererades. Iterering ogiltig."}, /** Field ER_INVALID_XPATH_TYPE */ //public static final int ER_INVALID_XPATH_TYPE = 108; { ER_INVALID_XPATH_TYPE, "Ogiltigt XPath-typargument: {0}"}, /** Field ER_EMPTY_XPATH_RESULT */ //public static final int ER_EMPTY_XPATH_RESULT = 109; { ER_EMPTY_XPATH_RESULT, "Tomt XPath-resultatobjekt"}, /** Field ER_INCOMPATIBLE_TYPES */ //public static final int ER_INCOMPATIBLE_TYPES = 110; { ER_INCOMPATIBLE_TYPES, "Den genererade typen: {0} kan inte bearbetas i den angivna typen: {1}"}, /** Field ER_NULL_RESOLVER */ //public static final int ER_NULL_RESOLVER = 111; { ER_NULL_RESOLVER, "Det g\u00e5r inte att l\u00f6sa prefixet utan prefixl\u00f6sare."}, // Note to translators: The substitution text is the name of a data type. The // message indicates that a value of a particular type could not be converted // to a value of type string. /** Field ER_CANT_CONVERT_TO_STRING */ //public static final int ER_CANT_CONVERT_TO_STRING = 112; { ER_CANT_CONVERT_TO_STRING, "Det g\u00e5r inte att konvertera {0} till en str\u00e4ng."}, // Note to translators: Do not translate snapshotItem, // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE. /** Field ER_NON_SNAPSHOT_TYPE */ //public static final int ER_NON_SNAPSHOT_TYPE = 113; { ER_NON_SNAPSHOT_TYPE, "Det g\u00e5r inte att anropa snapshotItem p\u00e5 typ: {0}. Metoden g\u00e4ller typerna UNORDERED_NODE_SNAPSHOT_TYPE och ORDERED_NODE_SNAPSHOT_TYPE."}, // Note to translators: XPathEvaluator is a Java interface name. An // XPathEvaluator is created with respect to a particular XML document, and in // this case the expression represented by this object was being evaluated with // respect to a context node from a different document. /** Field ER_WRONG_DOCUMENT */ //public static final int ER_WRONG_DOCUMENT = 114; { ER_WRONG_DOCUMENT, "Kontextnoden tillh\u00f6r inte dokumentet som \u00e4r bundet till denna XPathEvaluator."}, // Note to translators: The XPath expression cannot be evaluated with respect // to this type of node. /** Field ER_WRONG_NODETYPE */ //public static final int ER_WRONG_NODETYPE = 115; { ER_WRONG_NODETYPE , "Kontextnoden kan inte hanteras."}, /** Field ER_XPATH_ERROR */ //public static final int ER_XPATH_ERROR = 116; { ER_XPATH_ERROR , "Ok\u00e4nt fel i XPath."}, // Warnings... /** Field WG_LOCALE_NAME_NOT_HANDLED */ //public static final int WG_LOCALE_NAME_NOT_HANDLED = 1; { WG_LOCALE_NAME_NOT_HANDLED, "locale-namnet i format-number-funktionen \u00e4nnu inte hanterat!"}, /** Field WG_PROPERTY_NOT_SUPPORTED */ //public static final int WG_PROPERTY_NOT_SUPPORTED = 2; { WG_PROPERTY_NOT_SUPPORTED, "XSL-Egenskap underst\u00f6ds inte: {0}"}, /** Field WG_DONT_DO_ANYTHING_WITH_NS */ //public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3; { WG_DONT_DO_ANYTHING_WITH_NS, "G\u00f6r f\u00f6r n\u00e4rvarande inte n\u00e5gonting med namespace {0} i egenskap: {1}"}, /** Field WG_SECURITY_EXCEPTION */ //public static final int WG_SECURITY_EXCEPTION = 4; { WG_SECURITY_EXCEPTION, "SecurityException vid f\u00f6rs\u00f6k att f\u00e5 tillg\u00e5ng till XSL-systemegenskap: {0}"}, /** Field WG_QUO_NO_LONGER_DEFINED */ //public static final int WG_QUO_NO_LONGER_DEFINED = 5; { WG_QUO_NO_LONGER_DEFINED, "Gammal syntax: quo(...) \u00e4r inte l\u00e4ngre definierad i XPath."}, /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */ //public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6; { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST, "XPath beh\u00f6ver ett deriverat objekt f\u00f6r att implementera nodeTest!"}, /** Field WG_FUNCTION_TOKEN_NOT_FOUND */ //public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7; { WG_FUNCTION_TOKEN_NOT_FOUND, "funktionstecken saknas."}, /** Field WG_COULDNOT_FIND_FUNCTION */ //public static final int WG_COULDNOT_FIND_FUNCTION = 8; { WG_COULDNOT_FIND_FUNCTION, "Hittade inte funktion: {0}"}, /** Field WG_CANNOT_MAKE_URL_FROM */ //public static final int WG_CANNOT_MAKE_URL_FROM = 9; { WG_CANNOT_MAKE_URL_FROM, "Kan inte skapa URL fr\u00e5n: {0}"}, /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */ //public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10; { WG_EXPAND_ENTITIES_NOT_SUPPORTED, "Alternativet -E underst\u00f6ds inte f\u00f6r DTM-tolk"}, /** Field WG_ILLEGAL_VARIABLE_REFERENCE */ //public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11; { WG_ILLEGAL_VARIABLE_REFERENCE, "VariableReference angiven f\u00f6r variabel som \u00e4r utanf\u00f6r sammanhanget eller som saknar definition! Namn = {0}"}, /** Field WG_UNSUPPORTED_ENCODING */ //public static final int WG_UNSUPPORTED_ENCODING = 12; { WG_UNSUPPORTED_ENCODING, "Ej underst\u00f6dd kodning: {0}"}, // Other miscellaneous text used inside the code... { "ui_language", "sv"}, { "help_language", "sv"}, { "language", "sv"}, { "BAD_CODE", "Parameter till createMessage ligger utanf\u00f6r till\u00e5tet intervall"}, { "FORMAT_FAILED", "Undantag utl\u00f6st vid messageFormat-anrop"}, { "version", ">>>>>>> Xalan Version"}, { "version2", "<<<<<<<"}, { "yes", "ja"}, { "line", "Rad //"}, { "column", "Kolumn //"}, { "xsldone", "XSLProcessor f\u00e4rdig"}, { "xpath_option", "xpath-alternativ"}, { "optionIN", " [-in inputXMLURL]"}, { "optionSelect", "[-select xpath-uttryck]"}, { "optionMatch", " [-match matchningsm\u00f6nster (f\u00f6r matchningsdiagnostik)]"}, { "optionAnyExpr", "Eller bara ett xpath-uttryck kommer att g\u00f6ra en diagnostik-dump"}, { "noParsermsg1", "XSL-Process misslyckades."}, { "noParsermsg2", "** Hittade inte tolk **"}, { "noParsermsg3", "V\u00e4nligen kontrollera din classpath"}, { "noParsermsg4", "Om du inte har IBMs XML-Tolk f\u00f6r Java, kan du ladda ner den fr\u00e5n"}, { "noParsermsg5", "IBMs AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"} }; // ================= INFRASTRUCTURE ====================== /** Field BAD_CODE */ public static final String BAD_CODE = "D\u00c5LIG_KOD"; /** Field FORMAT_FAILED */ public static final String FORMAT_FAILDE = "FORMATTERING_MISSLYCKADES"; /** Field ERROR_RESOURCES */ public static final String ERROR_RESOURCES = "com.sun.org.apache.xpath.internal.res.XPATHErrorResources"; /** Field ERROR_STRING */ public static final String ERROR_STRING = "//fel"; /** Field ERROR_HEADER */ public static final String ERROR_HEADER = "Fel: "; /** Field WARNING_HEADER */ public static final String WARNING_HEADER = "Varning: "; /** Field XSL_HEADER */ public static final String XSL_HEADER = "XSL "; /** Field XML_HEADER */ public static final String XML_HEADER = "XML "; /** Field QUERY_HEADER */ public static final String QUERY_HEADER = "M\u00d6NSTER "; /** * Get the association list. * * @return The association list. */ protected Object[][] getContents() { // return a copy of contents; in theory we want a deep clone // of contents, but since it only contains (immutable) Strings, // this shallow copy is sufficient Object[][] msgCopy = new Object[contents.length][2]; for (int i = 0; i < contents.length; i++) { msgCopy[i][0] = contents[i][0]; msgCopy[i][1] = contents[i][1]; } return msgCopy; } }