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_ca.java 468641 2006-10-28 06:54:42Z minchau $
020     */
021    package org.apache.xalan.res;
022    
023    import java.util.ListResourceBundle;
024    import java.util.Locale;
025    import java.util.MissingResourceException;
026    import java.util.ResourceBundle;
027    
028    /**
029     * Set up error messages.
030     * We build a two dimensional array of message keys and
031     * message strings. In order to add a new message here,
032     * you need to first add a String constant. And
033     *  you need to enter key , value pair as part of contents
034     * Array. You also need to update MAX_CODE for error strings
035     * and MAX_WARNING for warnings ( Needed for only information
036     * purpose )
037     */
038    public class XSLTErrorResources_ca extends ListResourceBundle
039    {
040    
041    /*
042     * This file contains error and warning messages related to Xalan Error
043     * Handling.
044     *
045     *  General notes to translators:
046     *
047     *  1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of
048     *     components.
049     *     XSLT is an acronym for "XML Stylesheet Language: Transformations".
050     *     XSLTC is an acronym for XSLT Compiler.
051     *
052     *  2) A stylesheet is a description of how to transform an input XML document
053     *     into a resultant XML document (or HTML document or text).  The
054     *     stylesheet itself is described in the form of an XML document.
055     *
056     *  3) A template is a component of a stylesheet that is used to match a
057     *     particular portion of an input document and specifies the form of the
058     *     corresponding portion of the output document.
059     *
060     *  4) An element is a mark-up tag in an XML document; an attribute is a
061     *     modifier on the tag.  For example, in <elem attr='val' attr2='val2'>
062     *     "elem" is an element name, "attr" and "attr2" are attribute names with
063     *     the values "val" and "val2", respectively.
064     *
065     *  5) A namespace declaration is a special attribute that is used to associate
066     *     a prefix with a URI (the namespace).  The meanings of element names and
067     *     attribute names that use that prefix are defined with respect to that
068     *     namespace.
069     *
070     *  6) "Translet" is an invented term that describes the class file that
071     *     results from compiling an XML stylesheet into a Java class.
072     *
073     *  7) XPath is a specification that describes a notation for identifying
074     *     nodes in a tree-structured representation of an XML document.  An
075     *     instance of that notation is referred to as an XPath expression.
076     *
077     */
078    
079      /** Maximum error messages, this is needed to keep track of the number of messages.    */
080      public static final int MAX_CODE = 201;
081    
082      /** Maximum warnings, this is needed to keep track of the number of warnings.          */
083      public static final int MAX_WARNING = 29;
084    
085      /** Maximum misc strings.   */
086      public static final int MAX_OTHERS = 55;
087    
088      /** Maximum total warnings and error messages.          */
089      public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1;
090    
091    
092      /*
093       * Static variables
094       */
095      public static final String ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX =
096            "ER_INVALID_SET_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX";
097    
098      public static final String ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT =
099            "ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT";
100    
101      public static final String ER_NO_CURLYBRACE = "ER_NO_CURLYBRACE";
102      public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED";
103      public static final String ER_ILLEGAL_ATTRIBUTE = "ER_ILLEGAL_ATTRIBUTE";
104      public static final String ER_NULL_SOURCENODE_APPLYIMPORTS = "ER_NULL_SOURCENODE_APPLYIMPORTS";
105      public static final String ER_CANNOT_ADD = "ER_CANNOT_ADD";
106      public static final String ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES="ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES";
107      public static final String ER_NO_NAME_ATTRIB = "ER_NO_NAME_ATTRIB";
108      public static final String ER_TEMPLATE_NOT_FOUND = "ER_TEMPLATE_NOT_FOUND";
109      public static final String ER_CANT_RESOLVE_NAME_AVT = "ER_CANT_RESOLVE_NAME_AVT";
110      public static final String ER_REQUIRES_ATTRIB = "ER_REQUIRES_ATTRIB";
111      public static final String ER_MUST_HAVE_TEST_ATTRIB = "ER_MUST_HAVE_TEST_ATTRIB";
112      public static final String ER_BAD_VAL_ON_LEVEL_ATTRIB =
113             "ER_BAD_VAL_ON_LEVEL_ATTRIB";
114      public static final String ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
115             "ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
116      public static final String ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
117             "ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
118      public static final String ER_NEED_MATCH_ATTRIB = "ER_NEED_MATCH_ATTRIB";
119      public static final String ER_NEED_NAME_OR_MATCH_ATTRIB =
120             "ER_NEED_NAME_OR_MATCH_ATTRIB";
121      public static final String ER_CANT_RESOLVE_NSPREFIX =
122             "ER_CANT_RESOLVE_NSPREFIX";
123      public static final String ER_ILLEGAL_VALUE = "ER_ILLEGAL_VALUE";
124      public static final String ER_NO_OWNERDOC = "ER_NO_OWNERDOC";
125      public static final String ER_ELEMTEMPLATEELEM_ERR ="ER_ELEMTEMPLATEELEM_ERR";
126      public static final String ER_NULL_CHILD = "ER_NULL_CHILD";
127      public static final String ER_NEED_SELECT_ATTRIB = "ER_NEED_SELECT_ATTRIB";
128      public static final String ER_NEED_TEST_ATTRIB = "ER_NEED_TEST_ATTRIB";
129      public static final String ER_NEED_NAME_ATTRIB = "ER_NEED_NAME_ATTRIB";
130      public static final String ER_NO_CONTEXT_OWNERDOC = "ER_NO_CONTEXT_OWNERDOC";
131      public static final String ER_COULD_NOT_CREATE_XML_PROC_LIAISON =
132             "ER_COULD_NOT_CREATE_XML_PROC_LIAISON";
133      public static final String ER_PROCESS_NOT_SUCCESSFUL =
134             "ER_PROCESS_NOT_SUCCESSFUL";
135      public static final String ER_NOT_SUCCESSFUL = "ER_NOT_SUCCESSFUL";
136      public static final String ER_ENCODING_NOT_SUPPORTED =
137             "ER_ENCODING_NOT_SUPPORTED";
138      public static final String ER_COULD_NOT_CREATE_TRACELISTENER =
139             "ER_COULD_NOT_CREATE_TRACELISTENER";
140      public static final String ER_KEY_REQUIRES_NAME_ATTRIB =
141             "ER_KEY_REQUIRES_NAME_ATTRIB";
142      public static final String ER_KEY_REQUIRES_MATCH_ATTRIB =
143             "ER_KEY_REQUIRES_MATCH_ATTRIB";
144      public static final String ER_KEY_REQUIRES_USE_ATTRIB =
145             "ER_KEY_REQUIRES_USE_ATTRIB";
146      public static final String ER_REQUIRES_ELEMENTS_ATTRIB =
147             "ER_REQUIRES_ELEMENTS_ATTRIB";
148      public static final String ER_MISSING_PREFIX_ATTRIB =
149             "ER_MISSING_PREFIX_ATTRIB";
150      public static final String ER_BAD_STYLESHEET_URL = "ER_BAD_STYLESHEET_URL";
151      public static final String ER_FILE_NOT_FOUND = "ER_FILE_NOT_FOUND";
152      public static final String ER_IOEXCEPTION = "ER_IOEXCEPTION";
153      public static final String ER_NO_HREF_ATTRIB = "ER_NO_HREF_ATTRIB";
154      public static final String ER_STYLESHEET_INCLUDES_ITSELF =
155             "ER_STYLESHEET_INCLUDES_ITSELF";
156      public static final String ER_PROCESSINCLUDE_ERROR ="ER_PROCESSINCLUDE_ERROR";
157      public static final String ER_MISSING_LANG_ATTRIB = "ER_MISSING_LANG_ATTRIB";
158      public static final String ER_MISSING_CONTAINER_ELEMENT_COMPONENT =
159             "ER_MISSING_CONTAINER_ELEMENT_COMPONENT";
160      public static final String ER_CAN_ONLY_OUTPUT_TO_ELEMENT =
161             "ER_CAN_ONLY_OUTPUT_TO_ELEMENT";
162      public static final String ER_PROCESS_ERROR = "ER_PROCESS_ERROR";
163      public static final String ER_UNIMPLNODE_ERROR = "ER_UNIMPLNODE_ERROR";
164      public static final String ER_NO_SELECT_EXPRESSION ="ER_NO_SELECT_EXPRESSION";
165      public static final String ER_CANNOT_SERIALIZE_XSLPROCESSOR =
166             "ER_CANNOT_SERIALIZE_XSLPROCESSOR";
167      public static final String ER_NO_INPUT_STYLESHEET = "ER_NO_INPUT_STYLESHEET";
168      public static final String ER_FAILED_PROCESS_STYLESHEET =
169             "ER_FAILED_PROCESS_STYLESHEET";
170      public static final String ER_COULDNT_PARSE_DOC = "ER_COULDNT_PARSE_DOC";
171      public static final String ER_COULDNT_FIND_FRAGMENT =
172             "ER_COULDNT_FIND_FRAGMENT";
173      public static final String ER_NODE_NOT_ELEMENT = "ER_NODE_NOT_ELEMENT";
174      public static final String ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB =
175             "ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB";
176      public static final String ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB =
177             "ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB";
178      public static final String ER_NO_CLONE_OF_DOCUMENT_FRAG =
179             "ER_NO_CLONE_OF_DOCUMENT_FRAG";
180      public static final String ER_CANT_CREATE_ITEM = "ER_CANT_CREATE_ITEM";
181      public static final String ER_XMLSPACE_ILLEGAL_VALUE =
182             "ER_XMLSPACE_ILLEGAL_VALUE";
183      public static final String ER_NO_XSLKEY_DECLARATION =
184             "ER_NO_XSLKEY_DECLARATION";
185      public static final String ER_CANT_CREATE_URL = "ER_CANT_CREATE_URL";
186      public static final String ER_XSLFUNCTIONS_UNSUPPORTED =
187             "ER_XSLFUNCTIONS_UNSUPPORTED";
188      public static final String ER_PROCESSOR_ERROR = "ER_PROCESSOR_ERROR";
189      public static final String ER_NOT_ALLOWED_INSIDE_STYLESHEET =
190             "ER_NOT_ALLOWED_INSIDE_STYLESHEET";
191      public static final String ER_RESULTNS_NOT_SUPPORTED =
192             "ER_RESULTNS_NOT_SUPPORTED";
193      public static final String ER_DEFAULTSPACE_NOT_SUPPORTED =
194             "ER_DEFAULTSPACE_NOT_SUPPORTED";
195      public static final String ER_INDENTRESULT_NOT_SUPPORTED =
196             "ER_INDENTRESULT_NOT_SUPPORTED";
197      public static final String ER_ILLEGAL_ATTRIB = "ER_ILLEGAL_ATTRIB";
198      public static final String ER_UNKNOWN_XSL_ELEM = "ER_UNKNOWN_XSL_ELEM";
199      public static final String ER_BAD_XSLSORT_USE = "ER_BAD_XSLSORT_USE";
200      public static final String ER_MISPLACED_XSLWHEN = "ER_MISPLACED_XSLWHEN";
201      public static final String ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE =
202             "ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE";
203      public static final String ER_MISPLACED_XSLOTHERWISE =
204             "ER_MISPLACED_XSLOTHERWISE";
205      public static final String ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE =
206             "ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE";
207      public static final String ER_NOT_ALLOWED_INSIDE_TEMPLATE =
208             "ER_NOT_ALLOWED_INSIDE_TEMPLATE";
209      public static final String ER_UNKNOWN_EXT_NS_PREFIX =
210             "ER_UNKNOWN_EXT_NS_PREFIX";
211      public static final String ER_IMPORTS_AS_FIRST_ELEM =
212             "ER_IMPORTS_AS_FIRST_ELEM";
213      public static final String ER_IMPORTING_ITSELF = "ER_IMPORTING_ITSELF";
214      public static final String ER_XMLSPACE_ILLEGAL_VAL ="ER_XMLSPACE_ILLEGAL_VAL";
215      public static final String ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL =
216             "ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL";
217      public static final String ER_SAX_EXCEPTION = "ER_SAX_EXCEPTION";
218      public static final String ER_XSLT_ERROR = "ER_XSLT_ERROR";
219      public static final String ER_CURRENCY_SIGN_ILLEGAL=
220             "ER_CURRENCY_SIGN_ILLEGAL";
221      public static final String ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM =
222             "ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM";
223      public static final String ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER =
224             "ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER";
225      public static final String ER_REDIRECT_COULDNT_GET_FILENAME =
226             "ER_REDIRECT_COULDNT_GET_FILENAME";
227      public static final String ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT =
228             "ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT";
229      public static final String ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX =
230             "ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX";
231      public static final String ER_MISSING_NS_URI = "ER_MISSING_NS_URI";
232      public static final String ER_MISSING_ARG_FOR_OPTION =
233             "ER_MISSING_ARG_FOR_OPTION";
234      public static final String ER_INVALID_OPTION = "ER_INVALID_OPTION";
235      public static final String ER_MALFORMED_FORMAT_STRING =
236             "ER_MALFORMED_FORMAT_STRING";
237      public static final String ER_STYLESHEET_REQUIRES_VERSION_ATTRIB =
238             "ER_STYLESHEET_REQUIRES_VERSION_ATTRIB";
239      public static final String ER_ILLEGAL_ATTRIBUTE_VALUE =
240             "ER_ILLEGAL_ATTRIBUTE_VALUE";
241      public static final String ER_CHOOSE_REQUIRES_WHEN ="ER_CHOOSE_REQUIRES_WHEN";
242      public static final String ER_NO_APPLY_IMPORT_IN_FOR_EACH =
243             "ER_NO_APPLY_IMPORT_IN_FOR_EACH";
244      public static final String ER_CANT_USE_DTM_FOR_OUTPUT =
245             "ER_CANT_USE_DTM_FOR_OUTPUT";
246      public static final String ER_CANT_USE_DTM_FOR_INPUT =
247             "ER_CANT_USE_DTM_FOR_INPUT";
248      public static final String ER_CALL_TO_EXT_FAILED = "ER_CALL_TO_EXT_FAILED";
249      public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE";
250      public static final String ER_INVALID_UTF16_SURROGATE =
251             "ER_INVALID_UTF16_SURROGATE";
252      public static final String ER_XSLATTRSET_USED_ITSELF =
253             "ER_XSLATTRSET_USED_ITSELF";
254      public static final String ER_CANNOT_MIX_XERCESDOM ="ER_CANNOT_MIX_XERCESDOM";
255      public static final String ER_TOO_MANY_LISTENERS = "ER_TOO_MANY_LISTENERS";
256      public static final String ER_IN_ELEMTEMPLATEELEM_READOBJECT =
257             "ER_IN_ELEMTEMPLATEELEM_READOBJECT";
258      public static final String ER_DUPLICATE_NAMED_TEMPLATE =
259             "ER_DUPLICATE_NAMED_TEMPLATE";
260      public static final String ER_INVALID_KEY_CALL = "ER_INVALID_KEY_CALL";
261      public static final String ER_REFERENCING_ITSELF = "ER_REFERENCING_ITSELF";
262      public static final String ER_ILLEGAL_DOMSOURCE_INPUT =
263             "ER_ILLEGAL_DOMSOURCE_INPUT";
264      public static final String ER_CLASS_NOT_FOUND_FOR_OPTION =
265             "ER_CLASS_NOT_FOUND_FOR_OPTION";
266      public static final String ER_REQUIRED_ELEM_NOT_FOUND =
267             "ER_REQUIRED_ELEM_NOT_FOUND";
268      public static final String ER_INPUT_CANNOT_BE_NULL ="ER_INPUT_CANNOT_BE_NULL";
269      public static final String ER_URI_CANNOT_BE_NULL = "ER_URI_CANNOT_BE_NULL";
270      public static final String ER_FILE_CANNOT_BE_NULL = "ER_FILE_CANNOT_BE_NULL";
271      public static final String ER_SOURCE_CANNOT_BE_NULL =
272             "ER_SOURCE_CANNOT_BE_NULL";
273      public static final String ER_CANNOT_INIT_BSFMGR = "ER_CANNOT_INIT_BSFMGR";
274      public static final String ER_CANNOT_CMPL_EXTENSN = "ER_CANNOT_CMPL_EXTENSN";
275      public static final String ER_CANNOT_CREATE_EXTENSN =
276             "ER_CANNOT_CREATE_EXTENSN";
277      public static final String ER_INSTANCE_MTHD_CALL_REQUIRES =
278             "ER_INSTANCE_MTHD_CALL_REQUIRES";
279      public static final String ER_INVALID_ELEMENT_NAME ="ER_INVALID_ELEMENT_NAME";
280      public static final String ER_ELEMENT_NAME_METHOD_STATIC =
281             "ER_ELEMENT_NAME_METHOD_STATIC";
282      public static final String ER_EXTENSION_FUNC_UNKNOWN =
283             "ER_EXTENSION_FUNC_UNKNOWN";
284      public static final String ER_MORE_MATCH_CONSTRUCTOR =
285             "ER_MORE_MATCH_CONSTRUCTOR";
286      public static final String ER_MORE_MATCH_METHOD = "ER_MORE_MATCH_METHOD";
287      public static final String ER_MORE_MATCH_ELEMENT = "ER_MORE_MATCH_ELEMENT";
288      public static final String ER_INVALID_CONTEXT_PASSED =
289             "ER_INVALID_CONTEXT_PASSED";
290      public static final String ER_POOL_EXISTS = "ER_POOL_EXISTS";
291      public static final String ER_NO_DRIVER_NAME = "ER_NO_DRIVER_NAME";
292      public static final String ER_NO_URL = "ER_NO_URL";
293      public static final String ER_POOL_SIZE_LESSTHAN_ONE =
294             "ER_POOL_SIZE_LESSTHAN_ONE";
295      public static final String ER_INVALID_DRIVER = "ER_INVALID_DRIVER";
296      public static final String ER_NO_STYLESHEETROOT = "ER_NO_STYLESHEETROOT";
297      public static final String ER_ILLEGAL_XMLSPACE_VALUE =
298             "ER_ILLEGAL_XMLSPACE_VALUE";
299      public static final String ER_PROCESSFROMNODE_FAILED =
300             "ER_PROCESSFROMNODE_FAILED";
301      public static final String ER_RESOURCE_COULD_NOT_LOAD =
302             "ER_RESOURCE_COULD_NOT_LOAD";
303      public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO =
304             "ER_BUFFER_SIZE_LESSTHAN_ZERO";
305      public static final String ER_UNKNOWN_ERROR_CALLING_EXTENSION =
306             "ER_UNKNOWN_ERROR_CALLING_EXTENSION";
307      public static final String ER_NO_NAMESPACE_DECL = "ER_NO_NAMESPACE_DECL";
308      public static final String ER_ELEM_CONTENT_NOT_ALLOWED =
309             "ER_ELEM_CONTENT_NOT_ALLOWED";
310      public static final String ER_STYLESHEET_DIRECTED_TERMINATION =
311             "ER_STYLESHEET_DIRECTED_TERMINATION";
312      public static final String ER_ONE_OR_TWO = "ER_ONE_OR_TWO";
313      public static final String ER_TWO_OR_THREE = "ER_TWO_OR_THREE";
314      public static final String ER_COULD_NOT_LOAD_RESOURCE =
315             "ER_COULD_NOT_LOAD_RESOURCE";
316      public static final String ER_CANNOT_INIT_DEFAULT_TEMPLATES =
317             "ER_CANNOT_INIT_DEFAULT_TEMPLATES";
318      public static final String ER_RESULT_NULL = "ER_RESULT_NULL";
319      public static final String ER_RESULT_COULD_NOT_BE_SET =
320             "ER_RESULT_COULD_NOT_BE_SET";
321      public static final String ER_NO_OUTPUT_SPECIFIED = "ER_NO_OUTPUT_SPECIFIED";
322      public static final String ER_CANNOT_TRANSFORM_TO_RESULT_TYPE =
323             "ER_CANNOT_TRANSFORM_TO_RESULT_TYPE";
324      public static final String ER_CANNOT_TRANSFORM_SOURCE_TYPE =
325             "ER_CANNOT_TRANSFORM_SOURCE_TYPE";
326      public static final String ER_NULL_CONTENT_HANDLER ="ER_NULL_CONTENT_HANDLER";
327      public static final String ER_NULL_ERROR_HANDLER = "ER_NULL_ERROR_HANDLER";
328      public static final String ER_CANNOT_CALL_PARSE = "ER_CANNOT_CALL_PARSE";
329      public static final String ER_NO_PARENT_FOR_FILTER ="ER_NO_PARENT_FOR_FILTER";
330      public static final String ER_NO_STYLESHEET_IN_MEDIA =
331             "ER_NO_STYLESHEET_IN_MEDIA";
332      public static final String ER_NO_STYLESHEET_PI = "ER_NO_STYLESHEET_PI";
333      public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED";
334      public static final String ER_PROPERTY_VALUE_BOOLEAN =
335             "ER_PROPERTY_VALUE_BOOLEAN";
336      public static final String ER_COULD_NOT_FIND_EXTERN_SCRIPT =
337             "ER_COULD_NOT_FIND_EXTERN_SCRIPT";
338      public static final String ER_RESOURCE_COULD_NOT_FIND =
339             "ER_RESOURCE_COULD_NOT_FIND";
340      public static final String ER_OUTPUT_PROPERTY_NOT_RECOGNIZED =
341             "ER_OUTPUT_PROPERTY_NOT_RECOGNIZED";
342      public static final String ER_FAILED_CREATING_ELEMLITRSLT =
343             "ER_FAILED_CREATING_ELEMLITRSLT";
344      public static final String ER_VALUE_SHOULD_BE_NUMBER =
345             "ER_VALUE_SHOULD_BE_NUMBER";
346      public static final String ER_VALUE_SHOULD_EQUAL = "ER_VALUE_SHOULD_EQUAL";
347      public static final String ER_FAILED_CALLING_METHOD =
348             "ER_FAILED_CALLING_METHOD";
349      public static final String ER_FAILED_CREATING_ELEMTMPL =
350             "ER_FAILED_CREATING_ELEMTMPL";
351      public static final String ER_CHARS_NOT_ALLOWED = "ER_CHARS_NOT_ALLOWED";
352      public static final String ER_ATTR_NOT_ALLOWED = "ER_ATTR_NOT_ALLOWED";
353      public static final String ER_BAD_VALUE = "ER_BAD_VALUE";
354      public static final String ER_ATTRIB_VALUE_NOT_FOUND =
355             "ER_ATTRIB_VALUE_NOT_FOUND";
356      public static final String ER_ATTRIB_VALUE_NOT_RECOGNIZED =
357             "ER_ATTRIB_VALUE_NOT_RECOGNIZED";
358      public static final String ER_NULL_URI_NAMESPACE = "ER_NULL_URI_NAMESPACE";
359      public static final String ER_NUMBER_TOO_BIG = "ER_NUMBER_TOO_BIG";
360      public static final String  ER_CANNOT_FIND_SAX1_DRIVER =
361             "ER_CANNOT_FIND_SAX1_DRIVER";
362      public static final String  ER_SAX1_DRIVER_NOT_LOADED =
363             "ER_SAX1_DRIVER_NOT_LOADED";
364      public static final String  ER_SAX1_DRIVER_NOT_INSTANTIATED =
365             "ER_SAX1_DRIVER_NOT_INSTANTIATED" ;
366      public static final String ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER =
367             "ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER";
368      public static final String  ER_PARSER_PROPERTY_NOT_SPECIFIED =
369             "ER_PARSER_PROPERTY_NOT_SPECIFIED";
370      public static final String  ER_PARSER_ARG_CANNOT_BE_NULL =
371             "ER_PARSER_ARG_CANNOT_BE_NULL" ;
372      public static final String  ER_FEATURE = "ER_FEATURE";
373      public static final String ER_PROPERTY = "ER_PROPERTY" ;
374      public static final String ER_NULL_ENTITY_RESOLVER ="ER_NULL_ENTITY_RESOLVER";
375      public static final String  ER_NULL_DTD_HANDLER = "ER_NULL_DTD_HANDLER" ;
376      public static final String ER_NO_DRIVER_NAME_SPECIFIED =
377             "ER_NO_DRIVER_NAME_SPECIFIED";
378      public static final String ER_NO_URL_SPECIFIED = "ER_NO_URL_SPECIFIED";
379      public static final String ER_POOLSIZE_LESS_THAN_ONE =
380             "ER_POOLSIZE_LESS_THAN_ONE";
381      public static final String ER_INVALID_DRIVER_NAME = "ER_INVALID_DRIVER_NAME";
382      public static final String ER_ERRORLISTENER = "ER_ERRORLISTENER";
383      public static final String ER_ASSERT_NO_TEMPLATE_PARENT =
384             "ER_ASSERT_NO_TEMPLATE_PARENT";
385      public static final String ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR =
386             "ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR";
387      public static final String ER_NOT_ALLOWED_IN_POSITION =
388             "ER_NOT_ALLOWED_IN_POSITION";
389      public static final String ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION =
390             "ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION";
391      public static final String ER_NAMESPACE_CONTEXT_NULL_NAMESPACE =
392             "ER_NAMESPACE_CONTEXT_NULL_NAMESPACE";
393      public static final String ER_NAMESPACE_CONTEXT_NULL_PREFIX =
394             "ER_NAMESPACE_CONTEXT_NULL_PREFIX";
395      public static final String ER_XPATH_RESOLVER_NULL_QNAME =
396             "ER_XPATH_RESOLVER_NULL_QNAME";
397      public static final String ER_XPATH_RESOLVER_NEGATIVE_ARITY =
398             "ER_XPATH_RESOLVER_NEGATIVE_ARITY";
399      public static final String INVALID_TCHAR = "INVALID_TCHAR";
400      public static final String INVALID_QNAME = "INVALID_QNAME";
401      public static final String INVALID_ENUM = "INVALID_ENUM";
402      public static final String INVALID_NMTOKEN = "INVALID_NMTOKEN";
403      public static final String INVALID_NCNAME = "INVALID_NCNAME";
404      public static final String INVALID_BOOLEAN = "INVALID_BOOLEAN";
405      public static final String INVALID_NUMBER = "INVALID_NUMBER";
406      public static final String ER_ARG_LITERAL = "ER_ARG_LITERAL";
407      public static final String ER_DUPLICATE_GLOBAL_VAR ="ER_DUPLICATE_GLOBAL_VAR";
408      public static final String ER_DUPLICATE_VAR = "ER_DUPLICATE_VAR";
409      public static final String ER_TEMPLATE_NAME_MATCH = "ER_TEMPLATE_NAME_MATCH";
410      public static final String ER_INVALID_PREFIX = "ER_INVALID_PREFIX";
411      public static final String ER_NO_ATTRIB_SET = "ER_NO_ATTRIB_SET";
412      public static final String ER_FUNCTION_NOT_FOUND =
413             "ER_FUNCTION_NOT_FOUND";
414      public static final String ER_CANT_HAVE_CONTENT_AND_SELECT =
415         "ER_CANT_HAVE_CONTENT_AND_SELECT";
416      public static final String ER_INVALID_SET_PARAM_VALUE = "ER_INVALID_SET_PARAM_VALUE";
417      public static final String ER_SET_FEATURE_NULL_NAME =
418            "ER_SET_FEATURE_NULL_NAME";
419      public static final String ER_GET_FEATURE_NULL_NAME =
420            "ER_GET_FEATURE_NULL_NAME";
421      public static final String ER_UNSUPPORTED_FEATURE =
422            "ER_UNSUPPORTED_FEATURE";
423      public static final String ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING =
424            "ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING";
425    
426      public static final String WG_FOUND_CURLYBRACE = "WG_FOUND_CURLYBRACE";
427      public static final String WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR =
428             "WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR";
429      public static final String WG_EXPR_ATTRIB_CHANGED_TO_SELECT =
430             "WG_EXPR_ATTRIB_CHANGED_TO_SELECT";
431      public static final String WG_NO_LOCALE_IN_FORMATNUMBER =
432             "WG_NO_LOCALE_IN_FORMATNUMBER";
433      public static final String WG_LOCALE_NOT_FOUND = "WG_LOCALE_NOT_FOUND";
434      public static final String WG_CANNOT_MAKE_URL_FROM ="WG_CANNOT_MAKE_URL_FROM";
435      public static final String WG_CANNOT_LOAD_REQUESTED_DOC =
436             "WG_CANNOT_LOAD_REQUESTED_DOC";
437      public static final String WG_CANNOT_FIND_COLLATOR ="WG_CANNOT_FIND_COLLATOR";
438      public static final String WG_FUNCTIONS_SHOULD_USE_URL =
439             "WG_FUNCTIONS_SHOULD_USE_URL";
440      public static final String WG_ENCODING_NOT_SUPPORTED_USING_UTF8 =
441             "WG_ENCODING_NOT_SUPPORTED_USING_UTF8";
442      public static final String WG_ENCODING_NOT_SUPPORTED_USING_JAVA =
443             "WG_ENCODING_NOT_SUPPORTED_USING_JAVA";
444      public static final String WG_SPECIFICITY_CONFLICTS =
445             "WG_SPECIFICITY_CONFLICTS";
446      public static final String WG_PARSING_AND_PREPARING =
447             "WG_PARSING_AND_PREPARING";
448      public static final String WG_ATTR_TEMPLATE = "WG_ATTR_TEMPLATE";
449      public static final String WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE = "WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESP";
450      public static final String WG_ATTRIB_NOT_HANDLED = "WG_ATTRIB_NOT_HANDLED";
451      public static final String WG_NO_DECIMALFORMAT_DECLARATION =
452             "WG_NO_DECIMALFORMAT_DECLARATION";
453      public static final String WG_OLD_XSLT_NS = "WG_OLD_XSLT_NS";
454      public static final String WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED =
455             "WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED";
456      public static final String WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE =
457             "WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE";
458      public static final String WG_ILLEGAL_ATTRIBUTE = "WG_ILLEGAL_ATTRIBUTE";
459      public static final String WG_COULD_NOT_RESOLVE_PREFIX =
460             "WG_COULD_NOT_RESOLVE_PREFIX";
461      public static final String WG_STYLESHEET_REQUIRES_VERSION_ATTRIB =
462             "WG_STYLESHEET_REQUIRES_VERSION_ATTRIB";
463      public static final String WG_ILLEGAL_ATTRIBUTE_NAME =
464             "WG_ILLEGAL_ATTRIBUTE_NAME";
465      public static final String WG_ILLEGAL_ATTRIBUTE_VALUE =
466             "WG_ILLEGAL_ATTRIBUTE_VALUE";
467      public static final String WG_EMPTY_SECOND_ARG = "WG_EMPTY_SECOND_ARG";
468      public static final String WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML =
469             "WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
470      public static final String WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME =
471             "WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
472      public static final String WG_ILLEGAL_ATTRIBUTE_POSITION =
473             "WG_ILLEGAL_ATTRIBUTE_POSITION";
474      public static final String NO_MODIFICATION_ALLOWED_ERR =
475             "NO_MODIFICATION_ALLOWED_ERR";
476      /*
477       * Now fill in the message text.
478       * Then fill in the message text for that message code in the
479       * array. Use the new error code as the index into the array.
480       */
481    
482      // Error messages...
483    
484      /** Get the lookup table for error messages.
485       *
486       * @return The message lookup table.
487       */
488      public Object[][] getContents()
489      {
490        return new Object[][] {
491    
492      /** Error message ID that has a null message, but takes in a single object.    */
493      {"ER0000" , "{0}" },
494    
495    
496        { ER_NO_CURLYBRACE,
497          "Error: no hi pot haver un car\u00e0cter '{' dins l'expressi\u00f3"},
498    
499        { ER_ILLEGAL_ATTRIBUTE ,
500         "{0} t\u00e9 un atribut no perm\u00e8s: {1}"},
501    
502      {ER_NULL_SOURCENODE_APPLYIMPORTS ,
503          "sourceNode \u00e9s nul en xsl:apply-imports."},
504    
505      {ER_CANNOT_ADD,
506          "No es pot afegir {0} a {1}"},
507    
508        { ER_NULL_SOURCENODE_HANDLEAPPLYTEMPLATES,
509          "sourceNode \u00e9s nul en handleApplyTemplatesInstruction."},
510    
511        { ER_NO_NAME_ATTRIB,
512         "{0} ha de tenir un atribut de nom."},
513    
514        {ER_TEMPLATE_NOT_FOUND,
515         "No s''ha trobat la plantilla anomenada: {0}"},
516    
517        {ER_CANT_RESOLVE_NAME_AVT,
518          "No s'ha pogut resoldre l'AVT de noms a xsl:call-template."},
519    
520        {ER_REQUIRES_ATTRIB,
521         "{0} necessita l''atribut: {1}"},
522    
523        { ER_MUST_HAVE_TEST_ATTRIB,
524          "{0} ha de tenir un atribut ''test''. "},
525    
526        {ER_BAD_VAL_ON_LEVEL_ATTRIB,
527          "Valor incorrecte a l''atribut de nivell: {0}"},
528    
529        {ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
530          "El nom processing-instruction no pot ser 'xml'"},
531    
532        { ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
533          "El nom processing-instruction ha de ser un NCName v\u00e0lid: {0}"},
534    
535        { ER_NEED_MATCH_ATTRIB,
536          "{0} ha de tenir un atribut que hi coincideixi si t\u00e9 una modalitat."},
537    
538        { ER_NEED_NAME_OR_MATCH_ATTRIB,
539          "{0} necessita un nom o un atribut que hi coincideixi."},
540    
541        {ER_CANT_RESOLVE_NSPREFIX,
542          "No s''ha pogut resoldre el prefix d''espai de noms: {0}"},
543    
544        { ER_ILLEGAL_VALUE,
545         "xml:space t\u00e9 un valor no v\u00e0lid: {0}"},
546    
547        { ER_NO_OWNERDOC,
548          "El node subordinat no t\u00e9 un document de propietari."},
549    
550        { ER_ELEMTEMPLATEELEM_ERR,
551         "Error d''ElemTemplateElement: {0}"},
552    
553        { ER_NULL_CHILD,
554         "S'est\u00e0 intentant afegir un subordinat nul."},
555    
556        { ER_NEED_SELECT_ATTRIB,
557         "{0} necessita un atribut de selecci\u00f3."},
558    
559        { ER_NEED_TEST_ATTRIB ,
560          "xsl:when ha de tenir un atribut 'test'."},
561    
562        { ER_NEED_NAME_ATTRIB,
563          "xsl:with-param ha de tenir un atribut 'name'."},
564    
565        { ER_NO_CONTEXT_OWNERDOC,
566          "El context no t\u00e9 un document de propietari."},
567    
568        {ER_COULD_NOT_CREATE_XML_PROC_LIAISON,
569          "No s''ha pogut crear la relaci\u00f3 XML TransformerFactory: {0}"},
570    
571        {ER_PROCESS_NOT_SUCCESSFUL,
572          "Xalan: el proc\u00e9s no ha estat correcte."},
573    
574        { ER_NOT_SUCCESSFUL,
575         "Xalan no ha estat correcte."},
576    
577        { ER_ENCODING_NOT_SUPPORTED,
578         "La codificaci\u00f3 no t\u00e9 suport: {0}"},
579    
580        {ER_COULD_NOT_CREATE_TRACELISTENER,
581          "No s''ha pogut crear TraceListener: {0}"},
582    
583        {ER_KEY_REQUIRES_NAME_ATTRIB,
584          "xsl:key necessita un atribut 'name'."},
585    
586        { ER_KEY_REQUIRES_MATCH_ATTRIB,
587          "xsl:key necessita un atribut 'match'."},
588    
589        { ER_KEY_REQUIRES_USE_ATTRIB,
590          "xsl:key necessita un atribut 'use'."},
591    
592        { ER_REQUIRES_ELEMENTS_ATTRIB,
593          "(StylesheetHandler) {0} necessita un atribut ''elements''. "},
594    
595        { ER_MISSING_PREFIX_ATTRIB,
596          "(StylesheetHandler) falta l''atribut ''prefix'' {0}. "},
597    
598        { ER_BAD_STYLESHEET_URL,
599         "La URL del full d''estils \u00e9s incorrecta: {0}"},
600    
601        { ER_FILE_NOT_FOUND,
602         "No s''ha trobat el fitxer del full d''estils: {0}"},
603    
604        { ER_IOEXCEPTION,
605          "S''ha produ\u00eft una excepci\u00f3 d''E/S amb el fitxer de full d''estils: {0}"},
606    
607        { ER_NO_HREF_ATTRIB,
608          "(StylesheetHandler) No s''ha trobat l''atribut href de {0}"},
609    
610        { ER_STYLESHEET_INCLUDES_ITSELF,
611          "(StylesheetHandler) {0} s''est\u00e0 incloent a ell mateix directament o indirecta."},
612    
613        { ER_PROCESSINCLUDE_ERROR,
614          "Error de StylesheetHandler.processInclude, {0}"},
615    
616        { ER_MISSING_LANG_ATTRIB,
617          "(StylesheetHandler) falta l''atribut ''lang'' {0}. "},
618    
619        { ER_MISSING_CONTAINER_ELEMENT_COMPONENT,
620          "(StylesheetHandler) L''element {0} \u00e9s fora de lloc? Falta l''element de contenidor ''component''"},
621    
622        { ER_CAN_ONLY_OUTPUT_TO_ELEMENT,
623          "La sortida nom\u00e9s pot ser cap a un Element, Fragment de document, Document o Transcriptor de documents."},
624    
625        { ER_PROCESS_ERROR,
626         "Error de StylesheetRoot.process"},
627    
628        { ER_UNIMPLNODE_ERROR,
629         "Error d''UnImplNode: {0}"},
630    
631        { ER_NO_SELECT_EXPRESSION,
632          "Error. No s'ha trobat l'expressi\u00f3 select d'xpath (-select)."},
633    
634        { ER_CANNOT_SERIALIZE_XSLPROCESSOR,
635          "No es pot serialitzar un XSLProcessor."},
636    
637        { ER_NO_INPUT_STYLESHEET,
638          "No s'ha especificat l'entrada del full d'estils."},
639    
640        { ER_FAILED_PROCESS_STYLESHEET,
641          "No s'ha pogut processar el full d'estils."},
642    
643        { ER_COULDNT_PARSE_DOC,
644         "No s''ha pogut analitzar el document {0}."},
645    
646        { ER_COULDNT_FIND_FRAGMENT,
647         "No s''ha pogut trobar el fragment: {0}"},
648    
649        { ER_NODE_NOT_ELEMENT,
650          "El node al qual apuntava l''identificador de fragments no era un element: {0}"},
651    
652        { ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB,
653          "for-each ha de tenir o b\u00e9 una coincid\u00e8ncia o b\u00e9 un atribut de nom."},
654    
655        { ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB,
656          "Les plantilles han de tenir o b\u00e9 una coincid\u00e8ncia o b\u00e9 un atribut de nom."},
657    
658        { ER_NO_CLONE_OF_DOCUMENT_FRAG,
659          "No hi ha cap clonatge d'un fragment de document."},
660    
661        { ER_CANT_CREATE_ITEM,
662          "No es pot crear un element a l''arbre de resultats: {0}"},
663    
664        { ER_XMLSPACE_ILLEGAL_VALUE,
665          "xml:space de l''XML d''origen t\u00e9 un valor no perm\u00e8s: {0}"},
666    
667        { ER_NO_XSLKEY_DECLARATION,
668          "No hi ha cap declaraci\u00f3 d''xls:key per a {0}."},
669    
670        { ER_CANT_CREATE_URL,
671         "Error. No es pot crear la URL de: {0}"},
672    
673        { ER_XSLFUNCTIONS_UNSUPPORTED,
674         "xsl:functions no t\u00e9 suport."},
675    
676        { ER_PROCESSOR_ERROR,
677         "Error d'XSLT TransformerFactory"},
678    
679        { ER_NOT_ALLOWED_INSIDE_STYLESHEET,
680          "(StylesheetHandler) {0} no est\u00e0 perm\u00e8s dins d''un full d''estils."},
681    
682        { ER_RESULTNS_NOT_SUPPORTED,
683          "result-ns ja no t\u00e9 suport. En comptes d'aix\u00f2, feu servir xsl:output."},
684    
685        { ER_DEFAULTSPACE_NOT_SUPPORTED,
686          "default-space ja no t\u00e9 suport. En comptes d'aix\u00f2, feu servir xsl:strip-space o xsl:preserve-space."},
687    
688        { ER_INDENTRESULT_NOT_SUPPORTED,
689          "indent-result ja no t\u00e9 suport. En comptes d'aix\u00f2, feu servir xsl:output."},
690    
691        { ER_ILLEGAL_ATTRIB,
692          "(StylesheetHandler) {0} t\u00e9 un atribut no perm\u00e8s: {1}"},
693    
694        { ER_UNKNOWN_XSL_ELEM,
695         "Element XSL desconegut: {0}"},
696    
697        { ER_BAD_XSLSORT_USE,
698          "(StylesheetHandler) xsl:sort nom\u00e9s es pot utilitzar amb xsl:apply-templates o xsl:for-each."},
699    
700        { ER_MISPLACED_XSLWHEN,
701          "(StylesheetHandler) xsl:when est\u00e0 mal col\u00b7locat."},
702    
703        { ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE,
704          "(StylesheetHandler) xsl:when no ha estat analitzat per xsl:choose."},
705    
706        { ER_MISPLACED_XSLOTHERWISE,
707          "(StylesheetHandler) xsl:otherwise est\u00e0 mal col\u00b7locat."},
708    
709        { ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE,
710          "(StylesheetHandler) xsl:otherwise no t\u00e9 com a superior xsl:choose."},
711    
712        { ER_NOT_ALLOWED_INSIDE_TEMPLATE,
713          "(StylesheetHandler) {0} no est\u00e0 perm\u00e8s dins d''una plantilla."},
714    
715        { ER_UNKNOWN_EXT_NS_PREFIX,
716          "(StylesheetHandler) {0} prefix d''espai de noms d''extensi\u00f3 {1} desconegut"},
717    
718        { ER_IMPORTS_AS_FIRST_ELEM,
719          "(StylesheetHandler) Les importacions nom\u00e9s es poden produir com els primers elements del full d'estils."},
720    
721        { ER_IMPORTING_ITSELF,
722          "(StylesheetHandler) {0} s''est\u00e0 important a ell mateix directament o indirecta."},
723    
724        { ER_XMLSPACE_ILLEGAL_VAL,
725          "(StylesheetHandler) xml:space t\u00e9 un valor no perm\u00e8s: {0}"},
726    
727        { ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL,
728          "processStylesheet no ha estat correcte."},
729    
730        { ER_SAX_EXCEPTION,
731         "Excepci\u00f3 SAX"},
732    
733    //  add this message to fix bug 21478
734        { ER_FUNCTION_NOT_SUPPORTED,
735         "Aquesta funci\u00f3 no t\u00e9 suport."},
736    
737    
738        { ER_XSLT_ERROR,
739         "Error d'XSLT"},
740    
741        { ER_CURRENCY_SIGN_ILLEGAL,
742          "El signe de moneda no est\u00e0 perm\u00e8s en una cadena de patr\u00f3 de format."},
743    
744        { ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM,
745          "La funci\u00f3 document no t\u00e9 suport al DOM de full d'estils."},
746    
747        { ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER,
748          "No es pot resoldre el prefix del solucionador sense prefix."},
749    
750        { ER_REDIRECT_COULDNT_GET_FILENAME,
751          "Extensi\u00f3 de redirecci\u00f3: No s'ha pogut obtenir el nom del fitxer - els atributs file o select han de retornar una cadena v\u00e0lida."},
752    
753        { ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT,
754          "No es pot crear build FormatterListener en l'extensi\u00f3 de redirecci\u00f3."},
755    
756        { ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX,
757          "El prefix d''exclude-result-prefixes no \u00e9s v\u00e0lid: {0}"},
758    
759        { ER_MISSING_NS_URI,
760          "Falta l'URI d'espai de noms del prefix especificat."},
761    
762        { ER_MISSING_ARG_FOR_OPTION,
763          "Falta un argument de l''opci\u00f3: {0}"},
764    
765        { ER_INVALID_OPTION,
766         "Opci\u00f3 no v\u00e0lida: {0}"},
767    
768        { ER_MALFORMED_FORMAT_STRING,
769         "Cadena de format mal formada: {0}"},
770    
771        { ER_STYLESHEET_REQUIRES_VERSION_ATTRIB,
772          "xsl:stylesheet necessita un atribut 'version'."},
773    
774        { ER_ILLEGAL_ATTRIBUTE_VALUE,
775          "L''atribut {0} t\u00e9 un valor no perm\u00e8s {1}"},
776    
777        { ER_CHOOSE_REQUIRES_WHEN,
778         "xsl:choose necessita un xsl:when"},
779    
780        { ER_NO_APPLY_IMPORT_IN_FOR_EACH,
781          "xsl:apply-imports no es permeten en un xsl:for-each"},
782    
783        { ER_CANT_USE_DTM_FOR_OUTPUT,
784          "No es pot utilitzar una DTMLiaison per a un node DOM de sortida. En lloc d'aix\u00f2, utilitzeu org.apache.xpath.DOM2Helper."},
785    
786        { ER_CANT_USE_DTM_FOR_INPUT,
787          "No es pot utilitzar una DTMLiaison per a un node DOM d'entrada. En lloc d'aix\u00f2, utilitzeu org.apache.xpath.DOM2Helper."},
788    
789        { ER_CALL_TO_EXT_FAILED,
790          "S''ha produ\u00eft un error en la crida de l''element d''extensi\u00f3 {0}"},
791    
792        { ER_PREFIX_MUST_RESOLVE,
793          "El prefix s''ha de resoldre en un espai de noms: {0}"},
794    
795        { ER_INVALID_UTF16_SURROGATE,
796          "S''ha detectat un suplent UTF-16 no v\u00e0lid: {0} ?"},
797    
798        { ER_XSLATTRSET_USED_ITSELF,
799          "xsl:attribute-set {0} s''ha utilitzat a ell mateix; aix\u00f2 crear\u00e0 un bucle infinit."},
800    
801        { ER_CANNOT_MIX_XERCESDOM,
802          "No es pot barrejar entrada no Xerces-DOM amb sortida Xerces-DOM."},
803    
804        { ER_TOO_MANY_LISTENERS,
805          "addTraceListenersToStylesheet - TooManyListenersException"},
806    
807        { ER_IN_ELEMTEMPLATEELEM_READOBJECT,
808          "En ElemTemplateElement.readObject: {0}"},
809    
810        { ER_DUPLICATE_NAMED_TEMPLATE,
811          "S''ha trobat m\u00e9s d''una plantilla anomenada {0}"},
812    
813        { ER_INVALID_KEY_CALL,
814          "Crida de funci\u00f3 no v\u00e0lida: les crides key() recursives no estan permeses."},
815    
816        { ER_REFERENCING_ITSELF,
817          "La variable {0} est\u00e0 fent refer\u00e8ncia a ella mateixa directa o indirectament."},
818    
819        { ER_ILLEGAL_DOMSOURCE_INPUT,
820          "El node d'entrada no pot ser nul per a DOMSource de newTemplates."},
821    
822        { ER_CLASS_NOT_FOUND_FOR_OPTION,
823            "No s''ha trobat el fitxer de classe per a l''opci\u00f3 {0}"},
824    
825        { ER_REQUIRED_ELEM_NOT_FOUND,
826            "L''element necessari no s''ha trobat: {0}"},
827    
828        { ER_INPUT_CANNOT_BE_NULL,
829            "InputStream no pot ser nul."},
830    
831        { ER_URI_CANNOT_BE_NULL,
832            "L'URI no pot ser nul."},
833    
834        { ER_FILE_CANNOT_BE_NULL,
835            "El fitxer no pot ser nul."},
836    
837        { ER_SOURCE_CANNOT_BE_NULL,
838                    "InputSource no pot ser nul."},
839    
840        { ER_CANNOT_INIT_BSFMGR,
841                    "No s'ha pogut inicialitzar BSF Manager"},
842    
843        { ER_CANNOT_CMPL_EXTENSN,
844                    "No s'ha pogut compilar l'extensi\u00f3"},
845    
846        { ER_CANNOT_CREATE_EXTENSN,
847          "No s''ha pogut crear l''extensi\u00f3 {0} a causa de {1}"},
848    
849        { ER_INSTANCE_MTHD_CALL_REQUIRES,
850          "La crida del m\u00e8tode d''inst\u00e0ncia {0} necessita una inst\u00e0ncia d''objecte com a primer argument"},
851    
852        { ER_INVALID_ELEMENT_NAME,
853          "S''ha especificat un nom d''element no v\u00e0lid {0}"},
854    
855        { ER_ELEMENT_NAME_METHOD_STATIC,
856          "El m\u00e8tode del nom de l''element ha de ser est\u00e0tic {0}"},
857    
858        { ER_EXTENSION_FUNC_UNKNOWN,
859                 "No es coneix la funci\u00f3 d''extensi\u00f3 {0} : {1}."},
860    
861        { ER_MORE_MATCH_CONSTRUCTOR,
862                 "Hi ha m\u00e9s d''una millor coincid\u00e8ncia per al constructor de {0}"},
863    
864        { ER_MORE_MATCH_METHOD,
865                 "Hi ha m\u00e9s d''una millor coincid\u00e8ncia per al m\u00e8tode {0}"},
866    
867        { ER_MORE_MATCH_ELEMENT,
868                 "Hi ha m\u00e9s d''una millor coincid\u00e8ncia per al m\u00e8tode d''element {0}"},
869    
870        { ER_INVALID_CONTEXT_PASSED,
871                 "S''ha donat un context no v\u00e0lid per avaluar {0}"},
872    
873        { ER_POOL_EXISTS,
874                 "L'agrupaci\u00f3 ja existeix"},
875    
876        { ER_NO_DRIVER_NAME,
877                 "No s'ha especificat cap nom de controlador"},
878    
879        { ER_NO_URL,
880                 "No s'ha especificat cap URL"},
881    
882        { ER_POOL_SIZE_LESSTHAN_ONE,
883                 "La grand\u00e0ria de l'agrupaci\u00f3 \u00e9s inferior a u"},
884    
885        { ER_INVALID_DRIVER,
886                 "S'ha especificat un nom de controlador no v\u00e0lid"},
887    
888        { ER_NO_STYLESHEETROOT,
889                 "No s'ha trobat l'arrel del full d'estils"},
890    
891        { ER_ILLEGAL_XMLSPACE_VALUE,
892             "Valor no perm\u00e8s per a xml:space"},
893    
894        { ER_PROCESSFROMNODE_FAILED,
895             "S'ha produ\u00eft un error a processFromNode"},
896    
897        { ER_RESOURCE_COULD_NOT_LOAD,
898            "No s''ha pogut carregar el recurs [ {0} ]: {1} \n {2} \t {3}"},
899    
900        { ER_BUFFER_SIZE_LESSTHAN_ZERO,
901            "Grand\u00e0ria del buffer <=0"},
902    
903        { ER_UNKNOWN_ERROR_CALLING_EXTENSION,
904            "S'ha produ\u00eft un error desconegut en cridar l'extensi\u00f3"},
905    
906        { ER_NO_NAMESPACE_DECL,
907            "El prefix {0} no t\u00e9 una declaraci\u00f3 d''espai de noms corresponent"},
908    
909        { ER_ELEM_CONTENT_NOT_ALLOWED,
910            "El contingut de l''element no est\u00e0 perm\u00e8s per a lang=javaclass {0}"},
911    
912        { ER_STYLESHEET_DIRECTED_TERMINATION,
913            "El full d'estils ha ordenat l'acabament"},
914    
915        { ER_ONE_OR_TWO,
916            "1 o 2"},
917    
918        { ER_TWO_OR_THREE,
919            "2 o 3"},
920    
921        { ER_COULD_NOT_LOAD_RESOURCE,
922            "No s''ha pogut carregar {0} (comproveu la CLASSPATH); ara s''estan fent servir els valors per defecte."},
923    
924        { ER_CANNOT_INIT_DEFAULT_TEMPLATES,
925            "No es poden inicialitzar les plantilles per defecte"},
926    
927        { ER_RESULT_NULL,
928            "El resultat no ha de ser nul"},
929    
930        { ER_RESULT_COULD_NOT_BE_SET,
931            "No s'ha pogut establir el resultat"},
932    
933        { ER_NO_OUTPUT_SPECIFIED,
934            "No s'ha especificat cap sortida"},
935    
936        { ER_CANNOT_TRANSFORM_TO_RESULT_TYPE,
937            "No s''ha pogut transformar en un resultat del tipus {0}"},
938    
939        { ER_CANNOT_TRANSFORM_SOURCE_TYPE,
940            "No s''ha pogut transformar en un origen del tipus {0}"},
941    
942        { ER_NULL_CONTENT_HANDLER,
943            "Manejador de contingut nul"},
944    
945        { ER_NULL_ERROR_HANDLER,
946            "Manejador d'error nul"},
947    
948        { ER_CANNOT_CALL_PARSE,
949            "L'an\u00e0lisi no es pot cridar si no s'ha establert ContentHandler"},
950    
951        { ER_NO_PARENT_FOR_FILTER,
952            "El filtre no t\u00e9 superior"},
953    
954        { ER_NO_STYLESHEET_IN_MEDIA,
955             "No s''ha trobat cap full d''estils a {0}, suport= {1}"},
956    
957        { ER_NO_STYLESHEET_PI,
958             "No s''ha trobat cap PI d''xml-stylesheet a {0}"},
959    
960        { ER_NOT_SUPPORTED,
961           "No t\u00e9 suport: {0}"},
962    
963        { ER_PROPERTY_VALUE_BOOLEAN,
964           "El valor de la propietat {0} ha de ser una inst\u00e0ncia booleana"},
965    
966        { ER_COULD_NOT_FIND_EXTERN_SCRIPT,
967             "No s''ha pogut arribar a l''script extern a {0}"},
968    
969        { ER_RESOURCE_COULD_NOT_FIND,
970            "No s''ha trobat el recurs [ {0} ].\n {1}"},
971    
972        { ER_OUTPUT_PROPERTY_NOT_RECOGNIZED,
973            "La propietat de sortida no es reconeix: {0}"},
974    
975        { ER_FAILED_CREATING_ELEMLITRSLT,
976            "S'ha produ\u00eft un error en crear la inst\u00e0ncia ElemLiteralResult"},
977    
978      //Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE
979      // In latest Xalan code base key name is  ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care
980      //in locale specific files like XSLTErrorResources_de.java, XSLTErrorResources_fr.java etc.
981      //NOTE: Not only the key name but message has also been changed.
982    
983        { ER_VALUE_SHOULD_BE_NUMBER,
984            "El valor de {0} ha de contenir un n\u00famero que es pugui analitzar"},
985    
986        { ER_VALUE_SHOULD_EQUAL,
987            "El valor de {0} ha de ser igual a yes o no"},
988    
989        { ER_FAILED_CALLING_METHOD,
990            "No s''ha pogut cridar el m\u00e8tode {0}"},
991    
992        { ER_FAILED_CREATING_ELEMTMPL,
993            "No s'ha pogut crear la inst\u00e0ncia ElemTemplateElement"},
994    
995        { ER_CHARS_NOT_ALLOWED,
996            "En aquest punt del document no es permeten els car\u00e0cters"},
997    
998        { ER_ATTR_NOT_ALLOWED,
999            "L''atribut \"{0}\" no es permet en l''element {1}"},
1000    
1001        { ER_BAD_VALUE,
1002         "{0} valor erroni {1} "},
1003    
1004        { ER_ATTRIB_VALUE_NOT_FOUND,
1005         "No s''ha trobat el valor de l''atribut {0} "},
1006    
1007        { ER_ATTRIB_VALUE_NOT_RECOGNIZED,
1008         "No es reconeix el valor de l''atribut {0} "},
1009    
1010        { ER_NULL_URI_NAMESPACE,
1011         "S'intenta generar un prefix d'espai de noms amb un URI nul"},
1012    
1013      //New ERROR keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
1014    
1015        { ER_NUMBER_TOO_BIG,
1016         "S'intenta formatar un n\u00famero m\u00e9s gran que l'enter llarg m\u00e9s gran"},
1017    
1018        { ER_CANNOT_FIND_SAX1_DRIVER,
1019         "No es pot trobar la classe de controlador SAX1 {0}"},
1020    
1021        { ER_SAX1_DRIVER_NOT_LOADED,
1022         "S''ha trobat la classe de controlador SAX1 {0} per\u00f2 no es pot carregar"},
1023    
1024        { ER_SAX1_DRIVER_NOT_INSTANTIATED,
1025         "S''ha carregat la classe de controlador SAX1 {0} per\u00f2 no es pot particularitzar"},
1026    
1027        { ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER,
1028         "La classe de controlador SAX1 {0} no implementa org.xml.sax.Parser"},
1029    
1030        { ER_PARSER_PROPERTY_NOT_SPECIFIED,
1031         "No s'ha identificat la propietat del sistema org.xml.sax.parser"},
1032    
1033        { ER_PARSER_ARG_CANNOT_BE_NULL,
1034         "L'argument d'analitzador ha de ser nul"},
1035    
1036        { ER_FEATURE,
1037         "Caracter\u00edstica: {0}"},
1038    
1039        { ER_PROPERTY,
1040         "Propietat: {0}"},
1041    
1042        { ER_NULL_ENTITY_RESOLVER,
1043         "Solucionador d'entitat nul"},
1044    
1045        { ER_NULL_DTD_HANDLER,
1046         "Manejador de DTD nul"},
1047    
1048        { ER_NO_DRIVER_NAME_SPECIFIED,
1049         "No s'ha especificat cap nom de controlador"},
1050    
1051        { ER_NO_URL_SPECIFIED,
1052         "No s'ha especificat cap URL"},
1053    
1054        { ER_POOLSIZE_LESS_THAN_ONE,
1055         "La grand\u00e0ria de l'agrupaci\u00f3 \u00e9s inferior a 1"},
1056    
1057        { ER_INVALID_DRIVER_NAME,
1058         "S'ha especificat un nom de controlador no v\u00e0lid"},
1059    
1060        { ER_ERRORLISTENER,
1061         "ErrorListener"},
1062    
1063    
1064    // Note to translators:  The following message should not normally be displayed
1065    //   to users.  It describes a situation in which the processor has detected
1066    //   an internal consistency problem in itself, and it provides this message
1067    //   for the developer to help diagnose the problem.  The name
1068    //   'ElemTemplateElement' is the name of a class, and should not be
1069    //   translated.
1070        { ER_ASSERT_NO_TEMPLATE_PARENT,
1071         "Error del programador. L'expressi\u00f3 no t\u00e9 cap superior ElemTemplateElement "},
1072    
1073    
1074    // Note to translators:  The following message should not normally be displayed
1075    //   to users.  It describes a situation in which the processor has detected
1076    //   an internal consistency problem in itself, and it provides this message
1077    //   for the developer to help diagnose the problem.  The substitution text
1078    //   provides further information in order to diagnose the problem.  The name
1079    //   'RedundentExprEliminator' is the name of a class, and should not be
1080    //   translated.
1081        { ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR,
1082         "L''afirmaci\u00f3 del programador a RedundentExprEliminator: {0}"},
1083    
1084        { ER_NOT_ALLOWED_IN_POSITION,
1085         "{0} no es permet en aquesta posici\u00f3 del full d''estil"},
1086    
1087        { ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION,
1088         "No es permet text sense espais en blanc en aquesta posici\u00f3 del full d'estil"},
1089    
1090      // This code is shared with warning codes.
1091      // SystemId Unknown
1092        { INVALID_TCHAR,
1093         "S''ha utilitzat un valor no perm\u00e8s {1} per a l''atribut CHAR {0}. Un atribut de tipus CHAR nom\u00e9s ha de contenir un car\u00e0cter."},
1094    
1095        // Note to translators:  The following message is used if the value of
1096        // an attribute in a stylesheet is invalid.  "QNAME" is the XML data-type of
1097        // the attribute, and should not be translated.  The substitution text {1} is
1098        // the attribute value and {0} is the attribute name.
1099        //The following codes are shared with the warning codes...
1100        { INVALID_QNAME,
1101         "S''ha utilitzat un valor no perm\u00e8s {1} per a l''atribut QNAME {0}"},
1102    
1103        // Note to translators:  The following message is used if the value of
1104        // an attribute in a stylesheet is invalid.  "ENUM" is the XML data-type of
1105        // the attribute, and should not be translated.  The substitution text {1} is
1106        // the attribute value, {0} is the attribute name, and {2} is a list of valid
1107        // values.
1108        { INVALID_ENUM,
1109         "S''ha utilitzat un valor no perm\u00e8s {1} per a l''atribut ENUM {0}. Els valors v\u00e0lids s\u00f3n {2}."},
1110    
1111    // Note to translators:  The following message is used if the value of
1112    // an attribute in a stylesheet is invalid.  "NMTOKEN" is the XML data-type
1113    // of the attribute, and should not be translated.  The substitution text {1} is
1114    // the attribute value and {0} is the attribute name.
1115        { INVALID_NMTOKEN,
1116         "S''ha utilitzat un valor no perm\u00e8s {1} per a l''atribut NMTOKEN {0} "},
1117    
1118    // Note to translators:  The following message is used if the value of
1119    // an attribute in a stylesheet is invalid.  "NCNAME" is the XML data-type
1120    // of the attribute, and should not be translated.  The substitution text {1} is
1121    // the attribute value and {0} is the attribute name.
1122        { INVALID_NCNAME,
1123         "S''ha utilitzat un valor no perm\u00e8s {1} per a l''atribut NCNAME {0} "},
1124    
1125    // Note to translators:  The following message is used if the value of
1126    // an attribute in a stylesheet is invalid.  "boolean" is the XSLT data-type
1127    // of the attribute, and should not be translated.  The substitution text {1} is
1128    // the attribute value and {0} is the attribute name.
1129        { INVALID_BOOLEAN,
1130         "S''ha utilitzat un valor no perm\u00e8s {1} per a l''atribut boolean {0} "},
1131    
1132    // Note to translators:  The following message is used if the value of
1133    // an attribute in a stylesheet is invalid.  "number" is the XSLT data-type
1134    // of the attribute, and should not be translated.  The substitution text {1} is
1135    // the attribute value and {0} is the attribute name.
1136         { INVALID_NUMBER,
1137         "S''ha utilitzat un valor no perm\u00e8s {1} per a l''atribut number {0} "},
1138    
1139    
1140      // End of shared codes...
1141    
1142    // Note to translators:  A "match pattern" is a special form of XPath expression
1143    // that is used for matching patterns.  The substitution text is the name of
1144    // a function.  The message indicates that when this function is referenced in
1145    // a match pattern, its argument must be a string literal (or constant.)
1146    // ER_ARG_LITERAL - new error message for bugzilla //5202
1147        { ER_ARG_LITERAL,
1148         "L''argument de {0} del patr\u00f3 de coincid\u00e8ncia ha de ser un literal."},
1149    
1150    // Note to translators:  The following message indicates that two definitions of
1151    // a variable.  A "global variable" is a variable that is accessible everywher
1152    // in the stylesheet.
1153    // ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790
1154        { ER_DUPLICATE_GLOBAL_VAR,
1155         "La declaraci\u00f3 de variable global est\u00e0 duplicada."},
1156    
1157    
1158    // Note to translators:  The following message indicates that two definitions of
1159    // a variable were encountered.
1160    // ER_DUPLICATE_VAR - new error message for bugzilla #790
1161        { ER_DUPLICATE_VAR,
1162         "La declaraci\u00f3 de variable est\u00e0 duplicada."},
1163    
1164        // Note to translators:  "xsl:template, "name" and "match" are XSLT keywords
1165        // which must not be translated.
1166        // ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789
1167        { ER_TEMPLATE_NAME_MATCH,
1168         "xsl:template ha de tenir un nom o un atribut de coincid\u00e8ncia (o tots dos)"},
1169    
1170        // Note to translators:  "exclude-result-prefixes" is an XSLT keyword which
1171        // should not be translated.  The message indicates that a namespace prefix
1172        // encountered as part of the value of the exclude-result-prefixes attribute
1173        // was in error.
1174        // ER_INVALID_PREFIX - new error message for bugzilla #788
1175        { ER_INVALID_PREFIX,
1176         "El prefix d''exclude-result-prefixes no \u00e9s v\u00e0lid: {0}"},
1177    
1178        // Note to translators:  An "attribute set" is a set of attributes that can
1179        // be added to an element in the output document as a group.  The message
1180        // indicates that there was a reference to an attribute set named {0} that
1181        // was never defined.
1182        // ER_NO_ATTRIB_SET - new error message for bugzilla #782
1183        { ER_NO_ATTRIB_SET,
1184         "attribute-set anomenat {0} no existeix"},
1185    
1186        // Note to translators:  This message indicates that there was a reference
1187        // to a function named {0} for which no function definition could be found.
1188        { ER_FUNCTION_NOT_FOUND,
1189         "La funci\u00f3 anomenada {0} no existeix"},
1190    
1191        // Note to translators:  This message indicates that the XSLT instruction
1192        // that is named by the substitution text {0} must not contain other XSLT
1193        // instructions (content) or a "select" attribute.  The word "select" is
1194        // an XSLT keyword in this case and must not be translated.
1195        { ER_CANT_HAVE_CONTENT_AND_SELECT,
1196         "L''element {0} no ha de tenir ni l''atribut content ni el select. "},
1197    
1198        // Note to translators:  This message indicates that the value argument
1199        // of setParameter must be a valid Java Object.
1200        { ER_INVALID_SET_PARAM_VALUE,
1201         "El valor del par\u00e0metre {0} ha de ser un objecte Java v\u00e0lid "},
1202    
1203            { ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT,
1204             "L'atribut result-prefix d'un element xsl:namespace-alias t\u00e9 el valor '#default', per\u00f2 no hi ha cap declaraci\u00f3 de l'espai de noms per defecte en l'\u00e0mbit de l'element "},
1205    
1206            { ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX,
1207             "L''atribut result-prefix d''un element xsl:namespace-alias t\u00e9 el valor ''{0}'', per\u00f2 no hi ha cap declaraci\u00f3 d''espai de noms per al prefix ''{0}'' en l''\u00e0mbit de l''element. "},
1208    
1209        { ER_SET_FEATURE_NULL_NAME,
1210          "El nom de la caracter\u00edstica no pot ser nul a TransformerFactory.setFeature(nom de la cadena, valor boole\u00e0). "},
1211    
1212        { ER_GET_FEATURE_NULL_NAME,
1213          "El nom de la caracter\u00edstica no pot ser nul a TransformerFactory.getFeature(nom de cadena). "},
1214    
1215        { ER_UNSUPPORTED_FEATURE,
1216          "No es pot establir la caracter\u00edstica ''{0}'' en aquesta TransformerFactory."},
1217    
1218        { ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING,
1219            "L''\u00fas de l''element d''extensi\u00f3 ''{0}'' no est\u00e0 perm\u00e8s, si la caracter\u00edstica de proc\u00e9s segur s''ha establert en true."},
1220    
1221            { ER_NAMESPACE_CONTEXT_NULL_NAMESPACE,
1222              "No es pot obtenir el prefix per a un URI de nom d'espais nul. "},
1223    
1224            { ER_NAMESPACE_CONTEXT_NULL_PREFIX,
1225              "No es pot obtenir l'URI del nom d'espais per a un prefix nul. "},
1226    
1227            { ER_XPATH_RESOLVER_NULL_QNAME,
1228              "El nom de la funci\u00f3 no pot ser nul. "},
1229    
1230            { ER_XPATH_RESOLVER_NEGATIVE_ARITY,
1231              "L'aritat no pot ser negativa."},
1232    
1233      // Warnings...
1234    
1235        { WG_FOUND_CURLYBRACE,
1236          "S'ha trobat '}' per\u00f2 no hi ha cap plantilla d'atribut oberta"},
1237    
1238        { WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR,
1239          "Av\u00eds: l''atribut de recompte no coincideix amb un antecessor d''xsl:number. Destinaci\u00f3 = {0}"},
1240    
1241        { WG_EXPR_ATTRIB_CHANGED_TO_SELECT,
1242          "Sintaxi antiga: El nom de l'atribut 'expr' s'ha canviat per 'select'."},
1243    
1244        { WG_NO_LOCALE_IN_FORMATNUMBER,
1245          "Xalan encara no pot gestionar el nom de l'entorn nacional a la funci\u00f3 format-number."},
1246    
1247        { WG_LOCALE_NOT_FOUND,
1248          "Av\u00eds: no s''ha trobat l''entorn nacional d''xml:lang={0}"},
1249    
1250        { WG_CANNOT_MAKE_URL_FROM,
1251          "No es pot crear la URL de: {0}"},
1252    
1253        { WG_CANNOT_LOAD_REQUESTED_DOC,
1254          "No es pot carregar el document sol\u00b7licitat: {0}"},
1255    
1256        { WG_CANNOT_FIND_COLLATOR,
1257          "No s''ha trobat el classificador de <sort xml:lang={0}"},
1258    
1259        { WG_FUNCTIONS_SHOULD_USE_URL,
1260          "Sintaxi antiga: la instrucci\u00f3 de funcions ha d''utilitzar una URL de {0}"},
1261    
1262        { WG_ENCODING_NOT_SUPPORTED_USING_UTF8,
1263          "Codificaci\u00f3 sense suport: {0}, s''utilitza UTF-8"},
1264    
1265        { WG_ENCODING_NOT_SUPPORTED_USING_JAVA,
1266          "Codificaci\u00f3 sense suport: {0}, s''utilitza Java {1}"},
1267    
1268        { WG_SPECIFICITY_CONFLICTS,
1269          "S''han trobat conflictes d''especificitat: {0} S''utilitzar\u00e0 el darrer trobat al full d''estils."},
1270    
1271        { WG_PARSING_AND_PREPARING,
1272          "========= S''est\u00e0 analitzant i preparant {0} =========="},
1273    
1274        { WG_ATTR_TEMPLATE,
1275         "Plantilla Attr, {0}"},
1276    
1277        { WG_CONFLICT_BETWEEN_XSLSTRIPSPACE_AND_XSLPRESERVESPACE,
1278          "S'ha produ\u00eft un conflicte de coincid\u00e8ncia entre xsl:strip-space i xsl:preserve-space"},
1279    
1280        { WG_ATTRIB_NOT_HANDLED,
1281          "Xalan encara no pot gestionar l''atribut {0}"},
1282    
1283        { WG_NO_DECIMALFORMAT_DECLARATION,
1284          "No s''ha trobat cap declaraci\u00f3 per al format decimal: {0}"},
1285    
1286        { WG_OLD_XSLT_NS,
1287         "Falta l'espai de noms XSLT o \u00e9s incorrecte. "},
1288    
1289        { WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED,
1290          "Nom\u00e9s es permet una declaraci\u00f3 xsl:decimal-format per defecte."},
1291    
1292        { WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE,
1293          "Els noms d''xsl:decimal-format han de ser exclusius. El nom \"{0}\" est\u00e0 duplicat."},
1294    
1295        { WG_ILLEGAL_ATTRIBUTE,
1296          "{0} t\u00e9 un atribut no perm\u00e8s: {1}"},
1297    
1298        { WG_COULD_NOT_RESOLVE_PREFIX,
1299          "No s''ha pogut resoldre el prefix d''espai de noms: {0}. Es passar\u00e0 per alt el node."},
1300    
1301        { WG_STYLESHEET_REQUIRES_VERSION_ATTRIB,
1302          "xsl:stylesheet necessita un atribut 'version'."},
1303    
1304        { WG_ILLEGAL_ATTRIBUTE_NAME,
1305          "El nom d''atribut no \u00e9s perm\u00e8s: {0}"},
1306    
1307        { WG_ILLEGAL_ATTRIBUTE_VALUE,
1308          "S''ha utilitzat un valor no perm\u00e8s a l''atribut {0}: {1}"},
1309    
1310        { WG_EMPTY_SECOND_ARG,
1311          "El conjunt de nodes resultant del segon argument de la funci\u00f3 document est\u00e0 buit. Torna un conjunt de nodes buit."},
1312    
1313      //Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11)
1314    
1315        // Note to translators:  "name" and "xsl:processing-instruction" are keywords
1316        // and must not be translated.
1317        { WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML,
1318          "El valor de l'atribut 'name' del nom xsl:processing-instruction no ha de ser 'xml'"},
1319    
1320        // Note to translators:  "name" and "xsl:processing-instruction" are keywords
1321        // and must not be translated.  "NCName" is an XML data-type and must not be
1322        // translated.
1323        { WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME,
1324          "El valor de l''atribut ''name'' de xsl:processing-instruction ha de ser un NCName v\u00e0lid: {0}"},
1325    
1326        // Note to translators:  This message is reported if the stylesheet that is
1327        // being processed attempted to construct an XML document with an attribute in a
1328        // place other than on an element.  The substitution text specifies the name of
1329        // the attribute.
1330        { WG_ILLEGAL_ATTRIBUTE_POSITION,
1331          "No es pot afegir l''atribut {0} despr\u00e9s dels nodes subordinats o abans que es produeixi un element. Es passar\u00e0 per alt l''atribut."},
1332    
1333        { NO_MODIFICATION_ALLOWED_ERR,
1334          "S'ha intentat modificar un objecte on no es permeten modificacions. "
1335        },
1336    
1337        //Check: WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file?
1338    
1339      // Other miscellaneous text used inside the code...
1340      { "ui_language", "ca"},
1341      {  "help_language",  "ca" },
1342      {  "language",  "ca" },
1343      { "BAD_CODE", "El par\u00e0metre de createMessage estava fora dels l\u00edmits."},
1344      {  "FORMAT_FAILED", "S'ha generat una excepci\u00f3 durant la crida messageFormat."},
1345      {  "version", ">>>>>>> Versi\u00f3 Xalan "},
1346      {  "version2",  "<<<<<<<"},
1347      {  "yes", "s\u00ed"},
1348      { "line", "L\u00ednia n\u00fam."},
1349      { "column","Columna n\u00fam."},
1350      { "xsldone", "XSLProcessor: fet"},
1351    
1352    
1353      // Note to translators:  The following messages provide usage information
1354      // for the Xalan Process command line.  "Process" is the name of a Java class,
1355      // and should not be translated.
1356      { "xslProc_option", "Opcions de classe del proc\u00e9s de l\u00ednia d'ordres de Xalan-J:"},
1357      { "xslProc_option", "Opcions de classe del proc\u00e9s de l\u00ednia d'ordres de Xalan-J\u003a"},
1358      { "xslProc_invalid_xsltc_option", "L''opci\u00f3 {0} no t\u00e9 suport en modalitat XSLTC."},
1359      { "xslProc_invalid_xalan_option", "L''opci\u00f3 {0} nom\u00e9s es pot fer servir amb -XSLTC."},
1360      { "xslProc_no_input", "Error: no s'ha especificat cap full d'estils o xml d'entrada. Per obtenir les instruccions d'\u00fas, executeu aquesta ordre sense opcions."},
1361      { "xslProc_common_options", "-Opcions comuns-"},
1362      { "xslProc_xalan_options", "-Opcions per a Xalan-"},
1363      { "xslProc_xsltc_options", "-Opcions per a XSLTC-"},
1364      { "xslProc_return_to_continue", "(premeu <retorn> per continuar)"},
1365    
1366       // Note to translators: The option name and the parameter name do not need to
1367       // be translated. Only translate the messages in parentheses.  Note also that
1368       // leading whitespace in the messages is used to indent the usage information
1369       // for each option in the English messages.
1370       // Do not translate the keywords: XSLTC, SAX, DOM and DTM.
1371      { "optionXSLTC", "   [-XSLTC (Utilitza XSLTC per a la transformaci\u00f3)]"},
1372      { "optionIN", "   [-IN URL_XML_entrada]"},
1373      { "optionXSL", "   [-XSL URL_transformaci\u00f3_XSL]"},
1374      { "optionOUT",  "   [-OUT nom_fitxer_sortida]"},
1375      { "optionLXCIN", "   [-LXCIN entrada_nom_fitxer_full_estil_compilat]"},
1376      { "optionLXCOUT", "   [-LXCOUT sortida_nom_fitxer_full_estil_compilat]"},
1377      { "optionPARSER", "   [-PARSER nom de classe completament qualificat de la relaci\u00f3 de l'analitzador]"},
1378      {  "optionE", "   [-E (No amplia les refer\u00e8ncies d'entitat)]"},
1379      {  "optionV",  "   [-E (No amplia les refer\u00e8ncies d'entitat)]"},
1380      {  "optionQC", "   [-QC (Avisos de conflictes de patr\u00f3 redu\u00eft)]"},
1381      {  "optionQ", "   [-Q  (Modalitat redu\u00efda)]"},
1382      {  "optionLF", "   [-LF (Utilitza salts de l\u00ednia nom\u00e9s a la sortida {el valor per defecte \u00e9s CR/LF})]"},
1383      {  "optionCR", "   [-CR (Utilitza retorns de carro nom\u00e9s a la sortida {el valor per defecte \u00e9s CR/LF})]"},
1384      { "optionESCAPE", "   [-ESCAPE (Car\u00e0cters per aplicar un escapament {el valor per defecte \u00e9s <>&\"\'\\r\\n}]"},
1385      { "optionINDENT", "   [-INDENT (Controla quants espais tindr\u00e0 el sagnat {el valor per defecte \u00e9s 0})]"},
1386      { "optionTT", "   [-TT (Fa un rastreig de les plantilles a mesura que es criden.)]"},
1387      { "optionTG", "   [-TG (Fa un rastreig de cada un dels esdeveniments de generaci\u00f3.)]"},
1388      { "optionTS", "   [-TS (Fa un rastreig de cada un dels esdeveniments de selecci\u00f3.)]"},
1389      {  "optionTTC", "   [-TTC (Fa un rastreig dels subordinats de plantilla a mesura que es processen.)]"},
1390      { "optionTCLASS", "   [-TCLASS (Classe TraceListener per a extensions de rastreig.)]"},
1391      { "optionVALIDATE", "   [-VALIDATE (Estableix si es produeix la validaci\u00f3. Per defecte no est\u00e0 activada.)]"},
1392      { "optionEDUMP", "   [-EDUMP {nom de fitxer opcional} (Fer el buidatge de la pila si es produeix un error.)]"},
1393      {  "optionXML", "   [-XML (Utilitza el formatador XML i afegeix la cap\u00e7alera XML.)]"},
1394      {  "optionTEXT", "   [-TEXT (Utilitza el formatador de text simple.)]"},
1395      {  "optionHTML", "   [-HTML (Utilitza el formatador HTML.)]"},
1396      {  "optionPARAM", "   [-PARAM expressi\u00f3 del nom (Estableix un par\u00e0metre de full d'estils)]"},
1397      {  "noParsermsg1", "El proc\u00e9s XSL no ha estat correcte."},
1398      {  "noParsermsg2", "** No s'ha trobat l'analitzador **"},
1399      { "noParsermsg3",  "Comproveu la vostra classpath."},
1400      { "noParsermsg4", "Si no teniu XML Parser for Java d'IBM, el podeu baixar de l'indret web"},
1401      { "noParsermsg5", "AlphaWorks d'IBM: http://www.alphaworks.ibm.com/formula/xml"},
1402      { "optionURIRESOLVER", "   [-URIRESOLVER nom de classe complet (URIResolver que s'ha d'utilitzar per resoldre URI)]"},
1403      { "optionENTITYRESOLVER",  "   [-ENTITYRESOLVER nom de classe complet (EntityResolver que s'ha d'utilitzar per resoldre entitats)]"},
1404      { "optionCONTENTHANDLER",  "   [-CONTENTHANDLER nom de classe complet (ContentHandler que s'ha d'utilitzar per serialitzar la sortida)]"},
1405      {  "optionLINENUMBERS",  "   [-L utilitza els n\u00fameros de l\u00ednia del document origen]"},
1406      { "optionSECUREPROCESSING", "   [-SECURE (estableix la caracter\u00edstica de proc\u00e9s segur en true.)]"},
1407    
1408        // Following are the new options added in XSLTErrorResources.properties files after Jdk 1.4 (Xalan 2.2-D11)
1409    
1410    
1411      {  "optionMEDIA",  "   [-MEDIA mediaType (utilitza l'atribut media per trobar un full d'estils relacionat amb un document.)]"},
1412      {  "optionFLAVOR",  "   [-FLAVOR nom_flavor (utilitza expl\u00edcitament s2s=SAX o d2d=DOM per fer una transformaci\u00f3.)] "}, // Added by sboag/scurcuru; experimental
1413      { "optionDIAG", "   [-DIAG (Imprimex els mil\u00b7lisegons en total que ha trigat la transformaci\u00f3.)]"},
1414      { "optionINCREMENTAL",  "   [-INCREMENTAL (sol\u00b7licita la construcci\u00f3 de DTM incremental establint http://xml.apache.org/xalan/features/incremental en true.)]"},
1415      {  "optionNOOPTIMIMIZE",  "   [-NOOPTIMIMIZE (sol\u00b7licita que no es processi l'optimitzaci\u00f3 de full d'estils establint http://xml.apache.org/xalan/features/optimize en false.)]"},
1416      { "optionRL",  "   [-RL recursionlimit (confirma el l\u00edmit num\u00e8ric de la profunditat de recursivitat del full d'estils.)]"},
1417      {   "optionXO",  "   [-XO [nom_translet] (assigna el nom al translet generat)]"},
1418      {  "optionXD", "   [-XD directori_destinaci\u00f3 (especifica un directori de destinaci\u00f3 per al translet)]"},
1419      {  "optionXJ",  "   [-XJ fitxer_jar (empaqueta les classes de translet en un fitxer jar amb el nom <fitxer_jar>)]"},
1420      {   "optionXP",  "   [-XP paquet (especifica un prefix de nom de paquet per a totes les classes de translet generades)]"},
1421    
1422      //AddITIONAL  STRINGS that need L10n
1423      // Note to translators:  The following message describes usage of a particular
1424      // command-line option that is used to enable the "template inlining"
1425      // optimization.  The optimization involves making a copy of the code
1426      // generated for a template in another template that refers to it.
1427      { "optionXN",  "   [-XN (habilita l'inlining de plantilles)]" },
1428      { "optionXX",  "   [-XX (activa la sortida de missatges de depuraci\u00f3 addicionals)]"},
1429      { "optionXT" , "   [-XT (utilitza el translet per a la transformaci\u00f3 si \u00e9s possible)]"},
1430      { "diagTiming"," --------- La transformaci\u00f3 de {0} mitjan\u00e7ant {1} ha trigat {2} ms" },
1431      { "recursionTooDeep","La imbricaci\u00f3 de plantilles t\u00e9 massa nivells. Imbricaci\u00f3 = {0}, plantilla{1} {2}" },
1432      { "nameIs", "el nom \u00e9s" },
1433      { "matchPatternIs", "el patr\u00f3 de coincid\u00e8ncia \u00e9s" }
1434    
1435      };
1436      }
1437      // ================= INFRASTRUCTURE ======================
1438    
1439      /** String for use when a bad error code was encountered.    */
1440      public static final String BAD_CODE = "BAD_CODE";
1441    
1442      /** String for use when formatting of the error string failed.   */
1443      public static final String FORMAT_FAILED = "FORMAT_FAILED";
1444    
1445      /** General error string.   */
1446      public static final String ERROR_STRING = "#error";
1447    
1448      /** String to prepend to error messages.  */
1449      public static final String ERROR_HEADER = "Error: ";
1450    
1451      /** String to prepend to warning messages.    */
1452      public static final String WARNING_HEADER = "Av\u00eds: ";
1453    
1454      /** String to specify the XSLT module.  */
1455      public static final String XSL_HEADER = "XSLT ";
1456    
1457      /** String to specify the XML parser module.  */
1458      public static final String XML_HEADER = "XML ";
1459    
1460      /** I don't think this is used any more.
1461       * @deprecated  */
1462      public static final String QUERY_HEADER = "PATTERN ";
1463    
1464    
1465      /**
1466       *   Return a named ResourceBundle for a particular locale.  This method mimics the behavior
1467       *   of ResourceBundle.getBundle().
1468       *
1469       *   @param className the name of the class that implements the resource bundle.
1470       *   @return the ResourceBundle
1471       *   @throws MissingResourceException
1472       */
1473      public static final XSLTErrorResources loadResourceBundle(String className)
1474              throws MissingResourceException
1475      {
1476    
1477        Locale locale = Locale.getDefault();
1478        String suffix = getResourceSuffix(locale);
1479    
1480        try
1481        {
1482    
1483          // first try with the given locale
1484          return (XSLTErrorResources) ResourceBundle.getBundle(className
1485                  + suffix, locale);
1486        }
1487        catch (MissingResourceException e)
1488        {
1489          try  // try to fall back to en_US if we can't load
1490          {
1491    
1492            // Since we can't find the localized property file,
1493            // fall back to en_US.
1494            return (XSLTErrorResources) ResourceBundle.getBundle(className,
1495                    new Locale("ca", "ES"));
1496          }
1497          catch (MissingResourceException e2)
1498          {
1499    
1500            // Now we are really in trouble.
1501            // very bad, definitely very bad...not going to get very far
1502            throw new MissingResourceException(
1503              "Could not load any resource bundles.", className, "");
1504          }
1505        }
1506      }
1507    
1508      /**
1509       * Return the resource file suffic for the indicated locale
1510       * For most locales, this will be based the language code.  However
1511       * for Chinese, we do distinguish between Taiwan and PRC
1512       *
1513       * @param locale the locale
1514       * @return an String suffix which canbe appended to a resource name
1515       */
1516      private static final String getResourceSuffix(Locale locale)
1517      {
1518    
1519        String suffix = "_" + locale.getLanguage();
1520        String country = locale.getCountry();
1521    
1522        if (country.equals("TW"))
1523          suffix += "_" + country;
1524    
1525        return suffix;
1526      }
1527    
1528    
1529    }