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