📄 errormessages.java
字号:
{ErrorMsg.DOCUMENT_ARG_ERR, "Second argument to document() function must be a node-set."}, /* * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords * and should not be translated. This message describes a syntax error * in the stylesheet. */ {ErrorMsg.MISSING_WHEN_ERR, "At least one <xsl:when> element required in <xsl:choose>."}, /* * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are * keywords and should not be translated. This message describes a * syntax error in the stylesheet. */ {ErrorMsg.MULTIPLE_OTHERWISE_ERR, "Only one <xsl:otherwise> element allowed in <xsl:choose>."}, /* * Note to translators: "<xsl:otherwise>" and "<xsl:choose>" are * keywords and should not be translated. This message describes a * syntax error in the stylesheet. */ {ErrorMsg.STRAY_OTHERWISE_ERR, "<xsl:otherwise> can only be used within <xsl:choose>."}, /* * Note to translators: "<xsl:when>" and "<xsl:choose>" are keywords * and should not be translated. This message describes a syntax error * in the stylesheet. */ {ErrorMsg.STRAY_WHEN_ERR, "<xsl:when> can only be used within <xsl:choose>."}, /* * Note to translators: "<xsl:when>", "<xsl:otherwise>" and * "<xsl:choose>" are keywords and should not be translated. This * message describes a syntax error in the stylesheet. */ {ErrorMsg.WHEN_ELEMENT_ERR, "Only <xsl:when> and <xsl:otherwise> elements allowed in <xsl:choose>."}, /* * Note to translators: "<xsl:attribute-set>" and "name" are keywords * that should not be translated. */ {ErrorMsg.UNNAMED_ATTRIBSET_ERR, "<xsl:attribute-set> is missing the 'name' attribute."}, /* * Note to translators: An element in the stylesheet contained an * element of a type that it was not permitted to contain. */ {ErrorMsg.ILLEGAL_CHILD_ERR, "Illegal child element."}, /* * Note to translators: The stylesheet tried to create an element with * a name that was not a valid XML name. The substitution text contains * the name. */ {ErrorMsg.ILLEGAL_ELEM_NAME_ERR, "You cannot call an element ''{0}''"}, /* * Note to translators: The stylesheet tried to create an attribute * with a name that was not a valid XML name. The substitution text * contains the name. */ {ErrorMsg.ILLEGAL_ATTR_NAME_ERR, "You cannot call an attribute ''{0}''"}, /* * Note to translators: The children of the outermost element of a * stylesheet are referred to as top-level elements. No text should * occur within that outermost element unless it is within a top-level * element. This message indicates that that constraint was violated. * "<xsl:stylesheet>" is a keyword that should not be translated. */ {ErrorMsg.ILLEGAL_TEXT_NODE_ERR, "Text data outside of top-level <xsl:stylesheet> element."}, /* * Note to translators: JAXP is an acronym for the Java API for XML * Processing. This message indicates that the XML parser provided to * XSLTC to process the XML input document had a configuration problem. */ {ErrorMsg.SAX_PARSER_CONFIG_ERR, "JAXP parser not configured correctly"}, /* * Note to translators: The substitution text names the internal error * encountered. */ {ErrorMsg.INTERNAL_ERR, "Unrecoverable XSLTC-internal error: ''{0}''"}, /* * Note to translators: The stylesheet contained an element that was * not recognized as part of the XSL syntax. The substitution text * gives the element name. */ {ErrorMsg.UNSUPPORTED_XSL_ERR, "Unsupported XSL element ''{0}''."}, /* * Note to translators: The stylesheet referred to an extension to the * XSL syntax and indicated that it was defined by XSLTC, but XSTLC does * not recognized the particular extension named. The substitution text * gives the extension name. */ {ErrorMsg.UNSUPPORTED_EXT_ERR, "Unrecognised XSLTC extension ''{0}''."}, /* * Note to translators: The XML document given to XSLTC as a stylesheet * was not, in fact, a stylesheet. XSLTC is able to detect that in this * case because the outermost element in the stylesheet has to be * declared with respect to the XSL namespace URI, but no declaration * for that namespace was seen. */ {ErrorMsg.MISSING_XSLT_URI_ERR, "The input document is not a stylesheet (the XSL namespace is not "+ "declared in the root element)."}, /* * Note to translators: XSLTC could not find the stylesheet document * with the name specified by the substitution text. */ {ErrorMsg.MISSING_XSLT_TARGET_ERR, "Could not find stylesheet target ''{0}''."}, /* * Note to translators: This message represents an internal error in * condition in XSLTC. The substitution text is the class name in XSLTC * that is missing some functionality. */ {ErrorMsg.NOT_IMPLEMENTED_ERR, "Not implemented: ''{0}''."}, /* * Note to translators: The XML document given to XSLTC as a stylesheet * was not, in fact, a stylesheet. */ {ErrorMsg.NOT_STYLESHEET_ERR, "The input document does not contain an XSL stylesheet."}, /* * Note to translators: The element named in the substitution text was * encountered in the stylesheet but is not recognized. */ {ErrorMsg.ELEMENT_PARSE_ERR, "Could not parse element ''{0}''"}, /* * Note to translators: "use", "<key>", "node", "node-set", "string" * and "number" are keywords in this context and should not be * translated. This message indicates that the value of the "use" * attribute was not one of the permitted values. */ {ErrorMsg.KEY_USE_ATTR_ERR, "The use attribute of <key> must be node, node-set, string or number."}, /* * Note to translators: An XML document can specify the version of the * XML specification to which it adheres. This message indicates that * the version specified for the output document was not valid. */ {ErrorMsg.OUTPUT_VERSION_ERR, "Output XML document version should be 1.0"}, /* * Note to translators: The operator in a comparison operation was * not recognized. */ {ErrorMsg.ILLEGAL_RELAT_OP_ERR, "Unknown operator for relational expression"}, /* * Note to translators: An attribute set defines as a set of XML * attributes that can be added to an element in the output XML document * as a group. This message is reported if the name specified was not * used to declare an attribute set. The substitution text is the name * that is in error. */ {ErrorMsg.ATTRIBSET_UNDEF_ERR, "Attempting to use non-existing attribute set ''{0}''."}, /* * Note to translators: The term "attribute value template" is a term * defined by XSLT which describes the value of an attribute that is * determined by an XPath expression. The message indicates that the * expression was syntactically incorrect; the substitution text * contains the expression that was in error. */ {ErrorMsg.ATTR_VAL_TEMPLATE_ERR, "Cannot parse attribute value template ''{0}''."}, /* * Note to translators: ??? */ {ErrorMsg.UNKNOWN_SIG_TYPE_ERR, "Unknown data-type in signature for class ''{0}''."}, /* * Note to translators: The substitution text refers to data types. * The message is displayed if a value in a particular context needs to * be converted to type {1}, but that's not possible for a value of * type {0}. */ {ErrorMsg.DATA_CONVERSION_ERR, "Cannot convert data-type ''{0}'' to ''{1}''."}, /* * Note to translators: "Templates" is a Java class name that should * not be translated. */ {ErrorMsg.NO_TRANSLET_CLASS_ERR, "This Templates does not contain a valid translet class definition."}, /* * Note to translators: "Templates" is a Java class name that should * not be translated. */ {ErrorMsg.NO_MAIN_TRANSLET_ERR, "This Templates does not contain a class with the name ''{0}''."}, /* * Note to translators: The substitution text is the name of a class. */ {ErrorMsg.TRANSLET_CLASS_ERR, "Could not load the translet class ''{0}''."}, {ErrorMsg.TRANSLET_OBJECT_ERR, "Translet class loaded, but unable to create translet instance."}, /* * Note to translators: "ErrorListener" is a Java interface name that * should not be translated. The message indicates that the user tried * to set an ErrorListener object on object of the class named in the * substitution text with "null" Java value. */ {ErrorMsg.ERROR_LISTENER_NULL_ERR, "Attempting to set ErrorListener for ''{0}'' to null"}, /* * Note to translators: StreamSource, SAXSource and DOMSource are Java * interface names that should not be translated. */ {ErrorMsg.JAXP_UNKNOWN_SOURCE_ERR, "Only StreamSource, SAXSource and DOMSource are supported by XSLTC"}, /* * Note to translators: "Source" is a Java class name that should not * be translated. The substitution text is the name of Java method. */ {ErrorMsg.JAXP_NO_SOURCE_ERR, "Source object passed to ''{0}'' has no contents."}, /* * Note to translators: The message indicates that XSLTC failed to * compile the stylesheet into a translet (class file). */ {ErrorMsg.JAXP_COMPILE_ERR, "Could not compile stylesheet"}, /* * Note to translators: "TransformerFactory" is a class name. In this * context, an attribute is a property or setting of the * TransformerFactory object. The substitution text is the name of the * unrecognised attribute. The method used to retrieve the attribute is * "getAttribute", so it's not clear whether it would be best to * translate the term "attribute". */ {ErrorMsg.JAXP_INVALID_ATTR_ERR, "TransformerFactory does not recognise attribute ''{0}''."}, /* * Note to translators: "setResult()" and "startDocument()" are Java * method names that should not be translated. */ {ErrorMsg.JAXP_SET_RESULT_ERR, "setResult() must be called prior to startDocument()."}, /* * Note to translators: "Transformer" is a Java interface name that * should not be translated. A Transformer object should contained a * reference to a translet object in order to be used for * transformations; this message is produced if that requirement is not * met. */ {ErrorMsg.JAXP_NO_TRANSLET_ERR, "The Transformer has no encapsulated translet object."}, /* * Note to translators: The XML document that results from a * transformation needs to be sent to an output handler object; this * message is produced if that requirement is not met. */ {ErrorMsg.JAXP_NO_HANDLER_ERR, "No defined output handler for transformation result."}, /* * Note to translators: "Result" is a Java interface name in this * context. The substitution text is a method name. */ {ErrorMsg.JAXP_NO_RESULT_ERR, "Result object passed to ''{0}'' is invalid."}, /* * Note to translators: "Transformer" is a Java interface name. The * user's program attempted to access an unrecognized property with the * name specified in the substitution text. The method used to retrieve * the property is "getOutputProperty", so it's not clear whether it * would be best to translate the term "property".
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -