KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > org > apache > xalan > internal > res > XSLTErrorResources_sv


1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 /*
17  * $Id: XSLTErrorResources_sv.java,v 1.7 2004/02/16 19:14:07 minchau Exp $
18  */

19 package com.sun.org.apache.xalan.internal.res;
20
21
22 /**
23  * Set up error messages.
24  * We build a two dimensional array of message keys and
25  * message strings. In order to add a new message here,
26  * you need to first add a String constant. And
27  * you need to enter key , value pair as part of contents
28  * Array. You also need to update MAX_CODE for error strings
29  * and MAX_WARNING for warnings ( Needed for only information
30  * purpose )
31  */

32 public class XSLTErrorResources_sv extends XSLTErrorResources
33 {
34
35   /** Maximum error messages, this is needed to keep track of the number of messages. */
36   public static final int MAX_CODE = 201;
37
38   /** Maximum warnings, this is needed to keep track of the number of warnings. */
39   public static final int MAX_WARNING = 29;
40
41   /** Maximum misc strings. */
42   public static final int MAX_OTHERS = 55;
43
44   /** Maximum total warnings and error messages. */
45   public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
46
47   /** The lookup table for error messages. */
48   public static final Object JavaDoc[][] contents = {
49
50   /** Error message ID that has a null message, but takes in a single object. */
51   //public static final int ERROR0000 = 0;
52

53
54   {
55     "ERROR0000", "{0}"},
56
57
58   /** ER_NO_CURLYBRACE */
59   //public static final int ER_NO_CURLYBRACE = 1;
60

61
62   {
63     ER_NO_CURLYBRACE,
64       "Fel: Kan inte ha '{' inuti uttryck"},
65
66
67   /** ER_ILLEGAL_ATTRIBUTE */
68   //public static final int ER_ILLEGAL_ATTRIBUTE = 2;
69

70
71   {
72     ER_ILLEGAL_ATTRIBUTE, "{0} har ett otill\u00e5tet attribut: {1}"},
73
74
75   /** ER_NULL_SOURCENODE_APPLYIMPORTS */
76   //public static final int ER_NULL_SOURCENODE_APPLYIMPORTS = 3;
77

78
79   {
80     ER_NULL_SOURCENODE_APPLYIMPORTS,
81       "sourceNode \u00e4r null i xsl:apply-imports!"},
82
83
84   /** ER_CANNOT_ADD */
85   //public static final int ER_CANNOT_ADD = 4;
86

87
88   {
89     ER_CANNOT_ADD, "Kan inte l\u00e4gga {0} till {1}"},
90
91
92   /** ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES */
93   //public static final int ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES = 5;
94

95
96   {
97     ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES,
98       "sourceNode \u00e4r null i handleApplyTemplatesInstruction!"},
99
100
101   /** ER_NO_NAME_ATTRIB */
102   //public static final int ER_NO_NAME_ATTRIB = 6;
103

104
105   {
106     ER_NO_NAME_ATTRIB, "{0} m\u00e5ste ha ett namn-attribut."},
107
108
109   /** ER_TEMPLATE_NOT_FOUND */
110   //public static final int ER_TEMPLATE_NOT_FOUND = 7;
111

112
113   {
114     ER_TEMPLATE_NOT_FOUND, "Hittade inte mallen med namn: {0}"},
115
116
117   /** ER_CANT_RESOLVE_NAME_AVT */
118   //public static final int ER_CANT_RESOLVE_NAME_AVT = 8;
119

120
121   {
122     ER_CANT_RESOLVE_NAME_AVT,
123       "Kunde inte l\u00f6sa namn-AVT i xsl:call-template."},
124
125
126   /** ER_REQUIRES_ATTRIB */
127   //public static final int ER_REQUIRES_ATTRIB = 9;
128

129
130   {
131     ER_REQUIRES_ATTRIB, "{0} kr\u00e4ver attribut: {1}"},
132
133
134   /** ER_MUST_HAVE_TEST_ATTRIB */
135   //public static final int ER_MUST_HAVE_TEST_ATTRIB = 10;
136

137
138   {
139     ER_MUST_HAVE_TEST_ATTRIB,
140       "{0} m\u00e5ste ha ett ''test''-attribut."},
141
142
143   /** ER_BAD_VAL_ON_LEVEL_ATTRIB */
144   //public static final int ER_BAD_VAL_ON_LEVEL_ATTRIB = 11;
145

146
147   {
148     ER_BAD_VAL_ON_LEVEL_ATTRIB,
149       "D\u00e5ligt v\u00e4rde p\u00e5 niv\u00e5-attribut: {0}"},
150
151
152   /** ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */
153   //public static final int ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 12;
154

155
156   {
157     ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
158       "Namn p\u00e5 behandlande instruktion f\u00e5r inte vara 'xml'"},
159
160
161   /** ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */
162   //public static final int ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 13;
163

164
165   {
166     ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
167       "Namn p\u00e5 behandlande instruktion m\u00e5ste vara ett giltigt NCNamn: {0}"},
168
169
170   /** ER_NEED_MATCH_ATTRIB */
171   //public static final int ER_NEED_MATCH_ATTRIB = 14;
172

173
174   {
175     ER_NEED_MATCH_ATTRIB,
176       "{0} m\u00e5ste ha ett matchningsattribut om det har ett tillst\u00e5nd."},
177
178
179   /** ER_NEED_NAME_OR_MATCH_ATTRIB */
180   //public static final int ER_NEED_NAME_OR_MATCH_ATTRIB = 15;
181

182
183   {
184     ER_NEED_NAME_OR_MATCH_ATTRIB,
185       "{0} kr\u00e4ver antingen ett namn eller ett matchningsattribut."},
186
187
188   /** ER_CANT_RESOLVE_NSPREFIX */
189   //public static final int ER_CANT_RESOLVE_NSPREFIX = 16;
190

191
192   {
193     ER_CANT_RESOLVE_NSPREFIX,
194       "Kan inte l\u00f6sa namnrymdsprefix: {0}"},
195
196
197   /** ER_ILLEGAL_VALUE */
198   //public static final int ER_ILLEGAL_VALUE = 17;
199

200
201   {
202     ER_ILLEGAL_VALUE, "xml:space har ett otill\u00e5tet v\u00e4rde: {0}"},
203
204
205   /** ER_NO_OWNERDOC */
206   //public static final int ER_NO_OWNERDOC = 18;
207

208
209   {
210     ER_NO_OWNERDOC,
211       "Barnnod saknar \u00e4gardokument!"},
212
213
214   /** ER_ELEMTEMPLATEELEM_ERR */
215   //public static final int ER_ELEMTEMPLATEELEM_ERR = 19;
216

217
218   {
219     ER_ELEMTEMPLATEELEM_ERR, "ElemTemplateElement-fel: {0}"},
220
221
222   /** ER_NULL_CHILD */
223   //public static final int ER_NULL_CHILD = 20;
224

225
226   {
227     ER_NULL_CHILD, "F\u00f6rs\u00f6ker l\u00e4gga till ett null-barn!"},
228
229
230   /** ER_NEED_SELECT_ATTRIB */
231   //public static final int ER_NEED_SELECT_ATTRIB = 21;
232

233
234   {
235     ER_NEED_SELECT_ATTRIB, "{0} kr\u00e4ver ett valattribut."},
236
237
238   /** ER_NEED_TEST_ATTRIB */
239   //public static final int ER_NEED_TEST_ATTRIB = 22;
240

241
242   {
243     ER_NEED_TEST_ATTRIB,
244       "xsl:when m\u00e5ste ha ett 'test'-attribut."},
245
246
247   /** ER_NEED_NAME_ATTRIB */
248   //public static final int ER_NEED_NAME_ATTRIB = 23;
249

250
251   {
252     ER_NEED_NAME_ATTRIB,
253       "xsl:with-param m\u00e5ste ha ett 'namn'-attribut."},
254
255
256   /** ER_NO_CONTEXT_OWNERDOC */
257   //public static final int ER_NO_CONTEXT_OWNERDOC = 24;
258

259
260   {
261     ER_NO_CONTEXT_OWNERDOC,
262       "Kontext saknar \u00e4gardokument!"},
263
264
265   /** ER_COULD_NOT_CREATE_XML_PROC_LIAISON */
266   //public static final int ER_COULD_NOT_CREATE_XML_PROC_LIAISON = 25;
267

268
269   {
270     ER_COULD_NOT_CREATE_XML_PROC_LIAISON,
271       "Kunde inte skapa XML TransformerFactory Liaison: {0}"},
272
273
274   /** ER_PROCESS_NOT_SUCCESSFUL */
275   //public static final int ER_PROCESS_NOT_SUCCESSFUL = 26;
276

277
278   {
279     ER_PROCESS_NOT_SUCCESSFUL,
280       "Xalan: Process misslyckades."},
281
282
283   /** ER_NOT_SUCCESSFUL */
284   //public static final int ER_NOT_SUCCESSFUL = 27;
285

286
287   {
288     ER_NOT_SUCCESSFUL, "Xalan: misslyckades."},
289
290
291   /** ER_ENCODING_NOT_SUPPORTED */
292   //public static final int ER_ENCODING_NOT_SUPPORTED = 28;
293

294
295   {
296     ER_ENCODING_NOT_SUPPORTED, "Kodning inte underst\u00f6dd: {0}"},
297
298
299   /** ER_COULD_NOT_CREATE_TRACELISTENER */
300   //public static final int ER_COULD_NOT_CREATE_TRACELISTENER = 29;
301

302
303   {
304     ER_COULD_NOT_CREATE_TRACELISTENER,
305       "Kunde inte skapa TraceListener: {0}"},
306
307
308   /** ER_KEY_REQUIRES_NAME_ATTRIB */
309   //public static final int ER_KEY_REQUIRES_NAME_ATTRIB = 30;
310

311
312   {
313     ER_KEY_REQUIRES_NAME_ATTRIB,
314       "xsl:key m\u00e5ste ha ett 'namn'-attribut."},
315
316
317   /** ER_KEY_REQUIRES_MATCH_ATTRIB */
318   //public static final int ER_KEY_REQUIRES_MATCH_ATTRIB = 31;
319

320
321   {
322     ER_KEY_REQUIRES_MATCH_ATTRIB,
323       "xsl:key m\u00e5ste ha ett 'matcha'-attribut."},
324
325
326   /** ER_KEY_REQUIRES_USE_ATTRIB */
327   //public static final int ER_KEY_REQUIRES_USE_ATTRIB = 32;
328

329
330   {
331     ER_KEY_REQUIRES_USE_ATTRIB,
332       "xsl:key m\u00e5ste ha ett 'anv\u00e4nd'-attribut."},
333
334
335   /** ER_REQUIRES_ELEMENTS_ATTRIB */
336   //public static final int ER_REQUIRES_ELEMENTS_ATTRIB = 33;
337

338
339   {
340     ER_REQUIRES_ELEMENTS_ATTRIB,
341       "(StylesheetHandler) {0} kr\u00e4ver ett ''element''-attribut!"},
342
343
344   /** ER_MISSING_PREFIX_ATTRIB */
345   //public static final int ER_MISSING_PREFIX_ATTRIB = 34;
346

347
348   {
349     ER_MISSING_PREFIX_ATTRIB,
350       "(StylesheetHandler) {0} ''prefix''-attribut saknas"},
351
352
353   /** ER_BAD_STYLESHEET_URL */
354   //public static final int ER_BAD_STYLESHEET_URL = 35;
355

356
357   {
358     ER_BAD_STYLESHEET_URL, "Stylesheet URL \u00e4r d\u00e5lig: {0}"},
359
360
361   /** ER_FILE_NOT_FOUND */
362   //public static final int ER_FILE_NOT_FOUND = 36;
363

364
365   {
366     ER_FILE_NOT_FOUND, "Stylesheet-fil saknas: {0}"},
367
368
369   /** ER_IOEXCEPTION */
370   //public static final int ER_IOEXCEPTION = 37;
371

372
373   {
374     ER_IOEXCEPTION,
375       "Fick IO-Undantag med stylesheet-fil: {0}"},
376
377
378   /** ER_NO_HREF_ATTRIB */
379   //public static final int ER_NO_HREF_ATTRIB = 38;
380

381
382   {
383     ER_NO_HREF_ATTRIB,
384       "(StylesheetHandler) Hittade inte href-attribute f\u00f6r {0}"},
385
386
387   /** ER_STYLESHEET_INCLUDES_ITSELF */
388   //public static final int ER_STYLESHEET_INCLUDES_ITSELF = 39;
389

390
391   {
392     ER_STYLESHEET_INCLUDES_ITSELF,
393       "(StylesheetHandler) {0} inkluderar, direkt eller indirekt, sig sj\u00e4lv!"},
394
395
396   /** ER_PROCESSINCLUDE_ERROR */
397   //public static final int ER_PROCESSINCLUDE_ERROR = 40;
398

399
400   {
401     ER_PROCESSINCLUDE_ERROR,
402       "StylesheetHandler.processInclude-fel, {0}"},
403
404
405   /** ER_MISSING_LANG_ATTRIB */
406   //public static final int ER_MISSING_LANG_ATTRIB = 41;
407

408
409   {
410     ER_MISSING_LANG_ATTRIB,
411       "(StylesheetHandler) {0} ''lang''-attribut' saknas"},
412
413
414   /** ER_MISSING_CONTAINER_ELEMENT_COMPONENT */
415   //public static final int ER_MISSING_CONTAINER_ELEMENT_COMPONENT = 42;
416

417
418   {
419     ER_MISSING_CONTAINER_ELEMENT_COMPONENT,
420       "(StylesheetHandler) felplacerade {0} element?? Saknar beh\u00e5llarelement ''komponent''"},
421
422
423   /** ER_CAN_ONLY_OUTPUT_TO_ELEMENT */
424   //public static final int ER_CAN_ONLY_OUTPUT_TO_ELEMENT = 43;
425

426
427   {
428     ER_CAN_ONLY_OUTPUT_TO_ELEMENT,
429       "Kan endast skicka utdata till ett Element, ett DocumentFragment, ett Document, eller en PrintWriter."},
430
431
432   /** ER_PROCESS_ERROR */
433   //public static final int ER_PROCESS_ERROR = 44;
434

435
436   {
437     ER_PROCESS_ERROR, "StylesheetRoot.process-fel"},
438
439
440   /** ER_UNIMPLNODE_ERROR */
441   //public static final int ER_UNIMPLNODE_ERROR = 45;
442

443
444   {
445     ER_UNIMPLNODE_ERROR, "UnImplNode-fel: {0}"},
446
447
448   /** ER_NO_SELECT_EXPRESSION */
449   //public static final int ER_NO_SELECT_EXPRESSION = 46;
450

451
452   {
453     ER_NO_SELECT_EXPRESSION,
454       "Fel! Hittade inte xpath select-uttryck (-select)."},
455
456
457   /** ER_CANNOT_SERIALIZE_XSLPROCESSOR */
458   //public static final int ER_CANNOT_SERIALIZE_XSLPROCESSOR = 47;
459

460
461   {
462     ER_CANNOT_SERIALIZE_XSLPROCESSOR,
463       "Kan inte serialisera en XSLProcessor!"},
464
465
466   /** ER_NO_INPUT_STYLESHEET */
467   //public static final int ER_NO_INPUT_STYLESHEET = 48;
468

469
470   {
471     ER_NO_INPUT_STYLESHEET,
472       "Stylesheet-indata ej angiven!"},
473
474
475   /** ER_FAILED_PROCESS_STYLESHEET */
476   //public static final int ER_FAILED_PROCESS_STYLESHEET = 49;
477

478
479   {
480     ER_FAILED_PROCESS_STYLESHEET,
481       "Kunde inte behandla stylesheet!"},
482
483
484   /** ER_COULDNT_PARSE_DOC */
485   //public static final int ER_COULDNT_PARSE_DOC = 50;
486

487
488   {
489     ER_COULDNT_PARSE_DOC, "Kunde inte tolka {0} dokument!"},
490
491
492   /** ER_COULDNT_FIND_FRAGMENT */
493   //public static final int ER_COULDNT_FIND_FRAGMENT = 51;
494

495
496   {
497     ER_COULDNT_FIND_FRAGMENT, "Hittade inte fragment: {0}"},
498
499
500   /** ER_NODE_NOT_ELEMENT */
501   //public static final int ER_NODE_NOT_ELEMENT = 52;
502

503
504   {
505     ER_NODE_NOT_ELEMENT,
506       "Nod som pekades p\u00e5 av fragment-identifierare var inte ett element: {0}"},
507
508
509   /** ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB */
510   //public static final int ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB = 53;
511

512
513   {
514     ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB,
515       "for-each kr\u00e4ver antingen en matchning eller ett namnattribut."},
516
517
518   /** ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB */
519   //public static final int ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB = 54;
520

521
522   {
523     ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB,
524       "mallar kr\u00e4ver antingen en matchning eller ett namnattribut."},
525
526
527   /** ER_NO_CLONE_OF_DOCUMENT_FRAG */
528   //public static final int ER_NO_CLONE_OF_DOCUMENT_FRAG = 55;
529

530
531   {
532     ER_NO_CLONE_OF_DOCUMENT_FRAG,
533       "Ingen klon av ett dokumentfragment!"},
534
535
536   /** ER_CANT_CREATE_ITEM */
537   //public static final int ER_CANT_CREATE_ITEM = 56;
538

539
540   {
541     ER_CANT_CREATE_ITEM,
542       "Kan inte skapa element i resultattr\u00e4d: {0}"},
543
544
545   /** ER_XMLSPACE_ILLEGAL_VALUE */
546   //public static final int ER_XMLSPACE_ILLEGAL_VALUE = 57;
547

548
549   {
550     ER_XMLSPACE_ILLEGAL_VALUE,
551       "xml:space i k\u00e4ll-XML har ett otill\u00e5tet v\u00e4rde: {0}"},
552
553
554   /** ER_NO_XSLKEY_DECLARATION */
555   //public static final int ER_NO_XSLKEY_DECLARATION = 58;
556

557
558   {
559     ER_NO_XSLKEY_DECLARATION,
560       "Det finns ingen xsl:key-deklaration f\u00f6r {0}!"},
561
562
563   /** ER_CANT_CREATE_URL */
564   //public static final int ER_CANT_CREATE_URL = 59;
565

566
567   {
568     ER_CANT_CREATE_URL, "Fel! Kan inte skapa url f\u00f6r: {0}"},
569
570
571   /** ER_XSLFUNCTIONS_UNSUPPORTED */
572   //public static final int ER_XSLFUNCTIONS_UNSUPPORTED = 60;
573

574
575   {
576     ER_XSLFUNCTIONS_UNSUPPORTED, "xsl:functions \u00e4r inte underst\u00f6dd"},
577
578
579   /** ER_PROCESSOR_ERROR */
580   //public static final int ER_PROCESSOR_ERROR = 61;
581

582
583   {
584     ER_PROCESSOR_ERROR, "XSLT TransformerFactory-Fel"},
585
586
587   /** ER_NOT_ALLOWED_INSIDE_STYLESHEET */
588   //public static final int ER_NOT_ALLOWED_INSIDE_STYLESHEET = 62;
589

590
591   {
592     ER_NOT_ALLOWED_INSIDE_STYLESHEET,
593       "(StylesheetHandler) {0} \u00e4r inte till\u00e5ten inne i ett stylesheet!"},
594
595
596   /** ER_RESULTNS_NOT_SUPPORTED */
597   //public static final int ER_RESULTNS_NOT_SUPPORTED = 63;
598

599
600   {
601     ER_RESULTNS_NOT_SUPPORTED,
602       "result-ns inte l\u00e4ngre underst\u00f6dd! Anv\u00e4nd xsl:output ist\u00e4llet."},
603
604
605   /** ER_DEFAULTSPACE_NOT_SUPPORTED */
606   //public static final int ER_DEFAULTSPACE_NOT_SUPPORTED = 64;
607

608
609   {
610     ER_DEFAULTSPACE_NOT_SUPPORTED,
611       "default-space inte l\u00e4ngre underst\u00f6dd! Anv\u00e4nd xsl:strip-space eller xsl:preserve-space ist\u00e4llet."},
612
613
614   /** ER_INDENTRESULT_NOT_SUPPORTED */
615   //public static final int ER_INDENTRESULT_NOT_SUPPORTED = 65;
616

617
618   {
619     ER_INDENTRESULT_NOT_SUPPORTED,
620       "indent-result inte l\u00e4ngre underst\u00f6dd! Anv\u00e4nd xsl:output ist\u00e4llet."},
621
622
623   /** ER_ILLEGAL_ATTRIB */
624   //public static final int ER_ILLEGAL_ATTRIB = 66;
625

626
627   {
628     ER_ILLEGAL_ATTRIB,
629       "(StylesheetHandler) {0} har ett otill\u00e5tet attribut: {1}"},
630
631
632   /** ER_UNKNOWN_XSL_ELEM */
633   //public static final int ER_UNKNOWN_XSL_ELEM = 67;
634

635
636   {
637     ER_UNKNOWN_XSL_ELEM, "Ok\u00e4nt XSL-element: {0}"},
638
639
640   /** ER_BAD_XSLSORT_USE */
641   //public static final int ER_BAD_XSLSORT_USE = 68;
642

643
644   {
645     ER_BAD_XSLSORT_USE,
646       "(StylesheetHandler) xsl:sort kan endast anv\u00e4ndas med xsl:apply-templates eller xsl:for-each."},
647
648
649   /** ER_MISPLACED_XSLWHEN */
650   //public static final int ER_MISPLACED_XSLWHEN = 69;
651

652
653   {
654     ER_MISPLACED_XSLWHEN,
655       "(StylesheetHandler) felplacerade xsl:when!"},
656
657
658   /** ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE */
659   //public static final int ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE = 70;
660

661
662   {
663     ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE,
664       "(StylesheetHandler) xsl:when h\u00e4rstammar inte fr\u00e5n xsl:choose!"},
665
666
667   /** ER_MISPLACED_XSLOTHERWISE */
668   //public static final int ER_MISPLACED_XSLOTHERWISE = 71;
669

670
671   {
672     ER_MISPLACED_XSLOTHERWISE,
673       "(StylesheetHandler) felplacerade xsl:otherwise!"},
674
675
676   /** ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE */
677   //public static final int ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE = 72;
678

679
680   {
681     ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE,
682       "(StylesheetHandler) xsl:otherwise h\u00e4rstammar inte fr\u00e5n xsl:choose!"},
683
684
685   /** ER_NOT_ALLOWED_INSIDE_TEMPLATE */
686   //public static final int ER_NOT_ALLOWED_INSIDE_TEMPLATE = 73;
687

688
689   {
690     ER_NOT_ALLOWED_INSIDE_TEMPLATE,
691       "(StylesheetHandler) {0} \u00e4r inte till\u00e5ten inne i en mall!"},
692
693
694   /** ER_UNKNOWN_EXT_NS_PREFIX */
695   //public static final int ER_UNKNOWN_EXT_NS_PREFIX = 74;
696

697
698   {
699     ER_UNKNOWN_EXT_NS_PREFIX,
700       "(StylesheetHandler) {0} utbyggnadsnamnrymdsprefix {1} ok\u00e4nt"},
701
702
703   /** ER_IMPORTS_AS_FIRST_ELEM */
704   //public static final int ER_IMPORTS_AS_FIRST_ELEM = 75;
705

706
707   {
708     ER_IMPORTS_AS_FIRST_ELEM,
709       "(StylesheetHandler) Imports kan endast f\u00f6rekomma som de f\u00f6rsta elementen i ett stylesheet!"},
710
711
712   /** ER_IMPORTING_ITSELF */
713   //public static final int ER_IMPORTING_ITSELF = 76;
714

715
716   {
717     ER_IMPORTING_ITSELF,
718       "(StylesheetHandler) {0} importerar, direkt eller indirekt, sig sj\u00e4lv!"},
719
720
721   /** ER_XMLSPACE_ILLEGAL_VAL */
722   //public static final int ER_XMLSPACE_ILLEGAL_VAL = 77;
723

724
725   {
726     ER_XMLSPACE_ILLEGAL_VAL,
727       "(StylesheetHandler) " + "xml:space har ett otill\u00e5tet v\u00e4rde: {0}"},
728
729
730   /** ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL */
731   //public static final int ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL = 78;
732

733
734   {
735     ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL,
736       "processStylesheet misslyckades!"},
737
738
739   /** ER_SAX_EXCEPTION */
740   //public static final int ER_SAX_EXCEPTION = 79;
741

742
743   {
744     ER_SAX_EXCEPTION, "SAX-Undantag"},
745
746
747
748   /** ER_XSLT_ERROR */
749   //public static final int ER_XSLT_ERROR = 81;
750

751
752   {
753     ER_XSLT_ERROR, "XSLT-fel"},
754
755
756   /** ER_CURRENCY_SIGN_ILLEGAL */
757   //public static final int ER_CURRENCY_SIGN_ILLEGAL = 82;
758

759
760   {
761     ER_CURRENCY_SIGN_ILLEGAL,
762       "valutatecken \u00e4r inte till\u00e5tet i formatm\u00f6nsterstr\u00e4ng"},
763
764
765   /** ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM */
766   //public static final int ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM = 83;
767

768
769   {
770     ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM,
771       "Dokumentfunktion inte underst\u00f6dd i Stylesheet DOM!"},
772
773
774   /** ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER */
775   //public static final int ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER = 84;
776

777
778   {
779     ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER,
780       "Kan inte l\u00f6sa prefix i icke-Prefixl\u00f6sare!"},
781
782
783   /** ER_REDIRECT_COULDNT_GET_FILENAME */
784   //public static final int ER_REDIRECT_COULDNT_GET_FILENAME = 85;
785

786
787   {
788     ER_REDIRECT_COULDNT_GET_FILENAME,
789       "Redirect extension: Hittade inte filnamn - fil eller valattribut m\u00e5ste returnera vald str\u00e4ng."},
790
791
792   /** ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT */
793   //public static final int ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT = 86;
794

795
796   {
797     ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT,
798       "Kan inte bygga FormatterListener i Redirect extension!"},
799
800
801   /** ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX */
802   //public static final int ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX = 87;
803

804
805   {
806     ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX,
807       "Prefix i exkludera-resultat-prefix \u00e4r inte giltig: {0}"},
808
809
810   /** ER_MISSING_NS_URI */
811   //public static final int ER_MISSING_NS_URI = 88;
812

813
814   {
815     ER_MISSING_NS_URI,
816       "Namnrymds-URI saknas f\u00f6r angivna prefix"},
817
818
819   /** ER_MISSING_ARG_FOR_OPTION */
820   //public static final int ER_MISSING_ARG_FOR_OPTION = 89;
821

822
823   {
824     ER_MISSING_ARG_FOR_OPTION,
825       "Argument saknas f\u00f6r alternativ: {0}"},
826
827
828   /** ER_INVALID_OPTION */
829   //public static final int ER_INVALID_OPTION = 90;
830

831
832   {
833     ER_INVALID_OPTION, "Ogiltigt alternativ: {0}"},
834
835
836   /** ER_MALFORMED_FORMAT_STRING */
837   //public static final int ER_MALFORMED_FORMAT_STRING = 91;
838

839
840   {
841     ER_MALFORMED_FORMAT_STRING, "Fel format p\u00e5 formatstr\u00e4ng: {0}"},
842
843
844   /** ER_STYLESHEET_REQUIRES_VERSION_ATTRIB */
845   //public static final int ER_STYLESHEET_REQUIRES_VERSION_ATTRIB = 92;
846

847
848   {
849     ER_STYLESHEET_REQUIRES_VERSION_ATTRIB,
850       "xsl:stylesheet m\u00e5ste ha ett 'version'-attribut!"},
851
852
853   /** ER_ILLEGAL_ATTRIBUTE_VALUE */
854   //public static final int ER_ILLEGAL_ATTRIBUTE_VALUE = 93;
855

856
857   {
858     ER_ILLEGAL_ATTRIBUTE_VALUE,
859       "Attribut: {0} har ett otill\u00e5tet v\u00e4rde: {1}"},
860
861
862   /** ER_CHOOSE_REQUIRES_WHEN */
863   //public static final int ER_CHOOSE_REQUIRES_WHEN = 94;
864

865
866   {
867     ER_CHOOSE_REQUIRES_WHEN, "xsl:choose kr\u00e4ver ett xsl:when"},
868
869
870   /** ER_NO_APPLY_IMPORT_IN_FOR_EACH */
871   //public static final int ER_NO_APPLY_IMPORT_IN_FOR_EACH = 95;
872

873
874   {
875     ER_NO_APPLY_IMPORT_IN_FOR_EACH,
876       "xsl:apply-imports inte till\u00e5tet i ett xsl:for-each"},
877
878
879   /** ER_CANT_USE_DTM_FOR_OUTPUT */
880   //public static final int ER_CANT_USE_DTM_FOR_OUTPUT = 96;
881

882
883   {
884     ER_CANT_USE_DTM_FOR_OUTPUT,
885       "Kan inte anv\u00e4nda DTMLiaison till en DOM utdatanod... skicka en com.sun.org.apache.xpath.internal.DOM2Helper ist\u00e4llet!"},
886
887
888   /** ER_CANT_USE_DTM_FOR_INPUT */
889   //public static final int ER_CANT_USE_DTM_FOR_INPUT = 97;
890

891
892   {
893     ER_CANT_USE_DTM_FOR_INPUT,
894       "Kan inte anv\u00e4nda DTMLiaison till en DOM indatanod... skicka en com.sun.org.apache.xpath.internal.DOM2Helper ist\u00e4llet!"},
895
896
897   /** ER_CALL_TO_EXT_FAILED */
898   //public static final int ER_CALL_TO_EXT_FAILED = 98;
899

900
901   {
902     ER_CALL_TO_EXT_FAILED,
903       "Anrop till anslutningselement misslyckades: {0}"},
904
905
906   /** ER_PREFIX_MUST_RESOLVE */
907   //public static final int ER_PREFIX_MUST_RESOLVE = 99;
908

909
910   {
911     ER_PREFIX_MUST_RESOLVE,
912       "Prefix m\u00e5ste l\u00f6sa till en mamnrymd: {0}"},
913
914
915   /** ER_INVALID_UTF16_SURROGATE */
916   //public static final int ER_INVALID_UTF16_SURROGATE = 100;
917

918
919   {
920     ER_INVALID_UTF16_SURROGATE,
921       "Ogiltigt UTF-16-surrogat uppt\u00e4ckt: {0} ?"},
922
923
924   /** ER_XSLATTRSET_USED_ITSELF */
925   //public static final int ER_XSLATTRSET_USED_ITSELF = 101;
926

927
928   {
929     ER_XSLATTRSET_USED_ITSELF,
930       "xsl:attribute-set {0} anv\u00e4nde sig sj\u00e4lvt, vilket kommer att orsaka en o\u00e4ndlig loop."},
931
932
933   /** ER_CANNOT_MIX_XERCESDOM */
934   //public static final int ER_CANNOT_MIX_XERCESDOM = 102;
935

936
937   {
938     ER_CANNOT_MIX_XERCESDOM,
939       "Kan inte blanda icke-Xerces-DOM-indata med Xerces-DOM-utdata!"},
940
941
942   /** ER_TOO_MANY_LISTENERS */
943   //public static final int ER_TOO_MANY_LISTENERS = 103;
944

945
946   {
947     ER_TOO_MANY_LISTENERS,
948       "addTraceListenersToStylesheet - TooManyListenersException"},
949
950
951   /** ER_IN_ELEMTEMPLATEELEM_READOBJECT */
952   //public static final int ER_IN_ELEMTEMPLATEELEM_READOBJECT = 104;
953

954
955   {
956     ER_IN_ELEMTEMPLATEELEM_READOBJECT,
957       "I ElemTemplateElement.readObject: {0}"},
958
959
960   /** ER_DUPLICATE_NAMED_TEMPLATE */
961   //public static final int ER_DUPLICATE_NAMED_TEMPLATE = 105;
962

963
964   {
965     ER_DUPLICATE_NAMED_TEMPLATE,
966       "Hittade mer \u00e4n en mall med namnet: {0}"},
967
968
969   /** ER_INVALID_KEY_CALL */
970   //public static final int ER_INVALID_KEY_CALL = 106;
971

972
973   {
974     ER_INVALID_KEY_CALL,
975       "Ogiltigt funktionsanrop: rekursiva key()-anrop \u00e4r inte till\u00e5tna"},
976
977   
978   /** Variable is referencing itself */
979   //public static final int ER_REFERENCING_ITSELF = 107;
980

981
982   {
983     ER_REFERENCING_ITSELF,
984       "Variabel {0} h\u00e4nvisar, direkt eller indirekt, till sig sj\u00e4lv!"},
985
986   
987   /** Illegal DOMSource input */
988   //public static final int ER_ILLEGAL_DOMSOURCE_INPUT = 108;
989

990
991   {
992     ER_ILLEGAL_DOMSOURCE_INPUT,
993       "Indatanoden till en DOMSource f\u00f6r newTemplates f\u00e5r inte vara null!"},
994
995     
996     /** Class not found for option */
997   //public static final int ER_CLASS_NOT_FOUND_FOR_OPTION = 109;
998

999
1000  {
1001    ER_CLASS_NOT_FOUND_FOR_OPTION,
1002            "Klassfil f\u00f6r alternativ {0} saknas"},
1003
1004    
1005    /** Required Element not found */
1006  //public static final int ER_REQUIRED_ELEM_NOT_FOUND = 110;
1007

1008
1009  {
1010    ER_REQUIRED_ELEM_NOT_FOUND,
1011            "N\u00f6dv\u00e4ndigt element saknas: {0}"},
1012
1013  
1014  /** InputStream cannot be null */
1015  //public static final int ER_INPUT_CANNOT_BE_NULL = 111;
1016

1017
1018  {
1019    ER_INPUT_CANNOT_BE_NULL,
1020            "InputStream f\u00e5r inte vara null"},
1021
1022  
1023  /** URI cannot be null */
1024  //public static final int ER_URI_CANNOT_BE_NULL = 112;
1025

1026
1027  {
1028    ER_URI_CANNOT_BE_NULL,
1029            "URI f\u00e5r inte vara null"},
1030
1031  
1032  /** File cannot be null */
1033  //public static final int ER_FILE_CANNOT_BE_NULL = 113;
1034

1035
1036  {
1037    ER_FILE_CANNOT_BE_NULL,
1038            "Fil f\u00e5r inte vara null"},
1039
1040  
1041   /** InputSource cannot be null */
1042  //public static final int ER_SOURCE_CANNOT_BE_NULL = 114;
1043

1044
1045  {
1046    ER_SOURCE_CANNOT_BE_NULL,
1047            "InputSource f\u00e5r inte vara null"},
1048
1049  
1050  /** Could not initialize BSF Manager */
1051  //public static final int ER_CANNOT_INIT_BSFMGR = 116;
1052

1053
1054  {
1055    ER_CANNOT_INIT_BSFMGR,
1056            "Kan inte initialisera BSF Manager"},
1057
1058  
1059  /** Could not compile extension */
1060  //public static final int ER_CANNOT_CMPL_EXTENSN = 117;
1061

1062
1063  {
1064    ER_CANNOT_CMPL_EXTENSN,
1065            "Kunde inte kompilera anslutning"},
1066
1067  
1068  /** Could not create extension */
1069  //public static final int ER_CANNOT_CREATE_EXTENSN = 118;
1070

1071
1072  {
1073    ER_CANNOT_CREATE_EXTENSN,
1074      "Kunde inte skapa anslutning: {0} p\u00e5 grund av: {1}"},
1075
1076  
1077  /** Instance method call to method {0} requires an Object instance as first argument */
1078  //public static final int ER_INSTANCE_MTHD_CALL_REQUIRES = 119;
1079

1080
1081  {
1082    ER_INSTANCE_MTHD_CALL_REQUIRES,
1083      "Instansmetodanrop till metod {0} kr\u00e4ver en Objektinstans som f\u00f6rsta argument"},
1084
1085  
1086  /** Invalid element name specified */
1087  //public static final int ER_INVALID_ELEMENT_NAME = 120;
1088

1089
1090  {
1091    ER_INVALID_ELEMENT_NAME,
1092      "Ogiltigt elementnamn angivet {0}"},
1093
1094  
1095   /** Element name method must be static */
1096  //public static final int ER_ELEMENT_NAME_METHOD_STATIC = 121;
1097

1098
1099  {
1100    ER_ELEMENT_NAME_METHOD_STATIC,
1101      "Elementnamnmetod m\u00e5ste vara static {0}"},
1102
1103  
1104   /** Extension function {0} : {1} is unknown */
1105  //public static final int ER_EXTENSION_FUNC_UNKNOWN = 122;
1106

1107
1108  {
1109    ER_EXTENSION_FUNC_UNKNOWN,
1110             "Anslutningsfunktion {0} : {1} \u00e4r ok\u00e4nd"},
1111
1112  
1113   /** More than one best match for constructor for */
1114  //public static final int ER_MORE_MATCH_CONSTRUCTOR = 123;
1115

1116
1117  {
1118    ER_MORE_MATCH_CONSTRUCTOR,
1119             "Fler \u00e4n en b\u00e4sta matchning f\u00f6r konstruktor f\u00f6r {0}"},
1120
1121  
1122   /** More than one best match for method */
1123  //public static final int ER_MORE_MATCH_METHOD = 124;
1124

1125
1126  {
1127    ER_MORE_MATCH_METHOD,
1128             "Fler \u00e4n en b\u00e4sta matchning f\u00f6r metod {0}"},
1129
1130  
1131   /** More than one best match for element method */
1132  //public static final int ER_MORE_MATCH_ELEMENT = 125;
1133

1134
1135  {
1136    ER_MORE_MATCH_ELEMENT,
1137             "Fler \u00e4n en b\u00e4sta matchning f\u00f6r elementmetod {0}"},
1138
1139  
1140   /** Invalid context passed to evaluate */
1141  //public static final int ER_INVALID_CONTEXT_PASSED = 126;
1142

1143
1144  {
1145    ER_INVALID_CONTEXT_PASSED,
1146             "Ogiltig kontext skickad f\u00f6r att utv\u00e4rdera {0}"},
1147
1148  
1149   /** Pool already exists */
1150  //public static final int ER_POOL_EXISTS = 127;
1151

1152
1153  {
1154    ER_POOL_EXISTS,
1155             "Pool finns redan"},
1156
1157  
1158   /** No driver Name specified */
1159  //public static final int ER_NO_DRIVER_NAME = 128;
1160

1161
1162  {
1163    ER_NO_DRIVER_NAME,
1164             "Inget driver-namn angivet"},
1165
1166  
1167   /** No URL specified */
1168  //public static final int ER_NO_URL = 129;
1169

1170
1171  {
1172    ER_NO_URL,
1173             "Ingen URL angiven"},
1174
1175  
1176   /** Pool size is less than one */
1177  //public static final int ER_POOL_SIZE_LESSTHAN_ONE = 130;
1178

1179
1180  {
1181    ER_POOL_SIZE_LESSTHAN_ONE,
1182             "Poolstorlek \u00e4r mindre \u00e4n ett!"},
1183
1184  
1185   /** Invalid driver name specified */
1186  //public static final int ER_INVALID_DRIVER = 131;
1187

1188
1189  {
1190    ER_INVALID_DRIVER,
1191             "Ogiltigt driver-namn angivet"},
1192
1193  
1194   /** Did not find the stylesheet root */
1195  //public static final int ER_NO_STYLESHEETROOT = 132;
1196

1197
1198  {
1199    ER_NO_STYLESHEETROOT,
1200             "Hittade inte stylesheet-roten!"},
1201
1202  
1203   /** Illegal value for xml:space */
1204  //public static final int ER_ILLEGAL_XMLSPACE_VALUE = 133;
1205

1206
1207  {
1208    ER_ILLEGAL_XMLSPACE_VALUE,
1209         "Ogiltigt v\u00e4rde f\u00f6r xml:space"},
1210
1211  
1212   /** processFromNode failed */
1213  //public static final int ER_PROCESSFROMNODE_FAILED = 134;
1214

1215
1216  {
1217    ER_PROCESSFROMNODE_FAILED,
1218         "processFromNode misslyckades"},
1219
1220  
1221   /** The resource [] could not load: */
1222  //public static final int ER_RESOURCE_COULD_NOT_LOAD = 135;
1223

1224
1225  {
1226    ER_RESOURCE_COULD_NOT_LOAD,
1227        "Resursen [ {0} ] kunde inte laddas: {1} \n {2} \t {3}"},
1228
1229   
1230  
1231   /** Buffer size <=0 */
1232  //public static final int ER_BUFFER_SIZE_LESSTHAN_ZERO = 136;
1233

1234
1235  {
1236    ER_BUFFER_SIZE_LESSTHAN_ZERO,
1237        "Bufferstorlek <=0"},
1238
1239  
1240   /** Unknown error when calling extension */
1241  //public static final int ER_UNKNOWN_ERROR_CALLING_EXTENSION = 137;
1242

1243
1244  {
1245    ER_UNKNOWN_ERROR_CALLING_EXTENSION,
1246        "Ok\u00e4nt fel vid anslutningsanrop"},
1247
1248  
1249   /** Prefix {0} does not have a corresponding namespace declaration */
1250  //public static final int ER_NO_NAMESPACE_DECL = 138;
1251

1252
1253  {
1254    ER_NO_NAMESPACE_DECL,
1255        "Prefix{0} har inte en motsvarande namnrymdsdeklaration"},
1256
1257  
1258   /** Element content not allowed for lang=javaclass */
1259  //public static final int ER_ELEM_CONTENT_NOT_ALLOWED = 139;
1260

1261
1262  {
1263    ER_ELEM_CONTENT_NOT_ALLOWED,
1264        "Elementinneh\u00e5ll \u00e4r inte till\u00e5tet f\u00f6r lang=javaclass {0}"},
1265
1266  
1267   /** Stylesheet directed termination */
1268  //public static final int ER_STYLESHEET_DIRECTED_TERMINATION = 140;
1269

1270
1271  {
1272    ER_STYLESHEET_DIRECTED_TERMINATION,
1273        "Stylesheet-ledd avslutning"},
1274
1275  
1276   /** 1 or 2 */
1277  //public static final int ER_ONE_OR_TWO = 141;
1278

1279
1280  {
1281    ER_ONE_OR_TWO,
1282        "1 eller 2"},
1283
1284  
1285   /** 2 or 3 */
1286  //public static final int ER_TWO_OR_THREE = 142;
1287

1288
1289  {
1290    ER_TWO_OR_THREE,
1291        "2 eller 3"},
1292
1293  
1294   /** Could not load {0} (check CLASSPATH), now using just the defaults */
1295  //public static final int ER_COULD_NOT_LOAD_RESOURCE = 143;
1296

1297
1298  {
1299    ER_COULD_NOT_LOAD_RESOURCE,
1300        "Kunde inte ladda {0} (kontrollera CLASSPATH), anv\u00e4nder nu enbart standard"},
1301
1302  
1303   /** Cannot initialize default templates */
1304  //public static final int ER_CANNOT_INIT_DEFAULT_TEMPLATES = 144;
1305

1306
1307  {
1308    ER_CANNOT_INIT_DEFAULT_TEMPLATES,
1309        "Kan inte initialisera standardmallar"},
1310
1311  
1312   /** Result should not be null */
1313  //public static final int ER_RESULT_NULL = 145;
1314

1315
1316  {
1317    ER_RESULT_NULL,
1318        "Result borde inte vara null"},
1319
1320    
1321   /** Result could not be set */
1322  //public static final int ER_RESULT_COULD_NOT_BE_SET = 146;
1323

1324
1325  {
1326    ER_RESULT_COULD_NOT_BE_SET,
1327        "Result kunde inte s\u00e4ttas"},
1328
1329  
1330   /** No output specified */
1331  //public static final int ER_NO_OUTPUT_SPECIFIED = 147;
1332

1333
1334  {
1335    ER_NO_OUTPUT_SPECIFIED,
1336        "Ingen utdata angiven"},
1337
1338  
1339   /** Can't transform to a Result of type */
1340  //public static final int ER_CANNOT_TRANSFORM_TO_RESULT_TYPE = 148;
1341

1342
1343  {
1344    ER_CANNOT_TRANSFORM_TO_RESULT_TYPE,
1345        "Kan inte omvandla till en Result av typ {0}"},
1346
1347  
1348   /** Can't transform to a Source of type */
1349  //public static final int ER_CANNOT_TRANSFORM_SOURCE_TYPE = 149;
1350

1351
1352  {
1353    ER_CANNOT_TRANSFORM_SOURCE_TYPE,
1354        "Kan inte omvandla en Source av typ {0}"},
1355
1356  
1357   /** Null content handler */
1358  //public static final int ER_NULL_CONTENT_HANDLER = 150;
1359

1360
1361  {
1362    ER_NULL_CONTENT_HANDLER,
1363        "Inneh\u00e5llshanterare med v\u00e4rde null"},
1364
1365  
1366   /** Null error handler */
1367  //public static final int ER_NULL_ERROR_HANDLER = 151;
1368

1369
1370  {
1371    ER_NULL_ERROR_HANDLER,
1372        "Felhanterare med v\u00e4rde null"},
1373
1374  
1375   /** parse can not be called if the ContentHandler has not been set */
1376  //public static final int ER_CANNOT_CALL_PARSE = 152;
1377

1378
1379  {
1380    ER_CANNOT_CALL_PARSE,
1381        "parse kan inte anropas om ContentHandler inte har satts"},
1382
1383  
1384   /** No parent for filter */
1385  //public static final int ER_NO_PARENT_FOR_FILTER = 153;
1386

1387
1388  {
1389    ER_NO_PARENT_FOR_FILTER,
1390        "Ingen f\u00f6r\u00e4lder till filter"},
1391
1392  
1393  
1394   /** No stylesheet found in: {0}, media */
1395  //public static final int ER_NO_STYLESHEET_IN_MEDIA = 154;
1396

1397
1398  {
1399    ER_NO_STYLESHEET_IN_MEDIA,
1400         "Stylesheet saknas i: {0}, media= {1}"},
1401
1402  
1403   /** No xml-stylesheet PI found in */
1404  //public static final int ER_NO_STYLESHEET_PI = 155;
1405

1406
1407  {
1408    ER_NO_STYLESHEET_PI,
1409         "xml-stylesheet PI saknas i: {0}"},
1410
1411  
1412   /** Not supported */
1413  //public static final int ER_NOT_SUPPORTED = 171;
1414

1415
1416  {
1417    ER_NOT_SUPPORTED,
1418       "Underst\u00f6ds inte: {0}"},
1419
1420  
1421   /** Value for property {0} should be a Boolean instance */
1422  //public static final int ER_PROPERTY_VALUE_BOOLEAN = 177;
1423

1424
1425  {
1426    ER_PROPERTY_VALUE_BOOLEAN,
1427       "V\u00e4rde p\u00e5 egenskap {0} borde vara en Boolesk instans"},
1428
1429  
1430   /* This key/message changed ,NEED ER_COULD_NOT_FIND_EXTERN_SCRIPT: Pending,Ramesh */
1431
1432   /** src attribute not yet supported for */
1433  //public static final int ER_SRC_ATTRIB_NOT_SUPPORTED = 195;
1434

1435
1436  {
1437    "ER_SRC_ATTRIB_NOT_SUPPORTED",
1438       "src-attributet underst\u00f6ds \u00e4nnu inte f\u00f6r {0}"},
1439
1440  
1441  /** The resource [] could not be found */
1442  //public static final int ER_RESOURCE_COULD_NOT_FIND = 196;
1443

1444
1445  {
1446    ER_RESOURCE_COULD_NOT_FIND,
1447        "Resursen [ {0} ] saknas. \n {1}"},
1448
1449  
1450   /** output property not recognized: */
1451  //public static final int ER_OUTPUT_PROPERTY_NOT_RECOGNIZED = 197;
1452

1453
1454  {
1455    ER_OUTPUT_PROPERTY_NOT_RECOGNIZED,
1456        "Utdata-egenskap k\u00e4nns inte igen: {0}"},
1457
1458  
1459   /** Failed creating ElemLiteralResult instance */
1460  //public static final int ER_FAILED_CREATING_ELEMLITRSLT = 203;
1461

1462
1463  {
1464    ER_FAILED_CREATING_ELEMLITRSLT,
1465        "Kunde inte skapa instans av ElemLiteralResult"},
1466    
1467  
1468   // Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE
1469
// In latest Xalan code base key name is ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care
1470
//in locale specific files like XSLTErrorResources_de.java, XSLTErrorResources_fr.java etc.
1471
//NOTE: Not only the key name but message has also been changed. - nb.
1472

1473   /** Priority value does not contain a parsable number */
1474  //public static final int ER_VALUE_SHOULD_BE_NUMBER = 204;
1475

1476
1477  {
1478     ER_VALUE_SHOULD_BE_NUMBER,
1479         "V\u00e4rdet f\u00f6r {0} b\u00f6r inneh\u00e5lla en siffra som inte kan tolkas"},
1480
1481  
1482   /** Value for {0} should equal 'yes' or 'no' */
1483  //public static final int ER_VALUE_SHOULD_EQUAL = 205;
1484

1485
1486  {
1487    ER_VALUE_SHOULD_EQUAL,
1488        "V\u00e4rde p\u00e5 {0} borde motsvara ja eller nej"},
1489
1490 
1491   /** Failed calling {0} method */
1492  //public static final int ER_FAILED_CALLING_METHOD = 206;
1493

1494
1495  {
1496    ER_FAILED_CALLING_METHOD,
1497        " Kunde inte anropa metoden {0}"},
1498
1499  
1500   /** Failed creating ElemLiteralResult instance */
1501  //public static final int ER_FAILED_CREATING_ELEMTMPL = 207;
1502

1503
1504  {
1505    ER_FAILED_CREATING_ELEMTMPL,
1506        "Kunde inte skapa instans av ElemTemplateElement"},
1507
1508  
1509   /** Characters are not allowed at this point in the document */
1510  //public static final int ER_CHARS_NOT_ALLOWED = 208;
1511

1512
1513  {
1514    ER_CHARS_NOT_ALLOWED,
1515        "Tecken \u00e4r inte till\u00e5tna i dokumentet vid den h\u00e4r tidpunkten"},
1516
1517  
1518  /** attribute is not allowed on the element */
1519  //public static final int ER_ATTR_NOT_ALLOWED = 209;
1520

1521
1522  {
1523    ER_ATTR_NOT_ALLOWED,
1524        "Attributet \"{0}\" \u00e4r inte till\u00e5ten i det {1} elementet!"},
1525
1526 
1527  /** Bad value */
1528  //public static final int ER_BAD_VALUE = 211;
1529

1530
1531  {
1532    ER_BAD_VALUE,
1533     "{0} d\u00e5ligt v\u00e4rde {1} "},
1534
1535  
1536  /** attribute value not found */
1537  //public static final int ER_ATTRIB_VALUE_NOT_FOUND = 212;
1538

1539
1540  {
1541    ER_ATTRIB_VALUE_NOT_FOUND,
1542     "Attributet {0} saknas "},
1543
1544  
1545  /** attribute value not recognized */
1546  //public static final int ER_ATTRIB_VALUE_NOT_RECOGNIZED = 213;
1547

1548
1549  {
1550    ER_ATTRIB_VALUE_NOT_RECOGNIZED,
1551     "Attributv\u00e4rdet {0} k\u00e4nns inte igen "},
1552
1553  
1554  /** Attempting to generate a namespace prefix with a null URI */
1555  //public static final int ER_NULL_URI_NAMESPACE = 216;
1556

1557
1558  {
1559    ER_NULL_URI_NAMESPACE,
1560     "F\u00f6rs\u00f6ker generera ett namnomr\u00e5desprefix med en null-URI"},
1561
1562
1563  // Following are the new ERROR keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
1564

1565  /** Attempting to generate a namespace prefix with a null URI */
1566  //public static final int ER_NUMBER_TOO_BIG = 217;
1567

1568
1569  {
1570    ER_NUMBER_TOO_BIG,
1571     "F\u00f6rs\u00f6ker formatera en siffra som \u00e4r st\u00f6rre \u00e4n det st\u00f6rsta l\u00e5nga heltalet"},
1572
1573
1574//ER_CANNOT_FIND_SAX1_DRIVER
1575

1576  //public static final int ER_CANNOT_FIND_SAX1_DRIVER = 218;
1577

1578
1579  {
1580    ER_CANNOT_FIND_SAX1_DRIVER,
1581     "Det g\u00e5r inte att hitta SAX1-drivrutinen klass {0}"},
1582
1583
1584//ER_SAX1_DRIVER_NOT_LOADED
1585
//public static final int ER_SAX1_DRIVER_NOT_LOADED = 219;
1586

1587
1588  {
1589    ER_SAX1_DRIVER_NOT_LOADED,
1590     "SAX1-drivrutinen klass {0} hittades men kan inte laddas"},
1591
1592
1593//ER_SAX1_DRIVER_NOT_INSTANTIATED
1594
//public static final int ER_SAX1_DRIVER_NOT_INSTANTIATED = 220 ;
1595

1596
1597  {
1598    ER_SAX1_DRIVER_NOT_INSTANTIATED,
1599     "SAX1-drivrutinen klass {0} hittades men kan inte instansieras"},
1600
1601
1602
1603// ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER
1604
//public static final int ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER = 221;
1605

1606
1607  {
1608    ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER,
1609     "SAX1-drivrutinen klass {0} implementerar inte org.xml.sax.Parser"},
1610
1611
1612// ER_PARSER_PROPERTY_NOT_SPECIFIED
1613
//public static final int ER_PARSER_PROPERTY_NOT_SPECIFIED = 222;
1614

1615
1616  {
1617    ER_PARSER_PROPERTY_NOT_SPECIFIED,
1618     "Systemegenskapen org.xml.sax.parser \u00e4r inte angiven"},
1619
1620
1621//ER_PARSER_ARG_CANNOT_BE_NULL
1622
//public static final int ER_PARSER_ARG_CANNOT_BE_NULL = 223 ;
1623

1624
1625  {
1626    ER_PARSER_ARG_CANNOT_BE_NULL,
1627     "Tolkningsargumentet f\u00e5r inte vara null"},
1628
1629
1630
1631// ER_FEATURE
1632
//public static final int ER_FEATURE = 224;
1633

1634
1635  {
1636    ER_FEATURE,
1637     "Funktion:a {0}"},
1638
1639
1640
1641// ER_PROPERTY
1642
//public static final int ER_PROPERTY = 225 ;
1643

1644
1645  {
1646    ER_PROPERTY,
1647     "Egenskap:a {0}"},
1648
1649
1650// ER_NULL_ENTITY_RESOLVER
1651
//public static final int ER_NULL_ENTITY_RESOLVER = 226;
1652

1653
1654  {
1655    ER_NULL_ENTITY_RESOLVER,
1656     "Nullenhetsl\u00f6sare"},
1657
1658
1659// ER_NULL_DTD_HANDLER
1660
//public static final int ER_NULL_DTD_HANDLER = 227 ;
1661

1662
1663  {
1664    ER_NULL_DTD_HANDLER,
1665     "Null-DTD-hanterare"},
1666
1667
1668// No Driver Name Specified!
1669
//public static final int ER_NO_DRIVER_NAME_SPECIFIED = 228;
1670

1671  {
1672    ER_NO_DRIVER_NAME_SPECIFIED,
1673     "Inget drivrutinsnamn \u00e4r angett!"},
1674
1675
1676
1677// No URL Specified!
1678
//public static final int ER_NO_URL_SPECIFIED = 229;
1679

1680  {
1681    ER_NO_URL_SPECIFIED,
1682     "Ingen URL har angetts!"},
1683
1684
1685
1686// Pool size is less than 1!
1687
//public static final int ER_POOLSIZE_LESS_THAN_ONE = 230;
1688

1689  {
1690    ER_POOLSIZE_LESS_THAN_ONE,
1691     "Poolstorleken \u00e4r mindre \u00e4n 1!"},
1692
1693
1694
1695// Invalid Driver Name Specified!
1696
//public static final int ER_INVALID_DRIVER_NAME = 231;
1697

1698  {
1699    ER_INVALID_DRIVER_NAME,
1700     "Ett ogiltigt drivrutinsnamn har angetts!"},
1701
1702
1703
1704
1705// ErrorListener
1706
//public static final int ER_ERRORLISTENER = 232;
1707

1708  {
1709    ER_ERRORLISTENER,
1710     "ErrorListener"},
1711
1712
1713
1714// Programmer's error! expr has no ElemTemplateElement parent!
1715
//public static final int ER_ASSERT_NO_TEMPLATE_PARENT = 233;
1716

1717  {
1718    ER_ASSERT_NO_TEMPLATE_PARENT,
1719     "Programmerarfel! expr har inget \u00f6verordnat ElemTemplateElement!"},
1720
1721
1722
1723// Programmer's assertion in RundundentExprEliminator: {0}
1724
//public static final int ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR = 234;
1725

1726  {
1727    ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR,
1728     "Programmerarkontroll i RundundentExprEliminator: {0}"},
1729
1730
1731  // {0}is not allowed in this position in the stylesheet!
1732
//public static final int ER_NOT_ALLOWED_IN_POSITION = 237;
1733

1734  {
1735    ER_NOT_ALLOWED_IN_POSITION,
1736     "{0} \u00e4r inte till\u00e5ten i denna position i formatmallen!"},
1737
1738
1739  // Non-whitespace text is not allowed in this position in the stylesheet!
1740
//public static final int ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION = 238;
1741

1742  {
1743    ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION,
1744     "Text utan blanksteg \u00e4r inte till\u00e5ten i denna position i formatmallen!"},
1745
1746
1747  // This code is shared with warning codes.
1748
// Illegal value: {1} used for CHAR attribute: {0}. An attribute of type CHAR must be only 1 character!
1749
//public static final int INVALID_TCHAR = 239;
1750
// SystemId Unknown
1751

1752  {
1753    INVALID_TCHAR,
1754     "Ogiltigt v\u00e4rde: {1} anv\u00e4nds f\u00f6r CHAR-attributet: {0}. Ett attribut av CHAR-typ f\u00e5r bara ha 1 tecken!"},
1755
1756
1757    // Note to translators: The following message is used if the value of
1758
// an attribute in a stylesheet is invalid. "QNAME" is the XML data-type of
1759
// the attribute, and should not be translated. The substitution text {1} is
1760
// the attribute value and {0} is the attribute name.
1761
// INVALID_QNAME
1762

1763  //The following codes are shared with the warning codes...
1764
// Illegal value: {1} used for QNAME attribute: {0}
1765
//public static final int INVALID_QNAME = 242;
1766

1767  {
1768    INVALID_QNAME,
1769     "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r QNAME-attributet:a {0}"},
1770
1771
1772    // Note to translators: The following message is used if the value of
1773
// an attribute in a stylesheet is invalid. "ENUM" is the XML data-type of
1774
// the attribute, and should not be translated. The substitution text {1} is
1775
// the attribute value, {0} is the attribute name, and {2} is a list of valid
1776
// values.
1777
// INVALID_ENUM
1778

1779  // Illegal value:a {1} used for ENUM attribute:a {0}. Valid values are:a {2}.
1780
//public static final int INVALID_ENUM = 243;
1781

1782  {
1783    INVALID_ENUM,
1784     "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r ENUM-attributet:a {0}. Giltiga v\u00e4rden \u00e4r:a {2}."},
1785
1786
1787// Note to translators: The following message is used if the value of
1788
// an attribute in a stylesheet is invalid. "NMTOKEN" is the XML data-type
1789
// of the attribute, and should not be translated. The substitution text {1} is
1790
// the attribute value and {0} is the attribute name.
1791
// INVALID_NMTOKEN
1792

1793  // Illegal value:a {1} used for NMTOKEN attribute:a {0}.
1794
//public static final int INVALID_NMTOKEN = 244;
1795

1796  {
1797    INVALID_NMTOKEN,
1798     "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r NMTOKEN-attributet:a {0} "},
1799
1800
1801// Note to translators: The following message is used if the value of
1802
// an attribute in a stylesheet is invalid. "NCNAME" is the XML data-type
1803
// of the attribute, and should not be translated. The substitution text {1} is
1804
// the attribute value and {0} is the attribute name.
1805
// INVALID_NCNAME
1806

1807  // Illegal value:a {1} used for NCNAME attribute:a {0}.
1808
//public static final int INVALID_NCNAME = 245;
1809

1810  {
1811    INVALID_NCNAME,
1812     "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r NCNAME-attributet:a {0} "},
1813
1814
1815// Note to translators: The following message is used if the value of
1816
// an attribute in a stylesheet is invalid. "boolean" is the XSLT data-type
1817
// of the attribute, and should not be translated. The substitution text {1} is
1818
// the attribute value and {0} is the attribute name.
1819
// INVALID_BOOLEAN
1820

1821  // Illegal value:a {1} used for boolean attribute:a {0}.
1822
//public static final int INVALID_BOOLEAN = 246;
1823

1824
1825  {
1826    INVALID_BOOLEAN,
1827     "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds som Booleskt attribut:a {0} "},
1828
1829
1830// Note to translators: The following message is used if the value of
1831
// an attribute in a stylesheet is invalid. "number" is the XSLT data-type
1832
// of the attribute, and should not be translated. The substitution text {1} is
1833
// the attribute value and {0} is the attribute name.
1834
// INVALID_NUMBER
1835

1836  // Illegal value:a {1} used for number attribute:a {0}.
1837
//public static final int INVALID_NUMBER = 247;
1838

1839  {
1840    INVALID_NUMBER,
1841     "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds som sifferattribut:a {0} "},
1842
1843
1844
1845  // End of shared codes...
1846

1847// Note to translators: A "match pattern" is a special form of XPath expression
1848
// that is used for matching patterns. The substitution text is the name of
1849
// a function. The message indicates that when this function is referenced in
1850
// a match pattern, its argument must be a string literal (or constant.)
1851
// ER_ARG_LITERAL - new error message for bugzilla //5202
1852

1853  // Argument to {0} in match pattern must be a literal.
1854
//public static final int ER_ARG_LITERAL = 248;
1855

1856  {
1857    ER_ARG_LITERAL,
1858     "Argument f\u00f6r {0} i matchningsm\u00f6nstret m\u00e5ste vara literalt."},
1859
1860
1861// Note to translators: The following message indicates that two definitions of
1862
// a variable. A "global variable" is a variable that is accessible everywher
1863
// in the stylesheet.
1864
// ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
1865

1866  // Duplicate global variable declaration.
1867
//public static final int ER_DUPLICATE_GLOBAL_VAR = 249;
1868

1869  {
1870    ER_DUPLICATE_GLOBAL_VAR,
1871     "Dubbel deklaration av global variabel."},
1872
1873
1874
1875// Note to translators: The following message indicates that two definitions of
1876
// a variable were encountered.
1877
// ER_DUPLICATE_VAR - new error message for bugzilla #790
1878

1879  // Duplicate variable declaration.
1880
//public static final int ER_DUPLICATE_VAR = 250;
1881

1882  {
1883    ER_DUPLICATE_VAR,
1884     "Dubbel variabeldeklaration."},
1885
1886
1887    // Note to translators: "xsl:template, "name" and "match" are XSLT keywords
1888
// which must not be translated.
1889
// ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
1890

1891  // xsl:template must have a name or match attribute (or both)
1892
//public static final int ER_TEMPLATE_NAME_MATCH = 251;
1893

1894  {
1895    ER_TEMPLATE_NAME_MATCH,
1896     "xsl: en mall m\u00e5ste ha ett namn och ett matchningsattribut (eller b\u00e5de och)"},
1897
1898
1899    // Note to translators: "exclude-result-prefixes" is an XSLT keyword which
1900
// should not be translated. The message indicates that a namespace prefix
1901
// encountered as part of the value of the exclude-result-prefixes attribute
1902
// was in error.
1903
// ER_INVALID_PREFIX - new error message for bugzilla #788
1904

1905  // Prefix in exclude-result-prefixes is not valid:a {0}
1906
//public static final int ER_INVALID_PREFIX = 252;
1907

1908  {
1909    ER_INVALID_PREFIX,
1910     "Prefix i exclude-result-prefixes \u00e4r ogiltigt:a {0}"},
1911
1912
1913    // Note to translators: An "attribute set" is a set of attributes that can be
1914
// added to an element in the output document as a group. The message indicates
1915
// that there was a reference to an attribute set named {0} that was never
1916
// defined.
1917
// ER_NO_ATTRIB_SET - new error message for bugzilla #782
1918

1919  // attribute-set named {0} does not exist
1920
//public static final int ER_NO_ATTRIB_SET = 253;
1921

1922  {
1923    ER_NO_ATTRIB_SET,
1924     "attributserien {0} finns inte"},
1925
1926
1927  // Warnings...
1928

1929  /** WG_FOUND_CURLYBRACE */
1930  //public static final int WG_FOUND_CURLYBRACE = 1;
1931

1932
1933  {
1934    WG_FOUND_CURLYBRACE,
1935      "Hittade '}' men ingen attributmall \u00e4r \u00f6ppen!"},
1936
1937
1938  /** WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR */
1939  //public static final int WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR = 2;
1940

1941
1942  {
1943    WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR,
1944      "Varning: r\u00e4knarattribut matchar inte en f\u00f6rf\u00e4der in xsl:number! Target = {0}"},
1945
1946
1947  /** WG_EXPR_ATTRIB_CHANGED_TO_SELECT */
1948  //public static final int WG_EXPR_ATTRIB_CHANGED_TO_SELECT = 3;
1949

1950
1951  {
1952    WG_EXPR_ATTRIB_CHANGED_TO_SELECT,
1953      "Gammal syntax: Namnet p\u00e5 'expr'-attributet har \u00e4ndrats till 'select'."},
1954
1955
1956  /** WG_NO_LOCALE_IN_FORMATNUMBER */
1957  //public static final int WG_NO_LOCALE_IN_FORMATNUMBER = 4;
1958

1959
1960  {
1961    WG_NO_LOCALE_IN_FORMATNUMBER,
1962      "Xalan hanterar \u00e4nnu inte locale-namnet i funktionen format-number."},
1963
1964
1965  /** WG_LOCALE_NOT_FOUND */
1966  //public static final int WG_LOCALE_NOT_FOUND = 5;
1967

1968
1969  {
1970    WG_LOCALE_NOT_FOUND,
1971      "Varning: Hittade inte locale f\u00f6r xml:lang{0}"},
1972
1973
1974  /** WG_CANNOT_MAKE_URL_FROM */
1975  //public static final int WG_CANNOT_MAKE_URL_FROM = 6;
1976

1977
1978  {
1979    WG_CANNOT_MAKE_URL_FROM,
1980      "Kan inte skapa URL fr\u00e5n: {0}"},
1981
1982
1983  /** WG_CANNOT_LOAD_REQUESTED_DOC */
1984  //public static final int WG_CANNOT_LOAD_REQUESTED_DOC = 7;
1985

1986
1987  {
1988    WG_CANNOT_LOAD_REQUESTED_DOC,
1989      "Kan inte ladda beg\u00e4rd doc: {0}"},
1990
1991
1992  /** WG_CANNOT_FIND_COLLATOR */
1993  //public static final int WG_CANNOT_FIND_COLLATOR = 8;
1994

1995
1996  {
1997    WG_CANNOT_FIND_COLLATOR,
1998      "Hittade inte Collator f\u00f6r <sort xml:lang={0}"},
1999
2000
2001  /** WG_FUNCTIONS_SHOULD_USE_URL */
2002  //public static final int WG_FUNCTIONS_SHOULD_USE_URL = 9;
2003

2004
2005  {
2006    WG_FUNCTIONS_SHOULD_USE_URL,
2007      "Gammal syntax: Funktionsinstruktionen borde anv\u00e4nda en url av {0}"},
2008
2009
2010  /** WG_ENCODING_NOT_SUPPORTED_USING_UTF8 */
2011  //public static final int WG_ENCODING_NOT_SUPPORTED_USING_UTF8 = 10;
2012

2013
2014  {
2015    WG_ENCODING_NOT_SUPPORTED_USING_UTF8,
2016      "kodning underst\u00f6ds inte: {0}, anv\u00e4nder UTF-8"},
2017
2018
2019  /** WG_ENCODING_NOT_SUPPORTED_USING_JAVA */
2020  //public static final int WG_ENCODING_NOT_SUPPORTED_USING_JAVA = 11;
2021

2022
2023  {
2024    WG_ENCODING_NOT_SUPPORTED_USING_JAVA,
2025      "kodning underst\u00f6ds inte: {0}, anv\u00e4nder Java {1}"},
2026
2027
2028  /** WG_SPECIFICITY_CONFLICTS */
2029  //public static final int WG_SPECIFICITY_CONFLICTS = 12;
2030

2031
2032  {
2033    WG_SPECIFICITY_CONFLICTS,
2034      "Hittade specificitetskonflikter: {0} Senast hittade i stylesheet kommer att anv\u00e4ndas."},
2035
2036
2037  /** WG_PARSING_AND_PREPARING */
2038  //public static final int WG_PARSING_AND_PREPARING = 13;
2039

2040
2041  {
2042    WG_PARSING_AND_PREPARING,
2043      "========= Tolkar och f\u00f6rbereder {0} =========="},
2044
2045
2046  /** WG_ATTR_TEMPLATE */
2047  //public static final int WG_ATTR_TEMPLATE = 14;
2048

2049
2050  {
2051    WG_ATTR_TEMPLATE, "Attributmall, {0}"},
2052
2053
2054  /** WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE */
2055  //public static final int WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = 15;
2056

2057
2058  {
2059    WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE,
2060      "Matcha konflikter mellan xsl:strip-space och xsl:preserve-space"},
2061
2062
2063  /** WG_ATTRIB_NOT_HANDLED */
2064  //public static final int WG_ATTRIB_NOT_HANDLED = 16;
2065

2066
2067  {
2068    WG_ATTRIB_NOT_HANDLED,
2069      "Xalan hanterar \u00e4nnu inte attributet {0}!"},
2070
2071
2072  /** WG_NO_DECIMALFORMAT_DECLARATION */
2073  //public static final int WG_NO_DECIMALFORMAT_DECLARATION = 17;
2074

2075
2076  {
2077    WG_NO_DECIMALFORMAT_DECLARATION,
2078      "Deklaration saknas f\u00f6r decimalformat: {0}"},
2079
2080
2081  /** WG_OLD_XSLT_NS */
2082  //public static final int WG_OLD_XSLT_NS = 18;
2083

2084
2085  {
2086    WG_OLD_XSLT_NS, "XSLT-Namnrymd saknas eller \u00e4r inkorrekt "},
2087
2088
2089  /** WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED */
2090  //public static final int WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED = 19;
2091

2092
2093  {
2094    WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED,
2095      "Endast en standarddeklaration av xsl:decimal-format \u00e4r till\u00e5ten."},
2096
2097
2098  /** WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE */
2099  //public static final int WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE = 20;
2100

2101
2102  {
2103    WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE,
2104      "xsl:decimal-formatnamn m\u00e5ste vara unika. Namnet \"{0}\" har blivit duplicerat."},
2105
2106
2107  /** WG_ILLEGAL_ATTRIBUTE */
2108  //public static final int WG_ILLEGAL_ATTRIBUTE = 21;
2109

2110
2111  {
2112    WG_ILLEGAL_ATTRIBUTE,
2113      "{0} har ett otill\u00e5tet attribut: {1}"},
2114
2115
2116  /** WG_COULD_NOT_RESOLVE_PREFIX */
2117  //public static final int WG_COULD_NOT_RESOLVE_PREFIX = 22;
2118

2119
2120  {
2121    WG_COULD_NOT_RESOLVE_PREFIX,
2122      "Kan inte l\u00f6sa namnrymdsprefix: {0}. Noden kommer att ignoreras."},
2123
2124
2125  /** WG_STYLESHEET_REQUIRES_VERSION_ATTRIB */
2126  //public static final int WG_STYLESHEET_REQUIRES_VERSION_ATTRIB = 23;
2127

2128
2129  {
2130    WG_STYLESHEET_REQUIRES_VERSION_ATTRIB,
2131      "xsl:stylesheet m\u00e5ste ha ett 'version'-attribut!"},
2132
2133
2134  /** WG_ILLEGAL_ATTRIBUTE_NAME */
2135  //public static final int WG_ILLEGAL_ATTRIBUTE_NAME = 24;
2136

2137
2138  {
2139    WG_ILLEGAL_ATTRIBUTE_NAME,
2140      "Otill\u00e5tet attributnamn: {0}"},
2141
2142
2143  /** WG_ILLEGAL_ATTRIBUTE_VALUE */
2144  //public static final int WG_ILLEGAL_ATTRIBUTE_VALUE = 25;
2145

2146
2147  {
2148    WG_ILLEGAL_ATTRIBUTE_VALUE,
2149      "Ogiltigt v\u00e4rde anv\u00e4nt f\u00f6r attribut {0}: {1}"},
2150
2151
2152  /** WG_EMPTY_SECOND_ARG */
2153  //public static final int WG_EMPTY_SECOND_ARG = 26;
2154

2155
2156  {
2157    WG_EMPTY_SECOND_ARG,
2158      "Den resulterande nodm\u00e4ngden fr\u00e5n dokumentfunktions andra argument \u00e4r tomt. Det f\u00f6rsta argumentet kommer att anv\u00e4ndas."},
2159
2160
2161  // Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
2162

2163    // Note to translators: "name" and "xsl:processing-instruction" are keywords
2164
// and must not be translated.
2165
// WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML
2166

2167
2168  /** WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */
2169  //public static final int WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 27;
2170

2171  {
2172     WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
2173      "V\u00e4rdet p\u00e5 attributet 'name' i xsl:processing-instruction f\u00e5r inte vara 'xml'"},
2174
2175
2176    // Note to translators: "name" and "xsl:processing-instruction" are keywords
2177
// and must not be translated. "NCName" is an XML data-type and must not be
2178
// translated.
2179
// WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME
2180

2181  /** WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */
2182  //public static final int WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 28;
2183

2184  {
2185     WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
2186      "V\u00e4rdet p\u00e5 attributet ''name'' i xsl:processing-instruction m\u00e5ste vara ett giltigt NCName:a {0}"},
2187
2188
2189    // Note to translators: This message is reported if the stylesheet that is
2190
// being processed attempted to construct an XML document with an attribute in a
2191
// place other than on an element. The substitution text specifies the name of
2192
// the attribute.
2193
// WG_ILLEGAL_ATTRIBUTE_POSITION
2194

2195  /** WG_ILLEGAL_ATTRIBUTE_POSITION */
2196  //public static final int WG_ILLEGAL_ATTRIBUTE_POSITION = 29;
2197

2198  {
2199    WG_ILLEGAL_ATTRIBUTE_POSITION,
2200      "Det g\u00e5r inte att l\u00e4gga till attributet {0} efter undernoder eller innan ett element produceras. Attributet ignoreras."},
2201
2202
2203    // WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file?
2204

2205  // Other miscellaneous text used inside the code...
2206
{ "ui_language", "sv"},
2207  { "help_language", "sv"},
2208  { "language", "sv"},
2209    { "BAD_CODE",
2210      "Parameter till createMessage ligger utanf\u00f6r till\u00e5tet intervall"},
2211    { "FORMAT_FAILED",
2212      "Undantag utl\u00f6st vid messageFormat-anrop"},
2213    { "version", ">>>>>>> Xalan Version"},
2214    { "version2", "<<<<<<<"},
2215    { "yes", "ja"},
2216    { "line", "Rad #"},
2217    { "column", "Kolumn #"},
2218    { "xsldone", "XSLProcessor: f\u00e4rdig"},
2219    { "xslProc_option", "Xalan-J kommando linje Process klass alternativ:"},
2220    { "optionIN", " -IN inputXMLURL"},
2221    { "optionXSL", " [-XSL XSLTransformationURL]"},
2222    { "optionOUT", " [-OUT utdataFilnamn]"},
2223    { "optionLXCIN", " [-LXCIN kompileratStylesheetFilnameIn]"},
2224    { "optionLXCOUT", " [-LXCOUT kompileratStylesheetFilenameUt]"},
2225    { "optionPARSER",
2226      " [-PARSER fullt kvalificerat klassnamn eller tolkf\u00f6rbindelse]"},
2227    { "optionE", " [-E (Ut\u00f6ka inte enhetsreferenser)]"},
2228    { "optionV", " [-E (Ut\u00f6ka inte enhetsreferenser)]"},
2229    { "optionQC",
2230      " [-QC (Tysta M\u00f6nsterkonfliktvarningar)]"},
2231    { "optionQ", " [-Q (Tyst Tillst\u00e5nd)]"},
2232    { "optionLF",
2233      " [-LF (Anv\u00e4nd radframmatning enbart p\u00e5 utdata {standard \u00e4r CR/LF})]"},
2234    { "optionCR",
2235      " [-CR (Anv\u00e4nd vagnretur enbart p\u00e5 utdata {standard \u00e4r CR/LF})]"},
2236    { "optionESCAPE",
2237      " [-ESCAPE (Vilka tecken \u00e4r skiftningstecken {standard \u00e4r <>&\"\'\\r\\n}]"},
2238    { "optionINDENT",
2239      " [-INDENT (Best\u00e4m antal blanksteg f\u00f6r att tabulera {standard \u00e4r 0})]"},
2240    { "optionTT",
2241      " [-TT (Sp\u00e5ra mallarna allt eftersom de blir anropade.)]"},
2242    { "optionTG",
2243      " [-TG (Sp\u00e5ra varje generationsh\u00e4ndelse.)]"},
2244    { "optionTS", " [-TS (Sp\u00e5ra varje valh\u00e4ndelse.)]"},
2245    { "optionTTC",
2246      " [-TTC (Sp\u00e5ra mallbarnen allt eftersom de blir behandlade.)]"},
2247    { "optionTCLASS",
2248      " [-TCLASS (TraceListener-klass f\u00f6r sp\u00e5rningsanslutningar.)]"},
2249    { "optionVALIDATE",
2250      " [-VALIDATE (S\u00e4tt om validering ska ske. Standard \u00e4r att validering \u00e4r avst\u00e4ngd)]"},
2251    { "optionEDUMP",
2252      " [-EDUMP {valfritt filnamn) (G\u00f6r stackdump vid fel.)]"},
2253    { "optionXML",
2254      " [-XML (Anv\u00e4nd XML-formaterare och l\u00e4gg till XML-huvud.)]"},
2255    { "optionTEXT",
2256      " [-XML (Anv\u00e4nd enkel Text-formaterare.)]"},
2257    { "optionHTML", " [-HTML (Anv\u00e4nd HTML-formaterare)]"},
2258    { "optionPARAM",
2259      " [-PARAM namn uttryck (S\u00e4tt en stylesheet-parameter)]"},
2260    { "noParsermsg1", "XSL-Process misslyckades."},
2261    { "noParsermsg2", "** Hittade inte tolk **"},
2262    { "noParsermsg3", "V\u00e4nligen kontrollera din classpath"},
2263    { "noParsermsg4",
2264      "Om du inte har IBMs XML-Tolk f\u00f6r Java, kan du ladda ner den fr\u00e5n"},
2265    { "noParsermsg5",
2266      "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"},
2267    { "optionURIRESOLVER",
2268    " [-URIRESOLVER fullst\u00e4ndigt klassnamn (URIResolver som ska anv\u00e4ndas f\u00f6r att l\u00f6sa URI-er)]"},
2269    { "optionENTITYRESOLVER",
2270    " [-ENTITYRESOLVER fullst\u00e4ndigt klassnamn (EntityResolver som ska anv\u00e4ndas f\u00f6r att l\u00f6sa enheter)]"},
2271    { "optionCONTENTHANDLER",
2272    " [-CONTENTRESOLVER fullst\u00e4ndigt klassnamn (ContentHandler som ska anv\u00e4ndas f\u00f6r att serialisera utdata)]"},
2273    { "optionLINENUMBERS", " [-L anv\u00e4nd radnummer i k\u00e4lldokument]"},
2274
2275    //Following are the new options added in XSLTErrorResources.properties files after Jdk 1.4 (Xalan 2.2-D11)
2276

2277
2278    { "optionMEDIA",
2279    " [-MEDIA mediaType (anv\u00e4nd medieattribut f\u00f6r att hitta en formatmall som \u00e4r associerad med ett dokument.)]"},
2280    { "optionFLAVOR",
2281    " [-FLAVOR flavorName (Anv\u00e4nd s2s=SAX eller d2d=DOM f\u00f6r transformationen.)] "}, // Added by sboag/scurcuru; experimental
2282
{ "optionDIAG",
2283    " [-DIAG (Skriv ut totala transformationer, millisekunder.)]"},
2284    { "optionINCREMENTAL",
2285    " [-INCREMENTAL (beg\u00e4r inkrementell DTM-konstruktion genom att ange http://xml.apache.org/xalan/features/incremental true.)]"},
2286    { "optionNOOPTIMIMIZE",
2287    " [-NOOPTIMIMIZE (beg\u00e4r ingen formatmallsoptimering genom att ange http://xml.apache.org/xalan/features/optimize false.)]"},
2288    { "optionRL",
2289     " [-RL recursionlimit (kontrollera numerisk gr\u00e4ns p\u00e5 formatmallens rekursionsdjup.)]"},
2290    { "optionXO",
2291    " [-XO [transletName] (tilldela namnet till genererad translet)]"},
2292    { "optionXD",
2293    " [-XD destinationDirectory (ange m\u00e5lkatalog f\u00f6r translet)]"},
2294    { "optionXJ",
2295    " [-XJ jarfile (paketerar transletklasserna i en jar-fil med namnet <jarfile>)]"},
2296    { "optionXP",
2297    " [-XP-paket (anger ett paketnamnsprefix f\u00f6r alla genererade transletklasser)]"}
2298
2299        
2300  };
2301
2302  // ================= INFRASTRUCTURE ======================
2303

2304  /** String for use when a bad error code was encountered. */
2305  public static final String JavaDoc BAD_CODE = "D\u00c5LIG_KOD";
2306
2307  /** String for use when formatting of the error string failed. */
2308  public static final String JavaDoc FORMAT_FAILED = "FORMATERING_MISSLYCKADES";
2309
2310  /** General error string. */
2311  public static final String JavaDoc ERROR_STRING = "#fel";
2312
2313  /** String to prepend to error messages. */
2314  public static final String JavaDoc ERROR_HEADER = "Fel: ";
2315
2316  /** String to prepend to warning messages. */
2317  public static final String JavaDoc WARNING_HEADER = "Varning: ";
2318
2319  /** String to specify the XSLT module. */
2320  public static final String JavaDoc XSL_HEADER = "XSLT ";
2321
2322  /** String to specify the XML parser module. */
2323  public static final String JavaDoc XML_HEADER = "XML ";
2324
2325  /** I don't think this is used any more.
2326   * @deprecated */

2327  public static final String JavaDoc QUERY_HEADER = "M\u00d6NSTER ";
2328
2329  /**
2330   * Get the lookup table.
2331   *
2332   * @return The int to message lookup table.
2333   */

2334  protected Object JavaDoc[][] getContents() {
2335      // return a copy of contents; in theory we want a deep clone
2336
// of contents, but since it only contains (immutable) Strings,
2337
// this shallow copy is sufficient
2338
Object JavaDoc[][] commonCopy = new Object JavaDoc[contents.length][2];
2339      for (int i = 0; i < contents.length; i++) {
2340          commonCopy[i][0] = contents[i][0];
2341          commonCopy[i][1] = contents[i][1];
2342      }
2343      return commonCopy;
2344  }
2345}
2346
2347
2348
Popular Tags