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_it 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         "Errore interno in runtime in ''{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         "Errore in runtime durante l'esecuzione di <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         "Conversione non valida da ''{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         "Funzione esterna ''{0}'' non supportata da 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 di argomento sconosciuto nell'espressione di uguaglianza."},
 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 di argomento ''{0}'' non valido nella chiamata 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         "Tentativo di formattare il numero ''{0}'' mediante il pattern ''{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         "Impossibile duplicare l''iteratore ''{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         "Iteratore per l''asse ''{0}'' non supportato."},
 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         "Iteratore per l''asse immesso ''{0}'' non supportato."},
 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         "Attributo ''{0}'' al di fuori dell''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         "Dichiarazione dello spazio di nomi ''{0}''=''{1}'' al di fuori dell''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         "Lo spazio di nomi per il prefisso ''{0}'' non \u00E8 stato dichiarato."},
 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         "DOMAdapter creato utilizzando il tipo errato di DOM di origine."},
 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         "Il parser SAX in uso non gestisce gli eventi di dichiarazione 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         "Il parser SAX in uso non supporta gli spazi di nomi 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         "Impossibile risolvere il riferimento 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 XSL \"{0}\" non supportato"},
 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         "Estensione XSLTC ''{0}'' non riconosciuta"},
 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         "Il translet specificato ''{0}'' \u00E8 stato creato utilizzando una versione di XSLTC pi\u00F9 recente di quella della fase di runtime XSLTC in uso. Ricompilare il foglio di stile o utilizzare una versione pi\u00F9 recente di XSLTC per eseguire questo 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 attributo il cui valore deve essere un QName contiene il valore ''{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 attributo il cui valore deve essere un NCName contiene il valore ''{0}''"},
 275 
 276         {BasisLibrary.UNALLOWED_EXTENSION_FUNCTION_ERR,
 277         "Non \u00E8 consentito utilizzare la funzione di estensione ''{0}'' se la funzione di elaborazione sicura \u00E8 impostata su true."},
 278 
 279         {BasisLibrary.UNALLOWED_EXTENSION_ELEMENT_ERR,
 280         "Non \u00E8 consentito utilizzare l''elemento di estensione ''{0}'' se la funzione di elaborazione sicura \u00E8 impostata su true."},
 281     };
 282     }
 283 
 284 }