001: /*
002: * Copyright 1999-2004 The Apache Software Foundation.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: /*
017: * $Id: XPATHErrorResources_sv.java,v 1.8 2004/12/15 17:35:58 jycli Exp $
018: */
019: package org.apache.xpath.res;
020:
021: /**
022: * Set up error messages.
023: * We build a two dimensional array of message keys and
024: * message strings. In order to add a new message here,
025: * you need to first add a Static string constant for the
026: * Key and update the contents array with Key, Value pair
027: * Also you need to update the count of messages(MAX_CODE)or
028: * the count of warnings(MAX_WARNING) [ Information purpose only]
029: * @xsl.usage advanced
030: */
031: public class XPATHErrorResources_sv extends XPATHErrorResources {
032:
033: /** Field MAX_CODE */
034: public static final int MAX_CODE = 108; // this is needed to keep track of the number of messages
035:
036: /** Field MAX_WARNING */
037: public static final int MAX_WARNING = 11; // this is needed to keep track of the number of warnings
038:
039: /** Field MAX_OTHERS */
040: public static final int MAX_OTHERS = 20;
041:
042: /** Field MAX_MESSAGES */
043: public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
044:
045: // Error messages...
046: /**
047: * Get the association list.
048: *
049: * @return The association list.
050: */
051: public Object[][] getContents() {
052: return new Object[][] {
053:
054: /** Field ERROR0000 */
055: //public static final int ERROR0000 = 0;
056:
057: { "ERROR0000", "{0}" },
058:
059: /** Field ER_CURRENT_NOT_ALLOWED_IN_MATCH */
060: //public static final int ER_CURRENT_NOT_ALLOWED_IN_MATCH = 1;
061:
062: { ER_CURRENT_NOT_ALLOWED_IN_MATCH,
063: "Funktionen current() \u00e4r inte till\u00e5ten i ett matchningsm\u00f6nster!" },
064:
065: /** Field ER_CURRENT_TAKES_NO_ARGS */
066: //public static final int ER_CURRENT_TAKES_NO_ARGS = 2;
067:
068: { ER_CURRENT_TAKES_NO_ARGS,
069: "Funktionen current() tar inte emot argument!" },
070:
071: /** Field ER_DOCUMENT_REPLACED */
072: //public static final int ER_DOCUMENT_REPLACED = 3;
073:
074: {
075: ER_DOCUMENT_REPLACED,
076: "Implementeringen av funktionen document() har ersatts av org.apache.xalan.xslt.FuncDocument!" },
077:
078: /** Field ER_CONTEXT_HAS_NO_OWNERDOC */
079: //public static final int ER_CONTEXT_HAS_NO_OWNERDOC = 4;
080:
081: { ER_CONTEXT_HAS_NO_OWNERDOC,
082: "Kontext saknar \u00e4gardokument!" },
083:
084: /** Field ER_LOCALNAME_HAS_TOO_MANY_ARGS */
085: //public static final int ER_LOCALNAME_HAS_TOO_MANY_ARGS = 5;
086:
087: { ER_LOCALNAME_HAS_TOO_MANY_ARGS,
088: "local-name() har f\u00f6r m\u00e5nga argument." },
089:
090: /** Field ER_NAMESPACEURI_HAS_TOO_MANY_ARGS */
091: //public static final int ER_NAMESPACEURI_HAS_TOO_MANY_ARGS = 6;
092:
093: { ER_NAMESPACEURI_HAS_TOO_MANY_ARGS,
094: "namespace-uri() har f\u00f6r m\u00e5nga argument." },
095:
096: /** Field ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS */
097: //public static final int ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS = 7;
098:
099: { ER_NORMALIZESPACE_HAS_TOO_MANY_ARGS,
100: "normalize-space() har f\u00f6r m\u00e5nga argument." },
101:
102: /** Field ER_NUMBER_HAS_TOO_MANY_ARGS */
103: //public static final int ER_NUMBER_HAS_TOO_MANY_ARGS = 8;
104:
105: { ER_NUMBER_HAS_TOO_MANY_ARGS,
106: "number() har f\u00f6r m\u00e5nga argument." },
107:
108: /** Field ER_NAME_HAS_TOO_MANY_ARGS */
109: //public static final int ER_NAME_HAS_TOO_MANY_ARGS = 9;
110:
111: { ER_NAME_HAS_TOO_MANY_ARGS,
112: "name() har f\u00f6r m\u00e5nga argument." },
113:
114: /** Field ER_STRING_HAS_TOO_MANY_ARGS */
115: //public static final int ER_STRING_HAS_TOO_MANY_ARGS = 10;
116:
117: { ER_STRING_HAS_TOO_MANY_ARGS,
118: "string() har f\u00f6r m\u00e5nga argument." },
119:
120: /** Field ER_STRINGLENGTH_HAS_TOO_MANY_ARGS */
121: //public static final int ER_STRINGLENGTH_HAS_TOO_MANY_ARGS = 11;
122:
123: { ER_STRINGLENGTH_HAS_TOO_MANY_ARGS,
124: "string.length() har f\u00f6r m\u00e5nga argument." },
125:
126: /** Field ER_TRANSLATE_TAKES_3_ARGS */
127: //public static final int ER_TRANSLATE_TAKES_3_ARGS = 12;
128:
129: { ER_TRANSLATE_TAKES_3_ARGS,
130: "Funktionen translate() tar emot tre argument!" },
131:
132: /** Field ER_UNPARSEDENTITYURI_TAKES_1_ARG */
133: //public static final int ER_UNPARSEDENTITYURI_TAKES_1_ARG = 13;
134:
135: { ER_UNPARSEDENTITYURI_TAKES_1_ARG,
136: "Funktionen unparsed-entity-uri borde ta emot ett argument!" },
137:
138: /** Field ER_NAMESPACEAXIS_NOT_IMPLEMENTED */
139: //public static final int ER_NAMESPACEAXIS_NOT_IMPLEMENTED = 14;
140:
141: { ER_NAMESPACEAXIS_NOT_IMPLEMENTED,
142: "Namespace-axel inte implementerad \u00e4n!" },
143:
144: /** Field ER_UNKNOWN_AXIS */
145: //public static final int ER_UNKNOWN_AXIS = 15;
146:
147: { ER_UNKNOWN_AXIS, "ok\u00e4nd axel: {0}" },
148:
149: /** Field ER_UNKNOWN_MATCH_OPERATION */
150: //public static final int ER_UNKNOWN_MATCH_OPERATION = 16;
151:
152: { ER_UNKNOWN_MATCH_OPERATION,
153: "ok\u00e4nd matchningshandling!" },
154:
155: /** Field ER_INCORRECT_ARG_LENGTH */
156: //public static final int ER_INCORRECT_ARG_LENGTH = 17;
157:
158: { ER_INCORRECT_ARG_LENGTH,
159: "Nodtests argumentl\u00e4ngd i processing-instruction() \u00e4r inte korrekt!" },
160:
161: /** Field ER_CANT_CONVERT_TO_NUMBER */
162: //public static final int ER_CANT_CONVERT_TO_NUMBER = 18;
163:
164: { ER_CANT_CONVERT_TO_NUMBER,
165: "Kan inte konvertera {0} till ett nummer" },
166:
167: /** Field ER_CANT_CONVERT_TO_NODELIST */
168: //public static final int ER_CANT_CONVERT_TO_NODELIST = 19;
169:
170: { ER_CANT_CONVERT_TO_NODELIST,
171: "Kan inte konvertera {0} till en NodeList!" },
172:
173: /** Field ER_CANT_CONVERT_TO_MUTABLENODELIST */
174: //public static final int ER_CANT_CONVERT_TO_MUTABLENODELIST = 20;
175:
176: { ER_CANT_CONVERT_TO_MUTABLENODELIST,
177: "Kan inte konvertera {0} till en NodeSetDTM!" },
178:
179: /** Field ER_CANT_CONVERT_TO_TYPE */
180: //public static final int ER_CANT_CONVERT_TO_TYPE = 21;
181:
182: { ER_CANT_CONVERT_TO_TYPE,
183: "Kan inte konvertera {0} till en type//{1}" },
184:
185: /** Field ER_EXPECTED_MATCH_PATTERN */
186: //public static final int ER_EXPECTED_MATCH_PATTERN = 22;
187:
188: { ER_EXPECTED_MATCH_PATTERN,
189: "Matchningsm\u00f6nster i getMatchScore f\u00f6rv\u00e4ntat!" },
190:
191: /** Field ER_COULDNOT_GET_VAR_NAMED */
192: //public static final int ER_COULDNOT_GET_VAR_NAMED = 23;
193:
194: { ER_COULDNOT_GET_VAR_NAMED,
195: "Kunde inte h\u00e4mta variabeln {0}" },
196:
197: /** Field ER_UNKNOWN_OPCODE */
198: //public static final int ER_UNKNOWN_OPCODE = 24;
199:
200: { ER_UNKNOWN_OPCODE, "FEL! Ok\u00e4nd op-kod: {0}" },
201:
202: /** Field ER_EXTRA_ILLEGAL_TOKENS */
203: //public static final int ER_EXTRA_ILLEGAL_TOKENS = 25;
204:
205: { ER_EXTRA_ILLEGAL_TOKENS,
206: "Ytterligare otill\u00e5tna tecken: {0}" },
207:
208: /** Field ER_EXPECTED_DOUBLE_QUOTE */
209: //public static final int ER_EXPECTED_DOUBLE_QUOTE = 26;
210:
211: {
212: ER_EXPECTED_DOUBLE_QUOTE,
213: "Litteral omges av fel sorts citationstecken... dubbla citationstecken f\u00f6rv\u00e4ntade!" },
214:
215: /** Field ER_EXPECTED_SINGLE_QUOTE */
216: //public static final int ER_EXPECTED_SINGLE_QUOTE = 27;
217:
218: {
219: ER_EXPECTED_SINGLE_QUOTE,
220: "Litteral omges av fel sorts citationstecken... enkla citationstecken f\u00f6rv\u00e4ntade!" },
221:
222: /** Field ER_EMPTY_EXPRESSION */
223: //public static final int ER_EMPTY_EXPRESSION = 28;
224:
225: { ER_EMPTY_EXPRESSION, "Tomt uttryck!" },
226:
227: /** Field ER_EXPECTED_BUT_FOUND */
228: //public static final int ER_EXPECTED_BUT_FOUND = 29;
229:
230: { ER_EXPECTED_BUT_FOUND,
231: "{0} f\u00f6rv\u00e4ntat, men hittade: {1}" },
232:
233: /** Field ER_INCORRECT_PROGRAMMER_ASSERTION */
234: //public static final int ER_INCORRECT_PROGRAMMER_ASSERTION = 30;
235:
236: { ER_INCORRECT_PROGRAMMER_ASSERTION,
237: "Programmerares f\u00f6rs\u00e4kran \u00e4r inte korrekt! - {0}" },
238:
239: /** Field ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL */
240: //public static final int ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL = 31;
241:
242: {
243: ER_BOOLEAN_ARG_NO_LONGER_OPTIONAL,
244: "boolean(...)-argument \u00e4r inte l\u00e4ngre valfri med 19990709 XPath-utkast." },
245:
246: /** Field ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG */
247: //public static final int ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG = 32;
248:
249: { ER_FOUND_COMMA_BUT_NO_PRECEDING_ARG,
250: "Hittade ',' men inget f\u00f6reg\u00e5ende argument!" },
251:
252: /** Field ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG */
253: //public static final int ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG = 33;
254:
255: { ER_FOUND_COMMA_BUT_NO_FOLLOWING_ARG,
256: "Hittade ',' men inget efterf\u00f6ljande argument!" },
257:
258: /** Field ER_PREDICATE_ILLEGAL_SYNTAX */
259: //public static final int ER_PREDICATE_ILLEGAL_SYNTAX = 34;
260:
261: {
262: ER_PREDICATE_ILLEGAL_SYNTAX,
263: "'..[predikat]' or '.[predikat]' \u00e4r otill\u00e5ten syntax. Anv\u00e4nd 'self::node()[predikat]' ist\u00e4llet." },
264:
265: /** Field ER_ILLEGAL_AXIS_NAME */
266: //public static final int ER_ILLEGAL_AXIS_NAME = 35;
267:
268: { ER_ILLEGAL_AXIS_NAME, "otill\u00e5tet axel-namn: {0}" },
269:
270: /** Field ER_UNKNOWN_NODETYPE */
271: //public static final int ER_UNKNOWN_NODETYPE = 36;
272:
273: { ER_UNKNOWN_NODETYPE, "ok\u00e4nd nodtyp: {0}" },
274:
275: /** Field ER_PATTERN_LITERAL_NEEDS_BE_QUOTED */
276: //public static final int ER_PATTERN_LITERAL_NEEDS_BE_QUOTED = 37;
277:
278: { ER_PATTERN_LITERAL_NEEDS_BE_QUOTED,
279: "M\u00f6nsterlitteral {0} m\u00e5ste s\u00e4ttas inom citationstecken!" },
280:
281: /** Field ER_COULDNOT_BE_FORMATTED_TO_NUMBER */
282: //public static final int ER_COULDNOT_BE_FORMATTED_TO_NUMBER = 38;
283:
284: { ER_COULDNOT_BE_FORMATTED_TO_NUMBER,
285: "{0} kunde inte formateras till ett nummer" },
286:
287: /** Field ER_COULDNOT_CREATE_XMLPROCESSORLIAISON */
288: //public static final int ER_COULDNOT_CREATE_XMLPROCESSORLIAISON = 39;
289:
290: { ER_COULDNOT_CREATE_XMLPROCESSORLIAISON,
291: "Kunde inte skapa XML TransformerFactory Liaison: {0}" },
292:
293: /** Field ER_DIDNOT_FIND_XPATH_SELECT_EXP */
294: //public static final int ER_DIDNOT_FIND_XPATH_SELECT_EXP = 40;
295:
296: { ER_DIDNOT_FIND_XPATH_SELECT_EXP,
297: "Fel! Hittade inte xpath select-uttryck (-select)." },
298:
299: /** Field ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH */
300: //public static final int ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH = 41;
301:
302: { ER_COULDNOT_FIND_ENDOP_AFTER_OPLOCATIONPATH,
303: "FEL! Hittade inte ENDOP efter OP_LOCATIONPATH" },
304:
305: /** Field ER_ERROR_OCCURED */
306: //public static final int ER_ERROR_OCCURED = 42;
307:
308: { ER_ERROR_OCCURED, "Fel intr\u00e4ffade!" },
309:
310: /** Field ER_ILLEGAL_VARIABLE_REFERENCE */
311: //public static final int ER_ILLEGAL_VARIABLE_REFERENCE = 43;
312:
313: {
314: ER_ILLEGAL_VARIABLE_REFERENCE,
315: "VariableReference angiven f\u00f6r variabel som \u00e4r utanf\u00f6r sammanhanget eller som saknar definition! Namn = {0}" },
316:
317: /** Field ER_AXES_NOT_ALLOWED */
318: //public static final int ER_AXES_NOT_ALLOWED = 44;
319:
320: {
321: ER_AXES_NOT_ALLOWED,
322: "Enbart barn::- och attribut::- axlar \u00e4r till\u00e5tna i matchningsm\u00f6nster! Regelvidriga axlar = {0}" },
323:
324: /** Field ER_KEY_HAS_TOO_MANY_ARGS */
325: //public static final int ER_KEY_HAS_TOO_MANY_ARGS = 45;
326:
327: { ER_KEY_HAS_TOO_MANY_ARGS,
328: "key() har ett felaktigt antal argument." },
329:
330: /** Field ER_COUNT_TAKES_1_ARG */
331: //public static final int ER_COUNT_TAKES_1_ARG = 46;
332:
333: { ER_COUNT_TAKES_1_ARG,
334: "Funktionen count borde ta emot ett argument!" },
335:
336: /** Field ER_COULDNOT_FIND_FUNCTION */
337: //public static final int ER_COULDNOT_FIND_FUNCTION = 47;
338:
339: { ER_COULDNOT_FIND_FUNCTION,
340: "Hittade inte funktionen: {0}" },
341:
342: /** Field ER_UNSUPPORTED_ENCODING */
343: //public static final int ER_UNSUPPORTED_ENCODING = 48;
344:
345: { ER_UNSUPPORTED_ENCODING,
346: "Ej underst\u00f6dd kodning: {0}" },
347:
348: /** Field ER_PROBLEM_IN_DTM_NEXTSIBLING */
349: //public static final int ER_PROBLEM_IN_DTM_NEXTSIBLING = 49;
350:
351: {
352: ER_PROBLEM_IN_DTM_NEXTSIBLING,
353: "Problem intr\u00e4ffade i DTM i getNextSibling... f\u00f6rs\u00f6ker \u00e5terh\u00e4mta" },
354:
355: /** Field ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL */
356: //public static final int ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL = 50;
357:
358: { ER_CANNOT_WRITE_TO_EMPTYNODELISTIMPL,
359: "Programmerarfel: EmptyNodeList kan inte skrivas till." },
360:
361: /** Field ER_SETDOMFACTORY_NOT_SUPPORTED */
362: //public static final int ER_SETDOMFACTORY_NOT_SUPPORTED = 51;
363:
364: { ER_SETDOMFACTORY_NOT_SUPPORTED,
365: "setDOMFactory underst\u00f6ds inte av XPathContext!" },
366:
367: /** Field ER_PREFIX_MUST_RESOLVE */
368: //public static final int ER_PREFIX_MUST_RESOLVE = 52;
369:
370: { ER_PREFIX_MUST_RESOLVE,
371: "Prefix must resolve to a namespace: {0}" },
372:
373: /** Field ER_PARSE_NOT_SUPPORTED */
374: //public static final int ER_PARSE_NOT_SUPPORTED = 53;
375:
376: {
377: ER_PARSE_NOT_SUPPORTED,
378: "parse (InputSource source) underst\u00f6ds inte av XPathContext! Kan inte \u00f6ppna {0}" },
379:
380: /** Field ER_SAX_API_NOT_HANDLED */
381: //public static final int ER_SAX_API_NOT_HANDLED = 57;
382:
383: { ER_SAX_API_NOT_HANDLED,
384: "SAX API-tecken(char ch[]... hanteras inte av DTM!" },
385:
386: /** Field ER_IGNORABLE_WHITESPACE_NOT_HANDLED */
387: //public static final int ER_IGNORABLE_WHITESPACE_NOT_HANDLED = 58;
388:
389: { ER_IGNORABLE_WHITESPACE_NOT_HANDLED,
390: "ignorableWhitespace(char ch[]... hanteras inte av DTM!" },
391:
392: /** Field ER_DTM_CANNOT_HANDLE_NODES */
393: //public static final int ER_DTM_CANNOT_HANDLE_NODES = 59;
394:
395: { ER_DTM_CANNOT_HANDLE_NODES,
396: "DTMLiaison kan inte hantera noder av typen {0}" },
397:
398: /** Field ER_XERCES_CANNOT_HANDLE_NODES */
399: //public static final int ER_XERCES_CANNOT_HANDLE_NODES = 60;
400:
401: { ER_XERCES_CANNOT_HANDLE_NODES,
402: "DOM2Helper kan inte hantera noder av typen {0}" },
403:
404: /** Field ER_XERCES_PARSE_ERROR_DETAILS */
405: //public static final int ER_XERCES_PARSE_ERROR_DETAILS = 61;
406:
407: { ER_XERCES_PARSE_ERROR_DETAILS,
408: "DOM2Helper.parse-fel: SystemID - {0} rad - {1}" },
409:
410: /** Field ER_XERCES_PARSE_ERROR */
411: //public static final int ER_XERCES_PARSE_ERROR = 62;
412:
413: { ER_XERCES_PARSE_ERROR, "DOM2Helper.parse-fel" },
414:
415: /** Field ER_INVALID_UTF16_SURROGATE */
416: //public static final int ER_INVALID_UTF16_SURROGATE = 65;
417:
418: { ER_INVALID_UTF16_SURROGATE,
419: "Ogiltigt UTF-16-surrogat uppt\u00e4ckt: {0} ?" },
420:
421: /** Field ER_OIERROR */
422: //public static final int ER_OIERROR = 66;
423:
424: { ER_OIERROR, "IO-fel" },
425:
426: /** Field ER_CANNOT_CREATE_URL */
427: //public static final int ER_CANNOT_CREATE_URL = 67;
428:
429: { ER_CANNOT_CREATE_URL,
430: "Kan inte skapa url f\u00f6r: {0}" },
431:
432: /** Field ER_XPATH_READOBJECT */
433: //public static final int ER_XPATH_READOBJECT = 68;
434:
435: { ER_XPATH_READOBJECT, "I XPath.readObject: {0}" },
436:
437: /** Field ER_XPATH_READOBJECT */
438: //public static final int ER_FUNCTION_TOKEN_NOT_FOUND = 69;
439:
440: { ER_FUNCTION_TOKEN_NOT_FOUND,
441: "funktionstecken saknas." },
442:
443: /** Can not deal with XPath type: */
444: //public static final int ER_CANNOT_DEAL_XPATH_TYPE = 71;
445:
446: { ER_CANNOT_DEAL_XPATH_TYPE,
447: "Kan inte hantera XPath-typ: {0}" },
448:
449: /** This NodeSet is not mutable */
450: //public static final int ER_NODESET_NOT_MUTABLE = 72;
451:
452: { ER_NODESET_NOT_MUTABLE,
453: "NodeSet \u00e4r of\u00f6r\u00e4nderlig" },
454:
455: /** This NodeSetDTM is not mutable */
456: //public static final int ER_NODESETDTM_NOT_MUTABLE = 73;
457:
458: { ER_NODESETDTM_NOT_MUTABLE,
459: "NodeSetDTM \u00e4r of\u00f6r\u00e4nderlig" },
460:
461: /** Variable not resolvable: */
462: //public static final int ER_VAR_NOT_RESOLVABLE = 74;
463:
464: { ER_VAR_NOT_RESOLVABLE, "Variabel ej l\u00f6sbar: {0}" },
465:
466: /** Null error handler */
467: //public static final int ER_NULL_ERROR_HANDLER = 75;
468:
469: { ER_NULL_ERROR_HANDLER, "Null error handler" },
470:
471: /** Programmer's assertion: unknown opcode */
472: //public static final int ER_PROG_ASSERT_UNKNOWN_OPCODE = 76;
473:
474: { ER_PROG_ASSERT_UNKNOWN_OPCODE,
475: "Programmerares f\u00f6rs\u00e4kran: ok\u00e4nd op-kod: {0}" },
476:
477: /** 0 or 1 */
478: //public static final int ER_ZERO_OR_ONE = 77;
479:
480: { ER_ZERO_OR_ONE, "0 eller 1" },
481:
482: /** rtf() not supported by XRTreeFragSelectWrapper */
483: //public static final int ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 78;
484:
485: { ER_RTF_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
486: "rtf() underst\u00f6ds inte av XRTreeFragSelectWrapper!" },
487:
488: /** asNodeIterator() not supported by XRTreeFragSelectWrapper */
489: //public static final int ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER = 79;
490:
491: {
492: ER_ASNODEITERATOR_NOT_SUPPORTED_XRTREEFRAGSELECTWRAPPER,
493: "asNodeIterator() underst\u00f6ds inte av XRTreeFragSelectWrapper!" },
494:
495: /** fsb() not supported for XStringForChars */
496: //public static final int ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS = 80;
497:
498: { ER_FSB_NOT_SUPPORTED_XSTRINGFORCHARS,
499: "fsb() underst\u00f6ds inte av XRStringForChars!" },
500:
501: /** Could not find variable with the name of */
502: //public static final int ER_COULD_NOT_FIND_VAR = 81;
503:
504: { ER_COULD_NOT_FIND_VAR,
505: "Hittade inte variabeln med namn {0}" },
506:
507: /** XStringForChars can not take a string for an argument */
508: //public static final int ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING = 82;
509:
510: { ER_XSTRINGFORCHARS_CANNOT_TAKE_STRING,
511: "XStringForChars kan inte ta en str\u00e4ng som argument" },
512:
513: /** The FastStringBuffer argument can not be null */
514: //public static final int ER_FASTSTRINGBUFFER_CANNOT_BE_NULL = 83;
515:
516: { ER_FASTSTRINGBUFFER_CANNOT_BE_NULL,
517: "FastStringBuffer-argumentet f\u00e5r inte vara null" },
518:
519: /* MANTIS_XALAN CHANGE: BEGIN */
520: /** 2 or 3 */
521: //public static final int ER_TWO_OR_THREE = 84;
522:
523: { ER_TWO_OR_THREE, "2 eller 3" },
524:
525: /** Variable accessed before it is bound! */
526: //public static final int ER_VARIABLE_ACCESSED_BEFORE_BIND = 85;
527:
528: { ER_VARIABLE_ACCESSED_BEFORE_BIND,
529: "Variabeln anv\u00e4ndes innan den bands!" },
530:
531: /** XStringForFSB can not take a string for an argument! */
532: //public static final int ER_FSB_CANNOT_TAKE_STRING = 86;
533:
534: { ER_FSB_CANNOT_TAKE_STRING,
535: "XStringForFSB kan inte ha en str\u00e4ng som argument!" },
536:
537: /** Error! Setting the root of a walker to null! */
538: //public static final int ER_SETTING_WALKER_ROOT_TO_NULL = 87;
539:
540: { ER_SETTING_WALKER_ROOT_TO_NULL,
541: "\n !!!! Fel! Anger roten f\u00f6r en \"walker\" till null!!!" },
542:
543: /** This NodeSetDTM can not iterate to a previous node! */
544: //public static final int ER_NODESETDTM_CANNOT_ITERATE = 88;
545:
546: { ER_NODESETDTM_CANNOT_ITERATE,
547: "Detta NodeSetDTM kan inte iterera till en tidigare nod!" },
548:
549: /** This NodeSet can not iterate to a previous node! */
550: //public static final int ER_NODESET_CANNOT_ITERATE = 89;
551:
552: { ER_NODESET_CANNOT_ITERATE,
553: "Detta NodeSet kan inte iterera till en tidigare nod!" },
554:
555: /** This NodeSetDTM can not do indexing or counting functions! */
556: //public static final int ER_NODESETDTM_CANNOT_INDEX = 90;
557:
558: { ER_NODESETDTM_CANNOT_INDEX,
559: "Detta NodeSetDTM har inte funktioner f\u00f6r indexering och r\u00e4kning!" },
560:
561: /** This NodeSet can not do indexing or counting functions! */
562: //public static final int ER_NODESET_CANNOT_INDEX = 91;
563:
564: { ER_NODESET_CANNOT_INDEX,
565: "Detta NodeSet har inte funktioner f\u00f6r indexering och r\u00e4kning!" },
566:
567: /** Can not call setShouldCacheNodes after nextNode has been called! */
568: //public static final int ER_CANNOT_CALL_SETSHOULDCACHENODE = 92;
569:
570: {
571: ER_CANNOT_CALL_SETSHOULDCACHENODE,
572: "Det g\u00e5r inte att anropa setShouldCacheNodes efter att nextNode har anropats!" },
573:
574: /** {0} only allows {1} arguments */
575: //public static final int ER_ONLY_ALLOWS = 93;
576:
577: { ER_ONLY_ALLOWS, "{0} till\u00e5ter bara {1} argument" },
578:
579: /** Programmer's assertion in getNextStepPos: unknown stepType: {0} */
580: //public static final int ER_UNKNOWN_STEP = 94;
581:
582: { ER_UNKNOWN_STEP,
583: "Programmerarkontroll i getNextStepPos: ok\u00e4nt steg Typ: {0}" },
584:
585: //Note to translators: A relative location path is a form of XPath expression.
586: // The message indicates that such an expression was expected following the
587: // characters '/' or '//', but was not found.
588:
589: /** Problem with RelativeLocationPath */
590: //public static final int ER_EXPECTED_REL_LOC_PATH = 95;
591:
592: { ER_EXPECTED_REL_LOC_PATH,
593: "En relativ s\u00f6kv\u00e4g f\u00f6rv\u00e4ntades efter token '/' eller '//'." },
594:
595: // Note to translators: A location path is a form of XPath expression.
596: // The message indicates that syntactically such an expression was expected,but
597: // the characters specified by the substitution text were encountered instead.
598:
599: /** Problem with LocationPath */
600: //public static final int ER_EXPECTED_LOC_PATH = 96;
601:
602: {
603: ER_EXPECTED_LOC_PATH,
604: "En plats f\u00f6rv\u00e4ntades, men f\u00f6ljande token p\u00e5tr\u00e4ffades\u003a {0}" },
605:
606: // Note to translators: A location step is part of an XPath expression.
607: // The message indicates that syntactically such an expression was expected
608: // following the specified characters.
609:
610: /** Problem with Step */
611: //public static final int ER_EXPECTED_LOC_STEP = 97;
612:
613: { ER_EXPECTED_LOC_STEP,
614: "Ett platssteg f\u00f6rv\u00e4ntades efter token '/' eller '//'." },
615:
616: // Note to translators: A node test is part of an XPath expression that is
617: // used to test for particular kinds of nodes. In this case, a node test that
618: // consists of an NCName followed by a colon and an asterisk or that consists
619: // of a QName was expected, but was not found.
620:
621: /** Problem with NodeTest */
622: //public static final int ER_EXPECTED_NODE_TEST = 98;
623:
624: { ER_EXPECTED_NODE_TEST,
625: "Ett nodtest som matchar antingen NCName:* eller QName f\u00f6rv\u00e4ntades." },
626:
627: // Note to translators: A step pattern is part of an XPath expression.
628: // The message indicates that syntactically such an expression was expected,
629: // but the specified character was found in the expression instead.
630:
631: /** Expected step pattern */
632: //public static final int ER_EXPECTED_STEP_PATTERN = 99;
633:
634: { ER_EXPECTED_STEP_PATTERN,
635: "Ett stegm\u00f6nster f\u00f6rv\u00e4ntades, men '/' p\u00e5tr\u00e4ffades." },
636:
637: // Note to translators: A relative path pattern is part of an XPath expression.
638: // The message indicates that syntactically such an expression was expected,
639: // but was not found.
640:
641: /** Expected relative path pattern */
642: //public static final int ER_EXPECTED_REL_PATH_PATTERN = 100;
643:
644: { ER_EXPECTED_REL_PATH_PATTERN,
645: "Ett m\u00f6nster f\u00f6r relativ s\u00f6kv\u00e4g f\u00f6rv\u00e4ntades." },
646:
647: // Note to translators: The substitution text is the name of a data type. The
648: // message indicates that a value of a particular type could not be converted
649: // to a value of type string.
650:
651: /** Field ER_CANT_CONVERT_TO_BOOLEAN */
652: //public static final int ER_CANT_CONVERT_TO_BOOLEAN = 103;
653:
654: { ER_CANT_CONVERT_TO_BOOLEAN,
655: "Det g\u00e5r inte att konvertera {0} till ett Booleskt v\u00e4rde." },
656:
657: // Note to translators: Do not translate ANY_UNORDERED_NODE_TYPE and
658: // FIRST_ORDERED_NODE_TYPE.
659:
660: /** Field ER_CANT_CONVERT_TO_SINGLENODE */
661: //public static final int ER_CANT_CONVERT_TO_SINGLENODE = 104;
662:
663: {
664: ER_CANT_CONVERT_TO_SINGLENODE,
665: "Det g\u00e5r inte att konvertera {0} till en enda nod. G\u00e4ller typerna ANY_UNORDERED_NODE_TYPE och FIRST_ORDERED_NODE_TYPE." },
666:
667: // Note to translators: Do not translate UNORDERED_NODE_SNAPSHOT_TYPE and
668: // ORDERED_NODE_SNAPSHOT_TYPE.
669:
670: /** Field ER_CANT_GET_SNAPSHOT_LENGTH */
671: //public static final int ER_CANT_GET_SNAPSHOT_LENGTH = 105;
672:
673: {
674: ER_CANT_GET_SNAPSHOT_LENGTH,
675: "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." },
676:
677: /** Field ER_NON_ITERATOR_TYPE */
678: //public static final int ER_NON_ITERATOR_TYPE = 106;
679:
680: { ER_NON_ITERATOR_TYPE,
681: "Det g\u00e5r inte att iterera \u00f6ver den icke itererbara typen: {0}" },
682:
683: // Note to translators: This message indicates that the document being operated
684: // upon changed, so the iterator object that was being used to traverse the
685: // document has now become invalid.
686:
687: /** Field ER_DOC_MUTATED */
688: //public static final int ER_DOC_MUTATED = 107;
689:
690: { ER_DOC_MUTATED,
691: "Dokumentet har \u00e4ndrats sedan resultatet genererades. Iterering ogiltig." },
692:
693: /** Field ER_INVALID_XPATH_TYPE */
694: //public static final int ER_INVALID_XPATH_TYPE = 108;
695:
696: { ER_INVALID_XPATH_TYPE,
697: "Ogiltigt XPath-typargument: {0}" },
698:
699: /** Field ER_EMPTY_XPATH_RESULT */
700: //public static final int ER_EMPTY_XPATH_RESULT = 109;
701:
702: { ER_EMPTY_XPATH_RESULT, "Tomt XPath-resultatobjekt" },
703:
704: /** Field ER_INCOMPATIBLE_TYPES */
705: //public static final int ER_INCOMPATIBLE_TYPES = 110;
706:
707: { ER_INCOMPATIBLE_TYPES,
708: "Den genererade typen: {0} kan inte bearbetas i den angivna typen: {1}" },
709:
710: /** Field ER_NULL_RESOLVER */
711: //public static final int ER_NULL_RESOLVER = 111;
712:
713: { ER_NULL_RESOLVER,
714: "Det g\u00e5r inte att l\u00f6sa prefixet utan prefixl\u00f6sare." },
715:
716: // Note to translators: The substitution text is the name of a data type. The
717: // message indicates that a value of a particular type could not be converted
718: // to a value of type string.
719:
720: /** Field ER_CANT_CONVERT_TO_STRING */
721: //public static final int ER_CANT_CONVERT_TO_STRING = 112;
722:
723: { ER_CANT_CONVERT_TO_STRING,
724: "Det g\u00e5r inte att konvertera {0} till en str\u00e4ng." },
725:
726: // Note to translators: Do not translate snapshotItem,
727: // UNORDERED_NODE_SNAPSHOT_TYPE and ORDERED_NODE_SNAPSHOT_TYPE.
728:
729: /** Field ER_NON_SNAPSHOT_TYPE */
730: //public static final int ER_NON_SNAPSHOT_TYPE = 113;
731:
732: {
733: ER_NON_SNAPSHOT_TYPE,
734: "Det g\u00e5r inte att anropa snapshotItem p\u00e5 typ: {0}. Metoden g\u00e4ller typerna UNORDERED_NODE_SNAPSHOT_TYPE och ORDERED_NODE_SNAPSHOT_TYPE." },
735:
736: // Note to translators: XPathEvaluator is a Java interface name. An
737: // XPathEvaluator is created with respect to a particular XML document, and in
738: // this case the expression represented by this object was being evaluated with
739: // respect to a context node from a different document.
740:
741: /** Field ER_WRONG_DOCUMENT */
742: //public static final int ER_WRONG_DOCUMENT = 114;
743:
744: {
745: ER_WRONG_DOCUMENT,
746: "Kontextnoden tillh\u00f6r inte dokumentet som \u00e4r bundet till denna XPathEvaluator." },
747:
748: // Note to translators: The XPath expression cannot be evaluated with respect
749: // to this type of node.
750: /** Field ER_WRONG_NODETYPE */
751: //public static final int ER_WRONG_NODETYPE = 115;
752:
753: { ER_WRONG_NODETYPE, "Kontextnoden kan inte hanteras." },
754:
755: /** Field ER_XPATH_ERROR */
756: //public static final int ER_XPATH_ERROR = 116;
757:
758: { ER_XPATH_ERROR, "Ok\u00e4nt fel i XPath." },
759:
760: // Warnings...
761:
762: /** Field WG_LOCALE_NAME_NOT_HANDLED */
763: //public static final int WG_LOCALE_NAME_NOT_HANDLED = 1;
764:
765: { WG_LOCALE_NAME_NOT_HANDLED,
766: "locale-namnet i format-number-funktionen \u00e4nnu inte hanterat!" },
767:
768: /** Field WG_PROPERTY_NOT_SUPPORTED */
769: //public static final int WG_PROPERTY_NOT_SUPPORTED = 2;
770:
771: { WG_PROPERTY_NOT_SUPPORTED,
772: "XSL-Egenskap underst\u00f6ds inte: {0}" },
773:
774: /** Field WG_DONT_DO_ANYTHING_WITH_NS */
775: //public static final int WG_DONT_DO_ANYTHING_WITH_NS = 3;
776:
777: {
778: WG_DONT_DO_ANYTHING_WITH_NS,
779: "G\u00f6r f\u00f6r n\u00e4rvarande inte n\u00e5gonting med namespace {0} i egenskap: {1}" },
780:
781: /** Field WG_SECURITY_EXCEPTION */
782: //public static final int WG_SECURITY_EXCEPTION = 4;
783:
784: {
785: WG_SECURITY_EXCEPTION,
786: "SecurityException vid f\u00f6rs\u00f6k att f\u00e5 tillg\u00e5ng till XSL-systemegenskap: {0}" },
787:
788: /** Field WG_QUO_NO_LONGER_DEFINED */
789: //public static final int WG_QUO_NO_LONGER_DEFINED = 5;
790:
791: { WG_QUO_NO_LONGER_DEFINED,
792: "Gammal syntax: quo(...) \u00e4r inte l\u00e4ngre definierad i XPath." },
793:
794: /** Field WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST */
795: //public static final int WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST = 6;
796:
797: { WG_NEED_DERIVED_OBJECT_TO_IMPLEMENT_NODETEST,
798: "XPath beh\u00f6ver ett deriverat objekt f\u00f6r att implementera nodeTest!" },
799:
800: /** Field WG_FUNCTION_TOKEN_NOT_FOUND */
801: //public static final int WG_FUNCTION_TOKEN_NOT_FOUND = 7;
802:
803: { WG_FUNCTION_TOKEN_NOT_FOUND,
804: "funktionstecken saknas." },
805:
806: /** Field WG_COULDNOT_FIND_FUNCTION */
807: //public static final int WG_COULDNOT_FIND_FUNCTION = 8;
808:
809: { WG_COULDNOT_FIND_FUNCTION,
810: "Hittade inte funktion: {0}" },
811:
812: /** Field WG_CANNOT_MAKE_URL_FROM */
813: //public static final int WG_CANNOT_MAKE_URL_FROM = 9;
814:
815: { WG_CANNOT_MAKE_URL_FROM,
816: "Kan inte skapa URL fr\u00e5n: {0}" },
817:
818: /** Field WG_EXPAND_ENTITIES_NOT_SUPPORTED */
819: //public static final int WG_EXPAND_ENTITIES_NOT_SUPPORTED = 10;
820:
821: { WG_EXPAND_ENTITIES_NOT_SUPPORTED,
822: "Alternativet -E underst\u00f6ds inte f\u00f6r DTM-tolk" },
823:
824: /** Field WG_ILLEGAL_VARIABLE_REFERENCE */
825: //public static final int WG_ILLEGAL_VARIABLE_REFERENCE = 11;
826:
827: {
828: WG_ILLEGAL_VARIABLE_REFERENCE,
829: "VariableReference angiven f\u00f6r variabel som \u00e4r utanf\u00f6r sammanhanget eller som saknar definition! Namn = {0}" },
830:
831: /** Field WG_UNSUPPORTED_ENCODING */
832: //public static final int WG_UNSUPPORTED_ENCODING = 12;
833:
834: { WG_UNSUPPORTED_ENCODING,
835: "Ej underst\u00f6dd kodning: {0}" },
836:
837: // Other miscellaneous text used inside the code...
838:
839: { "ui_language", "sv" },
840: { "help_language", "sv" },
841: { "language", "sv" },
842: { "BAD_CODE",
843: "Parameter till createMessage ligger utanf\u00f6r till\u00e5tet intervall" },
844: { "FORMAT_FAILED",
845: "Undantag utl\u00f6st vid messageFormat-anrop" },
846: { "version", ">>>>>>> Xalan Version" },
847: { "version2", "<<<<<<<" },
848: { "yes", "ja" },
849: { "line", "Rad //" },
850: { "column", "Kolumn //" },
851: { "xsldone", "XSLProcessor f\u00e4rdig" },
852: { "xpath_option", "xpath-alternativ" },
853: { "optionIN", " [-in inputXMLURL]" },
854: { "optionSelect", "[-select xpath-uttryck]" },
855: { "optionMatch",
856: " [-match matchningsm\u00f6nster (f\u00f6r matchningsdiagnostik)]" },
857: { "optionAnyExpr",
858: "Eller bara ett xpath-uttryck kommer att g\u00f6ra en diagnostik-dump" },
859: { "noParsermsg1", "XSL-Process misslyckades." },
860: { "noParsermsg2", "** Hittade inte tolk **" },
861: { "noParsermsg3",
862: "V\u00e4nligen kontrollera din classpath" },
863: { "noParsermsg4",
864: "Om du inte har IBMs XML-Tolk f\u00f6r Java, kan du ladda ner den fr\u00e5n" },
865: { "noParsermsg5",
866: "IBMs AlphaWorks: http://www.alphaworks.ibm.com/formula/xml" } };
867: }
868:
869: // ================= INFRASTRUCTURE ======================
870:
871: /** Field BAD_CODE */
872: public static final String BAD_CODE = "D\u00c5LIG_KOD";
873:
874: /** Field FORMAT_FAILED */
875: public static final String FORMAT_FAILDE = "FORMATTERING_MISSLYCKADES";
876:
877: /** Field ERROR_RESOURCES */
878: public static final String ERROR_RESOURCES = "org.apache.xpath.res.XPATHErrorResources";
879:
880: /** Field ERROR_STRING */
881: public static final String ERROR_STRING = "//fel";
882:
883: /** Field ERROR_HEADER */
884: public static final String ERROR_HEADER = "Fel: ";
885:
886: /** Field WARNING_HEADER */
887: public static final String WARNING_HEADER = "Varning: ";
888:
889: /** Field XSL_HEADER */
890: public static final String XSL_HEADER = "XSL ";
891:
892: /** Field XML_HEADER */
893: public static final String XML_HEADER = "XML ";
894:
895: /** Field QUERY_HEADER */
896: public static final String QUERY_HEADER = "M\u00d6NSTER ";
897:
898: }
|