diff options
Diffstat (limited to 'src/com/sun/org/apache/xml/internal/res')
18 files changed, 0 insertions, 6991 deletions
diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources.java deleted file mode 100644 index 1c83bc5..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Function not supported!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "Cannot overwrite cause"}, - - { ER_NO_DEFAULT_IMPL, - "No default implementation found "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) not currently supported"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "Offset bigger than slot"}, - - { ER_COROUTINE_NOT_AVAIL, - "Coroutine not available, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager received co_exit() request"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet() failed"}, - - { ER_COROUTINE_PARAM, - "Coroutine parameter error ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nUNEXPECTED: Parser doTerminate answers {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "parse may not be called while parsing"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Error: typed iterator for axis {0} not implemented"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Error: iterator for axis {0} not implemented "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Iterator clone not supported"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Unknown axis traversal type: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Axis traverser not supported: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "No more DTM IDs are available"}, - - { ER_NOT_SUPPORTED, - "Not supported: {0}"}, - - { ER_NODE_NON_NULL, - "Node must be non-null for getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "Could not resolve the node to a handle"}, - - { ER_STARTPARSE_WHILE_PARSING, - "startParse may not be called while parsing"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse needs a non-null SAXParser"}, - - { ER_COULD_NOT_INIT_PARSER, - "could not initialize parser with"}, - - { ER_EXCEPTION_CREATING_POOL, - "exception creating new instance for pool"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "Path contains invalid escape sequence"}, - - { ER_SCHEME_REQUIRED, - "Scheme is required!"}, - - { ER_NO_SCHEME_IN_URI, - "No scheme found in URI: {0}"}, - - { ER_NO_SCHEME_INURI, - "No scheme found in URI"}, - - { ER_PATH_INVALID_CHAR, - "Path contains invalid character: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Cannot set scheme from null string"}, - - { ER_SCHEME_NOT_CONFORMANT, - "The scheme is not conformant."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "Host is not a well formed address"}, - - { ER_PORT_WHEN_HOST_NULL, - "Port cannot be set when host is null"}, - - { ER_INVALID_PORT, - "Invalid port number"}, - - { ER_FRAG_FOR_GENERIC_URI, - "Fragment can only be set for a generic URI"}, - - { ER_FRAG_WHEN_PATH_NULL, - "Fragment cannot be set when path is null"}, - - { ER_FRAG_INVALID_CHAR, - "Fragment contains invalid character"}, - - { ER_PARSER_IN_USE, - "Parser is already in use"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "Cannot change {0} {1} while parsing"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Self-causation not permitted"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Userinfo may not be specified if host is not specified"}, - - { ER_NO_PORT_IF_NO_HOST, - "Port may not be specified if host is not specified"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "Query string cannot be specified in path and query string"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Fragment cannot be specified in both the path and fragment"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "Cannot initialize URI with empty parameters"}, - - { ER_METHOD_NOT_SUPPORTED, - "Method not yet supported "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter not currently restartable"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader not before startParse request"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Axis traverser not supported: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler created with null PrintWriter!"}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId Unknown"}, - - { ER_LOCATION_UNKNOWN, - "Location of error unknown"}, - - { ER_PREFIX_MUST_RESOLVE, - "Prefix must resolve to a namespace: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() not supported in XPathContext!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "Attribute child does not have an owner document!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "Attribute child does not have an owner document element!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Warning: can't output text before document element! Ignoring..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "Can't have more than one root on a DOM!"}, - - { ER_ARG_LOCALNAME_NULL, - "Argument 'localName' is null"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Localname in QNAME should be a valid NCName"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "Prefix in QNAME should be a valid NCName"}, - - { ER_NAME_CANT_START_WITH_COLON, - "Name cannot start with a colon"}, - - { "BAD_CODE", "Parameter to createMessage was out of bounds"}, - { "FORMAT_FAILED", "Exception thrown during messageFormat call"}, - { "line", "Line #"}, - { "column","Column #"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "The serializer class ''{0}'' does not implement org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "The resource [ {0} ] could not be found.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "The resource [ {0} ] could not load: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Buffer size <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Invalid UTF-16 surrogate detected: {0} ?" }, - - {ER_OIERROR, - "IO error" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "Namespace for prefix ''{0}'' has not been declared." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Attribute ''{0}'' outside of element." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Namespace declaration ''{0}''=''{1}'' outside of element." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "Could not load ''{0}'' (check CLASSPATH), now using just the defaults"}, - - { ER_ILLEGAL_CHARACTER, - "Attempt to output character of integral value {0} that is not represented in specified output encoding of {1}."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "Could not load the propery file ''{0}'' for output method ''{1}'' (check CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ca.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ca.java deleted file mode 100644 index 5dcb27c..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ca.java +++ /dev/null @@ -1,443 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * $Id: XMLErrorResources_ca.java,v 1.1.6.2 2005/09/15 07:45:37 suresh_emailid Exp $ - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_ca extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - private static final Object[][] _contents = new Object[][] { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Aquesta funci\u00f3 no t\u00e9 suport. "}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "No es pot sobreescriure una causa "}, - - { ER_NO_DEFAULT_IMPL, - "No s'ha trobat cap implementaci\u00f3 per defecte "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "En l''actualitat ChunkedIntArray({0}) no t\u00e9 suport "}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "El despla\u00e7ament \u00e9s m\u00e9s gran que la ranura "}, - - { ER_COROUTINE_NOT_AVAIL, - "Coroutine no est\u00e0 disponible, id={0} "}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager ha rebut una petici\u00f3 co_exit() "}, - - { ER_COJOINROUTINESET_FAILED, - "S'ha produ\u00eft un error a co_joinCoroutineSet() "}, - - { ER_COROUTINE_PARAM, - "Error de par\u00e0metre coroutine ({0}) "}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nUNEXPECTED: doTerminate de l''analitzador respon {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "L'an\u00e0lisi no es pot cridar mentre s'est\u00e0 duent a terme "}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Error: l''iterador de tipus de l''eix {0} no s''ha implementat "}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Error: l''iterador de l''eix {0} no s''ha implementat "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "El clonatge de l'iterador no t\u00e9 suport "}, - - { ER_UNKNOWN_AXIS_TYPE, - "Tipus de commutaci\u00f3 de l''eix desconeguda: {0} "}, - - { ER_AXIS_NOT_SUPPORTED, - "La commutaci\u00f3 de l''eix no t\u00e9 suport: {0} "}, - - { ER_NO_DTMIDS_AVAIL, - "No hi ha m\u00e9s ID de DTM disponibles "}, - - { ER_NOT_SUPPORTED, - "No t\u00e9 suport: {0} "}, - - { ER_NODE_NON_NULL, - "El node no ha de ser nul per a getDTMHandleFromNode "}, - - { ER_COULD_NOT_RESOLVE_NODE, - "No s'ha pogut resoldre el node en un manejador "}, - - { ER_STARTPARSE_WHILE_PARSING, - "startParse no es pot cridar mentre s'est\u00e0 duent a terme l'an\u00e0lisi "}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse necessita un SAXParser que no sigui nul "}, - - { ER_COULD_NOT_INIT_PARSER, - "No s'ha pogut inicialitzar l'analitzador amb "}, - - { ER_EXCEPTION_CREATING_POOL, - "S'ha produ\u00eft una excepci\u00f3 en crear una nova inst\u00e0ncia de l'agrupaci\u00f3 "}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "La via d'acc\u00e9s cont\u00e9 una seq\u00fc\u00e8ncia d'escapament no v\u00e0lida "}, - - { ER_SCHEME_REQUIRED, - "Es necessita l'esquema "}, - - { ER_NO_SCHEME_IN_URI, - "No s''ha trobat cap esquema a l''URI: {0} "}, - - { ER_NO_SCHEME_INURI, - "No s'ha trobat cap esquema a l'URI "}, - - { ER_PATH_INVALID_CHAR, - "La via d'acc\u00e9s cont\u00e9 un car\u00e0cter no v\u00e0lid {0} "}, - - { ER_SCHEME_FROM_NULL_STRING, - "No es pot establir un esquema des d'una cadena nul\u00b7la "}, - - { ER_SCHEME_NOT_CONFORMANT, - "L'esquema no t\u00e9 conformitat. "}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "El sistema principal no t\u00e9 una adre\u00e7a ben formada "}, - - { ER_PORT_WHEN_HOST_NULL, - "El port no es pot establir quan el sistema principal \u00e9s nul "}, - - { ER_INVALID_PORT, - "N\u00famero de port no v\u00e0lid "}, - - { ER_FRAG_FOR_GENERIC_URI, - "El fragment nom\u00e9s es pot establir per a un URI gen\u00e8ric "}, - - { ER_FRAG_WHEN_PATH_NULL, - "El fragment no es pot establir si la via d'acc\u00e9s \u00e9s nul\u00b7la "}, - - { ER_FRAG_INVALID_CHAR, - "El fragment cont\u00e9 un car\u00e0cter no v\u00e0lid "}, - - { ER_PARSER_IN_USE, - "L'analitzador ja s'est\u00e0 utilitzant "}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "No es pot modificar {0} {1} mentre es du a terme l''an\u00e0lisi "}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "La causalitat pr\u00f2pia no est\u00e0 permesa. "}, - - { ER_NO_USERINFO_IF_NO_HOST, - "No es pot especificar informaci\u00f3 de l'usuari si no s'especifica el sistema principal "}, - - { ER_NO_PORT_IF_NO_HOST, - "No es pot especificar el port si no s'especifica el sistema principal "}, - - { ER_NO_QUERY_STRING_IN_PATH, - "No es pot especificar una cadena de consulta en la via d'acc\u00e9s i la cadena de consulta "}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "No es pot especificar un fragment tant en la via d'acc\u00e9s com en el fragment "}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "No es pot inicialitzar l'URI amb par\u00e0metres buits "}, - - { ER_METHOD_NOT_SUPPORTED, - "Aquest m\u00e8tode encara no t\u00e9 suport "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "Ara mateix no es pot reiniciar IncrementalSAXSource_Filter "}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader no es pot produir abans de la petici\u00f3 d'startParse "}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "La commutaci\u00f3 de l''eix no t\u00e9 suport: {0} "}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "S''ha creat ListingErrorHandler amb PrintWriter nul "}, - - { ER_SYSTEMID_UNKNOWN, - "ID del sistema (SystemId) desconegut "}, - - { ER_LOCATION_UNKNOWN, - "Ubicaci\u00f3 de l'error desconeguda"}, - - { ER_PREFIX_MUST_RESOLVE, - "El prefix s''ha de resoldre en un espai de noms: {0} "}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() no t\u00e9 suport a XPathContext "}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "El subordinat de l'atribut no t\u00e9 un document de propietari. "}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "El subordinat de l'atribut no t\u00e9 un element de document de propietari. "}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Av\u00eds: no es pot produir text abans de l'element de document. Es passa per alt. "}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "No hi pot haver m\u00e9s d'una arrel en un DOM. "}, - - { ER_ARG_LOCALNAME_NULL, - "L'argument 'localName' \u00e9s nul. "}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "El nom local de QNAME ha de ser un NCName v\u00e0lid. "}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "El prefix de QNAME ha de ser un NCName v\u00e0lid. "}, - - { "BAD_CODE", "El par\u00e0metre de createMessage estava fora dels l\u00edmits. "}, - { "FORMAT_FAILED", "S'ha generat una excepci\u00f3 durant la crida messageFormat. "}, - { "line", "L\u00ednia n\u00fam. "}, - { "column","Columna n\u00fam. "}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "La classe de serialitzador ''{0}'' no implementa org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "No s''ha trobat el recurs [ {0} ].\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "El recurs [ {0} ] no s''ha pogut carregar: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Grand\u00e0ria del buffer <=0 " }, - - {ER_INVALID_UTF16_SURROGATE, - "S''ha detectat un suplent UTF-16 no v\u00e0lid: {0} ? " }, - - {ER_OIERROR, - "Error d'E/S " }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "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. "}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "L''espai de noms del prefix ''{0}'' no s''ha declarat." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "L''atribut ''{0}'' es troba fora de l''element." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "La declaraci\u00f3 d''espai de noms ''{0}''=''{1}'' es troba fora de l''element." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "No s''ha pogut carregar ''{0}'' (comproveu la CLASSPATH); ara s''estan fent servir els valors per defecte."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "No s''ha pogut carregar el fitxer de propietats ''{0}'' del m\u00e8tode de sortida ''{1}'' (comproveu la CLASSPATH)" } - - - }; - - /** - * Get the lookup table for error messages - * - * @return The association list. - */ - public Object[][] getContents() - { - return _contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_cs.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_cs.java deleted file mode 100644 index f3e3c3e..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_cs.java +++ /dev/null @@ -1,443 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * $Id: XMLErrorResources_cs.java,v 1.1.6.2 2005/09/15 07:45:38 suresh_emailid Exp $ - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_cs extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - private static final Object[][] _contents = new Object[][] { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Nepodporovan\u00e1 funkce!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "P\u0159\u00ed\u010dinu nelze p\u0159epsat"}, - - { ER_NO_DEFAULT_IMPL, - "Nebyla nalezena v\u00fdchoz\u00ed implementace. "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "Funkce ChunkedIntArray({0}) nen\u00ed aktu\u00e1ln\u011b podporov\u00e1na."}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "Offset je v\u011bt\u0161\u00ed ne\u017e slot."}, - - { ER_COROUTINE_NOT_AVAIL, - "Spole\u010dn\u00e1 rutina nen\u00ed k dispozici, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "Funkce CoroutineManager obdr\u017eela po\u017eadavek co_exit()"}, - - { ER_COJOINROUTINESET_FAILED, - "Selhala funkce co_joinCoroutineSet()"}, - - { ER_COROUTINE_PARAM, - "Chyba parametru spole\u010dn\u00e9 rutiny ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nNeo\u010dek\u00e1van\u00e9: odpov\u011bdi funkce analyz\u00e1toru doTerminate {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "b\u011bhem anal\u00fdzy nelze volat analyz\u00e1tor"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Chyba: zadan\u00fd iter\u00e1tor osy {0} nen\u00ed implementov\u00e1n"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Chyba: zadan\u00fd iter\u00e1tor osy {0} nen\u00ed implementov\u00e1n "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Nepodporovan\u00fd klon iter\u00e1toru."}, - - { ER_UNKNOWN_AXIS_TYPE, - "Nezn\u00e1m\u00fd typ osy pr\u016fchodu: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Nepodporovan\u00e1 osa pr\u016fchodu: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "\u017d\u00e1dn\u00e1 dal\u0161\u00ed ID DTM nejsou k dispozici"}, - - { ER_NOT_SUPPORTED, - "Nepodporov\u00e1no: {0}"}, - - { ER_NODE_NON_NULL, - "Uzel pou\u017eit\u00fd ve funkci getDTMHandleFromNode mus\u00ed m\u00edt hodnotu not-null"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "Uzel nelze p\u0159elo\u017eit do manipul\u00e1toru"}, - - { ER_STARTPARSE_WHILE_PARSING, - "B\u011bhem anal\u00fdzy nelze volat funkci startParse."}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "Funkce startParse vy\u017eaduje SAXParser s hodnotou not-null."}, - - { ER_COULD_NOT_INIT_PARSER, - "nelze inicializovat analyz\u00e1tor s: "}, - - { ER_EXCEPTION_CREATING_POOL, - "v\u00fdjimka p\u0159i vytv\u00e1\u0159en\u00ed nov\u00e9 instance spole\u010dn\u00e9 oblasti"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "Cesta obsahuje neplatnou escape sekvenci"}, - - { ER_SCHEME_REQUIRED, - "Je vy\u017eadov\u00e1no sch\u00e9ma!"}, - - { ER_NO_SCHEME_IN_URI, - "V URI nebylo nalezeno \u017e\u00e1dn\u00e9 sch\u00e9ma: {0}"}, - - { ER_NO_SCHEME_INURI, - "V URI nebylo nalezeno \u017e\u00e1dn\u00e9 sch\u00e9ma"}, - - { ER_PATH_INVALID_CHAR, - "Cesta obsahuje neplatn\u00fd znak: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Nelze nastavit sch\u00e9ma \u0159et\u011bzce s hodnotou null."}, - - { ER_SCHEME_NOT_CONFORMANT, - "Sch\u00e9ma nevyhovuje."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "Adresa hostitele m\u00e1 nespr\u00e1vn\u00fd form\u00e1t."}, - - { ER_PORT_WHEN_HOST_NULL, - "M\u00e1-li hostitel hodnotu null, nelze nastavit port."}, - - { ER_INVALID_PORT, - "Neplatn\u00e9 \u010d\u00edslo portu."}, - - { ER_FRAG_FOR_GENERIC_URI, - "Fragment lze nastavit jen u generick\u00e9ho URI."}, - - { ER_FRAG_WHEN_PATH_NULL, - "M\u00e1-li cesta hodnotu null, nelze nastavit fragment."}, - - { ER_FRAG_INVALID_CHAR, - "Fragment obsahuje neplatn\u00fd znak."}, - - { ER_PARSER_IN_USE, - "Analyz\u00e1tor se ji\u017e pou\u017e\u00edv\u00e1."}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "B\u011bhem anal\u00fdzy nelze m\u011bnit {0} {1}."}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Zp\u016fsoben\u00ed sama sebe (self-causation) nen\u00ed povoleno"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Nen\u00ed-li ur\u010den hostitel, nelze zadat \u00fadaje o u\u017eivateli."}, - - { ER_NO_PORT_IF_NO_HOST, - "Nen\u00ed-li ur\u010den hostitel, nelze zadat port."}, - - { ER_NO_QUERY_STRING_IN_PATH, - "V \u0159et\u011bzci cesty a dotazu nelze zadat \u0159et\u011bzec dotazu."}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Fragment nelze ur\u010dit z\u00e1rove\u0148 v cest\u011b i ve fragmentu."}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "URI nelze inicializovat s pr\u00e1zdn\u00fdmi parametry."}, - - { ER_METHOD_NOT_SUPPORTED, - "Prozat\u00edm nepodporovan\u00e1 metoda. "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "Filtr IncrementalSAXSource_Filter nelze aktu\u00e1ln\u011b znovu spustit."}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "P\u0159ed po\u017eadavkem startParse nen\u00ed XMLReader."}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Nepodporovan\u00e1 osa pr\u016fchodu: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "Prvek ListingErrorHandler byl vytvo\u0159en s funkc\u00ed PrintWriter s hodnotou null!"}, - - { ER_SYSTEMID_UNKNOWN, - "Nezn\u00e1m\u00fd identifik\u00e1tor SystemId"}, - - { ER_LOCATION_UNKNOWN, - "Chyba se vyskytla na nezn\u00e1m\u00e9m m\u00edst\u011b"}, - - { ER_PREFIX_MUST_RESOLVE, - "P\u0159edponu mus\u00ed b\u00fdt mo\u017eno p\u0159elo\u017eit do oboru n\u00e1zv\u016f: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "Funkce XPathContext nepodporuje funkci createDocument()!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "Potomek atributu nem\u00e1 dokument vlastn\u00edka!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "Potomek atributu nem\u00e1 prvek dokumentu vlastn\u00edka!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Varov\u00e1n\u00ed: v\u00fdstup textu nem\u016f\u017ee p\u0159edch\u00e1zet prvku dokumentu! Ignorov\u00e1no..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "DOM nem\u016f\u017ee m\u00edt n\u011bkolik ko\u0159en\u016f!"}, - - { ER_ARG_LOCALNAME_NULL, - "Argument 'localName' m\u00e1 hodnotu null"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Hodnota Localname ve funkci QNAME by m\u011bla b\u00fdt platn\u00fdm prvkem NCName"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "P\u0159edpona ve funkci QNAME by m\u011bla b\u00fdt platn\u00fdm prvkem NCName"}, - - { "BAD_CODE", "Parametr funkce createMessage je mimo limit"}, - { "FORMAT_FAILED", "P\u0159i vol\u00e1n\u00ed funkce messageFormat do\u0161lo k v\u00fdjimce"}, - { "line", "\u0158\u00e1dek #"}, - { "column","Sloupec #"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "T\u0159\u00edda serializace ''{0}'' neimplementuje org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "Nelze naj\u00edt zdroj [ {0} ].\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "Nelze zav\u00e9st zdroj [ {0} ]: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Velikost vyrovn\u00e1vac\u00ed pam\u011bti <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Byla zji\u0161t\u011bna neplatn\u00e1 n\u00e1hrada UTF-16: {0} ?" }, - - {ER_OIERROR, - "Chyba vstupu/v\u00fdstupu" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Nelze p\u0159idat atribut {0} po uzlech potomk\u016f ani p\u0159ed t\u00edm, ne\u017e je vytvo\u0159en prvek. Atribut bude ignorov\u00e1n."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "Obor n\u00e1zv\u016f pro p\u0159edponu ''{0}'' nebyl deklarov\u00e1n." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Atribut ''{0}'' je vn\u011b prvku." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Deklarace oboru n\u00e1zv\u016f ''{0}''=''{1}'' je vn\u011b prvku." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "Nelze zav\u00e9st ''{0}'' (zkontrolujte prom\u011bnnou CLASSPATH), proto se pou\u017e\u00edvaj\u00ed pouze v\u00fdchoz\u00ed hodnoty"}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "Nelze na\u010d\u00edst soubor vlastnost\u00ed ''{0}'' pro v\u00fdstupn\u00ed metodu ''{1}'' (zkontrolujte prom\u011bnnou CLASSPATH)." } - - - }; - - /** - * Get the lookup table for error messages - * - * @return The association list. - */ - public Object[][] getContents() - { - return _contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_de.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_de.java deleted file mode 100644 index 3492aef..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_de.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_de extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Funktion nicht unterst\u00FCtzt."}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "Ursache kann nicht \u00FCberschrieben werden"}, - - { ER_NO_DEFAULT_IMPL, - "Keine Standardimplementierung gefunden "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) derzeit nicht unterst\u00FCtzt"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "Offset gr\u00F6\u00DFer als Slot"}, - - { ER_COROUTINE_NOT_AVAIL, - "Coroutine nicht verf\u00FCgbar; ID={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager hat co_exit()-Anforderung erhalten"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet() nicht erfolgreich"}, - - { ER_COROUTINE_PARAM, - "Coroutine-Parameterfehler ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nUNEXPECTED: Parser doTerminate antwortet {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "\"parse\" darf w\u00E4hrend des Parsing nicht aufgerufen werden"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Fehler: Typisierter Iterator f\u00FCr Achse {0} nicht implementiert"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Fehler: Iterator f\u00FCr Achse {0} nicht implementiert "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Iteratorclone nicht unterst\u00FCtzt"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Unbekannter Achsendurchlauftyp: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Achsen-Traverser nicht unterst\u00FCtzt: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "Keine weiteren DTM-IDs verf\u00FCgbar"}, - - { ER_NOT_SUPPORTED, - "Nicht unterst\u00FCtzt: {0}"}, - - { ER_NODE_NON_NULL, - "Knoten darf nicht null sein f\u00FCr getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "Knoten konnte nicht in Handle aufgel\u00F6st werden"}, - - { ER_STARTPARSE_WHILE_PARSING, - "\"startParse\" darf w\u00E4hrend des Parsing nicht aufgerufen werden"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse erfordert einen SAXParser ungleich null"}, - - { ER_COULD_NOT_INIT_PARSER, - "Parser konnte nicht initialisiert werden mit"}, - - { ER_EXCEPTION_CREATING_POOL, - "Ausnahme beim Erstellen einer neuen Instanz f\u00FCr Pool"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "Pfad enth\u00E4lt eine ung\u00FCltige Escapesequenz"}, - - { ER_SCHEME_REQUIRED, - "Schema ist erforderlich."}, - - { ER_NO_SCHEME_IN_URI, - "Kein Schema gefunden in URI: {0}"}, - - { ER_NO_SCHEME_INURI, - "Kein Schema gefunden in URI"}, - - { ER_PATH_INVALID_CHAR, - "Pfad enth\u00E4lt ung\u00FCltiges Zeichen: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Schema kann nicht von Nullzeichenfolge festgelegt werden"}, - - { ER_SCHEME_NOT_CONFORMANT, - "Schema ist nicht konform."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "Host ist keine wohlgeformte Adresse"}, - - { ER_PORT_WHEN_HOST_NULL, - "Port kann nicht festgelegt werden, wenn der Host null ist"}, - - { ER_INVALID_PORT, - "Ung\u00FCltige Portnummer"}, - - { ER_FRAG_FOR_GENERIC_URI, - "Fragment kann nur f\u00FCr einen generischen URI festgelegt werden"}, - - { ER_FRAG_WHEN_PATH_NULL, - "Fragment kann nicht festgelegt werden, wenn der Pfad null ist"}, - - { ER_FRAG_INVALID_CHAR, - "Fragment enth\u00E4lt ein ung\u00FCltiges Zeichen"}, - - { ER_PARSER_IN_USE, - "Parser wird bereits verwendet"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "{0} {1} kann w\u00E4hrend Parsing nicht ge\u00E4ndert werden"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Selbstkausalit\u00E4t nicht zul\u00E4ssig"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Benutzerinformationen k\u00F6nnen nicht angegeben werden, wenn der Host nicht angegeben wurde"}, - - { ER_NO_PORT_IF_NO_HOST, - "Port kann nicht angegeben werden, wenn der Host nicht angegeben wurde"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "Abfragezeichenfolge kann nicht im Pfad und in der Abfragezeichenfolge angegeben werden"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Fragment kann nicht im Pfad und im Fragment angegeben werden"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "URI kann nicht mit leeren Parametern initialisiert werden"}, - - { ER_METHOD_NOT_SUPPORTED, - "Methode noch nicht unterst\u00FCtzt "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter kann derzeit nicht neu gestartet werden"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader nicht vor startParse-Anforderung"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Achsen-Traverser nicht unterst\u00FCtzt: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler mit Null-PrintWriter erstellt."}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId unbekannt"}, - - { ER_LOCATION_UNKNOWN, - "Fehlerposition unbekannt"}, - - { ER_PREFIX_MUST_RESOLVE, - "Pr\u00E4fix muss in Namespace aufgel\u00F6st werden: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() nicht in XPathContext unterst\u00FCtzt."}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "Untergeordnetes Attribut hat kein Eigent\u00FCmerdokument."}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "Untergeordnetes Attribut hat kein Eigent\u00FCmerdokumentelement."}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Warnung: Text kann nicht vor Dokumentelement ausgegeben werden. Wird ignoriert..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "Mehrere Roots f\u00FCr ein DOM nicht zul\u00E4ssig."}, - - { ER_ARG_LOCALNAME_NULL, - "Argument \"localName\" ist null"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Localname in QNAME muss ein g\u00FCltiger NCName sein"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "Pr\u00E4fix in QNAME muss ein g\u00FCltiger NCName sein"}, - - { ER_NAME_CANT_START_WITH_COLON, - "Name darf nicht mit einem Doppelpunkt beginnen"}, - - { "BAD_CODE", "Parameter f\u00FCr createMessage war au\u00DFerhalb des g\u00FCltigen Bereichs"}, - { "FORMAT_FAILED", "Ausnahme bei messageFormat-Aufruf ausgel\u00F6st"}, - { "line", "Zeilennummer"}, - { "column","Spaltennummer"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "Serializer-Klasse \"{0}\" implementiert org.xml.sax.ContentHandler nicht."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "Ressource [ {0} ] konnte nicht gefunden werden.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "Ressource [ {0} ] konnte nicht geladen werden: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Puffergr\u00F6\u00DFe <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Ung\u00FCltige UTF-16-Ersetzung festgestellt: {0}?" }, - - {ER_OIERROR, - "I/O-Fehler" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Attribut {0} kann nicht nach untergeordneten Knoten oder vor dem Erstellen eines Elements hinzugef\u00FCgt werden. Attribut wird ignoriert."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "Namespace f\u00FCr Pr\u00E4fix \"{0}\" wurde nicht deklariert." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Attribut \"{0}\" au\u00DFerhalb des Elements." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Namespace-Deklaration {0}={1} au\u00DFerhalb des Elements." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "\"{0}\" konnte nicht geladen werden (CLASSPATH pr\u00FCfen). Die Standardwerte werden verwendet"}, - - { ER_ILLEGAL_CHARACTER, - "Versuch, Zeichen mit Integralwert {0} auszugeben, das nicht in der speziellen Ausgabecodierung von {1} dargestellt wird."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "Property-Datei \"{0}\" konnte f\u00FCr Ausgabemethode \"{1}\" nicht geladen werden (CLASSPATH pr\u00FCfen)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_en.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_en.java deleted file mode 100644 index 78c9b13..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_en.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * $Id: XMLErrorResources_en.java,v 1.2.4.1 2005/09/15 07:45:40 suresh_emailid Exp $ - */ -package com.sun.org.apache.xml.internal.res; - - -/** - * Default implementation of XPATHErrorResources. This is just - * an empty class. - * @xsl.usage advanced - */ -public class XMLErrorResources_en extends XMLErrorResources -{ -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_es.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_es.java deleted file mode 100644 index 4714732..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_es.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_es extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Funci\u00F3n no soportada."}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "No se puede sobrescribir la causa"}, - - { ER_NO_DEFAULT_IMPL, - "No se ha encontrado la implantaci\u00F3n por defecto "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) no est\u00E1 soportado actualmente"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "El desplazamiento es mayor que la ranura"}, - - { ER_COROUTINE_NOT_AVAIL, - "Corrutina no disponible, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager ha recibido la solicitud co_exit()"}, - - { ER_COJOINROUTINESET_FAILED, - "Fallo de co_joinCoroutineSet()"}, - - { ER_COROUTINE_PARAM, - "Error de par\u00E1metro de corrutina ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nINESPERADO: respuestas doTerminate del analizador {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "no se puede realizar un an\u00E1lisis mientras se lleva a cabo otro"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Error: el iterador introducido para el eje {0} no se ha implantado"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Error: el iterador para el eje {0} no se ha implantado "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "La clonaci\u00F3n del iterador no est\u00E1 soportada"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Tipo transversal de eje desconocido: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Traverser de eje no soportado: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "No hay m\u00E1s identificadores de DTM disponibles"}, - - { ER_NOT_SUPPORTED, - "No soportado: {0}"}, - - { ER_NODE_NON_NULL, - "El nodo debe ser no nulo para getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "No se ha podido resolver el nodo en un identificador"}, - - { ER_STARTPARSE_WHILE_PARSING, - "startParse no puede llamarse durante el an\u00E1lisis"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse necesita un SAXParser no nulo"}, - - { ER_COULD_NOT_INIT_PARSER, - "no se ha podido inicializar el analizador con"}, - - { ER_EXCEPTION_CREATING_POOL, - "excepci\u00F3n al crear la nueva instancia para el pool"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "La ruta de acceso contiene una secuencia de escape no v\u00E1lida"}, - - { ER_SCHEME_REQUIRED, - "Se necesita un esquema."}, - - { ER_NO_SCHEME_IN_URI, - "No se ha encontrado un esquema en el URI: {0}"}, - - { ER_NO_SCHEME_INURI, - "No se ha encontrado un esquema en el URI"}, - - { ER_PATH_INVALID_CHAR, - "La ruta de acceso contiene un car\u00E1cter no v\u00E1lido: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "No se puede definir un esquema a partir de una cadena nula"}, - - { ER_SCHEME_NOT_CONFORMANT, - "El esquema no es v\u00E1lido."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "El formato de la direcci\u00F3n de host no es correcto"}, - - { ER_PORT_WHEN_HOST_NULL, - "No se puede definir el puerto si el host es nulo"}, - - { ER_INVALID_PORT, - "N\u00FAmero de puerto no v\u00E1lido"}, - - { ER_FRAG_FOR_GENERIC_URI, - "S\u00F3lo se puede definir el fragmento para un URI gen\u00E9rico"}, - - { ER_FRAG_WHEN_PATH_NULL, - "No se puede definir el fragmento si la ruta de acceso es nula"}, - - { ER_FRAG_INVALID_CHAR, - "El fragmento contiene un car\u00E1cter no v\u00E1lido"}, - - { ER_PARSER_IN_USE, - "El analizador ya se est\u00E1 utilizando"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "No se puede cambiar {0} {1} durante el an\u00E1lisis"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "La autocausalidad no est\u00E1 permitida"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "No se puede especificar la informaci\u00F3n de usuario si no se ha especificado el host"}, - - { ER_NO_PORT_IF_NO_HOST, - "No se puede especificar el puerto si no se ha especificado el host"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "No se puede especificar la cadena de consulta en la ruta de acceso y en la cadena de consulta"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "No se puede especificar el fragmento en la ruta de acceso y en el fragmento"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "No se puede inicializar el URI con par\u00E1metros vac\u00EDos"}, - - { ER_METHOD_NOT_SUPPORTED, - "M\u00E9todo no soportado a\u00FAn "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter no se puede reiniciar actualmente"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader no anterior a la solicitud startParse"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Traverser de eje no soportado: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler se ha creado con un valor de PrintWriter nulo"}, - - { ER_SYSTEMID_UNKNOWN, - "Identificador de Sistema Desconocido"}, - - { ER_LOCATION_UNKNOWN, - "Ubicaci\u00F3n del error desconocida"}, - - { ER_PREFIX_MUST_RESOLVE, - "El prefijo se debe resolver en un espacio de nombres: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() no soportado en XPathContext"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "El atributo child no tiene un documento de propietario."}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "El atributo child no tiene un elemento de documento de propietario."}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Advertencia: no se puede realizar la salida de texto antes del elemento del documento. Ignorando..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "No se puede tener m\u00E1s de una ra\u00EDz en un DOM."}, - - { ER_ARG_LOCALNAME_NULL, - "El argumento 'localName' es nulo"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "El nombre local de QNAME debe ser un NCName v\u00E1lido"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "El prefijo de QNAME debe ser un NCName v\u00E1lido"}, - - { ER_NAME_CANT_START_WITH_COLON, - "El nombre no puede empezar con dos puntos"}, - - { "BAD_CODE", "El par\u00E1metro para crear un mensaje est\u00E1 fuera de los l\u00EDmites"}, - { "FORMAT_FAILED", "Se ha emitido una excepci\u00F3n durante la llamada a messageFormat"}, - { "line", "N\u00BA de L\u00EDnea"}, - { "column","N\u00BA de Columna"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "La clase de serializador ''{0}'' no implanta org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "No se ha encontrado el recurso [ {0} ].\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "No se ha podido cargar el recurso [ {0} ]: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Tama\u00F1o de buffer menor o igual que 0" }, - - {ER_INVALID_UTF16_SURROGATE, - "\u00BFSe ha detectado un sustituto UTF-16 no v\u00E1lido: {0}?" }, - - {ER_OIERROR, - "Error de ES" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "No se puede agregar el atributo {0} despu\u00E9s de nodos secundarios o antes de que se produzca un elemento. Se ignorar\u00E1 el atributo."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "No se ha declarado el espacio de nombres para el prefijo ''{0}''." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "El atributo ''{0}'' est\u00E1 fuera del elemento." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Declaraci\u00F3n del espacio de nombres ''{0}''=''{1}'' fuera del elemento." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "No se ha podido cargar ''{0}'' (compruebe la CLASSPATH), ahora s\u00F3lo se est\u00E1n utilizando los valores por defecto"}, - - { ER_ILLEGAL_CHARACTER, - "Intento de realizar la salida del car\u00E1cter del valor integral {0}, que no est\u00E1 representado en la codificaci\u00F3n de salida de {1}."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "No se ha podido cargar el archivo de propiedades ''{0}'' para el m\u00E9todo de salida ''{1}'' (compruebe la CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_fr.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_fr.java deleted file mode 100644 index 8155bf4..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_fr.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_fr extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Fonction non prise en charge."}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "Impossible de remplacer la cause"}, - - { ER_NO_DEFAULT_IMPL, - "Aucune impl\u00E9mentation par d\u00E9faut trouv\u00E9e "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) n''est actuellement pas pris en charge"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "D\u00E9calage sup\u00E9rieur \u00E0 l'emplacement"}, - - { ER_COROUTINE_NOT_AVAIL, - "Coroutine non disponible, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager a re\u00E7u la demande co_exit()"}, - - { ER_COJOINROUTINESET_FAILED, - "Echec de co_joinCoroutineSet()"}, - - { ER_COROUTINE_PARAM, - "Erreur de param\u00E8tre de coroutine ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nINATTENDU : r\u00E9ponses doTerminate de l''analyseur - {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "impossible d'appeler l'analyse lorsqu'elle est en cours"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Erreur : it\u00E9rateur saisi pour l''axe {0} non impl\u00E9ment\u00E9"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Erreur : it\u00E9rateur pour l''axe {0} non impl\u00E9ment\u00E9 "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Clone d'it\u00E9rateur non pris en charge"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Type de parcours d''axe inconnu : {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Parcours d''axe non pris en charge : {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "Aucun autre ID DTM n'est disponible"}, - - { ER_NOT_SUPPORTED, - "Non pris en charge : {0}"}, - - { ER_NODE_NON_NULL, - "Le noeud doit \u00EAtre non NULL pour getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "Impossible de r\u00E9soudre le noeud sur un descripteur"}, - - { ER_STARTPARSE_WHILE_PARSING, - "impossible d'appeler startParse lorsque l'analyse est en cours"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse n\u00E9cessite un SAXParser non NULL"}, - - { ER_COULD_NOT_INIT_PARSER, - "impossible d'initialiser l'analyseur avec"}, - - { ER_EXCEPTION_CREATING_POOL, - "exception lors de la cr\u00E9ation de l'instance du pool"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "Le chemin d'acc\u00E8s contient une s\u00E9quence d'\u00E9chappement non valide"}, - - { ER_SCHEME_REQUIRED, - "Mod\u00E8le obligatoire."}, - - { ER_NO_SCHEME_IN_URI, - "Mod\u00E8le introuvable dans l''URI: {0}"}, - - { ER_NO_SCHEME_INURI, - "Mod\u00E8le introuvable dans l'URI"}, - - { ER_PATH_INVALID_CHAR, - "Le chemin contient un caract\u00E8re non valide : {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Impossible de d\u00E9finir le mod\u00E8le \u00E0 partir de la cha\u00EEne NULL"}, - - { ER_SCHEME_NOT_CONFORMANT, - "Le mod\u00E8le n'est pas conforme."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "Le format de l'adresse de l'h\u00F4te n'est pas correct"}, - - { ER_PORT_WHEN_HOST_NULL, - "Impossible de d\u00E9finir le port quand l'h\u00F4te est NULL"}, - - { ER_INVALID_PORT, - "Num\u00E9ro de port non valide"}, - - { ER_FRAG_FOR_GENERIC_URI, - "Le fragment ne peut \u00EAtre d\u00E9fini que pour un URI g\u00E9n\u00E9rique"}, - - { ER_FRAG_WHEN_PATH_NULL, - "Impossible de d\u00E9finir le fragment quand le chemin d'acc\u00E8s est NULL"}, - - { ER_FRAG_INVALID_CHAR, - "Le fragment contient un caract\u00E8re non valide"}, - - { ER_PARSER_IN_USE, - "L'analyseur est d\u00E9j\u00E0 utilis\u00E9"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "Impossible de modifier {0} {1} pendant l''analyse"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Causalit\u00E9 circulaire non autoris\u00E9e"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Userinfo peut ne pas \u00EAtre sp\u00E9cifi\u00E9 si l'h\u00F4te ne l'est pas"}, - - { ER_NO_PORT_IF_NO_HOST, - "Le port peut ne pas \u00EAtre sp\u00E9cifi\u00E9 si l'h\u00F4te ne l'est pas"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "La cha\u00EEne de requ\u00EAte ne doit pas figurer dans un chemin et une cha\u00EEne de requ\u00EAte"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Le fragment ne doit pas \u00EAtre indiqu\u00E9 \u00E0 la fois dans le chemin et dans le fragment"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "Impossible d'initialiser l'URI avec des param\u00E8tres vides"}, - - { ER_METHOD_NOT_SUPPORTED, - "La m\u00E9thode n'est pas encore prise en charge "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter ne peut actuellement pas \u00EAtre red\u00E9marr\u00E9"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader pas avant la demande startParse"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Parcours d''axe non pris en charge : {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler cr\u00E9\u00E9 avec PrintWriter NULL."}, - - { ER_SYSTEMID_UNKNOWN, - "ID syst\u00E8me inconnu"}, - - { ER_LOCATION_UNKNOWN, - "Emplacement de l'erreur inconnu"}, - - { ER_PREFIX_MUST_RESOLVE, - "Le pr\u00E9fixe doit \u00EAtre r\u00E9solu en espace de noms : {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() non pris en charge dans XPathContext."}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "L'enfant de l'attribut ne poss\u00E8de pas de document propri\u00E9taire."}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "L'enfant de l'attribut ne poss\u00E8de pas d'\u00E9l\u00E9ment de document propri\u00E9taire."}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Avertissement : impossible de g\u00E9n\u00E9rer une sortie du texte avant l'\u00E9l\u00E9ment de document. Non pris en compte..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "Impossible d'avoir plus d'une racine sur un DOM."}, - - { ER_ARG_LOCALNAME_NULL, - "L'argument \"localName\" est NULL"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Le nom local du QName doit \u00EAtre un NCName valide"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "Le pr\u00E9fixe du QName doit \u00EAtre un NCName valide"}, - - { ER_NAME_CANT_START_WITH_COLON, - "Le nom ne peut pas commencer par deux-points"}, - - { "BAD_CODE", "Le param\u00E8tre createMessage \u00E9tait hors limites"}, - { "FORMAT_FAILED", "Exception g\u00E9n\u00E9r\u00E9e pendant l'appel messageFormat"}, - { "line", "Ligne n\u00B0"}, - { "column","Colonne n\u00B0"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "La classe de serializer ''{0}'' n''impl\u00E9mente pas org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "La ressource [ {0} ] est introuvable.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "La ressource [ {0} ] n''a pas pu charger : {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Taille du tampon <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Substitut UTF-16 non valide d\u00E9tect\u00E9 : {0} ?" }, - - {ER_OIERROR, - "Erreur d'E-S" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Impossible d''ajouter l''attribut {0} apr\u00E8s des noeuds enfant ou avant la production d''un \u00E9l\u00E9ment. L''attribut est ignor\u00E9."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "L''espace de noms du pr\u00E9fixe ''{0}'' n''a pas \u00E9t\u00E9 d\u00E9clar\u00E9." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Attribut ''{0}'' \u00E0 l''ext\u00E9rieur de l''\u00E9l\u00E9ment." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "La d\u00E9claration d''espace de noms ''{0}''=''{1}'' est \u00E0 l''ext\u00E9rieur de l''\u00E9l\u00E9ment." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "Impossible de charger ''{0}'' (v\u00E9rifier CLASSPATH), les valeurs par d\u00E9faut sont donc employ\u00E9es"}, - - { ER_ILLEGAL_CHARACTER, - "Tentative de sortie d''un caract\u00E8re avec une valeur enti\u00E8re {0}, non repr\u00E9sent\u00E9 dans l''encodage de sortie sp\u00E9cifi\u00E9 pour {1}."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "Impossible de charger le fichier de propri\u00E9t\u00E9s ''{0}'' pour la m\u00E9thode de sortie ''{1}'' (v\u00E9rifier CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_it.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_it.java deleted file mode 100644 index a86b206..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_it.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_it extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Funzione non supportata."}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "Impossibile sovrascrivere la causa"}, - - { ER_NO_DEFAULT_IMPL, - "Nessuna implementazione predefinita trovata "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) non supportato al momento"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "Offset pi\u00F9 grande dello slot"}, - - { ER_COROUTINE_NOT_AVAIL, - "Co-routine non disponibile, ID={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager ha ricevuto una richiesta co_exit()"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet() non riuscito"}, - - { ER_COROUTINE_PARAM, - "Errore del parametro di co-routine ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nIMPREVISTO: risposte doTerminate del parser {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "impossibile richiamare parse mentre \u00E8 in corso un'analisi"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Errore: l''iteratore con tipo per l''asse {0} non \u00E8 implementato"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Errore: l''iteratore per l''asse {0} non \u00E8 implementato "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Duplicazione dell'iteratore non supportata"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Tipo di asse trasversale sconosciuto: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Asse trasversale non supportato: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "Non sono disponibili altri ID DTM"}, - - { ER_NOT_SUPPORTED, - "Non supportato: {0}"}, - - { ER_NODE_NON_NULL, - "Il nodo deve essere non nullo per getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "Impossibile risolvere il nodo in un handle"}, - - { ER_STARTPARSE_WHILE_PARSING, - "impossibile richiamare startParse mentre \u00E8 in corso un'analisi"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse richiede un valore non nullo per SAXParser"}, - - { ER_COULD_NOT_INIT_PARSER, - "impossibile inizializzare il parser con"}, - - { ER_EXCEPTION_CREATING_POOL, - "eccezione durante la creazione di una nuova istanza per il pool"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "Il percorso contiene sequenza di escape non valida"}, - - { ER_SCHEME_REQUIRED, - "Lo schema \u00E8 obbligatorio."}, - - { ER_NO_SCHEME_IN_URI, - "Nessuno schema trovato nell''URI: {0}"}, - - { ER_NO_SCHEME_INURI, - "Nessuno schema trovato nell'URI"}, - - { ER_PATH_INVALID_CHAR, - "Il percorso contiene un carattere non valido: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Impossibile impostare lo schema da una stringa nulla"}, - - { ER_SCHEME_NOT_CONFORMANT, - "Lo schema non \u00E8 conforme."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "Host non \u00E8 un indirizzo corretto"}, - - { ER_PORT_WHEN_HOST_NULL, - "La porta non pu\u00F2 essere impostata se l'host \u00E8 nullo"}, - - { ER_INVALID_PORT, - "Numero di porta non valido"}, - - { ER_FRAG_FOR_GENERIC_URI, - "Il frammento pu\u00F2 essere impostato solo per un URI generico"}, - - { ER_FRAG_WHEN_PATH_NULL, - "Il frammento non pu\u00F2 essere impostato se il percorso \u00E8 nullo"}, - - { ER_FRAG_INVALID_CHAR, - "Il frammento contiene un carattere non valido"}, - - { ER_PARSER_IN_USE, - "Parser gi\u00E0 in uso"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "Impossibile modificare {0} {1} durante l''analisi"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Creazione automatica della causa non consentita"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Userinfo non pu\u00F2 essere specificato se l'host non \u00E8 specificato"}, - - { ER_NO_PORT_IF_NO_HOST, - "La porta non pu\u00F2 essere specificata se l'host non \u00E8 specificato"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "La stringa di query non pu\u00F2 essere specificata nella stringa di percorso e query."}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Il frammento non pu\u00F2 essere specificato sia nel percorso che nel frammento"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "Impossibile inizializzare l'URI con i parametri vuoti"}, - - { ER_METHOD_NOT_SUPPORTED, - "Metodo attualmente non supportato "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter attualmente non riavviabile"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader non si trova prima della richiesta startParse"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Asse trasversale non supportato: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler creato con PrintWriter nullo."}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId sconosciuto"}, - - { ER_LOCATION_UNKNOWN, - "Posizione sconosciuta dell'errore"}, - - { ER_PREFIX_MUST_RESOLVE, - "Il prefisso deve essere risolto in uno spazio di nomi: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() non supportato in XPathContext"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "L'elemento figlio dell'attributo non dispone di un documento proprietario."}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "L'elemento figlio dell'attributo non dispone di un elemento di documento proprietario."}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Avvertenza: impossibile creare l'output del testo prima dell'elemento del documento. Operazione ignorata..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "Non possono esistere pi\u00F9 radici in un DOM."}, - - { ER_ARG_LOCALNAME_NULL, - "L'argomento 'localName' \u00E8 nullo"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Localname in QNAME deve essere un NCName valido"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "Il prefisso in QNAME deve essere un NCName valido"}, - - { ER_NAME_CANT_START_WITH_COLON, - "Il nome non pu\u00F2 iniziare con i due punti"}, - - { "BAD_CODE", "Parametro per createMessage fuori limite"}, - { "FORMAT_FAILED", "Eccezione durante la chiamata messageFormat"}, - { "line", "N. riga"}, - { "column","N. colonna"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "La classe serializzatore ''{0}'' non implementa org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "Risorsa [ {0} ] non trovata.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "Impossibile caricare la risorsa [ {0} ]: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Dimensione buffer <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Rilevato surrogato UTF-16 non valido: {0}?" }, - - {ER_OIERROR, - "Errore IO" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Impossibile aggiungere l''attributo {0} dopo i nodi figlio o prima che sia prodotto un elemento. L''attributo verr\u00E0 ignorato."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "Lo spazio di nomi per il prefisso ''{0}'' non \u00E8 stato dichiarato." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Attributo ''{0}'' al di fuori dell''elemento." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Dichiarazione dello spazio di nomi ''{0}''=''{1}'' al di fuori dell''elemento." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "Impossibile caricare ''{0}'' (verificare CLASSPATH); verranno utilizzati i valori predefiniti"}, - - { ER_ILLEGAL_CHARACTER, - "Tentativo di eseguire l''output di un carattere di valore integrale {0} non rappresentato nella codifica di output {1} specificata."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "Impossibile caricare il file delle propriet\u00E0 ''{0}'' per il metodo di emissione ''{1}'' (verificare CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ja.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ja.java deleted file mode 100644 index dfa387b..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ja.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_ja extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "\u95A2\u6570\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "\u539F\u56E0\u3092\u4E0A\u66F8\u304D\u3067\u304D\u307E\u305B\u3093"}, - - { ER_NO_DEFAULT_IMPL, - "\u30C7\u30D5\u30A9\u30EB\u30C8\u5B9F\u88C5\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093 "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0})\u306F\u73FE\u5728\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "\u30AA\u30D5\u30BB\u30C3\u30C8\u304C\u30B9\u30ED\u30C3\u30C8\u3088\u308A\u3082\u5927\u304D\u3044\u3067\u3059"}, - - { ER_COROUTINE_NOT_AVAIL, - "\u30B3\u30EB\u30FC\u30C1\u30F3\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager\u304Cco_exit()\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u53D7\u3051\u53D6\u308A\u307E\u3057\u305F"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet()\u304C\u5931\u6557\u3057\u307E\u3057\u305F"}, - - { ER_COROUTINE_PARAM, - "\u30B3\u30EB\u30FC\u30C1\u30F3\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u306E\u30A8\u30E9\u30FC({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\n\u4E0D\u660E: \u30D1\u30FC\u30B5\u30FCdoTerminate\u306E\u5FDC\u7B54\u306F{0}\u3067\u3059"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "\u89E3\u6790\u306F\u69CB\u6587\u89E3\u6790\u4E2D\u306B\u547C\u3073\u51FA\u3059\u3053\u3068\u304C\u3067\u304D\u307E\u305B\u3093"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\u30A8\u30E9\u30FC: \u8EF8{0}\u306E\u578B\u6307\u5B9A\u3055\u308C\u305F\u30A4\u30C6\u30EC\u30FC\u30BF\u304C\u5B9F\u88C5\u3055\u308C\u3066\u3044\u307E\u305B\u3093"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\u30A8\u30E9\u30FC: \u8EF8{0}\u306E\u30A4\u30C6\u30EC\u30FC\u30BF\u304C\u5B9F\u88C5\u3055\u308C\u3066\u3044\u307E\u305B\u3093 "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "\u30A4\u30C6\u30EC\u30FC\u30BF\u306E\u30AF\u30ED\u30FC\u30F3\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093"}, - - { ER_UNKNOWN_AXIS_TYPE, - "\u4E0D\u660E\u306A\u8EF8\u30C8\u30E9\u30D0\u30FC\u30B9\u30FB\u30BF\u30A4\u30D7\u3067\u3059: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "\u8EF8\u30C8\u30E9\u30D0\u30FC\u30B5\u6A5F\u80FD\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "DTM ID\u306F\u3053\u308C\u4EE5\u4E0A\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093"}, - - { ER_NOT_SUPPORTED, - "\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093: {0}"}, - - { ER_NODE_NON_NULL, - "\u30CE\u30FC\u30C9\u306FgetDTMHandleFromNode\u306B\u3064\u3044\u3066\u975Enull\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "\u30CE\u30FC\u30C9\u3092\u30CF\u30F3\u30C9\u30EB\u306B\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F"}, - - { ER_STARTPARSE_WHILE_PARSING, - "startParse\u306F\u69CB\u6587\u89E3\u6790\u4E2D\u306B\u547C\u3073\u51FA\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse\u306B\u306F\u975Enull\u306ESAXParser\u304C\u5FC5\u8981\u3067\u3059"}, - - { ER_COULD_NOT_INIT_PARSER, - "\u6B21\u306E\u7406\u7531\u3067\u30D1\u30FC\u30B5\u30FC\u3092\u521D\u671F\u5316\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: "}, - - { ER_EXCEPTION_CREATING_POOL, - "\u30D7\u30FC\u30EB\u7528\u306E\u65B0\u898F\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u4F5C\u6210\u4E2D\u306B\u767A\u751F\u3057\u305F\u4F8B\u5916"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "\u30D1\u30B9\u306B\u7121\u52B9\u306A\u30A8\u30B9\u30B1\u30FC\u30D7\u30FB\u30B7\u30FC\u30B1\u30F3\u30B9\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059"}, - - { ER_SCHEME_REQUIRED, - "\u30B9\u30AD\u30FC\u30E0\u304C\u5FC5\u8981\u3067\u3059\u3002"}, - - { ER_NO_SCHEME_IN_URI, - "\u30B9\u30AD\u30FC\u30E0\u304CURI\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093: {0}"}, - - { ER_NO_SCHEME_INURI, - "\u30B9\u30AD\u30FC\u30E0\u304CURI\u306B\u898B\u3064\u304B\u308A\u307E\u305B\u3093"}, - - { ER_PATH_INVALID_CHAR, - "\u30D1\u30B9\u306B\u7121\u52B9\u306A\u6587\u5B57\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "null\u6587\u5B57\u5217\u304B\u3089\u306F\u30B9\u30AD\u30FC\u30E0\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093"}, - - { ER_SCHEME_NOT_CONFORMANT, - "\u30B9\u30AD\u30FC\u30E0\u304C\u6574\u5408\u3057\u3066\u3044\u307E\u305B\u3093\u3002"}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "\u30DB\u30B9\u30C8\u306F\u6574\u5F62\u5F0F\u306E\u30A2\u30C9\u30EC\u30B9\u3067\u306F\u3042\u308A\u307E\u305B\u3093"}, - - { ER_PORT_WHEN_HOST_NULL, - "\u30DB\u30B9\u30C8\u304Cnull\u306E\u5834\u5408\u306F\u30DD\u30FC\u30C8\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093"}, - - { ER_INVALID_PORT, - "\u7121\u52B9\u306A\u30DD\u30FC\u30C8\u756A\u53F7"}, - - { ER_FRAG_FOR_GENERIC_URI, - "\u6C4E\u7528URI\u306E\u30D5\u30E9\u30B0\u30E1\u30F3\u30C8\u306E\u307F\u8A2D\u5B9A\u3067\u304D\u307E\u3059"}, - - { ER_FRAG_WHEN_PATH_NULL, - "\u30D1\u30B9\u304Cnull\u306E\u5834\u5408\u306F\u30D5\u30E9\u30B0\u30E1\u30F3\u30C8\u3092\u8A2D\u5B9A\u3067\u304D\u307E\u305B\u3093"}, - - { ER_FRAG_INVALID_CHAR, - "\u30D5\u30E9\u30B0\u30E1\u30F3\u30C8\u306B\u7121\u52B9\u6587\u5B57\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u3059"}, - - { ER_PARSER_IN_USE, - "\u30D1\u30FC\u30B5\u30FC\u306F\u3059\u3067\u306B\u4F7F\u7528\u4E2D\u3067\u3059"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "\u89E3\u6790\u4E2D\u306B{0} {1}\u3092\u5909\u66F4\u3067\u304D\u307E\u305B\u3093"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "\u81EA\u5DF1\u539F\u56E0\u306F\u8A31\u53EF\u3055\u308C\u307E\u305B\u3093"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "\u30DB\u30B9\u30C8\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u306FUserinfo\u3092\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093"}, - - { ER_NO_PORT_IF_NO_HOST, - "\u30DB\u30B9\u30C8\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u306F\u30DD\u30FC\u30C8\u3092\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "\u554F\u5408\u305B\u6587\u5B57\u5217\u306F\u30D1\u30B9\u304A\u3088\u3073\u554F\u5408\u305B\u6587\u5B57\u5217\u5185\u306B\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "\u30D5\u30E9\u30B0\u30E1\u30F3\u30C8\u306F\u30D1\u30B9\u3068\u30D5\u30E9\u30B0\u30E1\u30F3\u30C8\u306E\u4E21\u65B9\u306B\u6307\u5B9A\u3067\u304D\u307E\u305B\u3093"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "URI\u306F\u7A7A\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u3092\u4F7F\u7528\u3057\u3066\u521D\u671F\u5316\u3067\u304D\u307E\u305B\u3093"}, - - { ER_METHOD_NOT_SUPPORTED, - "\u30E1\u30BD\u30C3\u30C9\u306F\u307E\u3060\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093 "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter\u306F\u73FE\u5728\u306F\u518D\u8D77\u52D5\u53EF\u80FD\u3067\u306F\u3042\u308A\u307E\u305B\u3093"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader\u306FstartParse\u30EA\u30AF\u30A8\u30B9\u30C8\u3088\u308A\u524D\u306B\u3067\u304D\u307E\u305B\u3093"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "\u8EF8\u30C8\u30E9\u30D0\u30FC\u30B5\u6A5F\u80FD\u306F\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "null PrintWriter\u306B\u3088\u3063\u3066ListingErrorHandler\u304C\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F\u3002"}, - - { ER_SYSTEMID_UNKNOWN, - "\u4E0D\u660E\u306ASystemId"}, - - { ER_LOCATION_UNKNOWN, - "\u30A8\u30E9\u30FC\u306E\u5834\u6240\u304C\u4E0D\u660E\u3067\u3059"}, - - { ER_PREFIX_MUST_RESOLVE, - "\u63A5\u982D\u8F9E\u306F\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u306B\u89E3\u6C7A\u3055\u308C\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument()\u306FXPathContext\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "\u5C5E\u6027\u306E\u5B50\u306B\u6240\u6709\u8005\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u304C\u3042\u308A\u307E\u305B\u3093\u3002"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "\u5C5E\u6027\u306E\u5B50\u306B\u6240\u6709\u8005\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u8981\u7D20\u304C\u3042\u308A\u307E\u305B\u3093\u3002"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "\u8B66\u544A: \u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u8981\u7D20\u306E\u524D\u306B\u30C6\u30AD\u30B9\u30C8\u3092\u51FA\u529B\u3067\u304D\u307E\u305B\u3093\u3002 \u7121\u8996\u3057\u307E\u3059..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "DOM\u306B\u8907\u6570\u306E\u30EB\u30FC\u30C8\u3092\u6301\u3064\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002"}, - - { ER_ARG_LOCALNAME_NULL, - "\u5F15\u6570'localName'\u306Fnull\u3067\u3059"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "QNAME\u306ELocalname\u306F\u6709\u52B9\u306ANCName\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "QNAME\u306E\u63A5\u982D\u8F9E\u306F\u6709\u52B9\u306ANCName\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059"}, - - { ER_NAME_CANT_START_WITH_COLON, - "\u540D\u524D\u306E\u5148\u982D\u3092\u30B3\u30ED\u30F3\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"}, - - { "BAD_CODE", "createMessage\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u7BC4\u56F2\u5916\u3067\u3059"}, - { "FORMAT_FAILED", "messageFormat\u306E\u547C\u51FA\u3057\u4E2D\u306B\u4F8B\u5916\u304C\u30B9\u30ED\u30FC\u3055\u308C\u307E\u3057\u305F"}, - { "line", "\u884C\u756A\u53F7"}, - { "column","\u5217\u756A\u53F7"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "\u30B7\u30EA\u30A2\u30E9\u30A4\u30B6\u30FB\u30AF\u30E9\u30B9''{0}''\u306Forg.xml.sax.ContentHandler\u3092\u5B9F\u88C5\u3057\u307E\u305B\u3093\u3002"}, - - {ER_RESOURCE_COULD_NOT_FIND, - "\u30EA\u30BD\u30FC\u30B9[ {0} ]\u306F\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "\u30EA\u30BD\u30FC\u30B9[ {0} ]\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "\u30D0\u30C3\u30D5\u30A1\u30FB\u30B5\u30A4\u30BA<=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "\u7121\u52B9\u306AUTF-16\u30B5\u30ED\u30B2\u30FC\u30C8\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F: {0}\u3002" }, - - {ER_OIERROR, - "IO\u30A8\u30E9\u30FC" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "\u5B50\u30CE\u30FC\u30C9\u306E\u5F8C\u307E\u305F\u306F\u8981\u7D20\u304C\u751F\u6210\u3055\u308C\u308B\u524D\u306B\u5C5E\u6027{0}\u3092\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3002\u5C5E\u6027\u306F\u7121\u8996\u3055\u308C\u307E\u3059\u3002"}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "\u63A5\u982D\u8F9E''{0}''\u306E\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u304C\u5BA3\u8A00\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002" }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "\u5C5E\u6027''{0}''\u304C\u8981\u7D20\u306E\u5916\u5074\u306B\u3042\u308A\u307E\u3059\u3002" }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "\u30CD\u30FC\u30E0\u30B9\u30DA\u30FC\u30B9\u5BA3\u8A00''{0}''=''{1}''\u304C\u8981\u7D20\u306E\u5916\u5074\u306B\u3042\u308A\u307E\u3059\u3002" }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "''{0}''\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F(CLASSPATH\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044)\u3002\u73FE\u5728\u306F\u5358\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u4F7F\u7528\u3057\u3066\u3044\u307E\u3059"}, - - { ER_ILLEGAL_CHARACTER, - "{1}\u306E\u6307\u5B9A\u3055\u308C\u305F\u51FA\u529B\u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u3067\u793A\u3055\u308C\u306A\u3044\u6574\u6570\u5024{0}\u306E\u6587\u5B57\u3092\u51FA\u529B\u3057\u3088\u3046\u3068\u3057\u307E\u3057\u305F\u3002"}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "\u51FA\u529B\u30E1\u30BD\u30C3\u30C9''{1}''\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30D5\u30A1\u30A4\u30EB''{0}''\u3092\u30ED\u30FC\u30C9\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F(CLASSPATH\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ko.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ko.java deleted file mode 100644 index 4936488..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_ko.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_ko extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "\uD568\uC218\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "\uC6D0\uC778\uC744 \uACB9\uCCD0 \uC4F8 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_NO_DEFAULT_IMPL, - "\uAE30\uBCF8 \uAD6C\uD604\uC744 \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0})\uB294 \uD604\uC7AC \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "\uC624\uD504\uC14B\uC774 \uC2AC\uB86F\uBCF4\uB2E4 \uD07D\uB2C8\uB2E4."}, - - { ER_COROUTINE_NOT_AVAIL, - "Coroutine\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. ID={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager\uAC00 co_exit() \uC694\uCCAD\uC744 \uC218\uC2E0\uD588\uC2B5\uB2C8\uB2E4."}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet()\uB97C \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4."}, - - { ER_COROUTINE_PARAM, - "Coroutine \uB9E4\uAC1C\uBCC0\uC218 \uC624\uB958({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\n\uC608\uC0C1\uCE58 \uC54A\uC740 \uC624\uB958: \uAD6C\uBB38 \uBD84\uC11D\uAE30 doTerminate\uAC00 {0}\uC5D0 \uC751\uB2F5\uD569\uB2C8\uB2E4."}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "\uAD6C\uBB38 \uBD84\uC11D \uC911 parse\uB97C \uD638\uCD9C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\uC624\uB958: {0} \uCD95\uC5D0 \uB300\uD574 \uC785\uB825\uB41C \uC774\uD130\uB808\uC774\uD130\uAC00 \uAD6C\uD604\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\uC624\uB958: {0} \uCD95\uC5D0 \uB300\uD55C \uC774\uD130\uB808\uC774\uD130\uAC00 \uAD6C\uD604\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "\uC774\uD130\uB808\uC774\uD130 \uBCF5\uC81C\uB294 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."}, - - { ER_UNKNOWN_AXIS_TYPE, - "\uC54C \uC218 \uC5C6\uB294 \uCD95 \uC21C\uD68C \uC720\uD615: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "\uCD95 \uC21C\uD658\uAE30\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC74C: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "\uB354 \uC774\uC0C1 \uC0AC\uC6A9 \uAC00\uB2A5\uD55C DTM ID\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_NOT_SUPPORTED, - "\uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC74C: {0}"}, - - { ER_NODE_NON_NULL, - "\uB178\uB4DC\uB294 getDTMHandleFromNode\uC5D0 \uB300\uD574 \uB110\uC774 \uC544\uB2C8\uC5B4\uC57C \uD569\uB2C8\uB2E4."}, - - { ER_COULD_NOT_RESOLVE_NODE, - "\uB178\uB4DC\uB97C \uD578\uB4E4\uB85C \uBD84\uC11D\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_STARTPARSE_WHILE_PARSING, - "\uAD6C\uBB38 \uBD84\uC11D \uC911 startParse\uB97C \uD638\uCD9C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse\uC5D0\uB294 \uB110\uC774 \uC544\uB2CC SAXParser\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4."}, - - { ER_COULD_NOT_INIT_PARSER, - "\uAD6C\uBB38 \uBD84\uC11D\uAE30\uB97C \uCD08\uAE30\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_EXCEPTION_CREATING_POOL, - "\uD480\uC5D0 \uB300\uD55C \uC0C8 \uC778\uC2A4\uD134\uC2A4\uB97C \uC0DD\uC131\uD558\uB294 \uC911 \uC608\uC678\uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "\uACBD\uB85C\uC5D0 \uBD80\uC801\uD569\uD55C \uC774\uC2A4\uCF00\uC774\uD504 \uC2DC\uD000\uC2A4\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."}, - - { ER_SCHEME_REQUIRED, - "\uCCB4\uACC4\uAC00 \uD544\uC694\uD569\uB2C8\uB2E4!"}, - - { ER_NO_SCHEME_IN_URI, - "URI\uC5D0\uC11C \uCCB4\uACC4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC74C: {0}"}, - - { ER_NO_SCHEME_INURI, - "URI\uC5D0\uC11C \uCCB4\uACC4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_PATH_INVALID_CHAR, - "\uACBD\uB85C\uC5D0 \uBD80\uC801\uD569\uD55C \uBB38\uC790\uAC00 \uD3EC\uD568\uB428: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "\uB110 \uBB38\uC790\uC5F4\uC5D0\uC11C \uCCB4\uACC4\uB97C \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_SCHEME_NOT_CONFORMANT, - "\uCCB4\uACC4\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "\uD638\uC2A4\uD2B8\uAC00 \uC644\uC804\uD55C \uC8FC\uC18C\uAC00 \uC544\uB2D9\uB2C8\uB2E4."}, - - { ER_PORT_WHEN_HOST_NULL, - "\uD638\uC2A4\uD2B8\uAC00 \uB110\uC77C \uACBD\uC6B0 \uD3EC\uD2B8\uB97C \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_INVALID_PORT, - "\uD3EC\uD2B8 \uBC88\uD638\uAC00 \uBD80\uC801\uD569\uD569\uB2C8\uB2E4."}, - - { ER_FRAG_FOR_GENERIC_URI, - "\uC77C\uBC18 URI\uC5D0 \uB300\uD574\uC11C\uB9CC \uBD80\uBD84\uC744 \uC124\uC815\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."}, - - { ER_FRAG_WHEN_PATH_NULL, - "\uACBD\uB85C\uAC00 \uB110\uC77C \uACBD\uC6B0 \uBD80\uBD84\uC744 \uC124\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_FRAG_INVALID_CHAR, - "\uBD80\uBD84\uC5D0 \uBD80\uC801\uD569\uD55C \uBB38\uC790\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4."}, - - { ER_PARSER_IN_USE, - "\uAD6C\uBB38 \uBD84\uC11D\uAE30\uAC00 \uC774\uBBF8 \uC0AC\uC6A9\uB418\uACE0 \uC788\uC2B5\uB2C8\uB2E4."}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "\uAD6C\uBB38 \uBD84\uC11D \uC911 {0} {1}\uC744(\uB97C) \uBCC0\uACBD\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "\uC790\uCCB4 \uC778\uACFC \uAD00\uACC4\uB294 \uD5C8\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."}, - - { ER_NO_USERINFO_IF_NO_HOST, - "\uD638\uC2A4\uD2B8\uB97C \uC9C0\uC815\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0\uC5D0\uB294 Userinfo\uB97C \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_NO_PORT_IF_NO_HOST, - "\uD638\uC2A4\uD2B8\uB97C \uC9C0\uC815\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0\uC5D0\uB294 \uD3EC\uD2B8\uB97C \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_NO_QUERY_STRING_IN_PATH, - "\uACBD\uB85C \uBC0F \uC9C8\uC758 \uBB38\uC790\uC5F4\uC5D0 \uC9C8\uC758 \uBB38\uC790\uC5F4\uC744 \uC9C0\uC815\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "\uACBD\uB85C\uC640 \uBD80\uBD84\uC5D0 \uBAA8\uB450 \uBD80\uBD84\uC744 \uC9C0\uC815\uD560 \uC218\uB294 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "\uBE48 \uB9E4\uAC1C\uBCC0\uC218\uB85C URI\uB97C \uCD08\uAE30\uD654\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_METHOD_NOT_SUPPORTED, - "\uBA54\uC18C\uB4DC\uAC00 \uC544\uC9C1 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "\uD604\uC7AC IncrementalSAXSource_Filter\uB97C \uC7AC\uC2DC\uC791\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "startParse \uC694\uCCAD \uC804\uC5D0 XMLReader\uAC00 \uC2E4\uD589\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "\uCD95 \uC21C\uD658\uAE30\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC74C: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "\uB110 PrintWriter\uB85C ListingErrorHandler\uAC00 \uC0DD\uC131\uB418\uC5C8\uC2B5\uB2C8\uB2E4!"}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId\uB97C \uC54C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_LOCATION_UNKNOWN, - "\uC624\uB958 \uC704\uCE58\uB97C \uC54C \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { ER_PREFIX_MUST_RESOLVE, - "\uC811\uB450\uC5B4\uB294 \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uB85C \uBD84\uC11D\uB418\uC5B4\uC57C \uD568: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "XPathContext\uC5D0\uC11C\uB294 createDocument()\uAC00 \uC9C0\uC6D0\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "\uC18D\uC131 \uD558\uC704\uC5D0 \uC18C\uC720\uC790 \uBB38\uC11C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "\uC18D\uC131 \uD558\uC704\uC5D0 \uC18C\uC720\uC790 \uBB38\uC11C \uC694\uC18C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "\uACBD\uACE0: \uBB38\uC11C \uC694\uC18C \uC55E\uC5D0 \uD14D\uC2A4\uD2B8\uB97C \uCD9C\uB825\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4! \uBB34\uC2DC\uD558\uB294 \uC911..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "DOM\uC5D0\uC11C \uB8E8\uD2B8\uB97C \uB450 \uAC1C \uC774\uC0C1 \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4!"}, - - { ER_ARG_LOCALNAME_NULL, - "'localName' \uC778\uC218\uAC00 \uB110\uC785\uB2C8\uB2E4."}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "QNAME\uC758 Localname\uC740 \uC801\uD569\uD55C NCName\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4."}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "QNAME\uC758 \uC811\uB450\uC5B4\uB294 \uC801\uD569\uD55C NCName\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4."}, - - { ER_NAME_CANT_START_WITH_COLON, - "\uC774\uB984\uC740 \uCF5C\uB860\uC73C\uB85C \uC2DC\uC791\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."}, - - { "BAD_CODE", "createMessage\uC5D0 \uB300\uD55C \uB9E4\uAC1C\uBCC0\uC218\uAC00 \uBC94\uC704\uB97C \uBC97\uC5B4\uB0AC\uC2B5\uB2C8\uB2E4."}, - { "FORMAT_FAILED", "messageFormat \uD638\uCD9C \uC911 \uC608\uC678\uC0AC\uD56D\uC774 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4."}, - { "line", "\uD589 \uBC88\uD638"}, - { "column","\uC5F4 \uBC88\uD638"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "Serializer \uD074\uB798\uC2A4 ''{0}''\uC774(\uAC00) org.xml.sax.ContentHandler\uB97C \uAD6C\uD604\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "[{0}] \uB9AC\uC18C\uC2A4\uB97C \uCC3E\uC744 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "[{0}] \uB9AC\uC18C\uC2A4\uAC00 \uB2E4\uC74C\uC744 \uB85C\uB4DC\uD560 \uC218 \uC5C6\uC74C: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "\uBC84\uD37C \uD06C\uAE30 <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "\uBD80\uC801\uD569\uD55C UTF-16 \uB300\uB9AC \uC694\uC18C\uAC00 \uAC10\uC9C0\uB428: {0}" }, - - {ER_OIERROR, - "IO \uC624\uB958" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "\uD558\uC704 \uB178\uB4DC\uAC00 \uC0DD\uC131\uB41C \uD6C4 \uB610\uB294 \uC694\uC18C\uAC00 \uC0DD\uC131\uB418\uAE30 \uC804\uC5D0 {0} \uC18D\uC131\uC744 \uCD94\uAC00\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uC18D\uC131\uC774 \uBB34\uC2DC\uB429\uB2C8\uB2E4."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "''{0}'' \uC811\uB450\uC5B4\uC5D0 \uB300\uD55C \uB124\uC784\uC2A4\uD398\uC774\uC2A4\uAC00 \uC120\uC5B8\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "''{0}'' \uC18D\uC131\uC774 \uC694\uC18C\uC5D0 \uD3EC\uD568\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "\uB124\uC784\uC2A4\uD398\uC774\uC2A4 \uC120\uC5B8 ''{0}''=''{1}''\uC774(\uAC00) \uC694\uC18C\uC5D0 \uD3EC\uD568\uB418\uC5B4 \uC788\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "{0}\uC744(\uB97C) \uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. CLASSPATH\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624. \uD604\uC7AC \uAE30\uBCF8\uAC12\uB9CC \uC0AC\uC6A9\uD558\uB294 \uC911\uC785\uB2C8\uB2E4."}, - - { ER_ILLEGAL_CHARACTER, - "{1}\uC758 \uC9C0\uC815\uB41C \uCD9C\uB825 \uC778\uCF54\uB529\uC5D0\uC11C \uD45C\uC2DC\uB418\uC9C0 \uC54A\uB294 \uC815\uC218 \uAC12 {0}\uC758 \uBB38\uC790\uB97C \uCD9C\uB825\uD558\uB824\uACE0 \uC2DC\uB3C4\uD588\uC2B5\uB2C8\uB2E4."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "\uCD9C\uB825 \uBA54\uC18C\uB4DC ''{1}''\uC5D0 \uB300\uD55C \uC18D\uC131 \uD30C\uC77C ''{0}''\uC744(\uB97C) \uB85C\uB4DC\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. CLASSPATH\uB97C \uD655\uC778\uD558\uC2ED\uC2DC\uC624." } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_pt_BR.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_pt_BR.java deleted file mode 100644 index 814b19c..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_pt_BR.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_pt_BR extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Fun\u00E7\u00E3o n\u00E3o suportada!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "N\u00E3o \u00E9 poss\u00EDvel substituir a causa"}, - - { ER_NO_DEFAULT_IMPL, - "Nenhuma implementa\u00E7\u00E3o padr\u00E3o encontrada "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) n\u00E3o suportado atualmente"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "Deslocamento maior que o slot"}, - - { ER_COROUTINE_NOT_AVAIL, - "Co-rotina n\u00E3o dispon\u00EDvel, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager recebeu a solicita\u00E7\u00E3o co_exit()"}, - - { ER_COJOINROUTINESET_FAILED, - "Falha em co_joinCoroutineSet()"}, - - { ER_COROUTINE_PARAM, - "Erro no par\u00E2metro da co-rotina ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nINESPERADO: Parser doTerminate responde {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "o parsing n\u00E3o pode ser chamado durante o parsing"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Erro: iterador digitado para o eixo {0} n\u00E3o implementado"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Erro: iterador para o eixo {0} n\u00E3o implementado "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "clonagem do iterador n\u00E3o suportada"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Tipo transversal de eixo desconhecido: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Transversor de eixo n\u00E3o suportado: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "N\u00E3o h\u00E1 mais IDs de DTM dispon\u00EDveis"}, - - { ER_NOT_SUPPORTED, - "N\u00E3o suportado: {0}"}, - - { ER_NODE_NON_NULL, - "O n\u00F3 deve ser n\u00E3o-nulo para getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "N\u00E3o foi poss\u00EDvel resolver o n\u00F3 para um handle"}, - - { ER_STARTPARSE_WHILE_PARSING, - "startParse n\u00E3o pode ser chamado durante o parsing"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse requer um SAXParser n\u00E3o nulo"}, - - { ER_COULD_NOT_INIT_PARSER, - "n\u00E3o foi poss\u00EDvel inicializar o parser com"}, - - { ER_EXCEPTION_CREATING_POOL, - "exce\u00E7\u00E3o ao criar a nova inst\u00E2ncia do pool"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "O caminho cont\u00E9m uma sequ\u00EAncia inv\u00E1lida de caracteres de escape"}, - - { ER_SCHEME_REQUIRED, - "O esquema \u00E9 obrigat\u00F3rio!"}, - - { ER_NO_SCHEME_IN_URI, - "Nenhum esquema encontrado no URI: {0}"}, - - { ER_NO_SCHEME_INURI, - "Nenhum esquema encontrado no URI"}, - - { ER_PATH_INVALID_CHAR, - "O caminho cont\u00E9m um caractere inv\u00E1lido: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "N\u00E3o \u00E9 poss\u00EDvel definir o esquema de uma string nula"}, - - { ER_SCHEME_NOT_CONFORMANT, - "O esquema n\u00E3o \u00E9 compat\u00EDvel."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "O host n\u00E3o \u00E9 um endere\u00E7o correto"}, - - { ER_PORT_WHEN_HOST_NULL, - "A porta n\u00E3o pode ser definida quando o host \u00E9 nulo"}, - - { ER_INVALID_PORT, - "N\u00FAmero de porta inv\u00E1lido"}, - - { ER_FRAG_FOR_GENERIC_URI, - "O fragmento s\u00F3 pode ser definido para um URI gen\u00E9rico"}, - - { ER_FRAG_WHEN_PATH_NULL, - "O fragmento n\u00E3o pode ser definido quando o caminho \u00E9 nulo"}, - - { ER_FRAG_INVALID_CHAR, - "O fragmento cont\u00E9m um caractere inv\u00E1lido"}, - - { ER_PARSER_IN_USE, - "O parser j\u00E1 est\u00E1 sendo usado"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "N\u00E3o \u00E9 poss\u00EDvel alterar {0} {1} durante o parsing"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Autoaverigua\u00E7\u00E3o n\u00E3o permitida"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "As informa\u00E7\u00F5es do usu\u00E1rio n\u00E3o podem ser especificadas se o host n\u00E3o tiver sido especificado"}, - - { ER_NO_PORT_IF_NO_HOST, - "A porta n\u00E3o pode ser especificada se o host n\u00E3o tiver sido especificado"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "A string de consulta n\u00E3o pode ser especificada no caminho nem na string de consulta"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "O fragmento n\u00E3o pode ser especificado no caminho nem no fragmento"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "N\u00E3o \u00E9 poss\u00EDvel inicializar o URI com par\u00E2metros vazios"}, - - { ER_METHOD_NOT_SUPPORTED, - "M\u00E9todo ainda n\u00E3o suportado "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter atualmente n\u00E3o reinicializ\u00E1vel"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader n\u00E3o anterior \u00E0 solicita\u00E7\u00E3o de startParse"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Transversor de eixo n\u00E3o suportado: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler criado com PrintWriter nulo!"}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId Desconhecido"}, - - { ER_LOCATION_UNKNOWN, - "Localiza\u00E7\u00E3o de erro desconhecida"}, - - { ER_PREFIX_MUST_RESOLVE, - "O prefixo deve ser resolvido para um namespace: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() n\u00E3o suportado no XPathContext!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "O filho do atributo n\u00E3o tem um documento do propriet\u00E1rio!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "O filho do atributo n\u00E3o tem um elemento do documento do propriet\u00E1rio!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Advert\u00EAncia: n\u00E3o pode haver texto antes do elemento do documento! Ignorando..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "N\u00E3o pode ter mais de uma raiz em um DOM!"}, - - { ER_ARG_LOCALNAME_NULL, - "O argumento 'localName' \u00E9 nulo"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Localname em QNAME deve ser um NCName v\u00E1lido"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "O prefixo em QNAME deve ser um NCName v\u00E1lido"}, - - { ER_NAME_CANT_START_WITH_COLON, - "O nome n\u00E3o pode come\u00E7ar com dois pontos"}, - - { "BAD_CODE", "O par\u00E2metro para createMessage estava fora dos limites"}, - { "FORMAT_FAILED", "Exce\u00E7\u00E3o gerada durante a chamada messageFormat"}, - { "line", "N\u00B0 da Linha"}, - { "column","N\u00B0 da Coluna"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "A classe ''{0}'' do serializador n\u00E3o implementa org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "N\u00E3o foi poss\u00EDvel encontrar o recurso [ {0} ].\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "O recurso [ {0} ] n\u00E3o foi carregado: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Tamanho do buffer <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Foi detectado um substituto de UTF-16 inv\u00E1lido: {0} ?" }, - - {ER_OIERROR, - "Erro de E/S" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "N\u00E3o \u00E9 poss\u00EDvel adicionar o atributo {0} depois dos n\u00F3s filhos ou antes que um elemento seja produzido. O atributo ser\u00E1 ignorado."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "O namespace do prefixo ''{0}'' n\u00E3o foi declarado." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Atributo ''{0}'' fora do elemento." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Declara\u00E7\u00E3o de namespace ''{0}''=''{1}'' fora do elemento." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "N\u00E3o foi poss\u00EDvel carregar ''{0}'' (verificar CLASSPATH); usando agora apenas os padr\u00F5es"}, - - { ER_ILLEGAL_CHARACTER, - "Tentativa de exibir um caractere de valor integral {0} que n\u00E3o est\u00E1 representado na codifica\u00E7\u00E3o de sa\u00EDda especificada de {1}."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "N\u00E3o foi poss\u00EDvel carregar o arquivo de propriedade ''{0}'' para o m\u00E9todo de sa\u00EDda ''{1}'' (verificar CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sk.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sk.java deleted file mode 100644 index 1e4b293..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sk.java +++ /dev/null @@ -1,443 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * $Id: XMLErrorResources_sk.java,v 1.1.6.2 2005/09/15 07:45:45 suresh_emailid Exp $ - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_sk extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - private static final Object[][] _contents = new Object[][] { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Funkcia nie je podporovan\u00e1!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "Nie je mo\u017en\u00e9 prep\u00edsa\u0165 pr\u00ed\u010dinu"}, - - { ER_NO_DEFAULT_IMPL, - "Nebola n\u00e1jden\u00e1 \u017eiadna predvolen\u00e1 implement\u00e1cia "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) nie je moment\u00e1lne podporovan\u00fd"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "Offset v\u00e4\u010d\u0161\u00ed, ne\u017e z\u00e1suvka"}, - - { ER_COROUTINE_NOT_AVAIL, - "Korutina nie je dostupn\u00e1, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager obdr\u017eal po\u017eiadavku co_exit()"}, - - { ER_COJOINROUTINESET_FAILED, - "zlyhal co_joinCoroutineSet()"}, - - { ER_COROUTINE_PARAM, - "Chyba parametra korutiny ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nNEO\u010cAK\u00c1VAN\u00c9: Analyz\u00e1tor doTerminate odpoved\u00e1 {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "syntaktick\u00fd analyz\u00e1tor nem\u00f4\u017ee by\u0165 volan\u00fd po\u010das vykon\u00e1vania anal\u00fdzy"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Chyba: nap\u00edsan\u00fd iter\u00e1tor pre os {0} nie je implementovan\u00fd"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Chyba: iter\u00e1tor pre os {0} nie je implementovan\u00fd "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Klon iter\u00e1tora nie je podporovan\u00fd"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Nezn\u00e1my typ pret\u00ednania os\u00ed: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Pret\u00ednanie os\u00ed nie je podporovan\u00e9: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "\u017diadne \u010fal\u0161ie DTM ID nie s\u00fa dostupn\u00e9"}, - - { ER_NOT_SUPPORTED, - "Nie je podporovan\u00e9: {0}"}, - - { ER_NODE_NON_NULL, - "Pre getDTMHandleFromNode mus\u00ed by\u0165 uzol nenulov\u00fd"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "Nebolo mo\u017en\u00e9 ur\u010di\u0165 uzol na spracovanie"}, - - { ER_STARTPARSE_WHILE_PARSING, - "startParse nem\u00f4\u017ee by\u0165 volan\u00fd po\u010das vykon\u00e1vania anal\u00fdzy"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse potrebuje nenulov\u00fd SAXParser"}, - - { ER_COULD_NOT_INIT_PARSER, - "nebolo mo\u017en\u00e9 inicializova\u0165 syntaktick\u00fd analyz\u00e1tor pomocou"}, - - { ER_EXCEPTION_CREATING_POOL, - "v\u00fdnimka vytv\u00e1rania novej in\u0161tancie oblasti"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "Cesta obsahuje neplatn\u00fa \u00fanikov\u00fa sekvenciu"}, - - { ER_SCHEME_REQUIRED, - "Je po\u017eadovan\u00e1 sch\u00e9ma!"}, - - { ER_NO_SCHEME_IN_URI, - "V URI sa nena\u0161la \u017eiadna sch\u00e9ma: {0}"}, - - { ER_NO_SCHEME_INURI, - "V URI nebola n\u00e1jden\u00e1 \u017eiadna sch\u00e9ma"}, - - { ER_PATH_INVALID_CHAR, - "Cesta obsahuje neplatn\u00fd znak: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Nie je mo\u017en\u00e9 stanovi\u0165 sch\u00e9mu z nulov\u00e9ho re\u0165azca"}, - - { ER_SCHEME_NOT_CONFORMANT, - "Nezhodn\u00e1 sch\u00e9ma."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "Hostite\u013e nie je spr\u00e1vne form\u00e1tovan\u00e1 adresa"}, - - { ER_PORT_WHEN_HOST_NULL, - "Nem\u00f4\u017ee by\u0165 stanoven\u00fd port, ak je hostite\u013e null"}, - - { ER_INVALID_PORT, - "Neplatn\u00e9 \u010d\u00edslo portu"}, - - { ER_FRAG_FOR_GENERIC_URI, - "Fragment m\u00f4\u017ee by\u0165 stanoven\u00fd len pre v\u0161eobecn\u00e9 URI"}, - - { ER_FRAG_WHEN_PATH_NULL, - "Ak je cesta nulov\u00e1, nem\u00f4\u017ee by\u0165 stanoven\u00fd fragment"}, - - { ER_FRAG_INVALID_CHAR, - "Fragment obsahuje neplatn\u00fd znak"}, - - { ER_PARSER_IN_USE, - "Syntaktick\u00fd analyz\u00e1tor je u\u017e pou\u017e\u00edvan\u00fd"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "Nie je mo\u017en\u00e9 zmeni\u0165 {0} {1} po\u010das vykon\u00e1vania anal\u00fdzy"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Samozapr\u00ed\u010dinenie nie je povolen\u00e9"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebolo zadan\u00e9 userinfo"}, - - { ER_NO_PORT_IF_NO_HOST, - "Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebol zadan\u00fd port"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "Re\u0165azec dotazu nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste a re\u0165azci dotazu"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Fragment nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste, ani vo fragmente"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "Nie je mo\u017en\u00e9 inicializova\u0165 URI s pr\u00e1zdnymi parametrami"}, - - { ER_METHOD_NOT_SUPPORTED, - "Met\u00f3da e\u0161te nie je podporovan\u00e1 "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter nie je moment\u00e1lne re\u0161tartovate\u013en\u00fd"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader nepredch\u00e1dza po\u017eiadavke na startParse"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Pret\u00ednanie os\u00ed nie je podporovan\u00e9: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler vytvoren\u00fd s nulov\u00fdm PrintWriter!"}, - - { ER_SYSTEMID_UNKNOWN, - "Nezn\u00e1me SystemId"}, - - { ER_LOCATION_UNKNOWN, - "Nezn\u00e1me miesto v\u00fdskytu chyby"}, - - { ER_PREFIX_MUST_RESOLVE, - "Predpona sa mus\u00ed rozl\u00ed\u0161i\u0165 do n\u00e1zvov\u00e9ho priestoru: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() nie je podporovan\u00e9 XPathContext!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "Potomok atrib\u00fatu nem\u00e1 dokument vlastn\u00edka!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "Potomok atrib\u00fatu nem\u00e1 s\u00fa\u010das\u0165 dokumentu vlastn\u00edka!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Upozornenie: nemo\u017eno vypusti\u0165 text pred elementom dokumentu! Ignorovanie..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "Nie je mo\u017en\u00e9 ma\u0165 viac, ne\u017e jeden kore\u0148 DOM!"}, - - { ER_ARG_LOCALNAME_NULL, - "Argument 'localName' je null"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Lok\u00e1lny n\u00e1zov v QNAME by mal by\u0165 platn\u00fdm NCName"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "Predpona v QNAME by mala by\u0165 platn\u00fdm NCName"}, - - { "BAD_CODE", "Parameter na createMessage bol mimo ohrani\u010denia"}, - { "FORMAT_FAILED", "V\u00fdnimka po\u010das volania messageFormat"}, - { "line", "Riadok #"}, - { "column","St\u013apec #"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "Trieda serializ\u00e1tora ''{0}'' neimplementuje org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "Prostriedok [ {0} ] nemohol by\u0165 n\u00e1jden\u00fd.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "Prostriedok [ {0} ] sa nedal na\u010d\u00edta\u0165: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Ve\u013ekos\u0165 vyrovn\u00e1vacej pam\u00e4te <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Bolo zisten\u00e9 neplatn\u00e9 nahradenie UTF-16: {0} ?" }, - - {ER_OIERROR, - "chyba IO" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Nie je mo\u017en\u00e9 prida\u0165 atrib\u00fat {0} po uzloch potomka alebo pred vytvoren\u00edm elementu. Atrib\u00fat bude ignorovan\u00fd."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "N\u00e1zvov\u00fd priestor pre predponu ''{0}'' nebol deklarovan\u00fd." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Atrib\u00fat ''{0}'' je mimo elementu." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Deklar\u00e1cia n\u00e1zvov\u00e9ho priestoru ''{0}''=''{1}'' je mimo elementu." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "Nedalo sa na\u010d\u00edta\u0165 ''{0}'' (skontrolujte CLASSPATH), pou\u017e\u00edvaj\u00fa sa predvolen\u00e9 hodnoty"}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "Nedal sa na\u010d\u00edta\u0165 s\u00fabor vlastnost\u00ed ''{0}'' pre v\u00fdstupn\u00fa met\u00f3du ''{1}'' (skontrolujte CLASSPATH)" } - - - }; - - /** - * Get the lookup table for error messages - * - * @return The association list. - */ - public Object[][] getContents() - { - return _contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sv.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sv.java deleted file mode 100644 index 7be3c6c..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_sv.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_sv extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "Funktionen st\u00F6ds inte!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "Orsak kan inte skrivas \u00F6ver"}, - - { ER_NO_DEFAULT_IMPL, - "Hittade ingen standardimplementering "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) underst\u00F6ds f\u00F6r n\u00E4rvarande inte"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "Offset st\u00F6rre \u00E4n plats"}, - - { ER_COROUTINE_NOT_AVAIL, - "Sidorutin \u00E4r inte tillg\u00E4nglig, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager har tagit emot co_exit()-beg\u00E4ran"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet() utf\u00F6rdes inte"}, - - { ER_COROUTINE_PARAM, - "Parameterfel f\u00F6r sidorutin ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nUNEXPECTED: Parsersvar {0} f\u00F6r doTerminate"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "parse f\u00E5r inte anropas medan tolkning sker"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Fel: typad iterator f\u00F6r axeln {0} har inte implementerats"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Fel: iterator f\u00F6r axeln {0} har inte implementerats "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Iteratorklon underst\u00F6ds inte"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Ok\u00E4nd axeltraverstyp: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Axeltravers underst\u00F6ds inte: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "Inga fler DTM-ID:n \u00E4r tillg\u00E4ngliga"}, - - { ER_NOT_SUPPORTED, - "Underst\u00F6ds inte: {0}"}, - - { ER_NODE_NON_NULL, - "Nod m\u00E5ste vara icke-null f\u00F6r getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "Kunde inte matcha noden med en referens"}, - - { ER_STARTPARSE_WHILE_PARSING, - "startParse f\u00E5r inte anropas medan tolkning sker"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse beh\u00F6ver en SAXParser som \u00E4r icke-null"}, - - { ER_COULD_NOT_INIT_PARSER, - "kunde inte initiera parser med"}, - - { ER_EXCEPTION_CREATING_POOL, - "undantag skapar ny instans f\u00F6r pool"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "S\u00F6kv\u00E4gen inneh\u00E5ller en ogiltig escape-sekvens"}, - - { ER_SCHEME_REQUIRED, - "Schema kr\u00E4vs!"}, - - { ER_NO_SCHEME_IN_URI, - "Schema saknas i URI: {0}"}, - - { ER_NO_SCHEME_INURI, - "Schema saknas i URI"}, - - { ER_PATH_INVALID_CHAR, - "S\u00F6kv\u00E4gen inneh\u00E5ller ett ogiltigt tecken: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Kan inte st\u00E4lla in schema fr\u00E5n null-str\u00E4ng"}, - - { ER_SCHEME_NOT_CONFORMANT, - "Schemat \u00E4r inte likformigt."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "V\u00E4rd \u00E4r inte en v\u00E4lformulerad adress"}, - - { ER_PORT_WHEN_HOST_NULL, - "Port kan inte st\u00E4llas in n\u00E4r v\u00E4rd \u00E4r null"}, - - { ER_INVALID_PORT, - "Ogiltigt portnummer"}, - - { ER_FRAG_FOR_GENERIC_URI, - "Fragment kan bara st\u00E4llas in f\u00F6r en allm\u00E4n URI"}, - - { ER_FRAG_WHEN_PATH_NULL, - "Fragment kan inte st\u00E4llas in n\u00E4r s\u00F6kv\u00E4g \u00E4r null"}, - - { ER_FRAG_INVALID_CHAR, - "Fragment inneh\u00E5ller ett ogiltigt tecken"}, - - { ER_PARSER_IN_USE, - "Parser anv\u00E4nds redan"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "Kan inte \u00E4ndra {0} {1} medan tolkning sker"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "Sj\u00E4lvorsakande inte till\u00E5ten"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Anv\u00E4ndarinfo f\u00E5r inte anges om v\u00E4rden inte \u00E4r angiven"}, - - { ER_NO_PORT_IF_NO_HOST, - "Port f\u00E5r inte anges om v\u00E4rden inte \u00E4r angiven"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "Fr\u00E5gestr\u00E4ng kan inte anges i b\u00E5de s\u00F6kv\u00E4gen och fr\u00E5gestr\u00E4ngen"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Fragment kan inte anges i b\u00E5de s\u00F6kv\u00E4gen och fragmentet"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "Kan inte initiera URI med tomma parametrar"}, - - { ER_METHOD_NOT_SUPPORTED, - "Metoden st\u00F6ds \u00E4nnu inte "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter kan f\u00F6r n\u00E4rvarande inte startas om"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader inte f\u00F6re startParse-beg\u00E4ran"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Axeltravers underst\u00F6ds inte: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler skapad med null PrintWriter!"}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId ok\u00E4nt"}, - - { ER_LOCATION_UNKNOWN, - "Platsen f\u00F6r felet \u00E4r ok\u00E4nd"}, - - { ER_PREFIX_MUST_RESOLVE, - "Prefix m\u00E5ste matchas till en namnrymd: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "createDocument() st\u00F6ds inte i XPathContext!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "Underordnat attribut har inget \u00E4gardokument!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "Underordnat attribut har inget \u00E4gardokumentelement!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Varning: utdatatext kan inte skrivas ut f\u00F6re dokumentelement! Ignoreras..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "En DOM kan inte ha fler \u00E4n en rot!"}, - - { ER_ARG_LOCALNAME_NULL, - "Argumentet 'localName' \u00E4r null"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "Localname i QNAME b\u00F6r vara giltigt NCName"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "Prefix i QNAME b\u00F6r vara giltigt NCName"}, - - { ER_NAME_CANT_START_WITH_COLON, - "Namnet kan inte b\u00F6rja med kolon"}, - - { "BAD_CODE", "Parameter f\u00F6r createMessage ligger utanf\u00F6r gr\u00E4nsv\u00E4rdet"}, - { "FORMAT_FAILED", "Undantag utl\u00F6st vid messageFormat-anrop"}, - { "line", "Rad nr"}, - { "column","Kolumn nr"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "Serializerklassen ''{0}'' implementerar inte org.xml.sax.ContentHandler."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "Resursen [ {0} ] kunde inte h\u00E4mtas.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "Resursen [ {0} ] kunde inte laddas: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Buffertstorlek <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "Ogiltigt UTF-16-surrogat uppt\u00E4ckt: {0} ?" }, - - {ER_OIERROR, - "IO-fel" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Kan inte l\u00E4gga till attributet {0} efter underordnade noder eller innan ett element har skapats. Attributet ignoreras."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "Namnrymd f\u00F6r prefix ''{0}'' har inte deklarerats." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "Attributet ''{0}'' finns utanf\u00F6r elementet." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "Namnrymdsdeklarationen ''{0}''=''{1}'' finns utanf\u00F6r element." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "Kunde inte ladda ''{0}'' (kontrollera CLASSPATH), anv\u00E4nder nu enbart standardv\u00E4rden"}, - - { ER_ILLEGAL_CHARACTER, - "F\u00F6rs\u00F6k att skriva utdatatecken med integralv\u00E4rdet {0} som inte \u00E4r representerat i angiven utdatakodning av {1}."}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "Kunde inte ladda egenskapsfilen ''{0}'' f\u00F6r utdatametoden ''{1}'' (kontrollera CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_tr.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_tr.java deleted file mode 100644 index 58973c6..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_tr.java +++ /dev/null @@ -1,443 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * $Id: XMLErrorResources_tr.java,v 1.1.6.2 2005/09/15 07:45:46 suresh_emailid Exp $ - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_tr extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - private static final Object[][] _contents = new Object[][] { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "\u0130\u015flev desteklenmiyor!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "Nedenin \u00fczerine yaz\u0131lamaz"}, - - { ER_NO_DEFAULT_IMPL, - "Varsay\u0131lan uygulama bulunamad\u0131"}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "ChunkedIntArray({0}) \u015fu an desteklenmiyor"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "G\u00f6reli konum yuvadan b\u00fcy\u00fck"}, - - { ER_COROUTINE_NOT_AVAIL, - "Coroutine kullan\u0131lam\u0131yor, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager co_exit() iste\u011fi ald\u0131"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet() ba\u015far\u0131s\u0131z oldu"}, - - { ER_COROUTINE_PARAM, - "Coroutine de\u011fi\u015ftirgesi hatas\u0131 ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\nBEKLENMEYEN: Parser doTerminate yan\u0131t\u0131 {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "Ayr\u0131\u015ft\u0131rma s\u0131ras\u0131nda parse \u00e7a\u011fr\u0131lamaz"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Hata: {0} ekseni i\u00e7in tip atanm\u0131\u015f yineleyici ger\u00e7ekle\u015ftirilmedi"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "Hata: {0} ekseni i\u00e7in yineleyici ger\u00e7ekle\u015ftirilmedi"}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "Yineleyici e\u015fkopyas\u0131 desteklenmiyor"}, - - { ER_UNKNOWN_AXIS_TYPE, - "Bilinmeyen eksen dola\u015fma tipi: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "Eksen dola\u015f\u0131c\u0131 desteklenmiyor: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "Kullan\u0131labilecek ba\u015fka DTM tan\u0131t\u0131c\u0131s\u0131 yok"}, - - { ER_NOT_SUPPORTED, - "Desteklenmiyor: {0}"}, - - { ER_NODE_NON_NULL, - "getDTMHandleFromNode i\u00e7in d\u00fc\u011f\u00fcm bo\u015f de\u011ferli olmamal\u0131d\u0131r"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "D\u00fc\u011f\u00fcm tan\u0131t\u0131c\u0131 de\u011fere \u00e7\u00f6z\u00fclemedi"}, - - { ER_STARTPARSE_WHILE_PARSING, - "Ayr\u0131\u015ft\u0131rma s\u0131ras\u0131nda startParse \u00e7a\u011fr\u0131lamaz"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse i\u00e7in bo\u015f de\u011ferli olmayan SAXParser gerekiyor"}, - - { ER_COULD_NOT_INIT_PARSER, - "Ayr\u0131\u015ft\u0131r\u0131c\u0131 bununla kullan\u0131ma haz\u0131rlanamad\u0131"}, - - { ER_EXCEPTION_CREATING_POOL, - "Havuz i\u00e7in yeni \u00f6rnek yarat\u0131l\u0131rken kural d\u0131\u015f\u0131 durum"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "Yol ge\u00e7ersiz ka\u00e7\u0131\u015f dizisi i\u00e7eriyor"}, - - { ER_SCHEME_REQUIRED, - "\u015eema gerekli!"}, - - { ER_NO_SCHEME_IN_URI, - "URI i\u00e7inde \u015fema bulunamad\u0131: {0}"}, - - { ER_NO_SCHEME_INURI, - "URI i\u00e7inde \u015fema bulunamad\u0131"}, - - { ER_PATH_INVALID_CHAR, - "Yol ge\u00e7ersiz karakter i\u00e7eriyor: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "Bo\u015f de\u011ferli dizgiden \u015fema tan\u0131mlanamaz"}, - - { ER_SCHEME_NOT_CONFORMANT, - "\u015eema uyumlu de\u011fil."}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "Anasistem do\u011fru bi\u00e7imli bir adres de\u011fil"}, - - { ER_PORT_WHEN_HOST_NULL, - "Anasistem bo\u015f de\u011ferliyken kap\u0131 tan\u0131mlanamaz"}, - - { ER_INVALID_PORT, - "Kap\u0131 numaras\u0131 ge\u00e7ersiz"}, - - { ER_FRAG_FOR_GENERIC_URI, - "Par\u00e7a yaln\u0131zca soysal URI i\u00e7in tan\u0131mlanabilir"}, - - { ER_FRAG_WHEN_PATH_NULL, - "Yol bo\u015f de\u011ferliyken par\u00e7a tan\u0131mlanamaz"}, - - { ER_FRAG_INVALID_CHAR, - "Par\u00e7a ge\u00e7ersiz karakter i\u00e7eriyor"}, - - { ER_PARSER_IN_USE, - "Ayr\u0131\u015ft\u0131r\u0131c\u0131 kullan\u0131mda"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "Ayr\u0131\u015ft\u0131rma s\u0131ras\u0131nda {0} {1} de\u011fi\u015ftirilemez"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "\u00d6znedenselli\u011fe izin verilmez"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "Anasistem belirtilmediyse kullan\u0131c\u0131 bilgisi belirtilemez"}, - - { ER_NO_PORT_IF_NO_HOST, - "Anasistem belirtilmediyse kap\u0131 belirtilemez"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "Yol ve sorgu dizgisinde sorgu dizgisi belirtilemez"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "Par\u00e7a hem yolda, hem de par\u00e7ada belirtilemez"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "Bo\u015f de\u011fi\u015ftirgelerle URI kullan\u0131ma haz\u0131rlanamaz"}, - - { ER_METHOD_NOT_SUPPORTED, - "Y\u00f6ntem hen\u00fcz desteklenmiyor"}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter \u015fu an yeniden ba\u015flat\u0131labilir durumda de\u011fil"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader, startParse iste\u011finden \u00f6nce olmaz"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "Eksen dola\u015f\u0131c\u0131 desteklenmiyor: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "ListingErrorHandler bo\u015f de\u011ferli PrintWriter ile yarat\u0131ld\u0131!"}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId bilinmiyor"}, - - { ER_LOCATION_UNKNOWN, - "Hata yeri bilinmiyor"}, - - { ER_PREFIX_MUST_RESOLVE, - "\u00d6nek bir ad alan\u0131na \u00e7\u00f6z\u00fclmelidir: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "XPathContext i\u00e7inde createDocument() desteklenmiyor!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "\u00d6zniteli\u011fin alt \u00f6\u011fesinin iye belgesi yok!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "\u00d6zniteli\u011fin alt \u00f6\u011fesinin iye belge \u00f6\u011fesi yok!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "Uyar\u0131: Belge \u00f6\u011fesinden \u00f6nce metin \u00e7\u0131k\u0131\u015f\u0131 olamaz! Yoksay\u0131l\u0131yor..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "DOM \u00fczerinde birden fazla k\u00f6k olamaz!"}, - - { ER_ARG_LOCALNAME_NULL, - "'localName' ba\u011f\u0131ms\u0131z de\u011fi\u015ftirgesi bo\u015f de\u011ferli"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "QNAME i\u00e7indeki yerel ad (localname) ge\u00e7erli bir NCName olmal\u0131d\u0131r"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "QNAME i\u00e7indeki \u00f6nek ge\u00e7erli bir NCName olmal\u0131d\u0131r"}, - - { "BAD_CODE", "createMessage i\u00e7in kullan\u0131lan de\u011fi\u015ftirge s\u0131n\u0131rlar\u0131n d\u0131\u015f\u0131nda"}, - { "FORMAT_FAILED", "messageFormat \u00e7a\u011fr\u0131s\u0131 s\u0131ras\u0131nda kural d\u0131\u015f\u0131 durum yay\u0131nland\u0131"}, - { "line", "Sat\u0131r #"}, - { "column","Kolon #"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "Diziselle\u015ftirici s\u0131n\u0131f\u0131 ''{0}'' org.xml.sax.ContentHandler i\u015flevini uygulam\u0131yor."}, - - {ER_RESOURCE_COULD_NOT_FIND, - "Kaynak [ {0} ] bulunamad\u0131.\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "Kaynak [ {0} ] y\u00fckleyemedi: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "Arabellek b\u00fcy\u00fckl\u00fc\u011f\u00fc <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "UTF-16 yerine kullan\u0131lan de\u011fer ge\u00e7ersiz: {0} ?" }, - - {ER_OIERROR, - "G\u00c7 hatas\u0131" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "Alt d\u00fc\u011f\u00fcmlerden sonra ya da bir \u00f6\u011fe \u00fcretilmeden \u00f6nce {0} \u00f6zniteli\u011fi eklenemez. \u00d6znitelik yoksay\u0131lacak."}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "''{0}'' \u00f6nekine ili\u015fkin ad alan\u0131 bildirilmedi." }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "''{0}'' \u00f6zniteli\u011fi \u00f6\u011fenin d\u0131\u015f\u0131nda." }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "''{0}''=''{1}'' ad alan\u0131 bildirimi \u00f6\u011fenin d\u0131\u015f\u0131nda." }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "''{0}'' y\u00fcklenemedi (CLASSPATH de\u011fi\u015fkeninizi inceleyin), yaln\u0131zca varsay\u0131lanlar kullan\u0131l\u0131yor"}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "''{1}'' \u00e7\u0131k\u0131\u015f y\u00f6ntemi i\u00e7in ''{0}'' \u00f6zellik dosyas\u0131 y\u00fcklenemedi (CLASSPATH de\u011fi\u015fkenini inceleyin)" } - - - }; - - /** - * Get the lookup table for error messages - * - * @return The association list. - */ - public Object[][] getContents() - { - return _contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_CN.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_CN.java deleted file mode 100644 index c500135..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_CN.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_zh_CN extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "\u4E0D\u652F\u6301\u8BE5\u51FD\u6570!"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "\u65E0\u6CD5\u8986\u76D6\u539F\u56E0"}, - - { ER_NO_DEFAULT_IMPL, - "\u627E\u4E0D\u5230\u9ED8\u8BA4\u5B9E\u73B0 "}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "\u5F53\u524D\u4E0D\u652F\u6301 ChunkedIntArray({0})"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "\u504F\u79FB\u91CF\u5927\u4E8E\u63D2\u69FD"}, - - { ER_COROUTINE_NOT_AVAIL, - "Coroutine \u4E0D\u53EF\u7528, id={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager \u6536\u5230 co_exit() \u8BF7\u6C42"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet() \u5931\u8D25"}, - - { ER_COROUTINE_PARAM, - "Coroutine \u53C2\u6570\u9519\u8BEF ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\n\u610F\u5916: \u89E3\u6790\u5668\u5BF9\u7B54\u590D{0}\u6267\u884C doTerminate"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "\u65E0\u6CD5\u5728\u89E3\u6790\u65F6\u8C03\u7528 parse"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\u9519\u8BEF: \u672A\u5B9E\u73B0\u8F74{0}\u7684\u7C7B\u578B\u5316\u8FED\u4EE3\u5668"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\u9519\u8BEF: \u672A\u5B9E\u73B0\u8F74{0}\u7684\u8FED\u4EE3\u5668 "}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "\u4E0D\u652F\u6301\u514B\u9686\u8FED\u4EE3\u5668"}, - - { ER_UNKNOWN_AXIS_TYPE, - "\u8F74\u904D\u5386\u7C7B\u578B\u672A\u77E5: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "\u4E0D\u652F\u6301\u8F74\u904D\u5386\u7A0B\u5E8F: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "\u65E0\u6CD5\u4F7F\u7528\u66F4\u591A DTM ID"}, - - { ER_NOT_SUPPORTED, - "\u4E0D\u652F\u6301: {0}"}, - - { ER_NODE_NON_NULL, - "getDTMHandleFromNode \u7684\u8282\u70B9\u5FC5\u987B\u4E3A\u975E\u7A7A\u503C"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "\u65E0\u6CD5\u5C06\u8282\u70B9\u89E3\u6790\u4E3A\u53E5\u67C4"}, - - { ER_STARTPARSE_WHILE_PARSING, - "\u65E0\u6CD5\u5728\u89E3\u6790\u65F6\u8C03\u7528 startParse"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse \u9700\u8981\u975E\u7A7A SAXParser"}, - - { ER_COULD_NOT_INIT_PARSER, - "\u65E0\u6CD5\u4F7F\u7528\u4EE5\u4E0B\u5BF9\u8C61\u521D\u59CB\u5316\u89E3\u6790\u5668"}, - - { ER_EXCEPTION_CREATING_POOL, - "\u4E3A\u6C60\u521B\u5EFA\u65B0\u5B9E\u4F8B\u65F6\u51FA\u73B0\u5F02\u5E38\u9519\u8BEF"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "\u8DEF\u5F84\u5305\u542B\u65E0\u6548\u7684\u8F6C\u4E49\u5E8F\u5217"}, - - { ER_SCHEME_REQUIRED, - "\u65B9\u6848\u662F\u5FC5\u9700\u7684!"}, - - { ER_NO_SCHEME_IN_URI, - "\u5728 URI \u4E2D\u627E\u4E0D\u5230\u65B9\u6848: {0}"}, - - { ER_NO_SCHEME_INURI, - "\u5728 URI \u4E2D\u627E\u4E0D\u5230\u65B9\u6848"}, - - { ER_PATH_INVALID_CHAR, - "\u8DEF\u5F84\u5305\u542B\u65E0\u6548\u7684\u5B57\u7B26: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "\u65E0\u6CD5\u4ECE\u7A7A\u5B57\u7B26\u4E32\u8BBE\u7F6E\u65B9\u6848"}, - - { ER_SCHEME_NOT_CONFORMANT, - "\u65B9\u6848\u4E0D\u4E00\u81F4\u3002"}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "\u4E3B\u673A\u4E0D\u662F\u683C\u5F0F\u826F\u597D\u7684\u5730\u5740"}, - - { ER_PORT_WHEN_HOST_NULL, - "\u4E3B\u673A\u4E3A\u7A7A\u65F6, \u65E0\u6CD5\u8BBE\u7F6E\u7AEF\u53E3"}, - - { ER_INVALID_PORT, - "\u65E0\u6548\u7684\u7AEF\u53E3\u53F7"}, - - { ER_FRAG_FOR_GENERIC_URI, - "\u53EA\u80FD\u4E3A\u4E00\u822C URI \u8BBE\u7F6E\u7247\u6BB5"}, - - { ER_FRAG_WHEN_PATH_NULL, - "\u8DEF\u5F84\u4E3A\u7A7A\u65F6, \u65E0\u6CD5\u8BBE\u7F6E\u7247\u6BB5"}, - - { ER_FRAG_INVALID_CHAR, - "\u7247\u6BB5\u5305\u542B\u65E0\u6548\u7684\u5B57\u7B26"}, - - { ER_PARSER_IN_USE, - "\u89E3\u6790\u5668\u5DF2\u5728\u4F7F\u7528"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "\u65E0\u6CD5\u5728\u89E3\u6790\u65F6\u66F4\u6539{0} {1}"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "\u4E0D\u5141\u8BB8\u4F7F\u7528\u81EA\u56E0"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "\u5982\u679C\u6CA1\u6709\u6307\u5B9A\u4E3B\u673A, \u5219\u4E0D\u53EF\u4EE5\u6307\u5B9A Userinfo"}, - - { ER_NO_PORT_IF_NO_HOST, - "\u5982\u679C\u6CA1\u6709\u6307\u5B9A\u4E3B\u673A, \u5219\u4E0D\u53EF\u4EE5\u6307\u5B9A\u7AEF\u53E3"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "\u8DEF\u5F84\u548C\u67E5\u8BE2\u5B57\u7B26\u4E32\u4E2D\u4E0D\u80FD\u6307\u5B9A\u67E5\u8BE2\u5B57\u7B26\u4E32"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "\u8DEF\u5F84\u548C\u7247\u6BB5\u4E2D\u90FD\u65E0\u6CD5\u6307\u5B9A\u7247\u6BB5"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "\u65E0\u6CD5\u4EE5\u7A7A\u53C2\u6570\u521D\u59CB\u5316 URI"}, - - { ER_METHOD_NOT_SUPPORTED, - "\u5C1A\u4E0D\u652F\u6301\u8BE5\u65B9\u6CD5 "}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "\u5F53\u524D\u65E0\u6CD5\u91CD\u65B0\u542F\u52A8 IncrementalSAXSource_Filter"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader \u4E0D\u5728 startParse \u8BF7\u6C42\u4E4B\u524D"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "\u4E0D\u652F\u6301\u8F74\u904D\u5386\u7A0B\u5E8F: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "\u4F7F\u7528\u7A7A PrintWriter \u521B\u5EFA\u4E86 ListingErrorHandler!"}, - - { ER_SYSTEMID_UNKNOWN, - "SystemId \u672A\u77E5"}, - - { ER_LOCATION_UNKNOWN, - "\u9519\u8BEF\u6240\u5728\u7684\u4F4D\u7F6E\u672A\u77E5"}, - - { ER_PREFIX_MUST_RESOLVE, - "\u524D\u7F00\u5FC5\u987B\u89E3\u6790\u4E3A\u540D\u79F0\u7A7A\u95F4: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "XPathContext \u4E2D\u4E0D\u652F\u6301 createDocument()!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "\u5C5E\u6027\u5B50\u7EA7\u6CA1\u6709\u6240\u6709\u8005\u6587\u6863!"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "\u5C5E\u6027\u5B50\u7EA7\u6CA1\u6709\u6240\u6709\u8005\u6587\u6863\u5143\u7D20!"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "\u8B66\u544A: \u65E0\u6CD5\u8F93\u51FA\u6587\u6863\u5143\u7D20\u4E4B\u524D\u7684\u6587\u672C! \u5C06\u5FFD\u7565..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "DOM \u4E0A\u4E0D\u80FD\u6709\u591A\u4E2A\u6839!"}, - - { ER_ARG_LOCALNAME_NULL, - "\u53C2\u6570 'localName' \u4E3A\u7A7A\u503C"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "QNAME \u4E2D\u7684\u672C\u5730\u540D\u79F0\u5E94\u4E3A\u6709\u6548 NCName"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "QNAME \u4E2D\u7684\u524D\u7F00\u5E94\u4E3A\u6709\u6548 NCName"}, - - { ER_NAME_CANT_START_WITH_COLON, - "\u540D\u79F0\u4E0D\u80FD\u4EE5\u5192\u53F7\u5F00\u5934"}, - - { "BAD_CODE", "createMessage \u7684\u53C2\u6570\u8D85\u51FA\u8303\u56F4"}, - { "FORMAT_FAILED", "\u8C03\u7528 messageFormat \u65F6\u629B\u51FA\u5F02\u5E38\u9519\u8BEF"}, - { "line", "\u884C\u53F7"}, - { "column","\u5217\u53F7"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "\u4E32\u884C\u5668\u7C7B ''{0}'' \u4E0D\u5B9E\u73B0 org.xml.sax.ContentHandler\u3002"}, - - {ER_RESOURCE_COULD_NOT_FIND, - "\u627E\u4E0D\u5230\u8D44\u6E90 [ {0} ]\u3002\n {1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "\u8D44\u6E90 [ {0} ] \u65E0\u6CD5\u52A0\u8F7D: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "\u7F13\u51B2\u533A\u5927\u5C0F <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "\u68C0\u6D4B\u5230\u65E0\u6548\u7684 UTF-16 \u4EE3\u7406: {0}?" }, - - {ER_OIERROR, - "IO \u9519\u8BEF" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "\u5728\u751F\u6210\u5B50\u8282\u70B9\u4E4B\u540E\u6216\u5728\u751F\u6210\u5143\u7D20\u4E4B\u524D\u65E0\u6CD5\u6DFB\u52A0\u5C5E\u6027 {0}\u3002\u5C06\u5FFD\u7565\u5C5E\u6027\u3002"}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "\u6CA1\u6709\u8BF4\u660E\u540D\u79F0\u7A7A\u95F4\u524D\u7F00 ''{0}''\u3002" }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "\u5C5E\u6027 ''{0}'' \u5728\u5143\u7D20\u5916\u90E8\u3002" }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "\u540D\u79F0\u7A7A\u95F4\u58F0\u660E ''{0}''=''{1}'' \u5728\u5143\u7D20\u5916\u90E8\u3002" }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "\u65E0\u6CD5\u52A0\u8F7D ''{0}'' (\u68C0\u67E5 CLASSPATH), \u73B0\u5728\u53EA\u4F7F\u7528\u9ED8\u8BA4\u503C"}, - - { ER_ILLEGAL_CHARACTER, - "\u5C1D\u8BD5\u8F93\u51FA\u672A\u4EE5{1}\u7684\u6307\u5B9A\u8F93\u51FA\u7F16\u7801\u8868\u793A\u7684\u6574\u6570\u503C {0} \u7684\u5B57\u7B26\u3002"}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "\u65E0\u6CD5\u4E3A\u8F93\u51FA\u65B9\u6CD5 ''{1}'' \u52A0\u8F7D\u5C5E\u6027\u6587\u4EF6 ''{0}'' (\u68C0\u67E5 CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_HK.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_HK.java deleted file mode 100644 index 1a0d14a..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_HK.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * The Apache Software License, Version 1.1 - * - * - * Copyright (c) 1999-2003 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the - * distribution. - * - * 3. The end-user documentation included with the redistribution, - * if any, must include the following acknowledgment: - * "This product includes software developed by the - * Apache Software Foundation (http://www.apache.org/)." - * Alternately, this acknowledgment may appear in the software itself, - * if and wherever such third-party acknowledgments normally appear. - * - * 4. The names "Xalan" and "Apache Software Foundation" must - * not be used to endorse or promote products derived from this - * software without prior written permission. For written - * permission, please contact apache@apache.org. - * - * 5. Products derived from this software may not be called "Apache", - * nor may "Apache" appear in their name, without prior written - * permission of the Apache Software Foundation. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * ==================================================================== - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation and was - * originally based on software copyright (c) 1999, Lotus - * Development Corporation., http://www.lotus.com. For more - * information on the Apache Software Foundation, please see - * <http://www.apache.org/>. - */ -package com.sun.org.apache.xml.internal.res; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_zh_HK extends XMLErrorResources_zh_TW -{ - - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_TW.java b/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_TW.java deleted file mode 100644 index e1d1976..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLErrorResources_zh_TW.java +++ /dev/null @@ -1,450 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.sun.org.apache.xml.internal.res; - - -import java.util.ListResourceBundle; - -/** - * Set up error messages. - * We build a two dimensional array of message keys and - * message strings. In order to add a new message here, - * you need to first add a String constant. And you need - * to enter key, value pair as part of the contents - * array. You also need to update MAX_CODE for error strings - * and MAX_WARNING for warnings ( Needed for only information - * purpose ) - */ -public class XMLErrorResources_zh_TW extends ListResourceBundle -{ - -/* - * This file contains error and warning messages related to Xalan Error - * Handling. - * - * General notes to translators: - * - * 1) Xalan (or more properly, Xalan-interpretive) and XSLTC are names of - * components. - * XSLT is an acronym for "XML Stylesheet Language: Transformations". - * XSLTC is an acronym for XSLT Compiler. - * - * 2) A stylesheet is a description of how to transform an input XML document - * into a resultant XML document (or HTML document or text). The - * stylesheet itself is described in the form of an XML document. - * - * 3) A template is a component of a stylesheet that is used to match a - * particular portion of an input document and specifies the form of the - * corresponding portion of the output document. - * - * 4) An element is a mark-up tag in an XML document; an attribute is a - * modifier on the tag. For example, in <elem attr='val' attr2='val2'> - * "elem" is an element name, "attr" and "attr2" are attribute names with - * the values "val" and "val2", respectively. - * - * 5) A namespace declaration is a special attribute that is used to associate - * a prefix with a URI (the namespace). The meanings of element names and - * attribute names that use that prefix are defined with respect to that - * namespace. - * - * 6) "Translet" is an invented term that describes the class file that - * results from compiling an XML stylesheet into a Java class. - * - * 7) XPath is a specification that describes a notation for identifying - * nodes in a tree-structured representation of an XML document. An - * instance of that notation is referred to as an XPath expression. - * - */ - - /** Maximum error messages, this is needed to keep track of the number of messages. */ - public static final int MAX_CODE = 61; - - /** Maximum warnings, this is needed to keep track of the number of warnings. */ - public static final int MAX_WARNING = 0; - - /** Maximum misc strings. */ - public static final int MAX_OTHERS = 4; - - /** Maximum total warnings and error messages. */ - public static final int MAX_MESSAGES = MAX_CODE + MAX_WARNING + 1; - - - /* - * Message keys - */ - public static final String ER_FUNCTION_NOT_SUPPORTED = "ER_FUNCTION_NOT_SUPPORTED"; - public static final String ER_CANNOT_OVERWRITE_CAUSE = "ER_CANNOT_OVERWRITE_CAUSE"; - public static final String ER_NO_DEFAULT_IMPL = "ER_NO_DEFAULT_IMPL"; - public static final String ER_CHUNKEDINTARRAY_NOT_SUPPORTED = "ER_CHUNKEDINTARRAY_NOT_SUPPORTED"; - public static final String ER_OFFSET_BIGGER_THAN_SLOT = "ER_OFFSET_BIGGER_THAN_SLOT"; - public static final String ER_COROUTINE_NOT_AVAIL = "ER_COROUTINE_NOT_AVAIL"; - public static final String ER_COROUTINE_CO_EXIT = "ER_COROUTINE_CO_EXIT"; - public static final String ER_COJOINROUTINESET_FAILED = "ER_COJOINROUTINESET_FAILED"; - public static final String ER_COROUTINE_PARAM = "ER_COROUTINE_PARAM"; - public static final String ER_PARSER_DOTERMINATE_ANSWERS = "ER_PARSER_DOTERMINATE_ANSWERS"; - public static final String ER_NO_PARSE_CALL_WHILE_PARSING = "ER_NO_PARSE_CALL_WHILE_PARSING"; - public static final String ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_AXIS_NOT_IMPLEMENTED = "ER_ITERATOR_AXIS_NOT_IMPLEMENTED"; - public static final String ER_ITERATOR_CLONE_NOT_SUPPORTED = "ER_ITERATOR_CLONE_NOT_SUPPORTED"; - public static final String ER_UNKNOWN_AXIS_TYPE = "ER_UNKNOWN_AXIS_TYPE"; - public static final String ER_AXIS_NOT_SUPPORTED = "ER_AXIS_NOT_SUPPORTED"; - public static final String ER_NO_DTMIDS_AVAIL = "ER_NO_DTMIDS_AVAIL"; - public static final String ER_NOT_SUPPORTED = "ER_NOT_SUPPORTED"; - public static final String ER_NODE_NON_NULL = "ER_NODE_NON_NULL"; - public static final String ER_COULD_NOT_RESOLVE_NODE = "ER_COULD_NOT_RESOLVE_NODE"; - public static final String ER_STARTPARSE_WHILE_PARSING = "ER_STARTPARSE_WHILE_PARSING"; - public static final String ER_STARTPARSE_NEEDS_SAXPARSER = "ER_STARTPARSE_NEEDS_SAXPARSER"; - public static final String ER_COULD_NOT_INIT_PARSER = "ER_COULD_NOT_INIT_PARSER"; - public static final String ER_EXCEPTION_CREATING_POOL = "ER_EXCEPTION_CREATING_POOL"; - public static final String ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE = "ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE"; - public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED"; - public static final String ER_NO_SCHEME_IN_URI = "ER_NO_SCHEME_IN_URI"; - public static final String ER_NO_SCHEME_INURI = "ER_NO_SCHEME_INURI"; - public static final String ER_PATH_INVALID_CHAR = "ER_PATH_INVALID_CHAR"; - public static final String ER_SCHEME_FROM_NULL_STRING = "ER_SCHEME_FROM_NULL_STRING"; - public static final String ER_SCHEME_NOT_CONFORMANT = "ER_SCHEME_NOT_CONFORMANT"; - public static final String ER_HOST_ADDRESS_NOT_WELLFORMED = "ER_HOST_ADDRESS_NOT_WELLFORMED"; - public static final String ER_PORT_WHEN_HOST_NULL = "ER_PORT_WHEN_HOST_NULL"; - public static final String ER_INVALID_PORT = "ER_INVALID_PORT"; - public static final String ER_FRAG_FOR_GENERIC_URI ="ER_FRAG_FOR_GENERIC_URI"; - public static final String ER_FRAG_WHEN_PATH_NULL = "ER_FRAG_WHEN_PATH_NULL"; - public static final String ER_FRAG_INVALID_CHAR = "ER_FRAG_INVALID_CHAR"; - public static final String ER_PARSER_IN_USE = "ER_PARSER_IN_USE"; - public static final String ER_CANNOT_CHANGE_WHILE_PARSING = "ER_CANNOT_CHANGE_WHILE_PARSING"; - public static final String ER_SELF_CAUSATION_NOT_PERMITTED = "ER_SELF_CAUSATION_NOT_PERMITTED"; - public static final String ER_NO_USERINFO_IF_NO_HOST = "ER_NO_USERINFO_IF_NO_HOST"; - public static final String ER_NO_PORT_IF_NO_HOST = "ER_NO_PORT_IF_NO_HOST"; - public static final String ER_NO_QUERY_STRING_IN_PATH = "ER_NO_QUERY_STRING_IN_PATH"; - public static final String ER_NO_FRAGMENT_STRING_IN_PATH = "ER_NO_FRAGMENT_STRING_IN_PATH"; - public static final String ER_CANNOT_INIT_URI_EMPTY_PARMS = "ER_CANNOT_INIT_URI_EMPTY_PARMS"; - public static final String ER_METHOD_NOT_SUPPORTED ="ER_METHOD_NOT_SUPPORTED"; - public static final String ER_INCRSAXSRCFILTER_NOT_RESTARTABLE = "ER_INCRSAXSRCFILTER_NOT_RESTARTABLE"; - public static final String ER_XMLRDR_NOT_BEFORE_STARTPARSE = "ER_XMLRDR_NOT_BEFORE_STARTPARSE"; - public static final String ER_AXIS_TRAVERSER_NOT_SUPPORTED = "ER_AXIS_TRAVERSER_NOT_SUPPORTED"; - public static final String ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER = "ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER"; - public static final String ER_SYSTEMID_UNKNOWN = "ER_SYSTEMID_UNKNOWN"; - public static final String ER_LOCATION_UNKNOWN = "ER_LOCATION_UNKNOWN"; - public static final String ER_PREFIX_MUST_RESOLVE = "ER_PREFIX_MUST_RESOLVE"; - public static final String ER_CREATEDOCUMENT_NOT_SUPPORTED = "ER_CREATEDOCUMENT_NOT_SUPPORTED"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT"; - public static final String ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT = "ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT"; - public static final String ER_CANT_OUTPUT_TEXT_BEFORE_DOC = "ER_CANT_OUTPUT_TEXT_BEFORE_DOC"; - public static final String ER_CANT_HAVE_MORE_THAN_ONE_ROOT = "ER_CANT_HAVE_MORE_THAN_ONE_ROOT"; - public static final String ER_ARG_LOCALNAME_NULL = "ER_ARG_LOCALNAME_NULL"; - public static final String ER_ARG_LOCALNAME_INVALID = "ER_ARG_LOCALNAME_INVALID"; - public static final String ER_ARG_PREFIX_INVALID = "ER_ARG_PREFIX_INVALID"; - public static final String ER_NAME_CANT_START_WITH_COLON = "ER_NAME_CANT_START_WITH_COLON"; - - // Message keys used by the serializer - public static final String ER_RESOURCE_COULD_NOT_FIND = "ER_RESOURCE_COULD_NOT_FIND"; - public static final String ER_RESOURCE_COULD_NOT_LOAD = "ER_RESOURCE_COULD_NOT_LOAD"; - public static final String ER_BUFFER_SIZE_LESSTHAN_ZERO = "ER_BUFFER_SIZE_LESSTHAN_ZERO"; - public static final String ER_INVALID_UTF16_SURROGATE = "ER_INVALID_UTF16_SURROGATE"; - public static final String ER_OIERROR = "ER_OIERROR"; - public static final String ER_NAMESPACE_PREFIX = "ER_NAMESPACE_PREFIX"; - public static final String ER_STRAY_ATTRIBUTE = "ER_STRAY_ATTIRBUTE"; - public static final String ER_STRAY_NAMESPACE = "ER_STRAY_NAMESPACE"; - public static final String ER_COULD_NOT_LOAD_RESOURCE = "ER_COULD_NOT_LOAD_RESOURCE"; - public static final String ER_COULD_NOT_LOAD_METHOD_PROPERTY = "ER_COULD_NOT_LOAD_METHOD_PROPERTY"; - public static final String ER_SERIALIZER_NOT_CONTENTHANDLER = "ER_SERIALIZER_NOT_CONTENTHANDLER"; - public static final String ER_ILLEGAL_ATTRIBUTE_POSITION = "ER_ILLEGAL_ATTRIBUTE_POSITION"; - public static final String ER_ILLEGAL_CHARACTER = "ER_ILLEGAL_CHARACTER"; - - /* - * Now fill in the message text. - * Then fill in the message text for that message code in the - * array. Use the new error code as the index into the array. - */ - - // Error messages... - - /** The lookup table for error messages. */ - private static final Object[][] contents = { - - /** Error message ID that has a null message, but takes in a single object. */ - {"ER0000" , "{0}" }, - - { ER_FUNCTION_NOT_SUPPORTED, - "\u4E0D\u652F\u63F4\u51FD\u6578\uFF01"}, - - { ER_CANNOT_OVERWRITE_CAUSE, - "\u7121\u6CD5\u8986\u5BEB\u539F\u56E0"}, - - { ER_NO_DEFAULT_IMPL, - "\u627E\u4E0D\u5230\u9810\u8A2D\u7684\u5BE6\u884C"}, - - { ER_CHUNKEDINTARRAY_NOT_SUPPORTED, - "\u76EE\u524D\u4E0D\u652F\u63F4 ChunkedIntArray({0})"}, - - { ER_OFFSET_BIGGER_THAN_SLOT, - "\u4F4D\u79FB\u5927\u65BC\u4F4D\u7F6E"}, - - { ER_COROUTINE_NOT_AVAIL, - "\u6C92\u6709\u53EF\u7528\u7684\u5171\u540C\u5E38\u5F0F\uFF0Cid={0}"}, - - { ER_COROUTINE_CO_EXIT, - "CoroutineManager \u6536\u5230 co_exit() \u8981\u6C42"}, - - { ER_COJOINROUTINESET_FAILED, - "co_joinCoroutineSet() \u5931\u6557"}, - - { ER_COROUTINE_PARAM, - "\u5171\u540C\u5E38\u5F0F\u53C3\u6578\u932F\u8AA4 ({0})"}, - - { ER_PARSER_DOTERMINATE_ANSWERS, - "\n\u672A\u9810\u671F: \u5256\u6790\u5668 doTerminate \u7B54\u8986 {0}"}, - - { ER_NO_PARSE_CALL_WHILE_PARSING, - "\u5256\u6790\u6642\u53EF\u80FD\u672A\u547C\u53EB parse"}, - - { ER_TYPED_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\u932F\u8AA4: \u672A\u5BE6\u884C\u8EF8 {0} \u7684\u985E\u578B\u91CD\u8907\u7A0B\u5F0F"}, - - { ER_ITERATOR_AXIS_NOT_IMPLEMENTED, - "\u932F\u8AA4: \u672A\u5BE6\u884C\u8EF8 {0} \u7684\u91CD\u8907\u7A0B\u5F0F"}, - - { ER_ITERATOR_CLONE_NOT_SUPPORTED, - "\u4E0D\u652F\u63F4\u91CD\u8907\u7A0B\u5F0F\u8907\u88FD"}, - - { ER_UNKNOWN_AXIS_TYPE, - "\u4E0D\u660E\u7684\u8EF8\u5468\u904A\u985E\u578B: {0}"}, - - { ER_AXIS_NOT_SUPPORTED, - "\u4E0D\u652F\u63F4\u8EF8\u5468\u904A\u7A0B\u5F0F: {0}"}, - - { ER_NO_DTMIDS_AVAIL, - "\u4E0D\u518D\u6709\u53EF\u7528\u7684 DTM ID"}, - - { ER_NOT_SUPPORTED, - "\u4E0D\u652F\u63F4: {0}"}, - - { ER_NODE_NON_NULL, - "\u7BC0\u9EDE\u5FC5\u9808\u662F\u975E\u7A7A\u503C\u7684 getDTMHandleFromNode"}, - - { ER_COULD_NOT_RESOLVE_NODE, - "\u7121\u6CD5\u89E3\u6790\u7BC0\u9EDE\u70BA\u63A7\u5236\u4EE3\u78BC"}, - - { ER_STARTPARSE_WHILE_PARSING, - "\u5256\u6790\u6642\u53EF\u80FD\u672A\u547C\u53EB startParse"}, - - { ER_STARTPARSE_NEEDS_SAXPARSER, - "startParse \u9700\u8981\u975E\u7A7A\u503C SAXParser"}, - - { ER_COULD_NOT_INIT_PARSER, - "\u7121\u6CD5\u8D77\u59CB\u5256\u6790\u5668"}, - - { ER_EXCEPTION_CREATING_POOL, - "\u5EFA\u7ACB\u96C6\u5340\u7684\u65B0\u57F7\u884C\u8655\u7406\u6642\u767C\u751F\u7570\u5E38\u72C0\u6CC1"}, - - { ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, - "\u8DEF\u5F91\u5305\u542B\u7121\u6548\u7684\u9041\u96E2\u5E8F\u5217"}, - - { ER_SCHEME_REQUIRED, - "\u914D\u7F6E\u662F\u5FC5\u8981\u7684\uFF01"}, - - { ER_NO_SCHEME_IN_URI, - "\u5728 URI \u4E2D\u627E\u4E0D\u5230\u914D\u7F6E: {0}"}, - - { ER_NO_SCHEME_INURI, - "\u5728 URI \u627E\u4E0D\u5230\u914D\u7F6E"}, - - { ER_PATH_INVALID_CHAR, - "\u8DEF\u5F91\u5305\u542B\u7121\u6548\u7684\u5B57\u5143: {0}"}, - - { ER_SCHEME_FROM_NULL_STRING, - "\u7121\u6CD5\u5F9E\u7A7A\u503C\u5B57\u4E32\u8A2D\u5B9A\u914D\u7F6E"}, - - { ER_SCHEME_NOT_CONFORMANT, - "\u914D\u7F6E\u4E0D\u4E00\u81F4\u3002"}, - - { ER_HOST_ADDRESS_NOT_WELLFORMED, - "\u4E3B\u6A5F\u6C92\u6709\u5B8C\u6574\u7684\u4F4D\u5740"}, - - { ER_PORT_WHEN_HOST_NULL, - "\u4E3B\u6A5F\u70BA\u7A7A\u503C\u6642\uFF0C\u7121\u6CD5\u8A2D\u5B9A\u9023\u63A5\u57E0"}, - - { ER_INVALID_PORT, - "\u7121\u6548\u7684\u9023\u63A5\u57E0\u865F\u78BC"}, - - { ER_FRAG_FOR_GENERIC_URI, - "\u53EA\u80FD\u5C0D\u4E00\u822C URI \u8A2D\u5B9A\u7247\u6BB5"}, - - { ER_FRAG_WHEN_PATH_NULL, - "\u8DEF\u5F91\u70BA\u7A7A\u503C\u6642\uFF0C\u7121\u6CD5\u8A2D\u5B9A\u7247\u6BB5"}, - - { ER_FRAG_INVALID_CHAR, - "\u7247\u6BB5\u5305\u542B\u7121\u6548\u7684\u5B57\u5143"}, - - { ER_PARSER_IN_USE, - "\u5256\u6790\u5668\u4F7F\u7528\u4E2D"}, - - { ER_CANNOT_CHANGE_WHILE_PARSING, - "\u5256\u6790\u6642\u7121\u6CD5\u8B8A\u66F4 {0} {1}"}, - - { ER_SELF_CAUSATION_NOT_PERMITTED, - "\u4E0D\u5141\u8A31\u81EA\u884C\u5F15\u767C"}, - - { ER_NO_USERINFO_IF_NO_HOST, - "\u5982\u679C\u6C92\u6709\u6307\u5B9A\u4E3B\u6A5F\uFF0C\u4E0D\u53EF\u6307\u5B9A Userinfo"}, - - { ER_NO_PORT_IF_NO_HOST, - "\u5982\u679C\u6C92\u6709\u6307\u5B9A\u4E3B\u6A5F\uFF0C\u4E0D\u53EF\u6307\u5B9A\u9023\u63A5\u57E0"}, - - { ER_NO_QUERY_STRING_IN_PATH, - "\u5728\u8DEF\u5F91\u53CA\u67E5\u8A62\u5B57\u4E32\u4E2D\u4E0D\u53EF\u6307\u5B9A\u67E5\u8A62\u5B57\u4E32"}, - - { ER_NO_FRAGMENT_STRING_IN_PATH, - "\u8DEF\u5F91\u548C\u7247\u6BB5\u4E0D\u80FD\u540C\u6642\u6307\u5B9A\u7247\u6BB5"}, - - { ER_CANNOT_INIT_URI_EMPTY_PARMS, - "\u7121\u6CD5\u4EE5\u7A7A\u767D\u53C3\u6578\u8D77\u59CB\u8A2D\u5B9A URI"}, - - { ER_METHOD_NOT_SUPPORTED, - "\u5C1A\u4E0D\u652F\u63F4\u65B9\u6CD5"}, - - { ER_INCRSAXSRCFILTER_NOT_RESTARTABLE, - "IncrementalSAXSource_Filter \u76EE\u524D\u7121\u6CD5\u91CD\u65B0\u555F\u52D5"}, - - { ER_XMLRDR_NOT_BEFORE_STARTPARSE, - "XMLReader \u4E0D\u80FD\u5728 startParse \u8981\u6C42\u4E4B\u524D"}, - - { ER_AXIS_TRAVERSER_NOT_SUPPORTED, - "\u4E0D\u652F\u63F4\u8EF8\u5468\u904A\u7A0B\u5F0F: {0}"}, - - { ER_ERRORHANDLER_CREATED_WITH_NULL_PRINTWRITER, - "\u4F7F\u7528\u7A7A\u503C PrintWriter \u5EFA\u7ACB ListingErrorHandler\uFF01"}, - - { ER_SYSTEMID_UNKNOWN, - "\u4E0D\u660E\u7684 SystemId"}, - - { ER_LOCATION_UNKNOWN, - "\u4E0D\u660E\u7684\u932F\u8AA4\u4F4D\u7F6E"}, - - { ER_PREFIX_MUST_RESOLVE, - "\u524D\u7F6E\u78BC\u5FC5\u9808\u89E3\u6790\u70BA\u547D\u540D\u7A7A\u9593: {0}"}, - - { ER_CREATEDOCUMENT_NOT_SUPPORTED, - "XPathContext \u4E2D\u4E0D\u652F\u63F4 createDocument()\uFF01"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT, - "\u5C6C\u6027\u5B50\u9805\u4E0D\u5177\u6709\u64C1\u6709\u8005\u6587\u4EF6\uFF01"}, - - { ER_CHILD_HAS_NO_OWNER_DOCUMENT_ELEMENT, - "\u5C6C\u6027\u5B50\u9805\u4E0D\u5177\u6709\u64C1\u6709\u8005\u6587\u4EF6\u5143\u7D20\uFF01"}, - - { ER_CANT_OUTPUT_TEXT_BEFORE_DOC, - "\u8B66\u544A: \u7121\u6CD5\u5728\u6587\u4EF6\u5143\u7D20\u4E4B\u524D\u8F38\u51FA\u6587\u5B57\uFF01\u6B63\u5728\u5FFD\u7565..."}, - - { ER_CANT_HAVE_MORE_THAN_ONE_ROOT, - "DOM \u7684\u6839\u4E0D\u80FD\u8D85\u904E\u4E00\u500B\uFF01"}, - - { ER_ARG_LOCALNAME_NULL, - "\u5F15\u6578 'localName' \u70BA\u7A7A\u503C"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The localname is the portion after the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_LOCALNAME_INVALID, - "QNAME \u4E2D\u7684 Localname \u61C9\u70BA\u6709\u6548\u7684 NCName"}, - - // Note to translators: A QNAME has the syntactic form [NCName:]NCName - // The prefix is the portion before the optional colon; the message indicates - // that there is a problem with that part of the QNAME. - { ER_ARG_PREFIX_INVALID, - "QNAME \u4E2D\u7684\u524D\u7F6E\u78BC\u61C9\u70BA\u6709\u6548\u7684 NCName"}, - - { ER_NAME_CANT_START_WITH_COLON, - "\u540D\u7A31\u4E0D\u80FD\u4EE5\u5192\u865F\u70BA\u958B\u982D"}, - - { "BAD_CODE", "createMessage \u7684\u53C3\u6578\u8D85\u51FA\u7BC4\u570D"}, - { "FORMAT_FAILED", "messageFormat \u547C\u53EB\u671F\u9593\u767C\u751F\u7570\u5E38\u72C0\u6CC1"}, - { "line", "\u884C\u865F"}, - { "column","\u8CC7\u6599\u6B04\u7DE8\u865F"}, - - {ER_SERIALIZER_NOT_CONTENTHANDLER, - "serializer \u985E\u5225 ''{0}'' \u4E0D\u5BE6\u884C org.xml.sax.ContentHandler\u3002"}, - - {ER_RESOURCE_COULD_NOT_FIND, - "\u627E\u4E0D\u5230\u8CC7\u6E90 [ {0} ]\u3002\n{1}" }, - - {ER_RESOURCE_COULD_NOT_LOAD, - "\u7121\u6CD5\u8F09\u5165\u8CC7\u6E90 [ {0} ]: {1} \n {2} \t {3}" }, - - {ER_BUFFER_SIZE_LESSTHAN_ZERO, - "\u7DE9\u885D\u5340\u5927\u5C0F <=0" }, - - {ER_INVALID_UTF16_SURROGATE, - "\u5075\u6E2C\u5230\u7121\u6548\u7684 UTF-16 \u4EE3\u7406: {0}\uFF1F" }, - - {ER_OIERROR, - "IO \u932F\u8AA4" }, - - {ER_ILLEGAL_ATTRIBUTE_POSITION, - "\u5728\u7522\u751F\u5B50\u9805\u7BC0\u9EDE\u4E4B\u5F8C\uFF0C\u6216\u5728\u7522\u751F\u5143\u7D20\u4E4B\u524D\uFF0C\u4E0D\u53EF\u65B0\u589E\u5C6C\u6027 {0}\u3002\u5C6C\u6027\u6703\u88AB\u5FFD\u7565\u3002"}, - - /* - * Note to translators: The stylesheet contained a reference to a - * namespace prefix that was undefined. The value of the substitution - * text is the name of the prefix. - */ - {ER_NAMESPACE_PREFIX, - "\u5B57\u9996 ''{0}'' \u7684\u547D\u540D\u7A7A\u9593\u5C1A\u672A\u5BA3\u544A\u3002" }, - /* - * Note to translators: This message is reported if the stylesheet - * being processed attempted to construct an XML document with an - * attribute in a place other than on an element. The substitution text - * specifies the name of the attribute. - */ - {ER_STRAY_ATTRIBUTE, - "\u5C6C\u6027 ''{0}'' \u5728\u5143\u7D20\u4E4B\u5916\u3002" }, - - /* - * Note to translators: As with the preceding message, a namespace - * declaration has the form of an attribute and is only permitted to - * appear on an element. The substitution text {0} is the namespace - * prefix and {1} is the URI that was being used in the erroneous - * namespace declaration. - */ - {ER_STRAY_NAMESPACE, - "\u547D\u540D\u7A7A\u9593\u5BA3\u544A ''{0}''=''{1}'' \u8D85\u51FA\u5143\u7D20\u5916\u3002" }, - - {ER_COULD_NOT_LOAD_RESOURCE, - "\u7121\u6CD5\u8F09\u5165 ''{0}'' (\u6AA2\u67E5 CLASSPATH)\uFF0C\u76EE\u524D\u53EA\u4F7F\u7528\u9810\u8A2D\u503C"}, - - { ER_ILLEGAL_CHARACTER, - "\u5617\u8A66\u8F38\u51FA\u6574\u6578\u503C {0} \u7684\u5B57\u5143\uFF0C\u4F46\u662F\u5B83\u4E0D\u662F\u4EE5\u6307\u5B9A\u7684 {1} \u8F38\u51FA\u7DE8\u78BC\u5448\u73FE\u3002"}, - - {ER_COULD_NOT_LOAD_METHOD_PROPERTY, - "\u7121\u6CD5\u8F09\u5165\u8F38\u51FA\u65B9\u6CD5 ''{1}'' \u7684\u5C6C\u6027\u6A94 ''{0}'' (\u6AA2\u67E5 CLASSPATH)" } - - - }; - - /** - * Get the association list. - * - * @return The association list. - */ - - protected Object[][] getContents() { - return contents; - } - -} diff --git a/src/com/sun/org/apache/xml/internal/res/XMLMessages.java b/src/com/sun/org/apache/xml/internal/res/XMLMessages.java deleted file mode 100644 index bb2f9bb..0000000 --- a/src/com/sun/org/apache/xml/internal/res/XMLMessages.java +++ /dev/null @@ -1,159 +0,0 @@ -/* - * reserved comment block - * DO NOT REMOVE OR ALTER! - */ -/* - * Copyright 1999-2004 The Apache Software Foundation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* - * $Id: XMLMessages.java,v 1.2.4.1 2005/09/15 07:45:48 suresh_emailid Exp $ - */ -package com.sun.org.apache.xml.internal.res; - -import com.sun.org.apache.xalan.internal.utils.SecuritySupport; -import java.util.ListResourceBundle; -import java.util.Locale; - -/** - * A utility class for issuing XML error messages. - * @xsl.usage internal - */ -public class XMLMessages -{ - - /** The local object to use. */ - protected Locale fLocale = Locale.getDefault(); - - /** The language specific resource object for XML messages. */ - private static ListResourceBundle XMLBundle = null; - - /** The class name of the XML error message string table. */ - private static final String XML_ERROR_RESOURCES = - "com.sun.org.apache.xml.internal.res.XMLErrorResources"; - - /** String to use if a bad message code is used. */ - protected static final String BAD_CODE = "BAD_CODE"; - - /** String to use if the message format operation failed. */ - protected static final String FORMAT_FAILED = "FORMAT_FAILED"; - - /** - * Set the Locale object to use. - * - * @param locale non-null reference to Locale object. - */ - public void setLocale(Locale locale) - { - fLocale = locale; - } - - /** - * Get the Locale object that is being used. - * - * @return non-null reference to Locale object. - */ - public Locale getLocale() - { - return fLocale; - } - - /** - * Creates a message from the specified key and replacement - * arguments, localized to the given locale. - * - * @param msgKey The key for the message text. - * @param args The arguments to be used as replacement text - * in the message created. - * - * @return The formatted message string. - */ - public static final String createXMLMessage(String msgKey, Object args[]) - { - if (XMLBundle == null) { - XMLBundle = SecuritySupport.getResourceBundle(XML_ERROR_RESOURCES); - } - - if (XMLBundle != null) - { - return createMsg(XMLBundle, msgKey, args); - } - else - return "Could not load any resource bundles."; - } - - /** - * Creates a message from the specified key and replacement - * arguments, localized to the given locale. - * - * @param fResourceBundle The resource bundle to use. - * @param msgKey The message key to use. - * @param args The arguments to be used as replacement text - * in the message created. - * - * @return The formatted message string. - */ - public static final String createMsg(ListResourceBundle fResourceBundle, - String msgKey, Object args[]) //throws Exception - { - - String fmsg = null; - boolean throwex = false; - String msg = null; - - if (msgKey != null) - msg = fResourceBundle.getString(msgKey); - - if (msg == null) - { - msg = fResourceBundle.getString(BAD_CODE); - throwex = true; - } - - if (args != null) - { - try - { - - // Do this to keep format from crying. - // This is better than making a bunch of conditional - // code all over the place. - int n = args.length; - - for (int i = 0; i < n; i++) - { - if (null == args[i]) - args[i] = ""; - } - - fmsg = java.text.MessageFormat.format(msg, args); - } - catch (Exception e) - { - fmsg = fResourceBundle.getString(FORMAT_FAILED); - fmsg += " " + msg; - } - } - else - fmsg = msg; - - if (throwex) - { - throw new RuntimeException(fmsg); - } - - return fmsg; - } - -} |