1 /* 2 * reserved comment block 3 * DO NOT REMOVE OR ALTER! 4 */ 5 /* 6 * Copyright 2001-2004 The Apache Software Foundation. 7 * 8 * Licensed under the Apache License, Version 2.0 (the "License"); 9 * you may not use this file except in compliance with the License. 10 * You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, software 15 * distributed under the License is distributed on an "AS IS" BASIS, 16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 * See the License for the specific language governing permissions and 18 * limitations under the License. 19 */ 20 21 package com.sun.org.apache.xalan.internal.xsltc.runtime; 22 23 import java.util.ListResourceBundle; 24 25 /** 26 * @author Morten Jorgensen 27 */ 28 public class ErrorMessages_es extends ListResourceBundle { 29 30 /* 31 * XSLTC run-time error messages. 32 * 33 * General notes to translators and definitions: 34 * 35 * 1) XSLTC is the name of the product. It is an acronym for XML Stylesheet: 36 * Transformations Compiler 37 * 38 * 2) A stylesheet is a description of how to transform an input XML document 39 * into a resultant output XML document (or HTML document or text) 40 * 41 * 3) An axis is a particular "dimension" in a tree representation of an XML 42 * document; the nodes in the tree are divided along different axes. 43 * Traversing the "child" axis, for instance, means that the program 44 * would visit each child of a particular node; traversing the "descendant" 45 * axis means that the program would visit the child nodes of a particular 46 * node, their children, and so on until the leaf nodes of the tree are 47 * reached. 48 * 49 * 4) An iterator is an object that traverses nodes in a tree along a 50 * particular axis, one at a time. 51 * 52 * 5) An element is a mark-up tag in an XML document; an attribute is a 53 * modifier on the tag. For example, in <elem attr='val' attr2='val2'> 54 * "elem" is an element name, "attr" and "attr2" are attribute names with 55 * the values "val" and "val2", respectively. 56 * 57 * 6) A namespace declaration is a special attribute that is used to associate 58 * a prefix with a URI (the namespace). The meanings of element names and 59 * attribute names that use that prefix are defined with respect to that 60 * namespace. 61 * 62 * 7) DOM is an acronym for Document Object Model. It is a tree 63 * representation of an XML document. 64 * 65 * SAX is an acronym for the Simple API for XML processing. It is an API 66 * used inform an XML processor (in this case XSLTC) of the structure and 67 * content of an XML document. 68 * 69 * Input to the stylesheet processor can come from an XML parser in the 70 * form of a DOM tree or through the SAX API. 71 * 72 * 8) DTD is a document type declaration. It is a way of specifying the 73 * grammar for an XML file, the names and types of elements, attributes, 74 * etc. 75 * 76 * 9) Translet is an invented term that refers to the class file that contains 77 * the compiled form of a stylesheet. 78 */ 79 80 // These message should be read from a locale-specific resource bundle 81 /** Get the lookup table for error messages. 82 * 83 * @return The message lookup table. 84 */ 85 public Object[][] getContents() 86 { 87 return new Object[][] { 88 89 /* 90 * Note to translators: the substitution text in the following message 91 * is a class name. Used for internal errors in the processor. 92 */ 93 {BasisLibrary.RUN_TIME_INTERNAL_ERR, 94 "Error interno de tiempo de ejecuci\u00F3n en ''{0}''"}, 95 96 /* 97 * Note to translators: <xsl:copy> is a keyword that should not be 98 * translated. 99 */ 100 {BasisLibrary.RUN_TIME_COPY_ERR, 101 "Error de tiempo de ejecuci\u00F3n al ejecutar <xsl:copy>."}, 102 103 /* 104 * Note to translators: The substitution text refers to data types. 105 * The message is displayed if a value in a particular context needs to 106 * be converted to type {1}, but that's not possible for a value of type 107 * {0}. 108 */ 109 {BasisLibrary.DATA_CONVERSION_ERR, 110 "Conversi\u00F3n no v\u00E1lida de ''{0}'' a ''{1}''."}, 111 112 /* 113 * Note to translators: This message is displayed if the function named 114 * by the substitution text is not a function that is supported. XSLTC 115 * is the acronym naming the product. 116 */ 117 {BasisLibrary.EXTERNAL_FUNC_ERR, 118 "Funci\u00F3n externa ''{0}'' no soportada por XSLTC."}, 119 120 /* 121 * Note to translators: This message is displayed if two values are 122 * compared for equality, but the data type of one of the values is 123 * unknown. 124 */ 125 {BasisLibrary.EQUALITY_EXPR_ERR, 126 "Tipo de argumento desconocido en la expresi\u00F3n de igualdad."}, 127 128 /* 129 * Note to translators: The substitution text for {0} will be a data 130 * type; the substitution text for {1} will be the name of a function. 131 * This is displayed if an argument of the particular data type is not 132 * permitted for a call to this function. 133 */ 134 {BasisLibrary.INVALID_ARGUMENT_ERR, 135 "Tipo de argumento ''{0}'' no v\u00E1lido en la llamada a ''{1}''"}, 136 137 /* 138 * Note to translators: There is way of specifying a format for a 139 * number using a pattern; the processor was unable to format the 140 * particular value using the specified pattern. 141 */ 142 {BasisLibrary.FORMAT_NUMBER_ERR, 143 "Intentando formatear n\u00FAmero ''{0}'' mediante el patr\u00F3n ''{1}''."}, 144 145 /* 146 * Note to translators: The following represents an internal error 147 * situation in XSLTC. The processor was unable to create a copy of an 148 * iterator. (See definition of iterator above.) 149 */ 150 {BasisLibrary.ITERATOR_CLONE_ERR, 151 "No se puede clonar el iterador ''{0}''."}, 152 153 /* 154 * Note to translators: The following represents an internal error 155 * situation in XSLTC. The processor attempted to create an iterator 156 * for a particular axis (see definition above) that it does not 157 * support. 158 */ 159 {BasisLibrary.AXIS_SUPPORT_ERR, 160 "El iterador para el eje ''{0}'' no est\u00E1 soportado."}, 161 162 /* 163 * Note to translators: The following represents an internal error 164 * situation in XSLTC. The processor attempted to create an iterator 165 * for a particular axis (see definition above) that it does not 166 * support. 167 */ 168 {BasisLibrary.TYPED_AXIS_SUPPORT_ERR, 169 "El iterador para el eje introducido ''{0}'' no est\u00E1 soportado."}, 170 171 /* 172 * Note to translators: This message is reported if the stylesheet 173 * being processed attempted to construct an XML document with an 174 * attribute in a place other than on an element. The substitution text 175 * specifies the name of the attribute. 176 */ 177 {BasisLibrary.STRAY_ATTRIBUTE_ERR, 178 "El atributo ''{0}'' est\u00E1 fuera del elemento."}, 179 180 /* 181 * Note to translators: As with the preceding message, a namespace 182 * declaration has the form of an attribute and is only permitted to 183 * appear on an element. The substitution text {0} is the namespace 184 * prefix and {1} is the URI that was being used in the erroneous 185 * namespace declaration. 186 */ 187 {BasisLibrary.STRAY_NAMESPACE_ERR, 188 "Declaraci\u00F3n del espacio de nombres ''{0}''=''{1}'' fuera del elemento."}, 189 190 /* 191 * Note to translators: The stylesheet contained a reference to a 192 * namespace prefix that was undefined. The value of the substitution 193 * text is the name of the prefix. 194 */ 195 {BasisLibrary.NAMESPACE_PREFIX_ERR, 196 "No se ha declarado el espacio de nombres para el prefijo ''{0}''."}, 197 198 /* 199 * Note to translators: The following represents an internal error. 200 * DOMAdapter is a Java class in XSLTC. 201 */ 202 {BasisLibrary.DOM_ADAPTER_INIT_ERR, 203 "Se ha creado DOMAdapter mediante un tipo incorrecto de DOM de origen."}, 204 205 /* 206 * Note to translators: The following message indicates that the XML 207 * parser that is providing input to XSLTC cannot be used because it 208 * does not describe to XSLTC the structure of the input XML document's 209 * DTD. 210 */ 211 {BasisLibrary.PARSER_DTD_SUPPORT_ERR, 212 "El analizador SAX que est\u00E1 utilizando no maneja los eventos de declaraci\u00F3n DTD."}, 213 214 /* 215 * Note to translators: The following message indicates that the XML 216 * parser that is providing input to XSLTC cannot be used because it 217 * does not distinguish between ordinary XML attributes and namespace 218 * declarations. 219 */ 220 {BasisLibrary.NAMESPACES_SUPPORT_ERR, 221 "El analizador SAX que est\u00E1 utilizando no soporta los espacios de nombres XML."}, 222 223 /* 224 * Note to translators: The substitution text is the URI that was in 225 * error. 226 */ 227 {BasisLibrary.CANT_RESOLVE_RELATIVE_URI_ERR, 228 "No se ha podido resolver la referencia al URI ''{0}''."}, 229 230 /* 231 * Note to translators: The stylesheet contained an element that was 232 * not recognized as part of the XSL syntax. The substitution text 233 * gives the element name. 234 */ 235 {BasisLibrary.UNSUPPORTED_XSL_ERR, 236 "Elemento ''{0}'' de XSL no soportado"}, 237 238 /* 239 * Note to translators: The stylesheet referred to an extension to the 240 * XSL syntax and indicated that it was defined by XSLTC, but XSLTC does 241 * not recognize the particular extension named. The substitution text 242 * gives the extension name. 243 */ 244 {BasisLibrary.UNSUPPORTED_EXT_ERR, 245 "Extensi\u00F3n ''{0}'' de XSLTC no reconocida"}, 246 247 248 /* 249 * Note to translators: This error message is produced if the translet 250 * class was compiled using a newer version of XSLTC and deployed for 251 * execution with an older version of XSLTC. The substitution text is 252 * the name of the translet class. 253 */ 254 {BasisLibrary.UNKNOWN_TRANSLET_VERSION_ERR, 255 "El translet especificado, ''{0}'' se ha creado con una versi\u00F3n de XSLTC m\u00E1s reciente que la versi\u00F3n del tiempo de ejecuci\u00F3n de XSLTC que se est\u00E1 utilizando. Debe volver a compilar la hoja de estilo o utilizar una versi\u00F3n m\u00E1s reciente de XSLTC para ejecutar este translet."}, 256 257 /* 258 * Note to translators: An attribute whose effective value is required 259 * to be a "QName" had a value that was incorrect. 260 * 'QName' is an XML syntactic term that must not be translated. The 261 * substitution text contains the actual value of the attribute. 262 */ 263 {BasisLibrary.INVALID_QNAME_ERR, 264 "Un atributo cuyo valor debe ser un QName ten\u00EDa el valor ''{0}''"}, 265 266 267 /* 268 * Note to translators: An attribute whose effective value is required 269 * to be a "NCName" had a value that was incorrect. 270 * 'NCName' is an XML syntactic term that must not be translated. The 271 * substitution text contains the actual value of the attribute. 272 */ 273 {BasisLibrary.INVALID_NCNAME_ERR, 274 "Un atributo cuyo valor debe ser un NCName ten\u00EDa el valor ''{0}''"}, 275 276 {BasisLibrary.UNALLOWED_EXTENSION_FUNCTION_ERR, 277 "El uso de la funci\u00F3n de extensi\u00F3n ''{0}'' no est\u00E1 permitido cuando la funci\u00F3n de procesamiento seguro se ha definido en true."}, 278 279 {BasisLibrary.UNALLOWED_EXTENSION_ELEMENT_ERR, 280 "El uso del elemento de extensi\u00F3n ''{0}'' no est\u00E1 permitido cuando la funci\u00F3n de procesamiento seguro se ha definido en true."}, 281 }; 282 } 283 284 }