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