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: XSLTErrorResources_sv.java 468641 2006-10-28 06:54:42Z minchau $ 020 */ 021 package org.apache.xalan.res; 022 023 024 /** 025 * Set up error messages. 026 * We build a two dimensional array of message keys and 027 * message strings. In order to add a new message here, 028 * you need to first add a String constant. And 029 * you need to enter key , value pair as part of contents 030 * Array. You also need to update MAX_CODE for error strings 031 * and MAX_WARNING for warnings ( Needed for only information 032 * purpose ) 033 */ 034 public class XSLTErrorResources_sv extends XSLTErrorResources 035 { 036 037 /** Maximum error messages, this is needed to keep track of the number of messages. */ 038 public static final int MAX_CODE = 201; 039 040 /** Maximum warnings, this is needed to keep track of the number of warnings. */ 041 public static final int MAX_WARNING = 29; 042 043 /** Maximum misc strings. */ 044 public static final int MAX_OTHERS = 55; 045 046 /** Maximum total warnings and error messages. */ 047 public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; 048 049 /** Get the lookup table for error messages. 050 * 051 * @return The int to message lookup table. 052 */ 053 public Object[][] getContents() 054 { 055 return new Object[][] { 056 057 /** Error message ID that has a null message, but takes in a single object. */ 058 //public static final int ERROR0000 = 0; 059 060 061 { 062 "ERROR0000", "{0}"}, 063 064 065 /** ER_NO_CURLYBRACE */ 066 //public static final int ER_NO_CURLYBRACE = 1; 067 068 069 { 070 ER_NO_CURLYBRACE, 071 "Fel: Kan inte ha '{' inuti uttryck"}, 072 073 074 /** ER_ILLEGAL_ATTRIBUTE */ 075 //public static final int ER_ILLEGAL_ATTRIBUTE = 2; 076 077 078 { 079 ER_ILLEGAL_ATTRIBUTE, "{0} har ett otill\u00e5tet attribut: {1}"}, 080 081 082 /** ER_NULL_SOURCENODE_APPLYIMPORTS */ 083 //public static final int ER_NULL_SOURCENODE_APPLYIMPORTS = 3; 084 085 086 { 087 ER_NULL_SOURCENODE_APPLYIMPORTS, 088 "sourceNode \u00e4r null i xsl:apply-imports!"}, 089 090 091 /** ER_CANNOT_ADD */ 092 //public static final int ER_CANNOT_ADD = 4; 093 094 095 { 096 ER_CANNOT_ADD, "Kan inte l\u00e4gga {0} till {1}"}, 097 098 099 /** ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES */ 100 //public static final int ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES = 5; 101 102 103 { 104 ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES, 105 "sourceNode \u00e4r null i handleApplyTemplatesInstruction!"}, 106 107 108 /** ER_NO_NAME_ATTRIB */ 109 //public static final int ER_NO_NAME_ATTRIB = 6; 110 111 112 { 113 ER_NO_NAME_ATTRIB, "{0} m\u00e5ste ha ett namn-attribut."}, 114 115 116 /** ER_TEMPLATE_NOT_FOUND */ 117 //public static final int ER_TEMPLATE_NOT_FOUND = 7; 118 119 120 { 121 ER_TEMPLATE_NOT_FOUND, "Hittade inte mallen med namn: {0}"}, 122 123 124 /** ER_CANT_RESOLVE_NAME_AVT */ 125 //public static final int ER_CANT_RESOLVE_NAME_AVT = 8; 126 127 128 { 129 ER_CANT_RESOLVE_NAME_AVT, 130 "Kunde inte l\u00f6sa namn-AVT i xsl:call-template."}, 131 132 133 /** ER_REQUIRES_ATTRIB */ 134 //public static final int ER_REQUIRES_ATTRIB = 9; 135 136 137 { 138 ER_REQUIRES_ATTRIB, "{0} kr\u00e4ver attribut: {1}"}, 139 140 141 /** ER_MUST_HAVE_TEST_ATTRIB */ 142 //public static final int ER_MUST_HAVE_TEST_ATTRIB = 10; 143 144 145 { 146 ER_MUST_HAVE_TEST_ATTRIB, 147 "{0} m\u00e5ste ha ett ''test''-attribut."}, 148 149 150 /** ER_BAD_VAL_ON_LEVEL_ATTRIB */ 151 //public static final int ER_BAD_VAL_ON_LEVEL_ATTRIB = 11; 152 153 154 { 155 ER_BAD_VAL_ON_LEVEL_ATTRIB, 156 "D\u00e5ligt v\u00e4rde p\u00e5 niv\u00e5-attribut: {0}"}, 157 158 159 /** ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */ 160 //public static final int ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 12; 161 162 163 { 164 ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML, 165 "Namn p\u00e5 behandlande instruktion f\u00e5r inte vara 'xml'"}, 166 167 168 /** ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */ 169 //public static final int ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 13; 170 171 172 { 173 ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME, 174 "Namn p\u00e5 behandlande instruktion m\u00e5ste vara ett giltigt NCNamn: {0}"}, 175 176 177 /** ER_NEED_MATCH_ATTRIB */ 178 //public static final int ER_NEED_MATCH_ATTRIB = 14; 179 180 181 { 182 ER_NEED_MATCH_ATTRIB, 183 "{0} m\u00e5ste ha ett matchningsattribut om det har ett tillst\u00e5nd."}, 184 185 186 /** ER_NEED_NAME_OR_MATCH_ATTRIB */ 187 //public static final int ER_NEED_NAME_OR_MATCH_ATTRIB = 15; 188 189 190 { 191 ER_NEED_NAME_OR_MATCH_ATTRIB, 192 "{0} kr\u00e4ver antingen ett namn eller ett matchningsattribut."}, 193 194 195 /** ER_CANT_RESOLVE_NSPREFIX */ 196 //public static final int ER_CANT_RESOLVE_NSPREFIX = 16; 197 198 199 { 200 ER_CANT_RESOLVE_NSPREFIX, 201 "Kan inte l\u00f6sa namnrymdsprefix: {0}"}, 202 203 204 /** ER_ILLEGAL_VALUE */ 205 //public static final int ER_ILLEGAL_VALUE = 17; 206 207 208 { 209 ER_ILLEGAL_VALUE, "xml:space har ett otill\u00e5tet v\u00e4rde: {0}"}, 210 211 212 /** ER_NO_OWNERDOC */ 213 //public static final int ER_NO_OWNERDOC = 18; 214 215 216 { 217 ER_NO_OWNERDOC, 218 "Barnnod saknar \u00e4gardokument!"}, 219 220 221 /** ER_ELEMTEMPLATEELEM_ERR */ 222 //public static final int ER_ELEMTEMPLATEELEM_ERR = 19; 223 224 225 { 226 ER_ELEMTEMPLATEELEM_ERR, "ElemTemplateElement-fel: {0}"}, 227 228 229 /** ER_NULL_CHILD */ 230 //public static final int ER_NULL_CHILD = 20; 231 232 233 { 234 ER_NULL_CHILD, "F\u00f6rs\u00f6ker l\u00e4gga till ett null-barn!"}, 235 236 237 /** ER_NEED_SELECT_ATTRIB */ 238 //public static final int ER_NEED_SELECT_ATTRIB = 21; 239 240 241 { 242 ER_NEED_SELECT_ATTRIB, "{0} kr\u00e4ver ett valattribut."}, 243 244 245 /** ER_NEED_TEST_ATTRIB */ 246 //public static final int ER_NEED_TEST_ATTRIB = 22; 247 248 249 { 250 ER_NEED_TEST_ATTRIB, 251 "xsl:when m\u00e5ste ha ett 'test'-attribut."}, 252 253 254 /** ER_NEED_NAME_ATTRIB */ 255 //public static final int ER_NEED_NAME_ATTRIB = 23; 256 257 258 { 259 ER_NEED_NAME_ATTRIB, 260 "xsl:with-param m\u00e5ste ha ett 'namn'-attribut."}, 261 262 263 /** ER_NO_CONTEXT_OWNERDOC */ 264 //public static final int ER_NO_CONTEXT_OWNERDOC = 24; 265 266 267 { 268 ER_NO_CONTEXT_OWNERDOC, 269 "Kontext saknar \u00e4gardokument!"}, 270 271 272 /** ER_COULD_NOT_CREATE_XML_PROC_LIAISON */ 273 //public static final int ER_COULD_NOT_CREATE_XML_PROC_LIAISON = 25; 274 275 276 { 277 ER_COULD_NOT_CREATE_XML_PROC_LIAISON, 278 "Kunde inte skapa XML TransformerFactory Liaison: {0}"}, 279 280 281 /** ER_PROCESS_NOT_SUCCESSFUL */ 282 //public static final int ER_PROCESS_NOT_SUCCESSFUL = 26; 283 284 285 { 286 ER_PROCESS_NOT_SUCCESSFUL, 287 "Xalan: Process misslyckades."}, 288 289 290 /** ER_NOT_SUCCESSFUL */ 291 //public static final int ER_NOT_SUCCESSFUL = 27; 292 293 294 { 295 ER_NOT_SUCCESSFUL, "Xalan: misslyckades."}, 296 297 298 /** ER_ENCODING_NOT_SUPPORTED */ 299 //public static final int ER_ENCODING_NOT_SUPPORTED = 28; 300 301 302 { 303 ER_ENCODING_NOT_SUPPORTED, "Kodning inte underst\u00f6dd: {0}"}, 304 305 306 /** ER_COULD_NOT_CREATE_TRACELISTENER */ 307 //public static final int ER_COULD_NOT_CREATE_TRACELISTENER = 29; 308 309 310 { 311 ER_COULD_NOT_CREATE_TRACELISTENER, 312 "Kunde inte skapa TraceListener: {0}"}, 313 314 315 /** ER_KEY_REQUIRES_NAME_ATTRIB */ 316 //public static final int ER_KEY_REQUIRES_NAME_ATTRIB = 30; 317 318 319 { 320 ER_KEY_REQUIRES_NAME_ATTRIB, 321 "xsl:key m\u00e5ste ha ett 'namn'-attribut."}, 322 323 324 /** ER_KEY_REQUIRES_MATCH_ATTRIB */ 325 //public static final int ER_KEY_REQUIRES_MATCH_ATTRIB = 31; 326 327 328 { 329 ER_KEY_REQUIRES_MATCH_ATTRIB, 330 "xsl:key m\u00e5ste ha ett 'matcha'-attribut."}, 331 332 333 /** ER_KEY_REQUIRES_USE_ATTRIB */ 334 //public static final int ER_KEY_REQUIRES_USE_ATTRIB = 32; 335 336 337 { 338 ER_KEY_REQUIRES_USE_ATTRIB, 339 "xsl:key m\u00e5ste ha ett 'anv\u00e4nd'-attribut."}, 340 341 342 /** ER_REQUIRES_ELEMENTS_ATTRIB */ 343 //public static final int ER_REQUIRES_ELEMENTS_ATTRIB = 33; 344 345 346 { 347 ER_REQUIRES_ELEMENTS_ATTRIB, 348 "(StylesheetHandler) {0} kr\u00e4ver ett ''element''-attribut!"}, 349 350 351 /** ER_MISSING_PREFIX_ATTRIB */ 352 //public static final int ER_MISSING_PREFIX_ATTRIB = 34; 353 354 355 { 356 ER_MISSING_PREFIX_ATTRIB, 357 "(StylesheetHandler) {0} ''prefix''-attribut saknas"}, 358 359 360 /** ER_BAD_STYLESHEET_URL */ 361 //public static final int ER_BAD_STYLESHEET_URL = 35; 362 363 364 { 365 ER_BAD_STYLESHEET_URL, "Stylesheet URL \u00e4r d\u00e5lig: {0}"}, 366 367 368 /** ER_FILE_NOT_FOUND */ 369 //public static final int ER_FILE_NOT_FOUND = 36; 370 371 372 { 373 ER_FILE_NOT_FOUND, "Stylesheet-fil saknas: {0}"}, 374 375 376 /** ER_IOEXCEPTION */ 377 //public static final int ER_IOEXCEPTION = 37; 378 379 380 { 381 ER_IOEXCEPTION, 382 "Fick IO-Undantag med stylesheet-fil: {0}"}, 383 384 385 /** ER_NO_HREF_ATTRIB */ 386 //public static final int ER_NO_HREF_ATTRIB = 38; 387 388 389 { 390 ER_NO_HREF_ATTRIB, 391 "(StylesheetHandler) Hittade inte href-attribute f\u00f6r {0}"}, 392 393 394 /** ER_STYLESHEET_INCLUDES_ITSELF */ 395 //public static final int ER_STYLESHEET_INCLUDES_ITSELF = 39; 396 397 398 { 399 ER_STYLESHEET_INCLUDES_ITSELF, 400 "(StylesheetHandler) {0} inkluderar, direkt eller indirekt, sig sj\u00e4lv!"}, 401 402 403 /** ER_PROCESSINCLUDE_ERROR */ 404 //public static final int ER_PROCESSINCLUDE_ERROR = 40; 405 406 407 { 408 ER_PROCESSINCLUDE_ERROR, 409 "StylesheetHandler.processInclude-fel, {0}"}, 410 411 412 /** ER_MISSING_LANG_ATTRIB */ 413 //public static final int ER_MISSING_LANG_ATTRIB = 41; 414 415 416 { 417 ER_MISSING_LANG_ATTRIB, 418 "(StylesheetHandler) {0} ''lang''-attribut' saknas"}, 419 420 421 /** ER_MISSING_CONTAINER_ELEMENT_COMPONENT */ 422 //public static final int ER_MISSING_CONTAINER_ELEMENT_COMPONENT = 42; 423 424 425 { 426 ER_MISSING_CONTAINER_ELEMENT_COMPONENT, 427 "(StylesheetHandler) felplacerade {0} element?? Saknar beh\u00e5llarelement ''komponent''"}, 428 429 430 /** ER_CAN_ONLY_OUTPUT_TO_ELEMENT */ 431 //public static final int ER_CAN_ONLY_OUTPUT_TO_ELEMENT = 43; 432 433 434 { 435 ER_CAN_ONLY_OUTPUT_TO_ELEMENT, 436 "Kan endast skicka utdata till ett Element, ett DocumentFragment, ett Document, eller en PrintWriter."}, 437 438 439 /** ER_PROCESS_ERROR */ 440 //public static final int ER_PROCESS_ERROR = 44; 441 442 443 { 444 ER_PROCESS_ERROR, "StylesheetRoot.process-fel"}, 445 446 447 /** ER_UNIMPLNODE_ERROR */ 448 //public static final int ER_UNIMPLNODE_ERROR = 45; 449 450 451 { 452 ER_UNIMPLNODE_ERROR, "UnImplNode-fel: {0}"}, 453 454 455 /** ER_NO_SELECT_EXPRESSION */ 456 //public static final int ER_NO_SELECT_EXPRESSION = 46; 457 458 459 { 460 ER_NO_SELECT_EXPRESSION, 461 "Fel! Hittade inte xpath select-uttryck (-select)."}, 462 463 464 /** ER_CANNOT_SERIALIZE_XSLPROCESSOR */ 465 //public static final int ER_CANNOT_SERIALIZE_XSLPROCESSOR = 47; 466 467 468 { 469 ER_CANNOT_SERIALIZE_XSLPROCESSOR, 470 "Kan inte serialisera en XSLProcessor!"}, 471 472 473 /** ER_NO_INPUT_STYLESHEET */ 474 //public static final int ER_NO_INPUT_STYLESHEET = 48; 475 476 477 { 478 ER_NO_INPUT_STYLESHEET, 479 "Stylesheet-indata ej angiven!"}, 480 481 482 /** ER_FAILED_PROCESS_STYLESHEET */ 483 //public static final int ER_FAILED_PROCESS_STYLESHEET = 49; 484 485 486 { 487 ER_FAILED_PROCESS_STYLESHEET, 488 "Kunde inte behandla stylesheet!"}, 489 490 491 /** ER_COULDNT_PARSE_DOC */ 492 //public static final int ER_COULDNT_PARSE_DOC = 50; 493 494 495 { 496 ER_COULDNT_PARSE_DOC, "Kunde inte tolka {0} dokument!"}, 497 498 499 /** ER_COULDNT_FIND_FRAGMENT */ 500 //public static final int ER_COULDNT_FIND_FRAGMENT = 51; 501 502 503 { 504 ER_COULDNT_FIND_FRAGMENT, "Hittade inte fragment: {0}"}, 505 506 507 /** ER_NODE_NOT_ELEMENT */ 508 //public static final int ER_NODE_NOT_ELEMENT = 52; 509 510 511 { 512 ER_NODE_NOT_ELEMENT, 513 "Nod som pekades p\u00e5 av fragment-identifierare var inte ett element: {0}"}, 514 515 516 /** ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB */ 517 //public static final int ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB = 53; 518 519 520 { 521 ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB, 522 "for-each kr\u00e4ver antingen en matchning eller ett namnattribut."}, 523 524 525 /** ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB */ 526 //public static final int ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB = 54; 527 528 529 { 530 ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB, 531 "mallar kr\u00e4ver antingen en matchning eller ett namnattribut."}, 532 533 534 /** ER_NO_CLONE_OF_DOCUMENT_FRAG */ 535 //public static final int ER_NO_CLONE_OF_DOCUMENT_FRAG = 55; 536 537 538 { 539 ER_NO_CLONE_OF_DOCUMENT_FRAG, 540 "Ingen klon av ett dokumentfragment!"}, 541 542 543 /** ER_CANT_CREATE_ITEM */ 544 //public static final int ER_CANT_CREATE_ITEM = 56; 545 546 547 { 548 ER_CANT_CREATE_ITEM, 549 "Kan inte skapa element i resultattr\u00e4d: {0}"}, 550 551 552 /** ER_XMLSPACE_ILLEGAL_VALUE */ 553 //public static final int ER_XMLSPACE_ILLEGAL_VALUE = 57; 554 555 556 { 557 ER_XMLSPACE_ILLEGAL_VALUE, 558 "xml:space i k\u00e4ll-XML har ett otill\u00e5tet v\u00e4rde: {0}"}, 559 560 561 /** ER_NO_XSLKEY_DECLARATION */ 562 //public static final int ER_NO_XSLKEY_DECLARATION = 58; 563 564 565 { 566 ER_NO_XSLKEY_DECLARATION, 567 "Det finns ingen xsl:key-deklaration f\u00f6r {0}!"}, 568 569 570 /** ER_CANT_CREATE_URL */ 571 //public static final int ER_CANT_CREATE_URL = 59; 572 573 574 { 575 ER_CANT_CREATE_URL, "Fel! Kan inte skapa url f\u00f6r: {0}"}, 576 577 578 /** ER_XSLFUNCTIONS_UNSUPPORTED */ 579 //public static final int ER_XSLFUNCTIONS_UNSUPPORTED = 60; 580 581 582 { 583 ER_XSLFUNCTIONS_UNSUPPORTED, "xsl:functions \u00e4r inte underst\u00f6dd"}, 584 585 586 /** ER_PROCESSOR_ERROR */ 587 //public static final int ER_PROCESSOR_ERROR = 61; 588 589 590 { 591 ER_PROCESSOR_ERROR, "XSLT TransformerFactory-Fel"}, 592 593 594 /** ER_NOT_ALLOWED_INSIDE_STYLESHEET */ 595 //public static final int ER_NOT_ALLOWED_INSIDE_STYLESHEET = 62; 596 597 598 { 599 ER_NOT_ALLOWED_INSIDE_STYLESHEET, 600 "(StylesheetHandler) {0} \u00e4r inte till\u00e5ten inne i ett stylesheet!"}, 601 602 603 /** ER_RESULTNS_NOT_SUPPORTED */ 604 //public static final int ER_RESULTNS_NOT_SUPPORTED = 63; 605 606 607 { 608 ER_RESULTNS_NOT_SUPPORTED, 609 "result-ns inte l\u00e4ngre underst\u00f6dd! Anv\u00e4nd xsl:output ist\u00e4llet."}, 610 611 612 /** ER_DEFAULTSPACE_NOT_SUPPORTED */ 613 //public static final int ER_DEFAULTSPACE_NOT_SUPPORTED = 64; 614 615 616 { 617 ER_DEFAULTSPACE_NOT_SUPPORTED, 618 "default-space inte l\u00e4ngre underst\u00f6dd! Anv\u00e4nd xsl:strip-space eller xsl:preserve-space ist\u00e4llet."}, 619 620 621 /** ER_INDENTRESULT_NOT_SUPPORTED */ 622 //public static final int ER_INDENTRESULT_NOT_SUPPORTED = 65; 623 624 625 { 626 ER_INDENTRESULT_NOT_SUPPORTED, 627 "indent-result inte l\u00e4ngre underst\u00f6dd! Anv\u00e4nd xsl:output ist\u00e4llet."}, 628 629 630 /** ER_ILLEGAL_ATTRIB */ 631 //public static final int ER_ILLEGAL_ATTRIB = 66; 632 633 634 { 635 ER_ILLEGAL_ATTRIB, 636 "(StylesheetHandler) {0} har ett otill\u00e5tet attribut: {1}"}, 637 638 639 /** ER_UNKNOWN_XSL_ELEM */ 640 //public static final int ER_UNKNOWN_XSL_ELEM = 67; 641 642 643 { 644 ER_UNKNOWN_XSL_ELEM, "Ok\u00e4nt XSL-element: {0}"}, 645 646 647 /** ER_BAD_XSLSORT_USE */ 648 //public static final int ER_BAD_XSLSORT_USE = 68; 649 650 651 { 652 ER_BAD_XSLSORT_USE, 653 "(StylesheetHandler) xsl:sort kan endast anv\u00e4ndas med xsl:apply-templates eller xsl:for-each."}, 654 655 656 /** ER_MISPLACED_XSLWHEN */ 657 //public static final int ER_MISPLACED_XSLWHEN = 69; 658 659 660 { 661 ER_MISPLACED_XSLWHEN, 662 "(StylesheetHandler) felplacerade xsl:when!"}, 663 664 665 /** ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE */ 666 //public static final int ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE = 70; 667 668 669 { 670 ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE, 671 "(StylesheetHandler) xsl:when h\u00e4rstammar inte fr\u00e5n xsl:choose!"}, 672 673 674 /** ER_MISPLACED_XSLOTHERWISE */ 675 //public static final int ER_MISPLACED_XSLOTHERWISE = 71; 676 677 678 { 679 ER_MISPLACED_XSLOTHERWISE, 680 "(StylesheetHandler) felplacerade xsl:otherwise!"}, 681 682 683 /** ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE */ 684 //public static final int ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE = 72; 685 686 687 { 688 ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE, 689 "(StylesheetHandler) xsl:otherwise h\u00e4rstammar inte fr\u00e5n xsl:choose!"}, 690 691 692 /** ER_NOT_ALLOWED_INSIDE_TEMPLATE */ 693 //public static final int ER_NOT_ALLOWED_INSIDE_TEMPLATE = 73; 694 695 696 { 697 ER_NOT_ALLOWED_INSIDE_TEMPLATE, 698 "(StylesheetHandler) {0} \u00e4r inte till\u00e5ten inne i en mall!"}, 699 700 701 /** ER_UNKNOWN_EXT_NS_PREFIX */ 702 //public static final int ER_UNKNOWN_EXT_NS_PREFIX = 74; 703 704 705 { 706 ER_UNKNOWN_EXT_NS_PREFIX, 707 "(StylesheetHandler) {0} utbyggnadsnamnrymdsprefix {1} ok\u00e4nt"}, 708 709 710 /** ER_IMPORTS_AS_FIRST_ELEM */ 711 //public static final int ER_IMPORTS_AS_FIRST_ELEM = 75; 712 713 714 { 715 ER_IMPORTS_AS_FIRST_ELEM, 716 "(StylesheetHandler) Imports kan endast f\u00f6rekomma som de f\u00f6rsta elementen i ett stylesheet!"}, 717 718 719 /** ER_IMPORTING_ITSELF */ 720 //public static final int ER_IMPORTING_ITSELF = 76; 721 722 723 { 724 ER_IMPORTING_ITSELF, 725 "(StylesheetHandler) {0} importerar, direkt eller indirekt, sig sj\u00e4lv!"}, 726 727 728 /** ER_XMLSPACE_ILLEGAL_VAL */ 729 //public static final int ER_XMLSPACE_ILLEGAL_VAL = 77; 730 731 732 { 733 ER_XMLSPACE_ILLEGAL_VAL, 734 "(StylesheetHandler) " + "xml:space har ett otill\u00e5tet v\u00e4rde: {0}"}, 735 736 737 /** ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL */ 738 //public static final int ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL = 78; 739 740 741 { 742 ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL, 743 "processStylesheet misslyckades!"}, 744 745 746 /** ER_SAX_EXCEPTION */ 747 //public static final int ER_SAX_EXCEPTION = 79; 748 749 750 { 751 ER_SAX_EXCEPTION, "SAX-Undantag"}, 752 753 754 755 /** ER_XSLT_ERROR */ 756 //public static final int ER_XSLT_ERROR = 81; 757 758 759 { 760 ER_XSLT_ERROR, "XSLT-fel"}, 761 762 763 /** ER_CURRENCY_SIGN_ILLEGAL */ 764 //public static final int ER_CURRENCY_SIGN_ILLEGAL = 82; 765 766 767 { 768 ER_CURRENCY_SIGN_ILLEGAL, 769 "valutatecken \u00e4r inte till\u00e5tet i formatm\u00f6nsterstr\u00e4ng"}, 770 771 772 /** ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM */ 773 //public static final int ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM = 83; 774 775 776 { 777 ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM, 778 "Dokumentfunktion inte underst\u00f6dd i Stylesheet DOM!"}, 779 780 781 /** ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER */ 782 //public static final int ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER = 84; 783 784 785 { 786 ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER, 787 "Kan inte l\u00f6sa prefix i icke-Prefixl\u00f6sare!"}, 788 789 790 /** ER_REDIRECT_COULDNT_GET_FILENAME */ 791 //public static final int ER_REDIRECT_COULDNT_GET_FILENAME = 85; 792 793 794 { 795 ER_REDIRECT_COULDNT_GET_FILENAME, 796 "Redirect extension: Hittade inte filnamn - fil eller valattribut m\u00e5ste returnera vald str\u00e4ng."}, 797 798 799 /** ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT */ 800 //public static final int ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT = 86; 801 802 803 { 804 ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT, 805 "Kan inte bygga FormatterListener i Redirect extension!"}, 806 807 808 /** ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX */ 809 //public static final int ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX = 87; 810 811 812 { 813 ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX, 814 "Prefix i exkludera-resultat-prefix \u00e4r inte giltig: {0}"}, 815 816 817 /** ER_MISSING_NS_URI */ 818 //public static final int ER_MISSING_NS_URI = 88; 819 820 821 { 822 ER_MISSING_NS_URI, 823 "Namnrymds-URI saknas f\u00f6r angivna prefix"}, 824 825 826 /** ER_MISSING_ARG_FOR_OPTION */ 827 //public static final int ER_MISSING_ARG_FOR_OPTION = 89; 828 829 830 { 831 ER_MISSING_ARG_FOR_OPTION, 832 "Argument saknas f\u00f6r alternativ: {0}"}, 833 834 835 /** ER_INVALID_OPTION */ 836 //public static final int ER_INVALID_OPTION = 90; 837 838 839 { 840 ER_INVALID_OPTION, "Ogiltigt alternativ: {0}"}, 841 842 843 /** ER_MALFORMED_FORMAT_STRING */ 844 //public static final int ER_MALFORMED_FORMAT_STRING = 91; 845 846 847 { 848 ER_MALFORMED_FORMAT_STRING, "Fel format p\u00e5 formatstr\u00e4ng: {0}"}, 849 850 851 /** ER_STYLESHEET_REQUIRES_VERSION_ATTRIB */ 852 //public static final int ER_STYLESHEET_REQUIRES_VERSION_ATTRIB = 92; 853 854 855 { 856 ER_STYLESHEET_REQUIRES_VERSION_ATTRIB, 857 "xsl:stylesheet m\u00e5ste ha ett 'version'-attribut!"}, 858 859 860 /** ER_ILLEGAL_ATTRIBUTE_VALUE */ 861 //public static final int ER_ILLEGAL_ATTRIBUTE_VALUE = 93; 862 863 864 { 865 ER_ILLEGAL_ATTRIBUTE_VALUE, 866 "Attribut: {0} har ett otill\u00e5tet v\u00e4rde: {1}"}, 867 868 869 /** ER_CHOOSE_REQUIRES_WHEN */ 870 //public static final int ER_CHOOSE_REQUIRES_WHEN = 94; 871 872 873 { 874 ER_CHOOSE_REQUIRES_WHEN, "xsl:choose kr\u00e4ver ett xsl:when"}, 875 876 877 /** ER_NO_APPLY_IMPORT_IN_FOR_EACH */ 878 //public static final int ER_NO_APPLY_IMPORT_IN_FOR_EACH = 95; 879 880 881 { 882 ER_NO_APPLY_IMPORT_IN_FOR_EACH, 883 "xsl:apply-imports inte till\u00e5tet i ett xsl:for-each"}, 884 885 886 /** ER_CANT_USE_DTM_FOR_OUTPUT */ 887 //public static final int ER_CANT_USE_DTM_FOR_OUTPUT = 96; 888 889 890 { 891 ER_CANT_USE_DTM_FOR_OUTPUT, 892 "Kan inte anv\u00e4nda DTMLiaison till en DOM utdatanod... skicka en org.apache.xpath.DOM2Helper ist\u00e4llet!"}, 893 894 895 /** ER_CANT_USE_DTM_FOR_INPUT */ 896 //public static final int ER_CANT_USE_DTM_FOR_INPUT = 97; 897 898 899 { 900 ER_CANT_USE_DTM_FOR_INPUT, 901 "Kan inte anv\u00e4nda DTMLiaison till en DOM indatanod... skicka en org.apache.xpath.DOM2Helper ist\u00e4llet!"}, 902 903 904 /** ER_CALL_TO_EXT_FAILED */ 905 //public static final int ER_CALL_TO_EXT_FAILED = 98; 906 907 908 { 909 ER_CALL_TO_EXT_FAILED, 910 "Anrop till anslutningselement misslyckades: {0}"}, 911 912 913 /** ER_PREFIX_MUST_RESOLVE */ 914 //public static final int ER_PREFIX_MUST_RESOLVE = 99; 915 916 917 { 918 ER_PREFIX_MUST_RESOLVE, 919 "Prefix m\u00e5ste l\u00f6sa till en mamnrymd: {0}"}, 920 921 922 /** ER_INVALID_UTF16_SURROGATE */ 923 //public static final int ER_INVALID_UTF16_SURROGATE = 100; 924 925 926 { 927 ER_INVALID_UTF16_SURROGATE, 928 "Ogiltigt UTF-16-surrogat uppt\u00e4ckt: {0} ?"}, 929 930 931 /** ER_XSLATTRSET_USED_ITSELF */ 932 //public static final int ER_XSLATTRSET_USED_ITSELF = 101; 933 934 935 { 936 ER_XSLATTRSET_USED_ITSELF, 937 "xsl:attribute-set {0} anv\u00e4nde sig sj\u00e4lvt, vilket kommer att orsaka en o\u00e4ndlig loop."}, 938 939 940 /** ER_CANNOT_MIX_XERCESDOM */ 941 //public static final int ER_CANNOT_MIX_XERCESDOM = 102; 942 943 944 { 945 ER_CANNOT_MIX_XERCESDOM, 946 "Kan inte blanda icke-Xerces-DOM-indata med Xerces-DOM-utdata!"}, 947 948 949 /** ER_TOO_MANY_LISTENERS */ 950 //public static final int ER_TOO_MANY_LISTENERS = 103; 951 952 953 { 954 ER_TOO_MANY_LISTENERS, 955 "addTraceListenersToStylesheet - TooManyListenersException"}, 956 957 958 /** ER_IN_ELEMTEMPLATEELEM_READOBJECT */ 959 //public static final int ER_IN_ELEMTEMPLATEELEM_READOBJECT = 104; 960 961 962 { 963 ER_IN_ELEMTEMPLATEELEM_READOBJECT, 964 "I ElemTemplateElement.readObject: {0}"}, 965 966 967 /** ER_DUPLICATE_NAMED_TEMPLATE */ 968 //public static final int ER_DUPLICATE_NAMED_TEMPLATE = 105; 969 970 971 { 972 ER_DUPLICATE_NAMED_TEMPLATE, 973 "Hittade mer \u00e4n en mall med namnet: {0}"}, 974 975 976 /** ER_INVALID_KEY_CALL */ 977 //public static final int ER_INVALID_KEY_CALL = 106; 978 979 980 { 981 ER_INVALID_KEY_CALL, 982 "Ogiltigt funktionsanrop: rekursiva key()-anrop \u00e4r inte till\u00e5tna"}, 983 984 985 /** Variable is referencing itself */ 986 //public static final int ER_REFERENCING_ITSELF = 107; 987 988 989 { 990 ER_REFERENCING_ITSELF, 991 "Variabel {0} h\u00e4nvisar, direkt eller indirekt, till sig sj\u00e4lv!"}, 992 993 994 /** Illegal DOMSource input */ 995 //public static final int ER_ILLEGAL_DOMSOURCE_INPUT = 108; 996 997 998 { 999 ER_ILLEGAL_DOMSOURCE_INPUT, 1000 "Indatanoden till en DOMSource f\u00f6r newTemplates f\u00e5r inte vara null!"}, 1001 1002 1003 /** Class not found for option */ 1004 //public static final int ER_CLASS_NOT_FOUND_FOR_OPTION = 109; 1005 1006 1007 { 1008 ER_CLASS_NOT_FOUND_FOR_OPTION, 1009 "Klassfil f\u00f6r alternativ {0} saknas"}, 1010 1011 1012 /** Required Element not found */ 1013 //public static final int ER_REQUIRED_ELEM_NOT_FOUND = 110; 1014 1015 1016 { 1017 ER_REQUIRED_ELEM_NOT_FOUND, 1018 "N\u00f6dv\u00e4ndigt element saknas: {0}"}, 1019 1020 1021 /** InputStream cannot be null */ 1022 //public static final int ER_INPUT_CANNOT_BE_NULL = 111; 1023 1024 1025 { 1026 ER_INPUT_CANNOT_BE_NULL, 1027 "InputStream f\u00e5r inte vara null"}, 1028 1029 1030 /** URI cannot be null */ 1031 //public static final int ER_URI_CANNOT_BE_NULL = 112; 1032 1033 1034 { 1035 ER_URI_CANNOT_BE_NULL, 1036 "URI f\u00e5r inte vara null"}, 1037 1038 1039 /** File cannot be null */ 1040 //public static final int ER_FILE_CANNOT_BE_NULL = 113; 1041 1042 1043 { 1044 ER_FILE_CANNOT_BE_NULL, 1045 "Fil f\u00e5r inte vara null"}, 1046 1047 1048 /** InputSource cannot be null */ 1049 //public static final int ER_SOURCE_CANNOT_BE_NULL = 114; 1050 1051 1052 { 1053 ER_SOURCE_CANNOT_BE_NULL, 1054 "InputSource f\u00e5r inte vara null"}, 1055 1056 1057 /** Could not initialize BSF Manager */ 1058 //public static final int ER_CANNOT_INIT_BSFMGR = 116; 1059 1060 1061 { 1062 ER_CANNOT_INIT_BSFMGR, 1063 "Kan inte initialisera BSF Manager"}, 1064 1065 1066 /** Could not compile extension */ 1067 //public static final int ER_CANNOT_CMPL_EXTENSN = 117; 1068 1069 1070 { 1071 ER_CANNOT_CMPL_EXTENSN, 1072 "Kunde inte kompilera anslutning"}, 1073 1074 1075 /** Could not create extension */ 1076 //public static final int ER_CANNOT_CREATE_EXTENSN = 118; 1077 1078 1079 { 1080 ER_CANNOT_CREATE_EXTENSN, 1081 "Kunde inte skapa anslutning: {0} p\u00e5 grund av: {1}"}, 1082 1083 1084 /** Instance method call to method {0} requires an Object instance as first argument */ 1085 //public static final int ER_INSTANCE_MTHD_CALL_REQUIRES = 119; 1086 1087 1088 { 1089 ER_INSTANCE_MTHD_CALL_REQUIRES, 1090 "Instansmetodanrop till metod {0} kr\u00e4ver en Objektinstans som f\u00f6rsta argument"}, 1091 1092 1093 /** Invalid element name specified */ 1094 //public static final int ER_INVALID_ELEMENT_NAME = 120; 1095 1096 1097 { 1098 ER_INVALID_ELEMENT_NAME, 1099 "Ogiltigt elementnamn angivet {0}"}, 1100 1101 1102 /** Element name method must be static */ 1103 //public static final int ER_ELEMENT_NAME_METHOD_STATIC = 121; 1104 1105 1106 { 1107 ER_ELEMENT_NAME_METHOD_STATIC, 1108 "Elementnamnmetod m\u00e5ste vara static {0}"}, 1109 1110 1111 /** Extension function {0} : {1} is unknown */ 1112 //public static final int ER_EXTENSION_FUNC_UNKNOWN = 122; 1113 1114 1115 { 1116 ER_EXTENSION_FUNC_UNKNOWN, 1117 "Anslutningsfunktion {0} : {1} \u00e4r ok\u00e4nd"}, 1118 1119 1120 /** More than one best match for constructor for */ 1121 //public static final int ER_MORE_MATCH_CONSTRUCTOR = 123; 1122 1123 1124 { 1125 ER_MORE_MATCH_CONSTRUCTOR, 1126 "Fler \u00e4n en b\u00e4sta matchning f\u00f6r konstruktor f\u00f6r {0}"}, 1127 1128 1129 /** More than one best match for method */ 1130 //public static final int ER_MORE_MATCH_METHOD = 124; 1131 1132 1133 { 1134 ER_MORE_MATCH_METHOD, 1135 "Fler \u00e4n en b\u00e4sta matchning f\u00f6r metod {0}"}, 1136 1137 1138 /** More than one best match for element method */ 1139 //public static final int ER_MORE_MATCH_ELEMENT = 125; 1140 1141 1142 { 1143 ER_MORE_MATCH_ELEMENT, 1144 "Fler \u00e4n en b\u00e4sta matchning f\u00f6r elementmetod {0}"}, 1145 1146 1147 /** Invalid context passed to evaluate */ 1148 //public static final int ER_INVALID_CONTEXT_PASSED = 126; 1149 1150 1151 { 1152 ER_INVALID_CONTEXT_PASSED, 1153 "Ogiltig kontext skickad f\u00f6r att utv\u00e4rdera {0}"}, 1154 1155 1156 /** Pool already exists */ 1157 //public static final int ER_POOL_EXISTS = 127; 1158 1159 1160 { 1161 ER_POOL_EXISTS, 1162 "Pool finns redan"}, 1163 1164 1165 /** No driver Name specified */ 1166 //public static final int ER_NO_DRIVER_NAME = 128; 1167 1168 1169 { 1170 ER_NO_DRIVER_NAME, 1171 "Inget driver-namn angivet"}, 1172 1173 1174 /** No URL specified */ 1175 //public static final int ER_NO_URL = 129; 1176 1177 1178 { 1179 ER_NO_URL, 1180 "Ingen URL angiven"}, 1181 1182 1183 /** Pool size is less than one */ 1184 //public static final int ER_POOL_SIZE_LESSTHAN_ONE = 130; 1185 1186 1187 { 1188 ER_POOL_SIZE_LESSTHAN_ONE, 1189 "Poolstorlek \u00e4r mindre \u00e4n ett!"}, 1190 1191 1192 /** Invalid driver name specified */ 1193 //public static final int ER_INVALID_DRIVER = 131; 1194 1195 1196 { 1197 ER_INVALID_DRIVER, 1198 "Ogiltigt driver-namn angivet"}, 1199 1200 1201 /** Did not find the stylesheet root */ 1202 //public static final int ER_NO_STYLESHEETROOT = 132; 1203 1204 1205 { 1206 ER_NO_STYLESHEETROOT, 1207 "Hittade inte stylesheet-roten!"}, 1208 1209 1210 /** Illegal value for xml:space */ 1211 //public static final int ER_ILLEGAL_XMLSPACE_VALUE = 133; 1212 1213 1214 { 1215 ER_ILLEGAL_XMLSPACE_VALUE, 1216 "Ogiltigt v\u00e4rde f\u00f6r xml:space"}, 1217 1218 1219 /** processFromNode failed */ 1220 //public static final int ER_PROCESSFROMNODE_FAILED = 134; 1221 1222 1223 { 1224 ER_PROCESSFROMNODE_FAILED, 1225 "processFromNode misslyckades"}, 1226 1227 1228 /** The resource [] could not load: */ 1229 //public static final int ER_RESOURCE_COULD_NOT_LOAD = 135; 1230 1231 1232 { 1233 ER_RESOURCE_COULD_NOT_LOAD, 1234 "Resursen [ {0} ] kunde inte laddas: {1} \n {2} \t {3}"}, 1235 1236 1237 1238 /** Buffer size <=0 */ 1239 //public static final int ER_BUFFER_SIZE_LESSTHAN_ZERO = 136; 1240 1241 1242 { 1243 ER_BUFFER_SIZE_LESSTHAN_ZERO, 1244 "Bufferstorlek <=0"}, 1245 1246 1247 /** Unknown error when calling extension */ 1248 //public static final int ER_UNKNOWN_ERROR_CALLING_EXTENSION = 137; 1249 1250 1251 { 1252 ER_UNKNOWN_ERROR_CALLING_EXTENSION, 1253 "Ok\u00e4nt fel vid anslutningsanrop"}, 1254 1255 1256 /** Prefix {0} does not have a corresponding namespace declaration */ 1257 //public static final int ER_NO_NAMESPACE_DECL = 138; 1258 1259 1260 { 1261 ER_NO_NAMESPACE_DECL, 1262 "Prefix{0} har inte en motsvarande namnrymdsdeklaration"}, 1263 1264 1265 /** Element content not allowed for lang=javaclass */ 1266 //public static final int ER_ELEM_CONTENT_NOT_ALLOWED = 139; 1267 1268 1269 { 1270 ER_ELEM_CONTENT_NOT_ALLOWED, 1271 "Elementinneh\u00e5ll \u00e4r inte till\u00e5tet f\u00f6r lang=javaclass {0}"}, 1272 1273 1274 /** Stylesheet directed termination */ 1275 //public static final int ER_STYLESHEET_DIRECTED_TERMINATION = 140; 1276 1277 1278 { 1279 ER_STYLESHEET_DIRECTED_TERMINATION, 1280 "Stylesheet-ledd avslutning"}, 1281 1282 1283 /** 1 or 2 */ 1284 //public static final int ER_ONE_OR_TWO = 141; 1285 1286 1287 { 1288 ER_ONE_OR_TWO, 1289 "1 eller 2"}, 1290 1291 1292 /** 2 or 3 */ 1293 //public static final int ER_TWO_OR_THREE = 142; 1294 1295 1296 { 1297 ER_TWO_OR_THREE, 1298 "2 eller 3"}, 1299 1300 1301 /** Could not load {0} (check CLASSPATH), now using just the defaults */ 1302 //public static final int ER_COULD_NOT_LOAD_RESOURCE = 143; 1303 1304 1305 { 1306 ER_COULD_NOT_LOAD_RESOURCE, 1307 "Kunde inte ladda {0} (kontrollera CLASSPATH), anv\u00e4nder nu enbart standard"}, 1308 1309 1310 /** Cannot initialize default templates */ 1311 //public static final int ER_CANNOT_INIT_DEFAULT_TEMPLATES = 144; 1312 1313 1314 { 1315 ER_CANNOT_INIT_DEFAULT_TEMPLATES, 1316 "Kan inte initialisera standardmallar"}, 1317 1318 1319 /** Result should not be null */ 1320 //public static final int ER_RESULT_NULL = 145; 1321 1322 1323 { 1324 ER_RESULT_NULL, 1325 "Result borde inte vara null"}, 1326 1327 1328 /** Result could not be set */ 1329 //public static final int ER_RESULT_COULD_NOT_BE_SET = 146; 1330 1331 1332 { 1333 ER_RESULT_COULD_NOT_BE_SET, 1334 "Result kunde inte s\u00e4ttas"}, 1335 1336 1337 /** No output specified */ 1338 //public static final int ER_NO_OUTPUT_SPECIFIED = 147; 1339 1340 1341 { 1342 ER_NO_OUTPUT_SPECIFIED, 1343 "Ingen utdata angiven"}, 1344 1345 1346 /** Can't transform to a Result of type */ 1347 //public static final int ER_CANNOT_TRANSFORM_TO_RESULT_TYPE = 148; 1348 1349 1350 { 1351 ER_CANNOT_TRANSFORM_TO_RESULT_TYPE, 1352 "Kan inte omvandla till en Result av typ {0}"}, 1353 1354 1355 /** Can't transform to a Source of type */ 1356 //public static final int ER_CANNOT_TRANSFORM_SOURCE_TYPE = 149; 1357 1358 1359 { 1360 ER_CANNOT_TRANSFORM_SOURCE_TYPE, 1361 "Kan inte omvandla en Source av typ {0}"}, 1362 1363 1364 /** Null content handler */ 1365 //public static final int ER_NULL_CONTENT_HANDLER = 150; 1366 1367 1368 { 1369 ER_NULL_CONTENT_HANDLER, 1370 "Inneh\u00e5llshanterare med v\u00e4rde null"}, 1371 1372 1373 /** Null error handler */ 1374 //public static final int ER_NULL_ERROR_HANDLER = 151; 1375 1376 1377 { 1378 ER_NULL_ERROR_HANDLER, 1379 "Felhanterare med v\u00e4rde null"}, 1380 1381 1382 /** parse can not be called if the ContentHandler has not been set */ 1383 //public static final int ER_CANNOT_CALL_PARSE = 152; 1384 1385 1386 { 1387 ER_CANNOT_CALL_PARSE, 1388 "parse kan inte anropas om ContentHandler inte har satts"}, 1389 1390 1391 /** No parent for filter */ 1392 //public static final int ER_NO_PARENT_FOR_FILTER = 153; 1393 1394 1395 { 1396 ER_NO_PARENT_FOR_FILTER, 1397 "Ingen f\u00f6r\u00e4lder till filter"}, 1398 1399 1400 1401 /** No stylesheet found in: {0}, media */ 1402 //public static final int ER_NO_STYLESHEET_IN_MEDIA = 154; 1403 1404 1405 { 1406 ER_NO_STYLESHEET_IN_MEDIA, 1407 "Stylesheet saknas i: {0}, media= {1}"}, 1408 1409 1410 /** No xml-stylesheet PI found in */ 1411 //public static final int ER_NO_STYLESHEET_PI = 155; 1412 1413 1414 { 1415 ER_NO_STYLESHEET_PI, 1416 "xml-stylesheet PI saknas i: {0}"}, 1417 1418 1419 /** Not supported */ 1420 //public static final int ER_NOT_SUPPORTED = 171; 1421 1422 1423 { 1424 ER_NOT_SUPPORTED, 1425 "Underst\u00f6ds inte: {0}"}, 1426 1427 1428 /** Value for property {0} should be a Boolean instance */ 1429 //public static final int ER_PROPERTY_VALUE_BOOLEAN = 177; 1430 1431 1432 { 1433 ER_PROPERTY_VALUE_BOOLEAN, 1434 "V\u00e4rde p\u00e5 egenskap {0} borde vara en Boolesk instans"}, 1435 1436 1437 /* This key/message changed ,NEED ER_COULD_NOT_FIND_EXTERN_SCRIPT: Pending,Ramesh */ 1438 1439 /** src attribute not yet supported for */ 1440 //public static final int ER_SRC_ATTRIB_NOT_SUPPORTED = 195; 1441 1442 1443 { 1444 "ER_SRC_ATTRIB_NOT_SUPPORTED", 1445 "src-attributet underst\u00f6ds \u00e4nnu inte f\u00f6r {0}"}, 1446 1447 1448 /** The resource [] could not be found */ 1449 //public static final int ER_RESOURCE_COULD_NOT_FIND = 196; 1450 1451 1452 { 1453 ER_RESOURCE_COULD_NOT_FIND, 1454 "Resursen [ {0} ] saknas. \n {1}"}, 1455 1456 1457 /** output property not recognized: */ 1458 //public static final int ER_OUTPUT_PROPERTY_NOT_RECOGNIZED = 197; 1459 1460 1461 { 1462 ER_OUTPUT_PROPERTY_NOT_RECOGNIZED, 1463 "Utdata-egenskap k\u00e4nns inte igen: {0}"}, 1464 1465 1466 /** Failed creating ElemLiteralResult instance */ 1467 //public static final int ER_FAILED_CREATING_ELEMLITRSLT = 203; 1468 1469 1470 { 1471 ER_FAILED_CREATING_ELEMLITRSLT, 1472 "Kunde inte skapa instans av ElemLiteralResult"}, 1473 1474 1475 // Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE 1476 // In latest Xalan code base key name is ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care 1477 //in locale specific files like XSLTErrorResources_de.java, XSLTErrorResources_fr.java etc. 1478 //NOTE: Not only the key name but message has also been changed. - nb. 1479 1480 /** Priority value does not contain a parsable number */ 1481 //public static final int ER_VALUE_SHOULD_BE_NUMBER = 204; 1482 1483 1484 { 1485 ER_VALUE_SHOULD_BE_NUMBER, 1486 "V\u00e4rdet f\u00f6r {0} b\u00f6r inneh\u00e5lla en siffra som inte kan tolkas"}, 1487 1488 1489 /** Value for {0} should equal 'yes' or 'no' */ 1490 //public static final int ER_VALUE_SHOULD_EQUAL = 205; 1491 1492 1493 { 1494 ER_VALUE_SHOULD_EQUAL, 1495 "V\u00e4rde p\u00e5 {0} borde motsvara ja eller nej"}, 1496 1497 1498 /** Failed calling {0} method */ 1499 //public static final int ER_FAILED_CALLING_METHOD = 206; 1500 1501 1502 { 1503 ER_FAILED_CALLING_METHOD, 1504 " Kunde inte anropa metoden {0}"}, 1505 1506 1507 /** Failed creating ElemLiteralResult instance */ 1508 //public static final int ER_FAILED_CREATING_ELEMTMPL = 207; 1509 1510 1511 { 1512 ER_FAILED_CREATING_ELEMTMPL, 1513 "Kunde inte skapa instans av ElemTemplateElement"}, 1514 1515 1516 /** Characters are not allowed at this point in the document */ 1517 //public static final int ER_CHARS_NOT_ALLOWED = 208; 1518 1519 1520 { 1521 ER_CHARS_NOT_ALLOWED, 1522 "Tecken \u00e4r inte till\u00e5tna i dokumentet vid den h\u00e4r tidpunkten"}, 1523 1524 1525 /** attribute is not allowed on the element */ 1526 //public static final int ER_ATTR_NOT_ALLOWED = 209; 1527 1528 1529 { 1530 ER_ATTR_NOT_ALLOWED, 1531 "Attributet \"{0}\" \u00e4r inte till\u00e5ten i det {1} elementet!"}, 1532 1533 1534 /** Bad value */ 1535 //public static final int ER_BAD_VALUE = 211; 1536 1537 1538 { 1539 ER_BAD_VALUE, 1540 "{0} d\u00e5ligt v\u00e4rde {1} "}, 1541 1542 1543 /** attribute value not found */ 1544 //public static final int ER_ATTRIB_VALUE_NOT_FOUND = 212; 1545 1546 1547 { 1548 ER_ATTRIB_VALUE_NOT_FOUND, 1549 "Attributet {0} saknas "}, 1550 1551 1552 /** attribute value not recognized */ 1553 //public static final int ER_ATTRIB_VALUE_NOT_RECOGNIZED = 213; 1554 1555 1556 { 1557 ER_ATTRIB_VALUE_NOT_RECOGNIZED, 1558 "Attributv\u00e4rdet {0} k\u00e4nns inte igen "}, 1559 1560 1561 /** Attempting to generate a namespace prefix with a null URI */ 1562 //public static final int ER_NULL_URI_NAMESPACE = 216; 1563 1564 1565 { 1566 ER_NULL_URI_NAMESPACE, 1567 "F\u00f6rs\u00f6ker generera ett namnomr\u00e5desprefix med en null-URI"}, 1568 1569 1570 // Following are the new ERROR keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11) 1571 1572 /** Attempting to generate a namespace prefix with a null URI */ 1573 //public static final int ER_NUMBER_TOO_BIG = 217; 1574 1575 1576 { 1577 ER_NUMBER_TOO_BIG, 1578 "F\u00f6rs\u00f6ker formatera en siffra som \u00e4r st\u00f6rre \u00e4n det st\u00f6rsta l\u00e5nga heltalet"}, 1579 1580 1581 //ER_CANNOT_FIND_SAX1_DRIVER 1582 1583 //public static final int ER_CANNOT_FIND_SAX1_DRIVER = 218; 1584 1585 1586 { 1587 ER_CANNOT_FIND_SAX1_DRIVER, 1588 "Det g\u00e5r inte att hitta SAX1-drivrutinen klass {0}"}, 1589 1590 1591 //ER_SAX1_DRIVER_NOT_LOADED 1592 //public static final int ER_SAX1_DRIVER_NOT_LOADED = 219; 1593 1594 1595 { 1596 ER_SAX1_DRIVER_NOT_LOADED, 1597 "SAX1-drivrutinen klass {0} hittades men kan inte laddas"}, 1598 1599 1600 //ER_SAX1_DRIVER_NOT_INSTANTIATED 1601 //public static final int ER_SAX1_DRIVER_NOT_INSTANTIATED = 220 ; 1602 1603 1604 { 1605 ER_SAX1_DRIVER_NOT_INSTANTIATED, 1606 "SAX1-drivrutinen klass {0} hittades men kan inte instansieras"}, 1607 1608 1609 1610 // ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER 1611 //public static final int ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER = 221; 1612 1613 1614 { 1615 ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER, 1616 "SAX1-drivrutinen klass {0} implementerar inte org.xml.sax.Parser"}, 1617 1618 1619 // ER_PARSER_PROPERTY_NOT_SPECIFIED 1620 //public static final int ER_PARSER_PROPERTY_NOT_SPECIFIED = 222; 1621 1622 1623 { 1624 ER_PARSER_PROPERTY_NOT_SPECIFIED, 1625 "Systemegenskapen org.xml.sax.parser \u00e4r inte angiven"}, 1626 1627 1628 //ER_PARSER_ARG_CANNOT_BE_NULL 1629 //public static final int ER_PARSER_ARG_CANNOT_BE_NULL = 223 ; 1630 1631 1632 { 1633 ER_PARSER_ARG_CANNOT_BE_NULL, 1634 "Tolkningsargumentet f\u00e5r inte vara null"}, 1635 1636 1637 1638 // ER_FEATURE 1639 //public static final int ER_FEATURE = 224; 1640 1641 1642 { 1643 ER_FEATURE, 1644 "Funktion:a {0}"}, 1645 1646 1647 1648 // ER_PROPERTY 1649 //public static final int ER_PROPERTY = 225 ; 1650 1651 1652 { 1653 ER_PROPERTY, 1654 "Egenskap:a {0}"}, 1655 1656 1657 // ER_NULL_ENTITY_RESOLVER 1658 //public static final int ER_NULL_ENTITY_RESOLVER = 226; 1659 1660 1661 { 1662 ER_NULL_ENTITY_RESOLVER, 1663 "Nullenhetsl\u00f6sare"}, 1664 1665 1666 // ER_NULL_DTD_HANDLER 1667 //public static final int ER_NULL_DTD_HANDLER = 227 ; 1668 1669 1670 { 1671 ER_NULL_DTD_HANDLER, 1672 "Null-DTD-hanterare"}, 1673 1674 1675 // No Driver Name Specified! 1676 //public static final int ER_NO_DRIVER_NAME_SPECIFIED = 228; 1677 1678 { 1679 ER_NO_DRIVER_NAME_SPECIFIED, 1680 "Inget drivrutinsnamn \u00e4r angett!"}, 1681 1682 1683 1684 // No URL Specified! 1685 //public static final int ER_NO_URL_SPECIFIED = 229; 1686 1687 { 1688 ER_NO_URL_SPECIFIED, 1689 "Ingen URL har angetts!"}, 1690 1691 1692 1693 // Pool size is less than 1! 1694 //public static final int ER_POOLSIZE_LESS_THAN_ONE = 230; 1695 1696 { 1697 ER_POOLSIZE_LESS_THAN_ONE, 1698 "Poolstorleken \u00e4r mindre \u00e4n 1!"}, 1699 1700 1701 1702 // Invalid Driver Name Specified! 1703 //public static final int ER_INVALID_DRIVER_NAME = 231; 1704 1705 { 1706 ER_INVALID_DRIVER_NAME, 1707 "Ett ogiltigt drivrutinsnamn har angetts!"}, 1708 1709 1710 1711 1712 // ErrorListener 1713 //public static final int ER_ERRORLISTENER = 232; 1714 1715 { 1716 ER_ERRORLISTENER, 1717 "ErrorListener"}, 1718 1719 1720 1721 // Programmer's error! expr has no ElemTemplateElement parent! 1722 //public static final int ER_ASSERT_NO_TEMPLATE_PARENT = 233; 1723 1724 { 1725 ER_ASSERT_NO_TEMPLATE_PARENT, 1726 "Programmerarfel! expr har inget \u00f6verordnat ElemTemplateElement!"}, 1727 1728 1729 1730 // Programmer's assertion in RundundentExprEliminator: {0} 1731 //public static final int ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR = 234; 1732 1733 { 1734 ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR, 1735 "Programmerarkontroll i RundundentExprEliminator: {0}"}, 1736 1737 1738 // {0}is not allowed in this position in the stylesheet! 1739 //public static final int ER_NOT_ALLOWED_IN_POSITION = 237; 1740 1741 { 1742 ER_NOT_ALLOWED_IN_POSITION, 1743 "{0} \u00e4r inte till\u00e5ten i denna position i formatmallen!"}, 1744 1745 1746 // Non-whitespace text is not allowed in this position in the stylesheet! 1747 //public static final int ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION = 238; 1748 1749 { 1750 ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION, 1751 "Text utan blanksteg \u00e4r inte till\u00e5ten i denna position i formatmallen!"}, 1752 1753 1754 // This code is shared with warning codes. 1755 // Illegal value: {1} used for CHAR attribute: {0}. An attribute of type CHAR must be only 1 character! 1756 //public static final int INVALID_TCHAR = 239; 1757 // SystemId Unknown 1758 1759 { 1760 INVALID_TCHAR, 1761 "Ogiltigt v\u00e4rde: {1} anv\u00e4nds f\u00f6r CHAR-attributet: {0}. Ett attribut av CHAR-typ f\u00e5r bara ha 1 tecken!"}, 1762 1763 1764 // Note to translators: The following message is used if the value of 1765 // an attribute in a stylesheet is invalid. "QNAME" is the XML data-type of 1766 // the attribute, and should not be translated. The substitution text {1} is 1767 // the attribute value and {0} is the attribute name. 1768 // INVALID_QNAME 1769 1770 //The following codes are shared with the warning codes... 1771 // Illegal value: {1} used for QNAME attribute: {0} 1772 //public static final int INVALID_QNAME = 242; 1773 1774 { 1775 INVALID_QNAME, 1776 "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r QNAME-attributet:a {0}"}, 1777 1778 1779 // Note to translators: The following message is used if the value of 1780 // an attribute in a stylesheet is invalid. "ENUM" is the XML data-type of 1781 // the attribute, and should not be translated. The substitution text {1} is 1782 // the attribute value, {0} is the attribute name, and {2} is a list of valid 1783 // values. 1784 // INVALID_ENUM 1785 1786 // Illegal value:a {1} used for ENUM attribute:a {0}. Valid values are:a {2}. 1787 //public static final int INVALID_ENUM = 243; 1788 1789 { 1790 INVALID_ENUM, 1791 "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r ENUM-attributet:a {0}. Giltiga v\u00e4rden \u00e4r:a {2}."}, 1792 1793 1794 // Note to translators: The following message is used if the value of 1795 // an attribute in a stylesheet is invalid. "NMTOKEN" is the XML data-type 1796 // of the attribute, and should not be translated. The substitution text {1} is 1797 // the attribute value and {0} is the attribute name. 1798 // INVALID_NMTOKEN 1799 1800 // Illegal value:a {1} used for NMTOKEN attribute:a {0}. 1801 //public static final int INVALID_NMTOKEN = 244; 1802 1803 { 1804 INVALID_NMTOKEN, 1805 "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r NMTOKEN-attributet:a {0} "}, 1806 1807 1808 // Note to translators: The following message is used if the value of 1809 // an attribute in a stylesheet is invalid. "NCNAME" is the XML data-type 1810 // of the attribute, and should not be translated. The substitution text {1} is 1811 // the attribute value and {0} is the attribute name. 1812 // INVALID_NCNAME 1813 1814 // Illegal value:a {1} used for NCNAME attribute:a {0}. 1815 //public static final int INVALID_NCNAME = 245; 1816 1817 { 1818 INVALID_NCNAME, 1819 "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds f\u00f6r NCNAME-attributet:a {0} "}, 1820 1821 1822 // Note to translators: The following message is used if the value of 1823 // an attribute in a stylesheet is invalid. "boolean" is the XSLT data-type 1824 // of the attribute, and should not be translated. The substitution text {1} is 1825 // the attribute value and {0} is the attribute name. 1826 // INVALID_BOOLEAN 1827 1828 // Illegal value:a {1} used for boolean attribute:a {0}. 1829 //public static final int INVALID_BOOLEAN = 246; 1830 1831 1832 { 1833 INVALID_BOOLEAN, 1834 "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds som Booleskt attribut:a {0} "}, 1835 1836 1837 // Note to translators: The following message is used if the value of 1838 // an attribute in a stylesheet is invalid. "number" is the XSLT data-type 1839 // of the attribute, and should not be translated. The substitution text {1} is 1840 // the attribute value and {0} is the attribute name. 1841 // INVALID_NUMBER 1842 1843 // Illegal value:a {1} used for number attribute:a {0}. 1844 //public static final int INVALID_NUMBER = 247; 1845 1846 { 1847 INVALID_NUMBER, 1848 "Ogiltigt v\u00e4rde:a {1} anv\u00e4nds som sifferattribut:a {0} "}, 1849 1850 1851 1852 // End of shared codes... 1853 1854 // Note to translators: A "match pattern" is a special form of XPath expression 1855 // that is used for matching patterns. The substitution text is the name of 1856 // a function. The message indicates that when this function is referenced in 1857 // a match pattern, its argument must be a string literal (or constant.) 1858 // ER_ARG_LITERAL - new error message for bugzilla //5202 1859 1860 // Argument to {0} in match pattern must be a literal. 1861 //public static final int ER_ARG_LITERAL = 248; 1862 1863 { 1864 ER_ARG_LITERAL, 1865 "Argument f\u00f6r {0} i matchningsm\u00f6nstret m\u00e5ste vara literalt."}, 1866 1867 1868 // Note to translators: The following message indicates that two definitions of 1869 // a variable. A "global variable" is a variable that is accessible everywher 1870 // in the stylesheet. 1871 // ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790 1872 1873 // Duplicate global variable declaration. 1874 //public static final int ER_DUPLICATE_GLOBAL_VAR = 249; 1875 1876 { 1877 ER_DUPLICATE_GLOBAL_VAR, 1878 "Dubbel deklaration av global variabel."}, 1879 1880 1881 1882 // Note to translators: The following message indicates that two definitions of 1883 // a variable were encountered. 1884 // ER_DUPLICATE_VAR - new error message for bugzilla #790 1885 1886 // Duplicate variable declaration. 1887 //public static final int ER_DUPLICATE_VAR = 250; 1888 1889 { 1890 ER_DUPLICATE_VAR, 1891 "Dubbel variabeldeklaration."}, 1892 1893 1894 // Note to translators: "xsl:template, "name" and "match" are XSLT keywords 1895 // which must not be translated. 1896 // ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789 1897 1898 // xsl:template must have a name or match attribute (or both) 1899 //public static final int ER_TEMPLATE_NAME_MATCH = 251; 1900 1901 { 1902 ER_TEMPLATE_NAME_MATCH, 1903 "xsl: en mall m\u00e5ste ha ett namn och ett matchningsattribut (eller b\u00e5de och)"}, 1904 1905 1906 // Note to translators: "exclude-result-prefixes" is an XSLT keyword which 1907 // should not be translated. The message indicates that a namespace prefix 1908 // encountered as part of the value of the exclude-result-prefixes attribute 1909 // was in error. 1910 // ER_INVALID_PREFIX - new error message for bugzilla #788 1911 1912 // Prefix in exclude-result-prefixes is not valid:a {0} 1913 //public static final int ER_INVALID_PREFIX = 252; 1914 1915 { 1916 ER_INVALID_PREFIX, 1917 "Prefix i exclude-result-prefixes \u00e4r ogiltigt:a {0}"}, 1918 1919 1920 // Note to translators: An "attribute set" is a set of attributes that can be 1921 // added to an element in the output document as a group. The message indicates 1922 // that there was a reference to an attribute set named {0} that was never 1923 // defined. 1924 // ER_NO_ATTRIB_SET - new error message for bugzilla #782 1925 1926 // attribute-set named {0} does not exist 1927 //public static final int ER_NO_ATTRIB_SET = 253; 1928 1929 { 1930 ER_NO_ATTRIB_SET, 1931 "attributserien {0} finns inte"}, 1932 1933 1934 // Warnings... 1935 1936 /** WG_FOUND_CURLYBRACE */ 1937 //public static final int WG_FOUND_CURLYBRACE = 1; 1938 1939 1940 { 1941 WG_FOUND_CURLYBRACE, 1942 "Hittade '}' men ingen attributmall \u00e4r \u00f6ppen!"}, 1943 1944 1945 /** WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR */ 1946 //public static final int WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR = 2; 1947 1948 1949 { 1950 WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR, 1951 "Varning: r\u00e4knarattribut matchar inte en f\u00f6rf\u00e4der in xsl:number! Target = {0}"}, 1952 1953 1954 /** WG_EXPR_ATTRIB_CHANGED_TO_SELECT */ 1955 //public static final int WG_EXPR_ATTRIB_CHANGED_TO_SELECT = 3; 1956 1957 1958 { 1959 WG_EXPR_ATTRIB_CHANGED_TO_SELECT, 1960 "Gammal syntax: Namnet p\u00e5 'expr'-attributet har \u00e4ndrats till 'select'."}, 1961 1962 1963 /** WG_NO_LOCALE_IN_FORMATNUMBER */ 1964 //public static final int WG_NO_LOCALE_IN_FORMATNUMBER = 4; 1965 1966 1967 { 1968 WG_NO_LOCALE_IN_FORMATNUMBER, 1969 "Xalan hanterar \u00e4nnu inte locale-namnet i funktionen format-number."}, 1970 1971 1972 /** WG_LOCALE_NOT_FOUND */ 1973 //public static final int WG_LOCALE_NOT_FOUND = 5; 1974 1975 1976 { 1977 WG_LOCALE_NOT_FOUND, 1978 "Varning: Hittade inte locale f\u00f6r xml:lang{0}"}, 1979 1980 1981 /** WG_CANNOT_MAKE_URL_FROM */ 1982 //public static final int WG_CANNOT_MAKE_URL_FROM = 6; 1983 1984 1985 { 1986 WG_CANNOT_MAKE_URL_FROM, 1987 "Kan inte skapa URL fr\u00e5n: {0}"}, 1988 1989 1990 /** WG_CANNOT_LOAD_REQUESTED_DOC */ 1991 //public static final int WG_CANNOT_LOAD_REQUESTED_DOC = 7; 1992 1993 1994 { 1995 WG_CANNOT_LOAD_REQUESTED_DOC, 1996 "Kan inte ladda beg\u00e4rd doc: {0}"}, 1997 1998 1999 /** WG_CANNOT_FIND_COLLATOR */ 2000 //public static final int WG_CANNOT_FIND_COLLATOR = 8; 2001 2002 2003 { 2004 WG_CANNOT_FIND_COLLATOR, 2005 "Hittade inte Collator f\u00f6r <sort xml:lang={0}"}, 2006 2007 2008 /** WG_FUNCTIONS_SHOULD_USE_URL */ 2009 //public static final int WG_FUNCTIONS_SHOULD_USE_URL = 9; 2010 2011 2012 { 2013 WG_FUNCTIONS_SHOULD_USE_URL, 2014 "Gammal syntax: Funktionsinstruktionen borde anv\u00e4nda en url av {0}"}, 2015 2016 2017 /** WG_ENCODING_NOT_SUPPORTED_USING_UTF8 */ 2018 //public static final int WG_ENCODING_NOT_SUPPORTED_USING_UTF8 = 10; 2019 2020 2021 { 2022 WG_ENCODING_NOT_SUPPORTED_USING_UTF8, 2023 "kodning underst\u00f6ds inte: {0}, anv\u00e4nder UTF-8"}, 2024 2025 2026 /** WG_ENCODING_NOT_SUPPORTED_USING_JAVA */ 2027 //public static final int WG_ENCODING_NOT_SUPPORTED_USING_JAVA = 11; 2028 2029 2030 { 2031 WG_ENCODING_NOT_SUPPORTED_USING_JAVA, 2032 "kodning underst\u00f6ds inte: {0}, anv\u00e4nder Java {1}"}, 2033 2034 2035 /** WG_SPECIFICITY_CONFLICTS */ 2036 //public static final int WG_SPECIFICITY_CONFLICTS = 12; 2037 2038 2039 { 2040 WG_SPECIFICITY_CONFLICTS, 2041 "Hittade specificitetskonflikter: {0} Senast hittade i stylesheet kommer att anv\u00e4ndas."}, 2042 2043 2044 /** WG_PARSING_AND_PREPARING */ 2045 //public static final int WG_PARSING_AND_PREPARING = 13; 2046 2047 2048 { 2049 WG_PARSING_AND_PREPARING, 2050 "========= Tolkar och f\u00f6rbereder {0} =========="}, 2051 2052 2053 /** WG_ATTR_TEMPLATE */ 2054 //public static final int WG_ATTR_TEMPLATE = 14; 2055 2056 2057 { 2058 WG_ATTR_TEMPLATE, "Attributmall, {0}"}, 2059 2060 2061 /** WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE */ 2062 //public static final int WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = 15; 2063 2064 2065 { 2066 WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE, 2067 "Matcha konflikter mellan xsl:strip-space och xsl:preserve-space"}, 2068 2069 2070 /** WG_ATTRIB_NOT_HANDLED */ 2071 //public static final int WG_ATTRIB_NOT_HANDLED = 16; 2072 2073 2074 { 2075 WG_ATTRIB_NOT_HANDLED, 2076 "Xalan hanterar \u00e4nnu inte attributet {0}!"}, 2077 2078 2079 /** WG_NO_DECIMALFORMAT_DECLARATION */ 2080 //public static final int WG_NO_DECIMALFORMAT_DECLARATION = 17; 2081 2082 2083 { 2084 WG_NO_DECIMALFORMAT_DECLARATION, 2085 "Deklaration saknas f\u00f6r decimalformat: {0}"}, 2086 2087 2088 /** WG_OLD_XSLT_NS */ 2089 //public static final int WG_OLD_XSLT_NS = 18; 2090 2091 2092 { 2093 WG_OLD_XSLT_NS, "XSLT-Namnrymd saknas eller \u00e4r inkorrekt "}, 2094 2095 2096 /** WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED */ 2097 //public static final int WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED = 19; 2098 2099 2100 { 2101 WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED, 2102 "Endast en standarddeklaration av xsl:decimal-format \u00e4r till\u00e5ten."}, 2103 2104 2105 /** WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE */ 2106 //public static final int WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE = 20; 2107 2108 2109 { 2110 WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE, 2111 "xsl:decimal-formatnamn m\u00e5ste vara unika. Namnet \"{0}\" har blivit duplicerat."}, 2112 2113 2114 /** WG_ILLEGAL_ATTRIBUTE */ 2115 //public static final int WG_ILLEGAL_ATTRIBUTE = 21; 2116 2117 2118 { 2119 WG_ILLEGAL_ATTRIBUTE, 2120 "{0} har ett otill\u00e5tet attribut: {1}"}, 2121 2122 2123 /** WG_COULD_NOT_RESOLVE_PREFIX */ 2124 //public static final int WG_COULD_NOT_RESOLVE_PREFIX = 22; 2125 2126 2127 { 2128 WG_COULD_NOT_RESOLVE_PREFIX, 2129 "Kan inte l\u00f6sa namnrymdsprefix: {0}. Noden kommer att ignoreras."}, 2130 2131 2132 /** WG_STYLESHEET_REQUIRES_VERSION_ATTRIB */ 2133 //public static final int WG_STYLESHEET_REQUIRES_VERSION_ATTRIB = 23; 2134 2135 2136 { 2137 WG_STYLESHEET_REQUIRES_VERSION_ATTRIB, 2138 "xsl:stylesheet m\u00e5ste ha ett 'version'-attribut!"}, 2139 2140 2141 /** WG_ILLEGAL_ATTRIBUTE_NAME */ 2142 //public static final int WG_ILLEGAL_ATTRIBUTE_NAME = 24; 2143 2144 2145 { 2146 WG_ILLEGAL_ATTRIBUTE_NAME, 2147 "Otill\u00e5tet attributnamn: {0}"}, 2148 2149 2150 /** WG_ILLEGAL_ATTRIBUTE_VALUE */ 2151 //public static final int WG_ILLEGAL_ATTRIBUTE_VALUE = 25; 2152 2153 2154 { 2155 WG_ILLEGAL_ATTRIBUTE_VALUE, 2156 "Ogiltigt v\u00e4rde anv\u00e4nt f\u00f6r attribut {0}: {1}"}, 2157 2158 2159 /** WG_EMPTY_SECOND_ARG */ 2160 //public static final int WG_EMPTY_SECOND_ARG = 26; 2161 2162 2163 { 2164 WG_EMPTY_SECOND_ARG, 2165 "Den resulterande nodm\u00e4ngden fr\u00e5n dokumentfunktions andra argument \u00e4r tomt. Det f\u00f6rsta argumentet kommer att anv\u00e4ndas."}, 2166 2167 2168 // Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11) 2169 2170 // Note to translators: "name" and "xsl:processing-instruction" are keywords 2171 // and must not be translated. 2172 // WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML 2173 2174 2175 /** WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML */ 2176 //public static final int WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML = 27; 2177 2178 { 2179 WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML, 2180 "V\u00e4rdet p\u00e5 attributet 'name' i xsl:processing-instruction f\u00e5r inte vara 'xml'"}, 2181 2182 2183 // Note to translators: "name" and "xsl:processing-instruction" are keywords 2184 // and must not be translated. "NCName" is an XML data-type and must not be 2185 // translated. 2186 // WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME 2187 2188 /** WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME */ 2189 //public static final int WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME = 28; 2190 2191 { 2192 WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME, 2193 "V\u00e4rdet p\u00e5 attributet ''name'' i xsl:processing-instruction m\u00e5ste vara ett giltigt NCName:a {0}"}, 2194 2195 2196 // Note to translators: This message is reported if the stylesheet that is 2197 // being processed attempted to construct an XML document with an attribute in a 2198 // place other than on an element. The substitution text specifies the name of 2199 // the attribute. 2200 // WG_ILLEGAL_ATTRIBUTE_POSITION 2201 2202 /** WG_ILLEGAL_ATTRIBUTE_POSITION */ 2203 //public static final int WG_ILLEGAL_ATTRIBUTE_POSITION = 29; 2204 2205 { 2206 WG_ILLEGAL_ATTRIBUTE_POSITION, 2207 "Det g\u00e5r inte att l\u00e4gga till attributet {0} efter undernoder eller innan ett element produceras. Attributet ignoreras."}, 2208 2209 2210 // WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file? 2211 2212 // Other miscellaneous text used inside the code... 2213 { "ui_language", "sv"}, 2214 { "help_language", "sv"}, 2215 { "language", "sv"}, 2216 { "BAD_CODE", 2217 "Parameter till createMessage ligger utanf\u00f6r till\u00e5tet intervall"}, 2218 { "FORMAT_FAILED", 2219 "Undantag utl\u00f6st vid messageFormat-anrop"}, 2220 { "version", ">>>>>>> Xalan Version"}, 2221 { "version2", "<<<<<<<"}, 2222 { "yes", "ja"}, 2223 { "line", "Rad #"}, 2224 { "column", "Kolumn #"}, 2225 { "xsldone", "XSLProcessor: f\u00e4rdig"}, 2226 { "xslProc_option", "Xalan-J kommando linje Process klass alternativ:"}, 2227 { "optionIN", " -IN inputXMLURL"}, 2228 { "optionXSL", " [-XSL XSLTransformationURL]"}, 2229 { "optionOUT", " [-OUT utdataFilnamn]"}, 2230 { "optionLXCIN", " [-LXCIN kompileratStylesheetFilnameIn]"}, 2231 { "optionLXCOUT", " [-LXCOUT kompileratStylesheetFilenameUt]"}, 2232 { "optionPARSER", 2233 " [-PARSER fullt kvalificerat klassnamn eller tolkf\u00f6rbindelse]"}, 2234 { "optionE", " [-E (Ut\u00f6ka inte enhetsreferenser)]"}, 2235 { "optionV", " [-E (Ut\u00f6ka inte enhetsreferenser)]"}, 2236 { "optionQC", 2237 " [-QC (Tysta M\u00f6nsterkonfliktvarningar)]"}, 2238 { "optionQ", " [-Q (Tyst Tillst\u00e5nd)]"}, 2239 { "optionLF", 2240 " [-LF (Anv\u00e4nd radframmatning enbart p\u00e5 utdata {standard \u00e4r CR/LF})]"}, 2241 { "optionCR", 2242 " [-CR (Anv\u00e4nd vagnretur enbart p\u00e5 utdata {standard \u00e4r CR/LF})]"}, 2243 { "optionESCAPE", 2244 " [-ESCAPE (Vilka tecken \u00e4r skiftningstecken {standard \u00e4r <>&\"\'\\r\\n}]"}, 2245 { "optionINDENT", 2246 " [-INDENT (Best\u00e4m antal blanksteg f\u00f6r att tabulera {standard \u00e4r 0})]"}, 2247 { "optionTT", 2248 " [-TT (Sp\u00e5ra mallarna allt eftersom de blir anropade.)]"}, 2249 { "optionTG", 2250 " [-TG (Sp\u00e5ra varje generationsh\u00e4ndelse.)]"}, 2251 { "optionTS", " [-TS (Sp\u00e5ra varje valh\u00e4ndelse.)]"}, 2252 { "optionTTC", 2253 " [-TTC (Sp\u00e5ra mallbarnen allt eftersom de blir behandlade.)]"}, 2254 { "optionTCLASS", 2255 " [-TCLASS (TraceListener-klass f\u00f6r sp\u00e5rningsanslutningar.)]"}, 2256 { "optionVALIDATE", 2257 " [-VALIDATE (S\u00e4tt om validering ska ske. Standard \u00e4r att validering \u00e4r avst\u00e4ngd)]"}, 2258 { "optionEDUMP", 2259 " [-EDUMP {valfritt filnamn) (G\u00f6r stackdump vid fel.)]"}, 2260 { "optionXML", 2261 " [-XML (Anv\u00e4nd XML-formaterare och l\u00e4gg till XML-huvud.)]"}, 2262 { "optionTEXT", 2263 " [-XML (Anv\u00e4nd enkel Text-formaterare.)]"}, 2264 { "optionHTML", " [-HTML (Anv\u00e4nd HTML-formaterare)]"}, 2265 { "optionPARAM", 2266 " [-PARAM namn uttryck (S\u00e4tt en stylesheet-parameter)]"}, 2267 { "noParsermsg1", "XSL-Process misslyckades."}, 2268 { "noParsermsg2", "** Hittade inte tolk **"}, 2269 { "noParsermsg3", "V\u00e4nligen kontrollera din classpath"}, 2270 { "noParsermsg4", 2271 "Om du inte har IBMs XML-Tolk f\u00f6r Java, kan du ladda ner den fr\u00e5n"}, 2272 { "noParsermsg5", 2273 "IBM's AlphaWorks: http://www.alphaworks.ibm.com/formula/xml"}, 2274 { "optionURIRESOLVER", 2275 " [-URIRESOLVER fullst\u00e4ndigt klassnamn (URIResolver som ska anv\u00e4ndas f\u00f6r att l\u00f6sa URI-er)]"}, 2276 { "optionENTITYRESOLVER", 2277 " [-ENTITYRESOLVER fullst\u00e4ndigt klassnamn (EntityResolver som ska anv\u00e4ndas f\u00f6r att l\u00f6sa enheter)]"}, 2278 { "optionCONTENTHANDLER", 2279 " [-CONTENTRESOLVER fullst\u00e4ndigt klassnamn (ContentHandler som ska anv\u00e4ndas f\u00f6r att serialisera utdata)]"}, 2280 { "optionLINENUMBERS", " [-L anv\u00e4nd radnummer i k\u00e4lldokument]"}, 2281 2282 //Following are the new options added in XSLTErrorResources.properties files after Jdk 1.4 (Xalan 2.2-D11) 2283 2284 2285 { "optionMEDIA", 2286 " [-MEDIA mediaType (anv\u00e4nd medieattribut f\u00f6r att hitta en formatmall som \u00e4r associerad med ett dokument.)]"}, 2287 { "optionFLAVOR", 2288 " [-FLAVOR flavorName (Anv\u00e4nd s2s=SAX eller d2d=DOM f\u00f6r transformationen.)] "}, // Added by sboag/scurcuru; experimental 2289 { "optionDIAG", 2290 " [-DIAG (Skriv ut totala transformationer, millisekunder.)]"}, 2291 { "optionINCREMENTAL", 2292 " [-INCREMENTAL (beg\u00e4r inkrementell DTM-konstruktion genom att ange http://xml.apache.org/xalan/features/incremental true.)]"}, 2293 { "optionNOOPTIMIMIZE", 2294 " [-NOOPTIMIMIZE (beg\u00e4r ingen formatmallsoptimering genom att ange http://xml.apache.org/xalan/features/optimize false.)]"}, 2295 { "optionRL", 2296 " [-RL recursionlimit (kontrollera numerisk gr\u00e4ns p\u00e5 formatmallens rekursionsdjup.)]"}, 2297 { "optionXO", 2298 " [-XO [transletName] (tilldela namnet till genererad translet)]"}, 2299 { "optionXD", 2300 " [-XD destinationDirectory (ange m\u00e5lkatalog f\u00f6r translet)]"}, 2301 { "optionXJ", 2302 " [-XJ jarfile (paketerar transletklasserna i en jar-fil med namnet <jarfile>)]"}, 2303 { "optionXP", 2304 " [-XP-paket (anger ett paketnamnsprefix f\u00f6r alla genererade transletklasser)]"} 2305 2306 2307 }; 2308 } 2309 2310 // ================= INFRASTRUCTURE ====================== 2311 2312 /** String for use when a bad error code was encountered. */ 2313 public static final String BAD_CODE = "D\u00c5LIG_KOD"; 2314 2315 /** String for use when formatting of the error string failed. */ 2316 public static final String FORMAT_FAILED = "FORMATERING_MISSLYCKADES"; 2317 2318 /** General error string. */ 2319 public static final String ERROR_STRING = "#fel"; 2320 2321 /** String to prepend to error messages. */ 2322 public static final String ERROR_HEADER = "Fel: "; 2323 2324 /** String to prepend to warning messages. */ 2325 public static final String WARNING_HEADER = "Varning: "; 2326 2327 /** String to specify the XSLT module. */ 2328 public static final String XSL_HEADER = "XSLT "; 2329 2330 /** String to specify the XML parser module. */ 2331 public static final String XML_HEADER = "XML "; 2332 2333 /** I don't think this is used any more. 2334 * @deprecated */ 2335 public static final String QUERY_HEADER = "M\u00d6NSTER "; 2336 2337 } 2338 2339