XSLTErrorResources.java revision 286
286N/A * reserved comment block 286N/A * DO NOT REMOVE OR ALTER! 286N/A * Copyright 1999-2005 The Apache Software Foundation. 286N/A * Licensed under the Apache License, Version 2.0 (the "License"); 286N/A * you may not use this file except in compliance with the License. 286N/A * You may obtain a copy of the License at 286N/A * Unless required by applicable law or agreed to in writing, software 286N/A * distributed under the License is distributed on an "AS IS" BASIS, 286N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 286N/A * See the License for the specific language governing permissions and 286N/A * limitations under the License. 286N/A * Set up error messages. 286N/A * We build a two dimensional array of message keys and 286N/A * message strings. In order to add a new message here, 286N/A * you need to first add a String constant. And 286N/A * you need to enter key , value pair as part of contents 286N/A * Array. You also need to update MAX_CODE for error strings 286N/A * and MAX_WARNING for warnings ( Needed for only information 286N/A * This file contains error and warning messages related to Xalan Error 286N/A * General notes to translators: 286N/A * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of 286N/A * XSLT is an acronym for "XML Stylesheet Language: Transformations". 286N/A * XSLTC is an acronym for XSLT Compiler. 286N/A * 2) A stylesheet is a description of how to transform an input XML document 286N/A * into a resultant XML document (or HTML document or text). The 286N/A * stylesheet itself is described in the form of an XML document. 286N/A * 3) A template is a component of a stylesheet that is used to match a 286N/A * particular portion of an input document and specifies the form of the 286N/A * corresponding portion of the output document. 286N/A * 4) An element is a mark-up tag in an XML document; an attribute is a 286N/A * modifier on the tag. For example, in <elem attr='val' attr2='val2'> 286N/A * "elem" is an element name, "attr" and "attr2" are attribute names with 286N/A * the values "val" and "val2", respectively. 286N/A * 5) A namespace declaration is a special attribute that is used to associate 286N/A * a prefix with a URI (the namespace). The meanings of element names and 286N/A * attribute names that use that prefix are defined with respect to that 286N/A * 6) "Translet" is an invented term that describes the class file that 286N/A * results from compiling an XML stylesheet into a Java class. 286N/A * 7) XPath is a specification that describes a notation for identifying 286N/A * nodes in a tree-structured representation of an XML document. An 286N/A * instance of that notation is referred to as an XPath expression. 286N/A "ER_INVALID_SET_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX";
286N/A "ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT";
286N/A "ER_BAD_VAL_ON_LEVEL_ATTRIB";
286N/A "ER_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
286N/A "ER_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
286N/A "ER_NEED_NAME_OR_MATCH_ATTRIB";
286N/A "ER_CANT_RESOLVE_NSPREFIX";
286N/A "ER_COULD_NOT_CREATE_XML_PROC_LIAISON";
286N/A "ER_PROCESS_NOT_SUCCESSFUL";
286N/A "ER_ENCODING_NOT_SUPPORTED";
286N/A "ER_COULD_NOT_CREATE_TRACELISTENER";
286N/A "ER_KEY_REQUIRES_NAME_ATTRIB";
286N/A "ER_KEY_REQUIRES_MATCH_ATTRIB";
286N/A "ER_KEY_REQUIRES_USE_ATTRIB";
286N/A "ER_REQUIRES_ELEMENTS_ATTRIB";
286N/A "ER_MISSING_PREFIX_ATTRIB";
286N/A "ER_STYLESHEET_INCLUDES_ITSELF";
286N/A "ER_MISSING_CONTAINER_ELEMENT_COMPONENT";
286N/A "ER_CAN_ONLY_OUTPUT_TO_ELEMENT";
286N/A "ER_CANNOT_SERIALIZE_XSLPROCESSOR";
286N/A "ER_FAILED_PROCESS_STYLESHEET";
286N/A "ER_COULDNT_FIND_FRAGMENT";
286N/A "ER_FOREACH_NEED_MATCH_OR_NAME_ATTRIB";
286N/A "ER_TEMPLATES_NEED_MATCH_OR_NAME_ATTRIB";
286N/A "ER_NO_CLONE_OF_DOCUMENT_FRAG";
286N/A "ER_XMLSPACE_ILLEGAL_VALUE";
286N/A "ER_NO_XSLKEY_DECLARATION";
286N/A "ER_XSLFUNCTIONS_UNSUPPORTED";
286N/A "ER_NOT_ALLOWED_INSIDE_STYLESHEET";
286N/A "ER_RESULTNS_NOT_SUPPORTED";
286N/A "ER_DEFAULTSPACE_NOT_SUPPORTED";
286N/A "ER_INDENTRESULT_NOT_SUPPORTED";
286N/A "ER_XSLWHEN_NOT_PARENTED_BY_XSLCHOOSE";
286N/A "ER_MISPLACED_XSLOTHERWISE";
286N/A "ER_XSLOTHERWISE_NOT_PARENTED_BY_XSLCHOOSE";
286N/A "ER_NOT_ALLOWED_INSIDE_TEMPLATE";
286N/A "ER_UNKNOWN_EXT_NS_PREFIX";
286N/A "ER_IMPORTS_AS_FIRST_ELEM";
286N/A "ER_PROCESSSTYLESHEET_NOT_SUCCESSFUL";
286N/A "ER_CURRENCY_SIGN_ILLEGAL";
286N/A "ER_DOCUMENT_FUNCTION_INVALID_IN_STYLESHEET_DOM";
286N/A "ER_CANT_RESOLVE_PREFIX_OF_NON_PREFIX_RESOLVER";
286N/A "ER_REDIRECT_COULDNT_GET_FILENAME";
286N/A "ER_CANNOT_BUILD_FORMATTERLISTENER_IN_REDIRECT";
286N/A "ER_INVALID_PREFIX_IN_EXCLUDERESULTPREFIX";
286N/A "ER_MISSING_ARG_FOR_OPTION";
286N/A "ER_MALFORMED_FORMAT_STRING";
286N/A "ER_STYLESHEET_REQUIRES_VERSION_ATTRIB";
286N/A "ER_ILLEGAL_ATTRIBUTE_VALUE";
286N/A "ER_NO_APPLY_IMPORT_IN_FOR_EACH";
286N/A "ER_CANT_USE_DTM_FOR_OUTPUT";
286N/A "ER_CANT_USE_DTM_FOR_INPUT";
286N/A "ER_INVALID_UTF16_SURROGATE";
286N/A "ER_XSLATTRSET_USED_ITSELF";
286N/A "ER_IN_ELEMTEMPLATEELEM_READOBJECT";
286N/A "ER_DUPLICATE_NAMED_TEMPLATE";
286N/A "ER_ILLEGAL_DOMSOURCE_INPUT";
286N/A "ER_CLASS_NOT_FOUND_FOR_OPTION";
286N/A "ER_REQUIRED_ELEM_NOT_FOUND";
286N/A "ER_SOURCE_CANNOT_BE_NULL";
286N/A "ER_CANNOT_CREATE_EXTENSN";
286N/A "ER_INSTANCE_MTHD_CALL_REQUIRES";
286N/A "ER_ELEMENT_NAME_METHOD_STATIC";
286N/A "ER_EXTENSION_FUNC_UNKNOWN";
286N/A "ER_MORE_MATCH_CONSTRUCTOR";
286N/A "ER_INVALID_CONTEXT_PASSED";
286N/A "ER_POOL_SIZE_LESSTHAN_ONE";
286N/A "ER_ILLEGAL_XMLSPACE_VALUE";
286N/A "ER_PROCESSFROMNODE_FAILED";
286N/A "ER_RESOURCE_COULD_NOT_LOAD";
286N/A "ER_BUFFER_SIZE_LESSTHAN_ZERO";
286N/A "ER_UNKNOWN_ERROR_CALLING_EXTENSION";
286N/A "ER_ELEM_CONTENT_NOT_ALLOWED";
286N/A "ER_STYLESHEET_DIRECTED_TERMINATION";
286N/A "ER_COULD_NOT_LOAD_RESOURCE";
286N/A "ER_CANNOT_INIT_DEFAULT_TEMPLATES";
286N/A "ER_RESULT_COULD_NOT_BE_SET";
286N/A "ER_CANNOT_TRANSFORM_TO_RESULT_TYPE";
286N/A "ER_CANNOT_TRANSFORM_SOURCE_TYPE";
286N/A "ER_NO_STYLESHEET_IN_MEDIA";
286N/A "ER_PROPERTY_VALUE_BOOLEAN";
286N/A "ER_COULD_NOT_FIND_EXTERN_SCRIPT";
286N/A "ER_RESOURCE_COULD_NOT_FIND";
286N/A "ER_OUTPUT_PROPERTY_NOT_RECOGNIZED";
286N/A "ER_FAILED_CREATING_ELEMLITRSLT";
286N/A "ER_VALUE_SHOULD_BE_NUMBER";
286N/A "ER_FAILED_CALLING_METHOD";
286N/A "ER_FAILED_CREATING_ELEMTMPL";
286N/A "ER_ATTRIB_VALUE_NOT_FOUND";
286N/A "ER_ATTRIB_VALUE_NOT_RECOGNIZED";
286N/A "ER_CANNOT_FIND_SAX1_DRIVER";
286N/A "ER_SAX1_DRIVER_NOT_LOADED";
286N/A "ER_SAX1_DRIVER_NOT_INSTANTIATED" ;
286N/A "ER_SAX1_DRIVER_NOT_IMPLEMENT_PARSER";
286N/A "ER_PARSER_PROPERTY_NOT_SPECIFIED";
286N/A "ER_PARSER_ARG_CANNOT_BE_NULL" ;
286N/A "ER_NO_DRIVER_NAME_SPECIFIED";
286N/A "ER_POOLSIZE_LESS_THAN_ONE";
286N/A "ER_ASSERT_NO_TEMPLATE_PARENT";
286N/A "ER_ASSERT_REDUNDENT_EXPR_ELIMINATOR";
286N/A "ER_NOT_ALLOWED_IN_POSITION";
286N/A "ER_NONWHITESPACE_NOT_ALLOWED_IN_POSITION";
286N/A "ER_NAMESPACE_CONTEXT_NULL_NAMESPACE";
286N/A "ER_NAMESPACE_CONTEXT_NULL_PREFIX";
286N/A "ER_XPATH_RESOLVER_NULL_QNAME";
286N/A "ER_XPATH_RESOLVER_NEGATIVE_ARITY";
286N/A "ER_FUNCTION_NOT_FOUND";
286N/A "ER_CANT_HAVE_CONTENT_AND_SELECT";
286N/A "ER_SET_FEATURE_NULL_NAME";
286N/A "ER_GET_FEATURE_NULL_NAME";
286N/A "ER_UNSUPPORTED_FEATURE";
286N/A "ER_EXTENSION_ELEMENT_NOT_ALLOWED_IN_SECURE_PROCESSING";
286N/A "WG_COUNT_ATTRIB_MATCHES_NO_ANCESTOR";
286N/A "WG_EXPR_ATTRIB_CHANGED_TO_SELECT";
286N/A "WG_NO_LOCALE_IN_FORMATNUMBER";
286N/A "WG_CANNOT_LOAD_REQUESTED_DOC";
286N/A "WG_FUNCTIONS_SHOULD_USE_URL";
286N/A "WG_ENCODING_NOT_SUPPORTED_USING_UTF8";
286N/A "WG_ENCODING_NOT_SUPPORTED_USING_JAVA";
286N/A "WG_SPECIFICITY_CONFLICTS";
286N/A "WG_PARSING_AND_PREPARING";
286N/A "WG_NO_DECIMALFORMAT_DECLARATION";
286N/A "WG_ONE_DEFAULT_XSLDECIMALFORMAT_ALLOWED";
286N/A "WG_XSLDECIMALFORMAT_NAMES_MUST_BE_UNIQUE";
286N/A "WG_COULD_NOT_RESOLVE_PREFIX";
286N/A "WG_STYLESHEET_REQUIRES_VERSION_ATTRIB";
286N/A "WG_ILLEGAL_ATTRIBUTE_NAME";
286N/A "WG_ILLEGAL_ATTRIBUTE_VALUE";
286N/A "WG_PROCESSINGINSTRUCTION_NAME_CANT_BE_XML";
286N/A "WG_PROCESSINGINSTRUCTION_NOTVALID_NCNAME";
286N/A "WG_ILLEGAL_ATTRIBUTE_POSITION";
286N/A "NO_MODIFICATION_ALLOWED_ERR";
286N/A * Now fill in the message text. 286N/A * Then fill in the message text for that message code in the 286N/A * array. Use the new error code as the index into the array. 286N/A /** Error message ID that has a null message, but takes in a single object. */ 286N/A "Error: Can not have '{' within expression"},
286N/A "{0} has an illegal attribute: {1}"},
286N/A "sourceNode is null in xsl:apply-imports!"},
286N/A "Can not add {0} to {1}"},
286N/A "sourceNode is null in handleApplyTemplatesInstruction!"},
286N/A "{0} must have a name attribute."},
286N/A "Could not find template named: {0}"},
286N/A "Could not resolve name AVT in xsl:call-template."},
286N/A "{0} requires attribute: {1}"},
286N/A "{0} must have a ''test'' attribute."},
286N/A "Bad value on level attribute: {0}"},
286N/A "processing-instruction name can not be 'xml'"},
286N/A "processing-instruction name must be a valid NCName: {0}"},
286N/A "{0} must have a match attribute if it has a mode."},
286N/A "{0} requires either a name or a match attribute."},
286N/A "Can not resolve namespace prefix: {0}"},
286N/A "xml:space has an illegal value: {0}"},
286N/A "Child node does not have an owner document!"},
286N/A "ElemTemplateElement error: {0}"},
286N/A "Trying to add a null child!"},
286N/A "{0} requires a select attribute."},
286N/A "xsl:when must have a 'test' attribute."},
286N/A "xsl:with-param must have a 'name' attribute."},
286N/A "context does not have an owner document!"},
286N/A "Could not create XML TransformerFactory Liaison: {0}"},
286N/A "Xalan: Process was not successful."},
286N/A "Xalan: was not successful."},
286N/A "Encoding not supported: {0}"},
286N/A "Could not create TraceListener: {0}"},
286N/A "xsl:key requires a 'name' attribute!"},
286N/A "xsl:key requires a 'match' attribute!"},
286N/A "xsl:key requires a 'use' attribute!"},
286N/A "(StylesheetHandler) {0} requires an ''elements'' attribute!"},
286N/A "(StylesheetHandler) {0} attribute ''prefix'' is missing"},
286N/A "Stylesheet URL is bad: {0}"},
286N/A "Stylesheet file was not found: {0}"},
286N/A "Had IO Exception with stylesheet file: {0}"},
286N/A "(StylesheetHandler) Could not find href attribute for {0}"},
286N/A "(StylesheetHandler) {0} is directly or indirectly including itself!"},
286N/A "StylesheetHandler.processInclude error, {0}"},
286N/A "(StylesheetHandler) {0} attribute ''lang'' is missing"},
286N/A "(StylesheetHandler) misplaced {0} element?? Missing container element ''component''"},
286N/A "Can only output to an Element, DocumentFragment, Document, or PrintWriter."},
286N/A "StylesheetRoot.process error"},
286N/A "UnImplNode error: {0}"},
286N/A "Error! Did not find xpath select expression (-select)."},
286N/A "Can not serialize an XSLProcessor!"},
286N/A "Stylesheet input was not specified!"},
286N/A "Failed to process stylesheet!"},
286N/A "Could not parse {0} document!"},
286N/A "Could not find fragment: {0}"},
286N/A "Node pointed to by fragment identifier was not an element: {0}"},
286N/A "for-each must have either a match or name attribute"},
286N/A "templates must have either a match or name attribute"},
286N/A "No clone of a document fragment!"},
286N/A "Can not create item in result tree: {0}"},
286N/A "xml:space in the source XML has an illegal value: {0}"},
286N/A "There is no xsl:key declaration for {0}!"},
286N/A "Error! Cannot create url for: {0}"},
286N/A "xsl:functions is unsupported"},
286N/A "XSLT TransformerFactory Error"},
286N/A "(StylesheetHandler) {0} not allowed inside a stylesheet!"},
286N/A "result-ns no longer supported! Use xsl:output instead."},
286N/A "default-space no longer supported! Use xsl:strip-space or xsl:preserve-space instead."},
286N/A "indent-result no longer supported! Use xsl:output instead."},
286N/A "(StylesheetHandler) {0} has an illegal attribute: {1}"},
286N/A "Unknown XSL element: {0}"},
286N/A "(StylesheetHandler) xsl:sort can only be used with xsl:apply-templates or xsl:for-each."},
286N/A "(StylesheetHandler) misplaced xsl:when!"},
286N/A "(StylesheetHandler) xsl:when not parented by xsl:choose!"},
286N/A "(StylesheetHandler) misplaced xsl:otherwise!"},
286N/A "(StylesheetHandler) xsl:otherwise not parented by xsl:choose!"},
286N/A "(StylesheetHandler) {0} is not allowed inside a template!"},
286N/A "(StylesheetHandler) {0} extension namespace prefix {1} unknown"},
286N/A "(StylesheetHandler) Imports can only occur as the first elements in the stylesheet!"},
286N/A "(StylesheetHandler) {0} is directly or indirectly importing itself!"},
286N/A "(StylesheetHandler) " +
"xml:space has an illegal value: {0}"},
286N/A "processStylesheet not succesfull!"},
286N/A// add this message to fix bug 21478 286N/A "Function not supported!"},
286N/A "currency sign is not allowed in format pattern string"},
286N/A "Document function not supported in Stylesheet DOM!"},
286N/A "Can't resolve prefix of non-Prefix resolver!"},
286N/A "Redirect extension: Could not get filename - file or select attribute must return vald string."},
286N/A "Can not build FormatterListener in Redirect extension!"},
286N/A "Prefix in exclude-result-prefixes is not valid: {0}"},
286N/A "Missing namespace URI for specified prefix"},
286N/A "Missing argument for option: {0}"},
286N/A "Invalid option: {0}"},
286N/A "Malformed format string: {0}"},
286N/A "xsl:stylesheet requires a 'version' attribute!"},
286N/A "Attribute: {0} has an illegal value: {1}"},
286N/A "xsl:choose requires an xsl:when"},
286N/A "xsl:apply-imports not allowed in a xsl:for-each"},
286N/A "Cannot use a DTMLiaison for an output DOM node... pass a com.sun.org.apache.xpath.internal.DOM2Helper instead!"},
286N/A "Cannot use a DTMLiaison for a input DOM node... pass a com.sun.org.apache.xpath.internal.DOM2Helper instead!"},
286N/A "Call to extension element failed: {0}"},
286N/A "Prefix must resolve to a namespace: {0}"},
286N/A "Invalid UTF-16 surrogate detected: {0} ?"},
286N/A "xsl:attribute-set {0} used itself, which will cause an infinite loop."},
286N/A "Can not mix non Xerces-DOM input with Xerces-DOM output!"},
286N/A "addTraceListenersToStylesheet - TooManyListenersException"},
286N/A "In ElemTemplateElement.readObject: {0}"},
286N/A "Found more than one template named: {0}"},
286N/A "Invalid function call: recursive key() calls are not allowed"},
286N/A "Variable {0} is directly or indirectly referencing itself!"},
286N/A "The input node can not be null for a DOMSource for newTemplates!"},
286N/A "Class file not found for option {0}"},
286N/A "Required Element not found: {0}"},
286N/A "InputStream cannot be null"},
286N/A "File cannot be null"},
286N/A "InputSource cannot be null"},
286N/A "Could not initialize BSF Manager"},
286N/A "Could not compile extension"},
286N/A "Could not create extension: {0} because of: {1}"},
286N/A "Instance method call to method {0} requires an Object instance as first argument"},
286N/A "Invalid element name specified {0}"},
286N/A "Element name method must be static {0}"},
286N/A "Extension function {0} : {1} is unknown"},
286N/A "More than one best match for constructor for {0}"},
286N/A "More than one best match for method {0}"},
286N/A "More than one best match for element method {0}"},
286N/A "Invalid context passed to evaluate {0}"},
286N/A "Pool already exists"},
286N/A "No driver Name specified"},
286N/A "Pool size is less than one!"},
286N/A "Invalid driver name specified!"},
286N/A "Did not find the stylesheet root!"},
286N/A "Illegal value for xml:space"},
286N/A "processFromNode failed"},
286N/A "The resource [ {0} ] could not load: {1} \n {2} \t {3}"},
286N/A "Unknown error when calling extension"},
286N/A "Prefix {0} does not have a corresponding namespace declaration"},
286N/A "Element content not allowed for lang=javaclass {0}"},
286N/A "Stylesheet directed termination"},
286N/A "Could not load {0} (check CLASSPATH), now using just the defaults"},
286N/A "Cannot initialize default templates"},
286N/A "Result should not be null"},
286N/A "Result could not be set"},
286N/A "No output specified"},
286N/A "Can''t transform to a Result of type {0}"},
286N/A "Can''t transform a Source of type {0}"},
286N/A "Null content handler"},
286N/A "parse can not be called if the ContentHandler has not been set"},
286N/A "No parent for filter"},
286N/A "No stylesheet found in: {0}, media= {1}"},
286N/A "No xml-stylesheet PI found in: {0}"},
286N/A "Value for property {0} should be a Boolean instance"},
286N/A "Could not get to external script at {0}"},
286N/A "The resource [ {0} ] could not be found.\n {1}"},
286N/A "Output property not recognized: {0}"},
286N/A "Failed creating ElemLiteralResult instance"},
286N/A //Earlier (JDK 1.4 XALAN 2.2-D11) at key code '204' the key name was ER_PRIORITY_NOT_PARSABLE 286N/A // In latest Xalan code base key name is ER_VALUE_SHOULD_BE_NUMBER. This should also be taken care 286N/A //NOTE: Not only the key name but message has also been changed. 286N/A "Value for {0} should contain a parsable number"},
286N/A "Value for {0} should equal yes or no"},
286N/A "Failed calling {0} method"},
286N/A "Failed creating ElemTemplateElement instance"},
286N/A "Characters are not allowed at this point in the document"},
286N/A "\"{0}\" attribute is not allowed on the {1} element!"},
286N/A "{0} attribute value not found "},
286N/A "{0} attribute value not recognized "},
286N/A "Attempting to generate a namespace prefix with a null URI"},
286N/A "Attempting to format a number bigger than the largest Long integer"},
286N/A "Cannot find SAX1 driver class {0}"},
286N/A "SAX1 driver class {0} found but cannot be loaded"},
286N/A "SAX1 driver class {0} loaded but cannot be instantiated"},
286N/A "SAX1 driver class {0} does not implement org.xml.sax.Parser"},
286N/A "Parser argument must not be null"},
286N/A "Null entity resolver"},
286N/A "No Driver Name Specified!"},
286N/A "Pool size is less than 1!"},
286N/A "Invalid Driver Name Specified!"},
286N/A// Note to translators: The following message should not normally be displayed 286N/A// to users. It describes a situation in which the processor has detected 286N/A// an internal consistency problem in itself, and it provides this message 286N/A// for the developer to help diagnose the problem. The name 286N/A// 'ElemTemplateElement' is the name of a class, and should not be 286N/A "Programmer's error! The expression has no ElemTemplateElement parent!"},
286N/A// Note to translators: The following message should not normally be displayed 286N/A// to users. It describes a situation in which the processor has detected 286N/A// an internal consistency problem in itself, and it provides this message 286N/A// for the developer to help diagnose the problem. The substitution text 286N/A// provides further information in order to diagnose the problem. The name 286N/A// 'RedundentExprEliminator' is the name of a class, and should not be 286N/A "Programmer''s assertion in RedundentExprEliminator: {0}"},
286N/A "{0} is not allowed in this position in the stylesheet!"},
286N/A "Non-whitespace text is not allowed in this position in the stylesheet!"},
286N/A // This code is shared with warning codes. 286N/A "Illegal value: {1} used for CHAR attribute: {0}. An attribute of type CHAR must be only 1 character!"},
286N/A // Note to translators: The following message is used if the value of 286N/A // an attribute in a stylesheet is invalid. "QNAME" is the XML data-type of 286N/A // the attribute, and should not be translated. The substitution text {1} is 286N/A // the attribute value and {0} is the attribute name. 286N/A //The following codes are shared with the warning codes... 286N/A "Illegal value: {1} used for QNAME attribute: {0}"},
286N/A // Note to translators: The following message is used if the value of 286N/A // an attribute in a stylesheet is invalid. "ENUM" is the XML data-type of 286N/A // the attribute, and should not be translated. The substitution text {1} is 286N/A // the attribute value, {0} is the attribute name, and {2} is a list of valid 286N/A "Illegal value: {1} used for ENUM attribute: {0}. Valid values are: {2}."},
286N/A// Note to translators: The following message is used if the value of 286N/A// an attribute in a stylesheet is invalid. "NMTOKEN" is the XML data-type 286N/A// of the attribute, and should not be translated. The substitution text {1} is 286N/A// the attribute value and {0} is the attribute name. 286N/A "Illegal value: {1} used for NMTOKEN attribute: {0} "},
286N/A// Note to translators: The following message is used if the value of 286N/A// an attribute in a stylesheet is invalid. "NCNAME" is the XML data-type 286N/A// of the attribute, and should not be translated. The substitution text {1} is 286N/A// the attribute value and {0} is the attribute name. 286N/A "Illegal value: {1} used for NCNAME attribute: {0} "},
286N/A// Note to translators: The following message is used if the value of 286N/A// an attribute in a stylesheet is invalid. "boolean" is the XSLT data-type 286N/A// of the attribute, and should not be translated. The substitution text {1} is 286N/A// the attribute value and {0} is the attribute name. 286N/A "Illegal value: {1} used for boolean attribute: {0} "},
286N/A// Note to translators: The following message is used if the value of 286N/A// an attribute in a stylesheet is invalid. "number" is the XSLT data-type 286N/A// of the attribute, and should not be translated. The substitution text {1} is 286N/A// the attribute value and {0} is the attribute name. 286N/A "Illegal value: {1} used for number attribute: {0} "},
286N/A // End of shared codes... 286N/A// Note to translators: A "match pattern" is a special form of XPath expression 286N/A// that is used for matching patterns. The substitution text is the name of 286N/A// a function. The message indicates that when this function is referenced in 286N/A// a match pattern, its argument must be a string literal (or constant.) 286N/A// ER_ARG_LITERAL - new error message for bugzilla //5202 286N/A "Argument to {0} in match pattern must be a literal."},
286N/A// Note to translators: The following message indicates that two definitions of 286N/A// a variable. A "global variable" is a variable that is accessible everywher 286N/A// ER_DUPLICATE_GLOBAL_VAR - new error message for bugzilla #790 286N/A "Duplicate global variable declaration."},
286N/A// Note to translators: The following message indicates that two definitions of 286N/A// a variable were encountered. 286N/A// ER_DUPLICATE_VAR - new error message for bugzilla #790 286N/A "Duplicate variable declaration."},
286N/A // Note to translators: "xsl:template, "name" and "match" are XSLT keywords 286N/A // which must not be translated. 286N/A // ER_TEMPLATE_NAME_MATCH - new error message for bugzilla #789 286N/A "xsl:template must have a name or match attribute (or both)"},
286N/A // Note to translators: "exclude-result-prefixes" is an XSLT keyword which 286N/A // should not be translated. The message indicates that a namespace prefix 286N/A // encountered as part of the value of the exclude-result-prefixes attribute 286N/A // ER_INVALID_PREFIX - new error message for bugzilla #788 286N/A "Prefix in exclude-result-prefixes is not valid: {0}"},
286N/A // Note to translators: An "attribute set" is a set of attributes that can 286N/A // be added to an element in the output document as a group. The message 286N/A // indicates that there was a reference to an attribute set named {0} that 286N/A // ER_NO_ATTRIB_SET - new error message for bugzilla #782 286N/A "attribute-set named {0} does not exist"},
286N/A // Note to translators: This message indicates that there was a reference 286N/A // to a function named {0} for which no function definition could be found. 286N/A "The function named {0} does not exist"},
286N/A // Note to translators: This message indicates that the XSLT instruction 286N/A // that is named by the substitution text {0} must not contain other XSLT 286N/A // instructions (content) or a "select" attribute. The word "select" is 286N/A // an XSLT keyword in this case and must not be translated. 286N/A "The {0} element must not have both content and a select attribute."},
286N/A // Note to translators: This message indicates that the value argument 286N/A // of setParameter must be a valid Java Object. 286N/A "The value of param {0} must be a valid Java Object"},
286N/A "The result-prefix attribute of an xsl:namespace-alias element has the value '#default', but there is no declaration of the default namespace in scope for the element"},
286N/A "The result-prefix attribute of an xsl:namespace-alias element has the value ''{0}'', but there is no namespace declaration for the prefix ''{0}'' in scope for the element."},
286N/A "The feature name cannot be null in TransformerFactory.setFeature(String name, boolean value)."},
286N/A "The feature name cannot be null in TransformerFactory.getFeature(String name)."},
286N/A "Cannot set the feature ''{0}'' on this TransformerFactory."},
286N/A "Use of the extension element ''{0}'' is not allowed when the secure processing feature is set to true."},
286N/A "Cannot get the prefix for a null namespace uri."},
286N/A "Cannot get the namespace uri for null prefix."},
286N/A "The function name cannot be null."},
286N/A "The arity cannot be negative."},
286N/A "Found '}' but no attribute template open!"},
286N/A "Warning: count attribute does not match an ancestor in xsl:number! Target = {0}"},
286N/A "Old syntax: The name of the 'expr' attribute has been changed to 'select'."},
286N/A "Xalan doesn't yet handle the locale name in the format-number function."},
286N/A "Warning: Could not find locale for xml:lang={0}"},
286N/A "Can not make URL from: {0}"},
286N/A "Can not load requested doc: {0}"},
286N/A "Could not find Collator for <sort xml:lang={0}"},
286N/A "Old syntax: the functions instruction should use a url of {0}"},
286N/A "encoding not supported: {0}, using UTF-8"},
286N/A "encoding not supported: {0}, using Java {1}"},
286N/A "Specificity conflicts found: {0} Last found in stylesheet will be used."},
286N/A "========= Parsing and preparing {0} =========="},
286N/A "Match conflict between xsl:strip-space and xsl:preserve-space"},
286N/A "Xalan does not yet handle the {0} attribute!"},
286N/A "No declaration found for decimal format: {0}"},
286N/A "Missing or incorrect XSLT Namespace. "},
286N/A "Only one default xsl:decimal-format declaration is allowed."},
286N/A "xsl:decimal-format names must be unique. Name \"{0}\" has been duplicated."},
286N/A "{0} has an illegal attribute: {1}"},
286N/A "Could not resolve namespace prefix: {0}. The node will be ignored."},
286N/A "xsl:stylesheet requires a 'version' attribute!"},
286N/A "Illegal attribute name: {0}"},
286N/A "Illegal value used for attribute {0}: {1}"},
286N/A "Resulting nodeset from second argument of document function is empty. Return an empty node-set."},
286N/A //Following are the new WARNING keys added in XALAN code base after Jdk 1.4 (Xalan 2.2-D11) 286N/A // Note to translators: "name" and "xsl:processing-instruction" are keywords 286N/A // and must not be translated. 286N/A "The value of the 'name' attribute of xsl:processing-instruction name must not be 'xml'"},
286N/A // Note to translators: "name" and "xsl:processing-instruction" are keywords 286N/A // and must not be translated. "NCName" is an XML data-type and must not be 286N/A "The value of the ''name'' attribute of xsl:processing-instruction must be a valid NCName: {0}"},
286N/A // Note to translators: This message is reported if the stylesheet that is 286N/A // being processed attempted to construct an XML document with an attribute in a 286N/A // place other than on an element. The substitution text specifies the name of 286N/A "Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored."},
286N/A "An attempt is made to modify an object where modifications are not allowed." 286N/A //Check: WHY THERE IS A GAP B/W NUMBERS in the XSLTErrorResources properties file? 286N/A // Other miscellaneous text used inside the code... 286N/A {
"ui_language",
"en"},
286N/A {
"help_language",
"en" },
286N/A {
"BAD_CODE",
"Parameter to createMessage was out of bounds"},
286N/A {
"FORMAT_FAILED",
"Exception thrown during messageFormat call"},
286N/A {
"version",
">>>>>>> Xalan Version "},
286N/A {
"version2",
"<<<<<<<"},
286N/A {
"column",
"Column #"},
286N/A {
"xsldone",
"XSLProcessor: done"},
286N/A // Note to translators: The following messages provide usage information 286N/A // for the Xalan Process command line. "Process" is the name of a Java class, 286N/A // and should not be translated. 286N/A {
"xslProc_option",
"Xalan-J command line Process class options:"},
286N/A {
"xslProc_option",
"Xalan-J command line Process class options\u003a"},
286N/A {
"xslProc_invalid_xsltc_option",
"The option {0} is not supported in XSLTC mode."},
286N/A {
"xslProc_invalid_xalan_option",
"The option {0} can only be used with -XSLTC."},
286N/A {
"xslProc_no_input",
"Error: No stylesheet or input xml is specified. Run this command without any option for usage instructions."},
286N/A {
"xslProc_common_options",
"-Common Options-"},
286N/A {
"xslProc_xalan_options",
"-Options for Xalan-"},
286N/A {
"xslProc_xsltc_options",
"-Options for XSLTC-"},
286N/A {
"xslProc_return_to_continue",
"(press <return> to continue)"},
286N/A // Note to translators: The option name and the parameter name do not need to 286N/A // be translated. Only translate the messages in parentheses. Note also that 286N/A // leading whitespace in the messages is used to indent the usage information 286N/A // for each option in the English messages. 286N/A // Do not translate the keywords: XSLTC, SAX, DOM and DTM. 286N/A {
"optionXSLTC",
" [-XSLTC (use XSLTC for transformation)]"},
286N/A {
"optionIN",
" [-IN inputXMLURL]"},
286N/A {
"optionXSL",
" [-XSL XSLTransformationURL]"},
286N/A {
"optionOUT",
" [-OUT outputFileName]"},
286N/A {
"optionLXCIN",
" [-LXCIN compiledStylesheetFileNameIn]"},
286N/A {
"optionLXCOUT",
" [-LXCOUT compiledStylesheetFileNameOutOut]"},
286N/A {
"optionPARSER",
" [-PARSER fully qualified class name of parser liaison]"},
286N/A {
"optionE",
" [-E (Do not expand entity refs)]"},
286N/A {
"optionV",
" [-E (Do not expand entity refs)]"},
286N/A {
"optionQC",
" [-QC (Quiet Pattern Conflicts Warnings)]"},
286N/A {
"optionQ",
" [-Q (Quiet Mode)]"},
286N/A {
"optionLF",
" [-LF (Use linefeeds only on output {default is CR/LF})]"},
286N/A {
"optionCR",
" [-CR (Use carriage returns only on output {default is CR/LF})]"},
286N/A {
"optionESCAPE",
" [-ESCAPE (Which characters to escape {default is <>&\"\'\\r\\n}]"},
286N/A {
"optionINDENT",
" [-INDENT (Control how many spaces to indent {default is 0})]"},
286N/A {
"optionTT",
" [-TT (Trace the templates as they are being called.)]"},
286N/A {
"optionTG",
" [-TG (Trace each generation event.)]"},
286N/A {
"optionTS",
" [-TS (Trace each selection event.)]"},
286N/A {
"optionTTC",
" [-TTC (Trace the template children as they are being processed.)]"},
286N/A {
"optionTCLASS",
" [-TCLASS (TraceListener class for trace extensions.)]"},
286N/A {
"optionVALIDATE",
" [-VALIDATE (Set whether validation occurs. Validation is off by default.)]"},
286N/A {
"optionEDUMP",
" [-EDUMP {optional filename} (Do stackdump on error.)]"},
286N/A {
"optionXML",
" [-XML (Use XML formatter and add XML header.)]"},
286N/A {
"optionTEXT",
" [-TEXT (Use simple Text formatter.)]"},
286N/A {
"optionHTML",
" [-HTML (Use HTML formatter.)]"},
286N/A {
"optionPARAM",
" [-PARAM name expression (Set a stylesheet parameter)]"},
286N/A {
"noParsermsg1",
"XSL Process was not successful."},
286N/A {
"noParsermsg2",
"** Could not find parser **"},
286N/A {
"noParsermsg3",
"Please check your classpath."},
286N/A {
"noParsermsg4",
"If you don't have IBM's XML Parser for Java, you can download it from"},
286N/A {
"optionURIRESOLVER",
" [-URIRESOLVER full class name (URIResolver to be used to resolve URIs)]"},
286N/A {
"optionENTITYRESOLVER",
" [-ENTITYRESOLVER full class name (EntityResolver to be used to resolve entities)]"},
286N/A {
"optionCONTENTHANDLER",
" [-CONTENTHANDLER full class name (ContentHandler to be used to serialize output)]"},
286N/A {
"optionLINENUMBERS",
" [-L use line numbers for source document]"},
286N/A {
"optionSECUREPROCESSING",
" [-SECURE (set the secure processing feature to true.)]"},
286N/A {
"optionMEDIA",
" [-MEDIA mediaType (use media attribute to find stylesheet associated with a document.)]"},
286N/A {
"optionFLAVOR",
" [-FLAVOR flavorName (Explicitly use s2s=SAX or d2d=DOM to do transform.)] "},
// Added by sboag/scurcuru; experimental 286N/A {
"optionDIAG",
" [-DIAG (Print overall milliseconds transform took.)]"},
286N/A {
"optionRL",
" [-RL recursionlimit (assert numeric limit on stylesheet recursion depth.)]"},
286N/A {
"optionXO",
" [-XO [transletName] (assign the name to the generated translet)]"},
286N/A {
"optionXD",
" [-XD destinationDirectory (specify a destination directory for translet)]"},
286N/A {
"optionXJ",
" [-XJ jarfile (packages translet classes into a jar file of name <jarfile>)]"},
286N/A {
"optionXP",
" [-XP package (specifies a package name prefix for all generated translet classes)]"},
286N/A //AddITIONAL STRINGS that need L10n 286N/A // Note to translators: The following message describes usage of a particular 286N/A // command-line option that is used to enable the "template inlining" 286N/A // optimization. The optimization involves making a copy of the code 286N/A // generated for a template in another template that refers to it. 286N/A {
"optionXN",
" [-XN (enables template inlining)]" },
286N/A {
"optionXX",
" [-XX (turns on additional debugging message output)]"},
286N/A {
"optionXT" ,
" [-XT (use translet to transform if possible)]"},
286N/A {
"diagTiming",
" --------- Transform of {0} via {1} took {2} ms" },
286N/A {
"recursionTooDeep",
"Template nesting too deep. nesting = {0}, template {1} {2}" },
286N/A {
"nameIs",
"name is" },
286N/A {
"matchPatternIs",
"match pattern is" }
286N/A /** Get the lookup table for error messages. 286N/A * @return The int to message lookup table. 286N/A // ================= INFRASTRUCTURE ====================== 286N/A /** String for use when a bad error code was encountered. */ 286N/A /** String for use when formatting of the error string failed. */ 286N/A /** General error string. */ 286N/A /** String to prepend to error messages. */ 286N/A /** String to prepend to warning messages. */ 286N/A /** String to specify the XSLT module. */ 286N/A /** String to specify the XML parser module. */ 286N/A /** I don't think this is used any more. 286N/A * Return a named ResourceBundle for a particular locale. This method mimics the behavior 286N/A * of ResourceBundle.getBundle(). 286N/A * @param className the name of the class that implements the resource bundle. 286N/A * @return the ResourceBundle 286N/A * @throws MissingResourceException 286N/A // first try with the given locale 286N/A try // try to fall back to en_US if we can't load 286N/A // Since we can't find the localized property file, 286N/A // Now we are really in trouble. 286N/A // very bad, definitely very bad...not going to get very far 286N/A * Return the resource file suffic for the indicated locale 286N/A * For most locales, this will be based the language code. However 286N/A * for Chinese, we do distinguish between Taiwan and PRC 286N/A * @param locale the locale 286N/A * @return an String suffix which canbe appended to a resource name