19f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson/* 29f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Licensed to the Apache Software Foundation (ASF) under one 39f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * or more contributor license agreements. See the NOTICE file 49f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * distributed with this work for additional information 59f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * regarding copyright ownership. The ASF licenses this file 69f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * to you under the Apache License, Version 2.0 (the "License"); 79f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * you may not use this file except in compliance with the License. 89f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * You may obtain a copy of the License at 99f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * http://www.apache.org/licenses/LICENSE-2.0 119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Unless required by applicable law or agreed to in writing, software 139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * distributed under the License is distributed on an "AS IS" BASIS, 149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * See the License for the specific language governing permissions and 169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * limitations under the License. 179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson/* 199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * $Id: SerializerMessages.java 471981 2006-11-07 04:28:00Z minchau $ 209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonpackage org.apache.xml.serializer.utils; 229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.ListResourceBundle; 249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.Locale; 259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.MissingResourceException; 269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonimport java.util.ResourceBundle; 279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson/** 299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * An instance of this class is a ListResourceBundle that 309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * has the required getContents() method that returns 319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * an array of message-key/message associations. 329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * <p> 339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * The message keys are defined in {@link MsgKey}. The 349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * messages that those keys map to are defined here. 359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * <p> 369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * The messages in the English version are intended to be 379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * translated. 389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * This class is not a public API, it is only public because it is 409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * used in the serializer. 419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * @xsl.usage internal 439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilsonpublic class SerializerMessages extends ListResourceBundle { 459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson /* 479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * This file contains error and warning messages related to 489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Serializer Error Handling. 499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * General notes to translators: 519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 1) A stylesheet is a description of how to transform an input XML document 539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * into a resultant XML document (or HTML document or text). The 549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * stylesheet itself is described in the form of an XML document. 559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 2) An element is a mark-up tag in an XML document; an attribute is a 589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * modifier on the tag. For example, in <elem attr='val' attr2='val2'> 599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * "elem" is an element name, "attr" and "attr2" are attribute names with 609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * the values "val" and "val2", respectively. 619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 3) A namespace declaration is a special attribute that is used to associate 639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * a prefix with a URI (the namespace). The meanings of element names and 649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * attribute names that use that prefix are defined with respect to that 659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * namespace. 669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson /** The lookup table for error messages. */ 719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson public Object[][] getContents() { 729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson Object[][] contents = new Object[][] { 739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.BAD_MSGKEY, 749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The message key ''{0}'' is not in the message class ''{1}''" }, 759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.BAD_MSGFORMAT, 779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The format of message ''{0}'' in message class ''{1}'' failed." }, 789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER, 809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The serializer class ''{0}'' does not implement org.xml.sax.ContentHandler." }, 819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_RESOURCE_COULD_NOT_FIND, 839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The resource [ {0} ] could not be found.\n {1}" }, 849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_RESOURCE_COULD_NOT_LOAD, 869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The resource [ {0} ] could not load: {1} \n {2} \t {3}" }, 879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO, 899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Buffer size <=0" }, 909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_INVALID_UTF16_SURROGATE, 929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Invalid UTF-16 surrogate detected: {0} ?" }, 939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_OIERROR, 959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "IO error" }, 969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION, 989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Cannot add attribute {0} after child nodes or before an element is produced. Attribute will be ignored." }, 999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson /* 1019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Note to translators: The stylesheet contained a reference to a 1029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * namespace prefix that was undefined. The value of the substitution 1039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * text is the name of the prefix. 1049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 1059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_NAMESPACE_PREFIX, 1069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Namespace for prefix ''{0}'' has not been declared." }, 1079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson /* 1099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Note to translators: This message is reported if the stylesheet 1109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * being processed attempted to construct an XML document with an 1119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * attribute in a place other than on an element. The substitution text 1129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * specifies the name of the attribute. 1139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 1149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_STRAY_ATTRIBUTE, 1159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Attribute ''{0}'' outside of element." }, 1169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson /* 1189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Note to translators: As with the preceding message, a namespace 1199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * declaration has the form of an attribute and is only permitted to 1209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * appear on an element. The substitution text {0} is the namespace 1219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * prefix and {1} is the URI that was being used in the erroneous 1229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * namespace declaration. 1239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 1249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_STRAY_NAMESPACE, 1259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Namespace declaration ''{0}''=''{1}'' outside of element." }, 1269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_COULD_NOT_LOAD_RESOURCE, 1289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Could not load ''{0}'' (check CLASSPATH), now using just the defaults" }, 1299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_ILLEGAL_CHARACTER, 1319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Attempt to output character of integral value {0} that is not represented in specified output encoding of {1}." }, 1329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY, 1349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Could not load the propery file ''{0}'' for output method ''{1}'' (check CLASSPATH)" }, 1359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_INVALID_PORT, 1379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Invalid port number" }, 1389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_PORT_WHEN_HOST_NULL, 1409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Port cannot be set when host is null" }, 1419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED, 1439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Host is not a well formed address" }, 1449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_SCHEME_NOT_CONFORMANT, 1469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The scheme is not conformant." }, 1479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_SCHEME_FROM_NULL_STRING, 1499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Cannot set scheme from null string" }, 1509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE, 1529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Path contains invalid escape sequence" }, 1539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_PATH_INVALID_CHAR, 1559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Path contains invalid character: {0}" }, 1569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_FRAG_INVALID_CHAR, 1589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Fragment contains invalid character" }, 1599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_FRAG_WHEN_PATH_NULL, 1619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Fragment cannot be set when path is null" }, 1629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_FRAG_FOR_GENERIC_URI, 1649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Fragment can only be set for a generic URI" }, 1659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_NO_SCHEME_IN_URI, 1679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "No scheme found in URI" }, 1689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS, 1709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Cannot initialize URI with empty parameters" }, 1719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH, 1739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Fragment cannot be specified in both the path and fragment" }, 1749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_NO_QUERY_STRING_IN_PATH, 1769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Query string cannot be specified in path and query string" }, 1779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_NO_PORT_IF_NO_HOST, 1799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Port may not be specified if host is not specified" }, 1809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_NO_USERINFO_IF_NO_HOST, 1829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Userinfo may not be specified if host is not specified" }, 1839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_XML_VERSION_NOT_SUPPORTED, 1859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Warning: The version of the output document is requested to be ''{0}''. This version of XML is not supported. The version of the output document will be ''1.0''." }, 1869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_SCHEME_REQUIRED, 1889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Scheme is required!" }, 1899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson /* 1919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * Note to translators: The words 'Properties' and 1929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * 'SerializerFactory' in this message are Java class names 1939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson * and should not be translated. 1949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson */ 1959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_FACTORY_PROPERTY_MISSING, 1969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The Properties object passed to the SerializerFactory does not have a ''{0}'' property." }, 1979f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 1989f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_ENCODING_NOT_SUPPORTED, 1999f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "Warning: The encoding ''{0}'' is not supported by the Java runtime." }, 2009f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2019f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_FEATURE_NOT_FOUND, 2029f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The parameter ''{0}'' is not recognized."}, 2039f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2049f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_FEATURE_NOT_SUPPORTED, 2059f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The parameter ''{0}'' is recognized but the requested value cannot be set."}, 2069f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2079f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_STRING_TOO_LONG, 2089f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The resulting string is too long to fit in a DOMString: ''{0}''."}, 2099f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2109f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_TYPE_MISMATCH_ERR, 2119f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The value type for this parameter name is incompatible with the expected value type."}, 2129f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2139f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_NO_OUTPUT_SPECIFIED, 2149f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The output destination for data to be written to was null."}, 2159f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2169f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_UNSUPPORTED_ENCODING, 2179f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An unsupported encoding is encountered."}, 2189f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2199f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_UNABLE_TO_SERIALIZE_NODE, 2209f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The node could not be serialized."}, 2219f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2229f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_CDATA_SECTIONS_SPLIT, 2239f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The CDATA Section contains one or more termination markers ']]>'."}, 2249f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2259f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_WARNING_WF_NOT_CHECKED, 2269f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An instance of the Well-Formedness checker could not be created. The well-formed parameter was set to true but well-formedness checking can not be performed." 2279f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2289f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2299f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_WF_INVALID_CHARACTER, 2309f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The node ''{0}'' contains invalid XML characters." 2319f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2329f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2339f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT, 2349f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An invalid XML character (Unicode: 0x{0}) was found in the comment." 2359f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2369f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2379f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_WF_INVALID_CHARACTER_IN_PI, 2389f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An invalid XML character (Unicode: 0x{0}) was found in the processing instructiondata." 2399f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2409f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2419f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA, 2429f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An invalid XML character (Unicode: 0x{0}) was found in the contents of the CDATASection." 2439f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2449f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2459f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT, 2469f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An invalid XML character (Unicode: 0x{0}) was found in the node''s character data content." 2479f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2489f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2499f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME, 2509f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An invalid XML character(s) was found in the {0} node named ''{1}''." 2519f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2529f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2539f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_WF_DASH_IN_COMMENT, 2549f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The string \"--\" is not permitted within comments." 2559f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2569f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2579f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_WF_LT_IN_ATTVAL, 2589f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The value of attribute \"{1}\" associated with an element type \"{0}\" must not contain the ''<'' character." 2599f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2609f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2619f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_WF_REF_TO_UNPARSED_ENT, 2629f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The unparsed entity reference \"&{0};\" is not permitted." 2639f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2649f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2659f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_WF_REF_TO_EXTERNAL_ENT, 2669f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The external entity reference \"&{0};\" is not permitted in an attribute value." 2679f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2689f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2699f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND, 2709f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The prefix \"{0}\" can not be bound to namespace \"{1}\"." 2719f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2729f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2739f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_NULL_LOCAL_ELEMENT_NAME, 2749f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The local name of element \"{0}\" is null." 2759f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2769f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2779f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson {MsgKey.ER_NULL_LOCAL_ATTR_NAME, 2789f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The local name of attr \"{0}\" is null." 2799f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2809f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2819f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF, 2829f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The replacement text of the entity node \"{0}\" contains an element node \"{1}\" with an unbound prefix \"{2}\"." 2839f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2849f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2859f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF, 2869f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "The replacement text of the entity node \"{0}\" contains an attribute node \"{1}\" with an unbound prefix \"{2}\"." 2879f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2889f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2899f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson { MsgKey.ER_WRITING_INTERNAL_SUBSET, 2909f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson "An error occured while writing the internal subset." 2919f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }, 2929f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson }; 2939f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson 2949f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson return contents; 2959f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson } 2969f8118474e9513f7a5b7d2a05e4a0fb15d1a6569Jesse Wilson} 297