You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mi...@apache.org on 2005/08/05 01:59:14 UTC

cvs commit: xml-xalan/java/src/org/apache/xml/serializer/utils SerializerMessages.java MsgKey.java

minchau     2005/08/04 16:59:14

  Modified:    java/src/org/apache/xml/serializer/utils
                        SerializerMessages.java MsgKey.java
  Log:
  Committing XALANJ-2181, not yet reviewed, but a safe fix.
  
  When the requested encoding is not supported by the JDK no
  warning is given,... this fix adds an error message.
  
  Revision  Changes    Path
  1.9       +5 -1      xml-xalan/java/src/org/apache/xml/serializer/utils/SerializerMessages.java
  
  Index: SerializerMessages.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/utils/SerializerMessages.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- SerializerMessages.java	7 Apr 2005 04:29:04 -0000	1.8
  +++ SerializerMessages.java	4 Aug 2005 23:59:14 -0000	1.9
  @@ -193,6 +193,10 @@
               {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
                   "The Properties object passed to the SerializerFactory does not have a ''{0}'' property." },
   
  +            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
  +                "Warning:  The encoding ''{0}'' is not supported by the Java runtime." },
  +                
  +
           };
   
           return contents;
  
  
  
  1.4       +3 -1      xml-xalan/java/src/org/apache/xml/serializer/utils/MsgKey.java
  
  Index: MsgKey.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/serializer/utils/MsgKey.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MsgKey.java	7 Mar 2005 20:34:36 -0000	1.3
  +++ MsgKey.java	4 Aug 2005 23:59:14 -0000	1.4
  @@ -93,4 +93,6 @@
       public static final String ER_SCHEME_REQUIRED = "ER_SCHEME_REQUIRED";
       public static final String ER_XML_VERSION_NOT_SUPPORTED = "ER_XML_VERSION_NOT_SUPPORTED";
       public static final String ER_FACTORY_PROPERTY_MISSING = "ER_FACTORY_PROPERTY_MISSING";
  +    public static final String ER_ENCODING_NOT_SUPPORTED = "ER_ENCODING_NOT_SUPPORTED";
  +    
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org