jaxp/src/com/sun/org/apache/xml/internal/serializer/utils/SerializerMessages.java
changeset 25834 aba3efbf4ec5
parent 12457 c348e06f0e82
equal deleted inserted replaced
25833:054a597b18f8 25834:aba3efbf4ec5
     1 /*
     1 /*
     2  * reserved comment block
     2  * reserved comment block
     3  * DO NOT REMOVE OR ALTER!
     3  * DO NOT REMOVE OR ALTER!
     4  */
     4  */
     5 /*
     5 /*
     6  * Copyright 2004 The Apache Software Foundation.
     6  * Licensed to the Apache Software Foundation (ASF) under one
     7  *
     7  * or more contributor license agreements. See the NOTICE file
     8  * Licensed under the Apache License, Version 2.0 (the "License");
     8  * distributed with this work for additional information
       
     9  * regarding copyright ownership. The ASF licenses this file
       
    10  * to you under the Apache License, Version 2.0 (the  "License");
     9  * you may not use this file except in compliance with the License.
    11  * you may not use this file except in compliance with the License.
    10  * You may obtain a copy of the License at
    12  * You may obtain a copy of the License at
    11  *
    13  *
    12  *     http://www.apache.org/licenses/LICENSE-2.0
    14  *     http://www.apache.org/licenses/LICENSE-2.0
    13  *
    15  *
   198                 "The Properties object passed to the SerializerFactory does not have a ''{0}'' property." },
   200                 "The Properties object passed to the SerializerFactory does not have a ''{0}'' property." },
   199 
   201 
   200             {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
   202             {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
   201                 "Warning:  The encoding ''{0}'' is not supported by the Java runtime." },
   203                 "Warning:  The encoding ''{0}'' is not supported by the Java runtime." },
   202 
   204 
       
   205              {MsgKey.ER_FEATURE_NOT_FOUND,
       
   206              "The parameter ''{0}'' is not recognized."},
       
   207 
       
   208              {MsgKey.ER_FEATURE_NOT_SUPPORTED,
       
   209              "The parameter ''{0}'' is recognized but the requested value cannot be set."},
       
   210 
       
   211              {MsgKey.ER_STRING_TOO_LONG,
       
   212              "The resulting string is too long to fit in a DOMString: ''{0}''."},
       
   213 
       
   214              {MsgKey.ER_TYPE_MISMATCH_ERR,
       
   215              "The value type for this parameter name is incompatible with the expected value type."},
       
   216 
       
   217              {MsgKey.ER_NO_OUTPUT_SPECIFIED,
       
   218              "The output destination for data to be written to was null."},
       
   219 
       
   220              {MsgKey.ER_UNSUPPORTED_ENCODING,
       
   221              "An unsupported encoding is encountered."},
       
   222 
       
   223              {MsgKey.ER_UNABLE_TO_SERIALIZE_NODE,
       
   224              "The node could not be serialized."},
       
   225 
       
   226              {MsgKey.ER_CDATA_SECTIONS_SPLIT,
       
   227              "The CDATA Section contains one or more termination markers ']]>'."},
       
   228 
       
   229              {MsgKey.ER_WARNING_WF_NOT_CHECKED,
       
   230                  "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."
       
   231              },
       
   232 
       
   233              {MsgKey.ER_WF_INVALID_CHARACTER,
       
   234                  "The node ''{0}'' contains invalid XML characters."
       
   235              },
       
   236 
       
   237              { MsgKey.ER_WF_INVALID_CHARACTER_IN_COMMENT,
       
   238                  "An invalid XML character (Unicode: 0x{0}) was found in the comment."
       
   239              },
       
   240 
       
   241              { MsgKey.ER_WF_INVALID_CHARACTER_IN_PI,
       
   242                  "An invalid XML character (Unicode: 0x{0}) was found in the processing instructiondata."
       
   243              },
       
   244 
       
   245              { MsgKey.ER_WF_INVALID_CHARACTER_IN_CDATA,
       
   246                  "An invalid XML character (Unicode: 0x{0}) was found in the contents of the CDATASection."
       
   247              },
       
   248 
       
   249              { MsgKey.ER_WF_INVALID_CHARACTER_IN_TEXT,
       
   250                  "An invalid XML character (Unicode: 0x{0}) was found in the node''s character data content."
       
   251              },
       
   252 
       
   253              { MsgKey.ER_WF_INVALID_CHARACTER_IN_NODE_NAME,
       
   254                  "An invalid XML character(s) was found in the {0} node named ''{1}''."
       
   255              },
       
   256 
       
   257              { MsgKey.ER_WF_DASH_IN_COMMENT,
       
   258                  "The string \"--\" is not permitted within comments."
       
   259              },
       
   260 
       
   261              {MsgKey.ER_WF_LT_IN_ATTVAL,
       
   262                  "The value of attribute \"{1}\" associated with an element type \"{0}\" must not contain the ''<'' character."
       
   263              },
       
   264 
       
   265              {MsgKey.ER_WF_REF_TO_UNPARSED_ENT,
       
   266                  "The unparsed entity reference \"&{0};\" is not permitted."
       
   267              },
       
   268 
       
   269              {MsgKey.ER_WF_REF_TO_EXTERNAL_ENT,
       
   270                  "The external entity reference \"&{0};\" is not permitted in an attribute value."
       
   271              },
       
   272 
       
   273              {MsgKey.ER_NS_PREFIX_CANNOT_BE_BOUND,
       
   274                  "The prefix \"{0}\" can not be bound to namespace \"{1}\"."
       
   275              },
       
   276 
       
   277              {MsgKey.ER_NULL_LOCAL_ELEMENT_NAME,
       
   278                  "The local name of element \"{0}\" is null."
       
   279              },
       
   280 
       
   281              {MsgKey.ER_NULL_LOCAL_ATTR_NAME,
       
   282                  "The local name of attr \"{0}\" is null."
       
   283              },
       
   284 
       
   285              { MsgKey.ER_ELEM_UNBOUND_PREFIX_IN_ENTREF,
       
   286                  "The replacement text of the entity node \"{0}\" contains an element node \"{1}\" with an unbound prefix \"{2}\"."
       
   287              },
       
   288 
       
   289              { MsgKey.ER_ATTR_UNBOUND_PREFIX_IN_ENTREF,
       
   290                  "The replacement text of the entity node \"{0}\" contains an attribute node \"{1}\" with an unbound prefix \"{2}\"."
       
   291              },
       
   292 
       
   293              { MsgKey.ER_WRITING_INTERNAL_SUBSET,
       
   294                  "An error occured while writing the internal subset."
       
   295              },
   203 
   296 
   204         };
   297         };
   205 
   298 
   206         return contents;
   299         return contents;
   207     }
   300     }