Update the translated message files for globalization support. Checkin for feature XALANJ-2281
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_ca.java b/src/org/apache/xml/serializer/utils/SerializerMessages_ca.java
index 5fbd095..2c0c77d 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_ca.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_ca.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,107 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_ca extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-      { MsgKey.BAD_MSGKEY,
-        "The message key ''{0}'' is not in the message class ''{1}''"},
 
-      { MsgKey.BAD_MSGFORMAT,
-        "The format of message ''{0}'' in message class ''{1}'' failed."},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "The serializer class ''{0}'' does not implement org.xml.sax.ContentHandler."},
+     *  1) 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.
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "The resource [ {0} ] could not be found.\n {1}"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "The resource [ {0} ] could not load: {1} \n {2} \n {3}"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "La clau del missatge ''{0}'' no est\u00e0 a la classe del missatge ''{1}''" },
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Buffer size <=0"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "El format del missatge ''{0}'' a la classe del missatge ''{1}'' ha fallat." },
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "Invalid UTF-16 surrogate detected: {0} ?"},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "La classe de serialitzador ''{0}'' no implementa org.xml.sax.ContentHandler." },
 
-      { MsgKey.ER_OIERROR,
-        "IO error"},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "No s''ha trobat el recurs [ {0} ].\n {1}" },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Cannot add attribute {0} after child nodes or before an element is produced.  Attribute will be ignored."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "No s''ha pogut carregar el recurs [ {0} ]: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "Namespace for prefix ''{0}'' has not been declared."},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Grand\u00e0ria del buffer <=0" },
 
-      { MsgKey.ER_STRAY_ATTRIBUTE,
-        "Attribute ''{0}'' outside of element."},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "S''ha detectat un suplent UTF-16 no v\u00e0lid: {0} ?" },
 
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "Namespace declaration ''{0}''=''{1}'' outside of element."},
+            {   MsgKey.ER_OIERROR,
+                "Error d'E/S" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "Could not load ''{0}'' (check CLASSPATH), now using just the defaults"},
+            {   MsgKey.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." },
 
-      { MsgKey.ER_ILLEGAL_CHARACTER,
-        "Attempt to output character of integral value {0} that is not represented in specified output encoding of {1}."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "No s''ha declarat l''espai de noms pel prefix ''{0}''." },
 
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "Could not load the propery file ''{0}'' for output method ''{1}'' (check CLASSPATH)"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "L''atribut ''{0}'' es troba fora de l''element." },
 
-      { MsgKey.ER_INVALID_PORT,
-        "Invalid port number"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "La declaraci\u00f3 de l''espai de noms ''{0}''=''{1}'' es troba fora de l''element." },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "Port cannot be set when host is null"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "No s''ha pogut carregar ''{0}'' (comproveu CLASSPATH), ara s''est\u00e0 fent servir els valors per defecte." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "Host is not a well formed address"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "S''ha intentat un car\u00e0cter de sortida del valor integral {0} que no est\u00e0 representat a una codificaci\u00f3 de sortida especificada de {1}." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "The scheme is not conformant."},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "No s''ha pogut carregar el fitxer de propietats ''{0}'' del m\u00e8tode de sortida ''{1}'' (comproveu CLASSPATH)" },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Cannot set scheme from null string"},
+            {   MsgKey.ER_INVALID_PORT,
+                "N\u00famero de port no v\u00e0lid" },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "Path contains invalid escape sequence"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "El port no es pot establir quan el sistema principal \u00e9s nul" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "Path contains invalid character: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "El format de l'adre\u00e7a del sistema principal no \u00e9s el correcte" },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "Fragment contains invalid character"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "L'esquema no t\u00e9 conformitat." },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "Fragment cannot be set when path is null"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "No es pot establir un esquema des d'una cadena nul\u00b7la" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Fragment can only be set for a generic URI"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "La via d'acc\u00e9s cont\u00e9 una seq\u00fc\u00e8ncia d'escapament no v\u00e0lida" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "No scheme found in URI"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "La via d''acc\u00e9s cont\u00e9 un car\u00e0cter no v\u00e0lid {0}" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "Cannot initialize URI with empty parameters"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "El fragment cont\u00e9 un car\u00e0cter no v\u00e0lid" },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Fragment cannot be specified in both the path and fragment"},
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "El fragment no es pot establir si la via d'acc\u00e9s \u00e9s nul\u00b7la" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "Query string cannot be specified in path and query string"},
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "El fragment nom\u00e9s es pot establir per a un URI gen\u00e8ric" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Port may not be specified if host is not specified"},
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "No s'ha trobat cap esquema a l'URI" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Userinfo may not be specified if host is not specified"},
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "No es pot inicialitzar l'URI amb par\u00e0metres buits" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "Scheme is required!"}
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "No es pot especificar un fragment tant en la via d'acc\u00e9s com en el fragment" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.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" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "No es pot especificar el port si no s'especifica el sistema principal" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "No es pot especificar informaci\u00f3 de l'usuari si no s'especifica el sistema principal" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Av\u00eds: la versi\u00f3 del document de sortida s''ha sol\u00b7licitat que sigui ''{0}''. Aquesta versi\u00f3 de XML no est\u00e0 suportada. La versi\u00f3 del document de sortida ser\u00e0 ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Es necessita l'esquema" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "L''objecte de propietats passat a SerializerFactory no t\u00e9 cap propietat ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Av\u00eds: el temps d''execuci\u00f3 de Java no d\u00f3na suport a la codificaci\u00f3 ''{0}''." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_cs.java b/src/org/apache/xml/serializer/utils/SerializerMessages_cs.java
index 1082eee..9035d46 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_cs.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_cs.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_cs extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "T\u0159\u00edda serializace ''{0}'' neimplementuje org.xml.sax.ContentHandler."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "Nelze naj\u00edt zdroj [ {0} ].\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "Nelze zav\u00e9st zdroj [ {0} ]: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Velikost vyrovn\u00e1vac\u00ed pam\u011bti <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "Byla zji\u0161t\u011bna neplatn\u00e1 n\u00e1hrada UTF-16: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "Kl\u00ed\u010d zpr\u00e1vy ''{0}'' nen\u00ed obsa\u017een ve t\u0159\u00edd\u011b zpr\u00e1v ''{1}''" },
 
-      { MsgKey.ER_OIERROR,
-        "Chyba vstupu/v\u00fdstupu"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "Form\u00e1t zpr\u00e1vy ''{0}'' ve t\u0159\u00edd\u011b zpr\u00e1v ''{1}'' selhal. " },
 
-      { MsgKey.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."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "T\u0159\u00edda serializace ''{0}'' neimplementuje obslu\u017en\u00fd program org.xml.sax.ContentHandler." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "Obor n\u00e1zv\u016f pro p\u0159edponu ''{0}'' nebyl deklarov\u00e1n."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "Nelze naj\u00edt zdroj [ {0} ].\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "Deklarace oboru n\u00e1zv\u016f ''{0}''=''{1}'' je vn\u011b prvku."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "Nelze zav\u00e9st zdroj [ {0} ]: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "Nelze zav\u00e9st ''{0}'' (zkontrolujte prom\u011bnnou CLASSPATH), proto se pou\u017e\u00edvaj\u00ed pouze v\u00fdchoz\u00ed hodnoty"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Velikost vyrovn\u00e1vac\u00ed pam\u011bti <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "Nelze na\u010d\u00edst soubor vlastnost\u00ed ''{0}'' pro v\u00fdstupn\u00ed metodu ''{1}'' (zkontrolujte prom\u011bnnou CLASSPATH)."},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Byla zji\u0161t\u011bna neplatn\u00e1 n\u00e1hrada UTF-16: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "Neplatn\u00e9 \u010d\u00edslo portu."},
+            {   MsgKey.ER_OIERROR,
+                "Chyba vstupu/v\u00fdstupu" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "M\u00e1-li hostitel hodnotu null, nelze nastavit port."},
+            {   MsgKey.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." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "Adresa hostitele m\u00e1 nespr\u00e1vn\u00fd form\u00e1t."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "Obor n\u00e1zv\u016f pro p\u0159edponu ''{0}'' nebyl deklarov\u00e1n." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "Sch\u00e9ma nevyhovuje."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "Atribut ''{0}'' se nach\u00e1z\u00ed vn\u011b prvku." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Nelze nastavit sch\u00e9ma \u0159et\u011bzce s hodnotou null."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Deklarace oboru n\u00e1zv\u016f ''{0}''=''{1}'' se nach\u00e1z\u00ed vn\u011b prvku." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "Cesta obsahuje neplatnou escape sekvenci"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "Nelze zav\u00e9st prost\u0159edek ''{0}'' (zkontrolujte prom\u011bnnou CLASSPATH) - budou pou\u017eity pouze v\u00fdchoz\u00ed prost\u0159edky" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "Cesta obsahuje neplatn\u00fd znak: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Byl proveden pokus o v\u00fdstup znaku s celo\u010d\u00edselnou hodnotou {0}, kter\u00e1 nen\u00ed reprezentov\u00e1na v ur\u010den\u00e9m v\u00fdstupn\u00edm k\u00f3dov\u00e1n\u00ed {1}." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "Fragment obsahuje neplatn\u00fd znak."},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "Nelze na\u010d\u00edst soubor vlastnost\u00ed ''{0}'' pro v\u00fdstupn\u00ed metodu ''{1}'' (zkontrolujte prom\u011bnnou CLASSPATH)." },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "M\u00e1-li cesta hodnotu null, nelze nastavit fragment."},
+            {   MsgKey.ER_INVALID_PORT,
+                "Neplatn\u00e9 \u010d\u00edslo portu." },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Fragment lze nastavit jen u generick\u00e9ho URI."},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "M\u00e1-li hostitel hodnotu null, nelze nastavit port." },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "V URI nebylo nalezeno \u017e\u00e1dn\u00e9 sch\u00e9ma: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "Adresa hostitele m\u00e1 nespr\u00e1vn\u00fd form\u00e1t." },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "URI nelze inicializovat s pr\u00e1zdn\u00fdmi parametry."},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "Sch\u00e9ma nevyhovuje." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Fragment nelze ur\u010dit z\u00e1rove\u0148 v cest\u011b i ve fragmentu."},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Nelze nastavit sch\u00e9ma \u0159et\u011bzce s hodnotou null." },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "V \u0159et\u011bzci cesty a dotazu nelze zadat \u0159et\u011bzec dotazu."},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Cesta obsahuje neplatnou escape sekvenci" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Nen\u00ed-li ur\u010den hostitel, nelze zadat port."},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Cesta obsahuje neplatn\u00fd znak: {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Nen\u00ed-li ur\u010den hostitel, nelze zadat \u00fadaje o u\u017eivateli."},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Fragment obsahuje neplatn\u00fd znak." },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "Je vy\u017eadov\u00e1no sch\u00e9ma!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "M\u00e1-li cesta hodnotu null, nelze nastavit fragment." },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Fragment lze nastavit jen u generick\u00e9ho URI." },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "V URI nebylo nalezeno \u017e\u00e1dn\u00e9 sch\u00e9ma" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "URI nelze inicializovat s pr\u00e1zdn\u00fdmi parametry." },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Fragment nelze ur\u010dit z\u00e1rove\u0148 v cest\u011b i ve fragmentu." },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "V \u0159et\u011bzci cesty a dotazu nelze zadat \u0159et\u011bzec dotazu." },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Nen\u00ed-li ur\u010den hostitel, nelze zadat port." },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Nen\u00ed-li ur\u010den hostitel, nelze zadat \u00fadaje o u\u017eivateli." },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Varov\u00e1n\u00ed: Je po\u017eadov\u00e1na verze ''{0}'' v\u00fdstupn\u00edho dokumentu. Tato verze form\u00e1tu XML nen\u00ed podporov\u00e1na. Bude pou\u017eita verze ''1.0'' v\u00fdstupn\u00edho dokumentu. " },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Je vy\u017eadov\u00e1no sch\u00e9ma!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "Objekt vlastnost\u00ed p\u0159edan\u00fd faktorii SerializerFactory neobsahuje vlastnost ''{0}''. " },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Varov\u00e1n\u00ed: K\u00f3dov\u00e1n\u00ed ''{0}'' nen\u00ed v b\u011bhov\u00e9m prost\u0159ed\u00ed Java podporov\u00e1no." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_de.java b/src/org/apache/xml/serializer/utils/SerializerMessages_de.java
index 09a6dc7..f9e4047 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_de.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_de.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_de extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "Die Parallel-Seriell-Umsetzerklasse ''{0}'' implementiert org.xml.sax.ContentHandler nicht."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "Die Ressource [ {0} ] konnte nicht gefunden werden.\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "Die Ressource [ {0} ] konnte nicht geladen werden: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Puffergr\u00f6\u00dfe <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "Ung\u00fcltige UTF-16-Ersetzung festgestellt: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "Der Nachrichtenschl\u00fcssel ''{0}'' ist nicht in der Nachrichtenklasse ''{1}'' enthalten." },
 
-      { MsgKey.ER_OIERROR,
-        "E/A-Fehler"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "Das Format der Nachricht ''{0}'' in der Nachrichtenklasse ''{1}'' ist fehlgeschlagen." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Attribut {0} kann nicht nach Kindknoten oder vor dem Erstellen eines Elements hinzugef\u00fcgt werden.  Das Attribut wird ignoriert."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "Die Parallel-Seriell-Umsetzerklasse ''{0}'' implementiert org.xml.sax.ContentHandler nicht." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "Der Namensbereich f\u00fcr Pr\u00e4fix ''{0}'' wurde nicht deklariert."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "Die Ressource [ {0} ] konnte nicht gefunden werden.\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "Namensbereichsdeklaration ''{0}''=''{1}'' befindet sich nicht in einem Element."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "Die Ressource [ {0} ] konnte nicht geladen werden: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "''{0}'' konnte nicht geladen werden (CLASSPATH pr\u00fcfen); es werden die Standardwerte verwendet"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Puffergr\u00f6\u00dfe <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "Merkmaldatei ''{0}'' konnte f\u00fcr Ausgabemethode ''{1}'' nicht geladen werden (CLASSPATH pr\u00fcfen)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Ung\u00fcltige UTF-16-Ersetzung festgestellt: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "Ung\u00fcltige Portnummer"},
+            {   MsgKey.ER_OIERROR,
+                "E/A-Fehler" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "Der Port kann nicht festgelegt werden, wenn der Host gleich Null ist."},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Attribut {0} kann nicht nach Kindknoten oder vor dem Erstellen eines Elements hinzugef\u00fcgt werden.  Das Attribut wird ignoriert." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "Der Host ist keine syntaktisch korrekte Adresse."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "Der Namensbereich f\u00fcr Pr\u00e4fix ''{0}'' wurde nicht deklariert." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "Das Schema ist nicht angepasst."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "Attribut ''{0}'' befindet sich nicht in einem Element." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Schema kann nicht von Nullzeichenfolge festgelegt werden."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Namensbereichdeklaration ''{0}''=''{1}'' befindet sich nicht in einem Element." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "Der Pfad enth\u00e4lt eine ung\u00fcltige Escapezeichenfolge."},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "''{0}'' konnte nicht geladen werden (CLASSPATH pr\u00fcfen). Es werden die Standardwerte verwendet." },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "Pfad enth\u00e4lt ung\u00fcltiges Zeichen: {0}."},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Es wurde versucht, ein Zeichen des Integralwerts {0} auszugeben, der nicht in der angegebenen Ausgabeverschl\u00fcsselung von {1} dargestellt ist." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "Fragment enth\u00e4lt ein ung\u00fcltiges Zeichen."},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "Die Merkmaldatei ''{0}'' konnte f\u00fcr die Ausgabemethode ''{1}'' nicht geladen werden (CLASSPATH pr\u00fcfen)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "Fragment kann nicht festgelegt werden, wenn der Pfad gleich Null ist."},
+            {   MsgKey.ER_INVALID_PORT,
+                "Ung\u00fcltige Portnummer" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Fragment kann nur f\u00fcr eine generische URI (Uniform Resource Identifier) festgelegt werden."},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "Der Port kann nicht festgelegt werden, wenn der Host gleich Null ist." },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "Kein Schema gefunden in URI: {0}."},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "Der Host ist keine syntaktisch korrekte Adresse." },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "URI (Uniform Resource Identifier) kann nicht mit leeren Parametern initialisiert werden."},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "Das Schema ist nicht angepasst." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Fragment kann nicht im Pfad und im Fragment angegeben werden."},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Schema kann nicht von Nullzeichenfolge festgelegt werden." },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "Abfragezeichenfolge kann nicht im Pfad und in der Abfragezeichenfolge angegeben werden."},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Der Pfad enth\u00e4lt eine ung\u00fcltige Escapezeichenfolge." },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Der Port kann nicht angegeben werden, wenn der Host nicht angegeben wurde."},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Pfad enth\u00e4lt ung\u00fcltiges Zeichen: {0}." },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Benutzerinformationen k\u00f6nnen nicht angegeben werden, wenn der Host nicht angegeben wurde."},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Fragment enth\u00e4lt ein ung\u00fcltiges Zeichen." },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "Schema ist erforderlich!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "Fragment kann nicht festgelegt werden, wenn der Pfad gleich Null ist." },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Fragment kann nur f\u00fcr eine generische URI (Uniform Resource Identifier) festgelegt werden." },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "Kein Schema gefunden in URI" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "URI (Uniform Resource Identifier) kann nicht mit leeren Parametern initialisiert werden." },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Fragment kann nicht im Pfad und im Fragment angegeben werden." },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "Abfragezeichenfolge kann nicht im Pfad und in der Abfragezeichenfolge angegeben werden." },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Der Port kann nicht angegeben werden, wenn der Host nicht angegeben wurde." },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Benutzerinformationen k\u00f6nnen nicht angegeben werden, wenn der Host nicht angegeben wurde." },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Warnung: Die Version des Ausgabedokuments muss ''{0}'' lauten.  Diese XML-Version wird nicht unterst\u00fctzt.  Die Version des Ausgabedokuments ist ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Schema ist erforderlich!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "Das an SerializerFactory \u00fcbermittelte Merkmalobjekt weist kein Merkmal ''{0}'' auf." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Warnung:  Die Codierung ''{0}'' wird von Java Runtime nicht unterst\u00fctzt." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_es.java b/src/org/apache/xml/serializer/utils/SerializerMessages_es.java
index fd69c2a..595ac11 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_es.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_es.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_es extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "La clase serializer ''{0}'' no implementa org.xml.sax.ContentHandler."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "No se ha podido cargar el recurso [ {0} ].\n{1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "No se ha podido cargar el recurso [ {0} ]: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Tama\u00f1o de almacenamiento intermedio <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "\u00bfSe ha detectado un sustituto UTF-16 no v\u00e1lido: {0}?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "La clave de mensaje ''{0}'' no est\u00e1 en la clase de mensaje ''{1}''" },
 
-      { MsgKey.ER_OIERROR,
-        "Error de ES"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "Se ha producido un error en el formato de mensaje ''{0}'' de la clase de mensaje ''{1}''." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "No se puede a\u00f1adir el atributo {0} despu\u00e9s de nodos hijo o antes de que se produzca un elemento. Se ignorar\u00e1 el atributo."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "La clase serializer ''{0}'' no implementa org.xml.sax.ContentHandler." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "No se ha declarado el espacio de nombres para el prefijo ''{0}''."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "No se ha podido encontrar el recurso [ {0} ].\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "Declaraci\u00f3n del espacio de nombres ''{0}''=''{1}'' fuera del elemento."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "No se ha podido cargar el recurso [ {0} ]: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "No se ha podido cargar ''{0}'' (compruebe la CLASSPATH), ahora s\u00f3lo se est\u00e1n utilizando los valores por omisi\u00f3n"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Tama\u00f1o de almacenamiento intermedio <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.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)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "\u00bfSe ha detectado un sustituto UTF-16 no v\u00e1lido: {0}?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "N\u00famero de puerto no v\u00e1lido"},
+            {   MsgKey.ER_OIERROR,
+                "Error de ES" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "No se puede establecer el puerto si el sistema principal es nulo"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "No se puede a\u00f1adir el atributo {0} despu\u00e9s de nodos hijo o antes de que se produzca un elemento.  Se ignorar\u00e1 el atributo." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "El sistema principal no es una direcci\u00f3n bien formada"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "No se ha declarado el espacio de nombres para el prefijo ''{0}''." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "El esquema no es compatible."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "Atributo ''{0}'' fuera del elemento." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "No se puede establecer un esquema de una serie nula"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Declaraci\u00f3n del espacio de nombres ''{0}''=''{1}'' fuera del elemento." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "La v\u00eda de acceso contiene una secuencia de escape no v\u00e1lida"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "No se ha podido cargar ''{0}'' (compruebe la CLASSPATH), ahora s\u00f3lo se est\u00e1n utilizando los valores predeterminados" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "La v\u00eda de acceso contiene un car\u00e1cter no v\u00e1lido: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Se ha intentado dar salida a un car\u00e1cter del valor integral {0} que no est\u00e1 representado en la codificaci\u00f3n de salida especificada de {1}." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "El fragmento contiene un car\u00e1cter no v\u00e1lido"},
+            {   MsgKey.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)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "No se puede establecer el fragmento si la v\u00eda de acceso es nula"},
+            {   MsgKey.ER_INVALID_PORT,
+                "N\u00famero de puerto no v\u00e1lido" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "S\u00f3lo se puede establecer el fragmento para un URI gen\u00e9rico"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "No se puede establecer el puerto si el sistema principal es nulo" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "No se ha encontrado un esquema en el URI: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "El sistema principal no es una direcci\u00f3n bien formada" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "No se puede inicializar el URI con par\u00e1metros vac\u00edos"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "El esquema no es compatible." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "No se puede especificar el fragmento en la v\u00eda de acceso y en el fragmento"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "No se puede establecer un esquema de una serie nula" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "No se puede especificar la serie de consulta en la v\u00eda de acceso y en la serie de consulta"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "La v\u00eda de acceso contiene una secuencia de escape no v\u00e1lida" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "No se puede especificar el puerto si no se ha especificado el sistema principal"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "La v\u00eda de acceso contiene un car\u00e1cter no v\u00e1lido: {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "No se puede especificar la informaci\u00f3n de usuario si no se ha especificado el sistema principal"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "El fragmento contiene un car\u00e1cter no v\u00e1lido" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "\u00a1Se necesita un esquema!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "No se puede establecer el fragmento si la v\u00eda de acceso es nula" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "S\u00f3lo se puede establecer el fragmento para un URI gen\u00e9rico" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "No se ha encontrado un esquema en el URI" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "No se puede inicializar el URI con par\u00e1metros vac\u00edos" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "No se puede especificar el fragmento en la v\u00eda de acceso y en el fragmento" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "No se puede especificar la serie de consulta en la v\u00eda de acceso y en la serie de consulta" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "No se puede especificar el puerto si no se ha especificado el sistema principal" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "No se puede especificar la informaci\u00f3n de usuario si no se ha especificado el sistema principal" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Aviso: la versi\u00f3n del documento de salida tiene que ser ''{0}''.  No se admite esta versi\u00f3n de XML.  La versi\u00f3n del documento de salida ser\u00e1 ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "\u00a1Se necesita un esquema!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "El objeto Properties pasado a SerializerFactory no tiene una propiedad ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Aviso: La codificaci\u00f3n ''{0}'' no est\u00e1 soportada por Java Runtime." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_fr.java b/src/org/apache/xml/serializer/utils/SerializerMessages_fr.java
index b36ab73..2d7af35 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_fr.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_fr.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_fr extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "La classe de la m\u00e9thode de s\u00e9rialisation ''{0}'' n''impl\u00e9mente pas org.xml.sax.ContentHandler."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "La ressource [ {0} ] est introuvable.\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "La ressource [ {0} ] n''a pas pu charger : {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Taille du tampon <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "Substitut UTF-16 non valide d\u00e9tect\u00e9 : {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "La cl\u00e9 du message ''{0}'' ne se trouve pas dans la classe du message ''{1}''" },
 
-      { MsgKey.ER_OIERROR,
-        "Erreur d''E-S"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "Le format du message ''{0}'' de la classe du message ''{1}'' est incorrect." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Ajout impossible de l''attribut {0} apr\u00e8s des noeuds enfants ou avant la production d''un \u00e9l\u00e9ment.  L''attribut est ignor\u00e9."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "La classe de la m\u00e9thode de s\u00e9rialisation ''{0}'' n''impl\u00e9mente pas org.xml.sax.ContentHandler." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "L''espace de noms du pr\u00e9fixe ''{0}'' n''a pas \u00e9t\u00e9 d\u00e9clar\u00e9."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "La ressource [ {0} ] est introuvable.\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "La d\u00e9claration d''espace de noms ''{0}''=''{1}'' est \u00e0 l''ext\u00e9rieur de l''\u00e9l\u00e9ment."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "La ressource [ {0} ] n''a pas pu charger : {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "Impossible de charger ''{0}'' (v\u00e9rifier CLASSPATH), les valeurs par d\u00e9faut sont donc employ\u00e9es "},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Taille du tampon <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.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)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Substitut UTF-16 non valide d\u00e9tect\u00e9 : {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "Num\u00e9ro de port non valide"},
+            {   MsgKey.ER_OIERROR,
+                "Erreur d'E-S" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "Le port ne peut \u00eatre d\u00e9fini quand l'h\u00f4te est vide"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Ajout impossible de l''attribut {0} apr\u00e8s des noeuds enfants ou avant la production d''un \u00e9l\u00e9ment.  L''attribut est ignor\u00e9." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "L'h\u00f4te n'est pas une adresse bien form\u00e9e"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "L''espace de noms du pr\u00e9fixe ''{0}'' n''a pas \u00e9t\u00e9 d\u00e9clar\u00e9." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "Le processus n'est pas conforme."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "L''attribut ''{0}'' est \u00e0 l''ext\u00e9rieur de l''\u00e9l\u00e9ment." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Impossible de d\u00e9finir le processus \u00e0 partir de la cha\u00eene vide"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "La d\u00e9claration d''espace de noms ''{0}''=''{1}'' est \u00e0 l''ext\u00e9rieur de l''\u00e9l\u00e9ment." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "Le chemin d'acc\u00e8s contient une s\u00e9quence d'\u00e9chappement non valide"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "Impossible de charger ''{0}'' (v\u00e9rifier CLASSPATH), les valeurs par d\u00e9faut sont donc employ\u00e9es" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "Le chemin contient un caract\u00e8re non valide : {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Tentative de sortie d''un caract\u00e8re de la valeur enti\u00e8re {0} non repr\u00e9sent\u00e9e dans l''encodage de sortie de {1}." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "Le fragment contient un caract\u00e8re non valide"},
+            {   MsgKey.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)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "Le fragment ne peut \u00eatre d\u00e9fini quand le chemin d'acc\u00e8s est vide"},
+            {   MsgKey.ER_INVALID_PORT,
+                "Num\u00e9ro de port non valide" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Le fragment ne peut \u00eatre d\u00e9fini que pour un URI g\u00e9n\u00e9rique"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "Le port ne peut \u00eatre d\u00e9fini quand l'h\u00f4te est vide" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "Processus introuvable dans l''URI : {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "L'h\u00f4te n'est pas une adresse bien form\u00e9e" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "Impossible d'initialiser l'URI avec des param\u00e8tres vides"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "Le processus n'est pas conforme." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Le fragment ne doit pas \u00eatre indiqu\u00e9 \u00e0 la fois dans le chemin et dans le fragment"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Impossible de d\u00e9finir le processus \u00e0 partir de la cha\u00eene vide" },
 
-      { MsgKey.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"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Le chemin d'acc\u00e8s contient une s\u00e9quence d'\u00e9chappement non valide" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Le port peut ne pas \u00eatre sp\u00e9cifi\u00e9 si l'h\u00f4te n'est pas sp\u00e9cifi\u00e9"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Le chemin contient un caract\u00e8re non valide : {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Userinfo ne peut \u00eatre sp\u00e9cifi\u00e9 si l'h\u00f4te ne l'est pas"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Le fragment contient un caract\u00e8re non valide" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "Processus requis !"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "Le fragment ne peut \u00eatre d\u00e9fini quand le chemin d'acc\u00e8s est vide" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Le fragment ne peut \u00eatre d\u00e9fini que pour un URI g\u00e9n\u00e9rique" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "Processus introuvable dans l'URI" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Impossible d'initialiser l'URI avec des param\u00e8tres vides" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Le fragment ne doit pas \u00eatre indiqu\u00e9 \u00e0 la fois dans le chemin et dans le fragment" },
+
+            {   MsgKey.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" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Le port peut ne pas \u00eatre sp\u00e9cifi\u00e9 si l'h\u00f4te n'est pas sp\u00e9cifi\u00e9" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Userinfo ne peut \u00eatre sp\u00e9cifi\u00e9 si l'h\u00f4te ne l'est pas" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Avertissement : La version du document de sortie doit \u00eatre ''{0}''.  Cette version XML n''est pas prise en charge.  La version du document de sortie sera ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Processus requis !" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "L''objet Properties transmis \u00e0 SerializerFactory ne dispose pas de propri\u00e9t\u00e9 ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Avertissement : Le codage ''{0}'' n''est pas pris en charge par l''environnement d''ex\u00e9cution Java." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_hu.java b/src/org/apache/xml/serializer/utils/SerializerMessages_hu.java
index 84349ad..24820ae 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_hu.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_hu.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_hu extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "A(z) ''{0}'' serializer oszt\u00e1ly nem val\u00f3s\u00edtja meg az org.xml.sax.ContentHandler funkci\u00f3t."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "A(z) [ {0} ] er\u0151forr\u00e1s nem tal\u00e1lhat\u00f3.\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "Az er\u0151forr\u00e1st [ {0} ] nem lehet bet\u00f6lteni: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Pufferm\u00e9ret <= 0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "\u00c9rv\u00e9nytelen UTF-16 helyettes\u00edt\u00e9s: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "A(z) ''{0}'' \u00fczenetkulcs nem tal\u00e1lhat\u00f3 a(z) ''{1}'' \u00fczenetoszt\u00e1lyban." },
 
-      { MsgKey.ER_OIERROR,
-        "IO hiba"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "A(z) ''{1}'' \u00fczenetoszt\u00e1ly ''{0}'' \u00fczenet\u00e9nek form\u00e1tuma hib\u00e1s." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Nem lehet {0} attrib\u00fatumat felvenni a gyermek node-ok ut\u00e1n vagy miel\u0151tt egy elem l\u00e9trej\u00f6nne.  Az attrib\u00fatum figyelmen k\u00edv\u00fcl marad."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "A(z) ''{0}'' p\u00e9ld\u00e1nyos\u00edt\u00f3 oszt\u00e1ly nem val\u00f3s\u00edtja meg az org.xml.sax.ContentHandler f\u00fcggv\u00e9nyt." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "A(z) ''{0}'' el\u0151tag n\u00e9vtere nem defini\u00e1lt."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "A(z) [ {0} ] er\u0151forr\u00e1s nem tal\u00e1lhat\u00f3.\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "A(z) ''{0}''=''{1}'' n\u00e9vt\u00e9r-deklar\u00e1ci\u00f3 k\u00edv\u00fcl esik az elemen."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "A(z) [ {0} ] er\u0151forr\u00e1st nem lehet bet\u00f6lteni: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "Nem lehet bet\u00f6lteni ''{0}''-t (ellen\u0151rizze a CLASSPATH be\u00e1ll\u00edt\u00e1st), az alap\u00e9rtelmez\u00e9seket haszn\u00e1lom"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Pufferm\u00e9ret <= 0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "Nem lehet bet\u00f6lteni a(z) ''{0}'' tulajdons\u00e1g-f\u00e1jlt a(z) ''{1}''  (ellen\u0151rizze a CLASSPATH be\u00e1ll\u00edt\u00e1st)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "\u00c9rv\u00e9nytelen UTF-16 helyettes\u00edt\u00e9s: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "\u00c9rv\u00e9nytelen portsz\u00e1m"},
+            {   MsgKey.ER_OIERROR,
+                "IO hiba" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "A port-t nem \u00e1ll\u00edthatja be, ha a host null"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Nem lehet {0} attrib\u00fatumot hozz\u00e1adni ut\u00f3d csom\u00f3pontok ut\u00e1n vagy egy elem el\u0151\u00e1ll\u00edt\u00e1sa el\u0151tt.  Az attrib\u00fatum figyelmen k\u00edv\u00fcl marad." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "A host nem j\u00f3l form\u00e1zott c\u00edm"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "A(z) ''{0}'' el\u0151tag n\u00e9vtere nincs deklar\u00e1lva." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "A s\u00e9ma nem megfelel\u0151."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "A(z) ''{0}'' attrib\u00fatum k\u00edv\u00fcl esik az elemen." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Nem lehet be\u00e1ll\u00edtani a s\u00e9m\u00e1t null karakterl\u00e1ncb\u00f3l"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "A(z) ''{0}''=''{1}'' n\u00e9vt\u00e9rdeklar\u00e1ci\u00f3 k\u00edv\u00fcl esik az elemen." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "Az el\u00e9r\u00e9i \u00fat \u00e9rv\u00e9nytelen eszk\u00e9pszekvenci\u00e1t tartalmaz"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "Nem lehet bet\u00f6lteni ''{0}'' er\u0151forr\u00e1st (ellen\u0151rizze a CLASSPATH be\u00e1ll\u00edt\u00e1st), a rendszer az alap\u00e9rtelmez\u00e9seket haszn\u00e1lja." },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "Az el\u00e9r\u00e9si \u00fat \u00e9rv\u00e9nytelen karaktert tartalmaz: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "K\u00eds\u00e9rletet tett {0} \u00e9rt\u00e9k\u00e9nek karakteres ki\u00edr\u00e1s\u00e1ra, de nem jelen\u00edthet\u0151 meg a megadott {1} kimeneti k\u00f3dol\u00e1ssal." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "A darab \u00e9rv\u00e9nytelen karaktert tartalmaz"},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "Nem lehet bet\u00f6lteni a(z) ''{0}'' tulajdons\u00e1gf\u00e1jlt a(z) ''{1}'' met\u00f3dushoz (ellen\u0151rizze a CLASSPATH be\u00e1ll\u00edt\u00e1st)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "A darabot csak nem \u00e1ll\u00edthatja be, h\u00ed az el\u00e9r\u00e9si \u00fat null"},
+            {   MsgKey.ER_INVALID_PORT,
+                "\u00c9rv\u00e9nytelen portsz\u00e1m" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Darabot csak egy \u00e1ltal\u00e1nos URI-hoz \u00e1ll\u00edthat be"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "A portot nem \u00e1ll\u00edthatja be, ha a hoszt null" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "Nem tal\u00e1lhat\u00f3 s\u00e9ma az URI-ban: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "A hoszt nem j\u00f3l form\u00e1zott c\u00edm" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "Nem inicializ\u00e1lhatja az URI-t \u00fcres param\u00e9terekkel"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "A s\u00e9ma nem megfelel\u0151." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Darabot nem adhat meg sem az el\u00e9r\u00e9si \u00fatban sem a darabban"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Nem lehet be\u00e1ll\u00edtani a s\u00e9m\u00e1t null karaktersorozatb\u00f3l" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "Lek\u00e9rdez\u00e9si karakterl\u00e1ncot nem adhat meg el\u00e9r\u00e9si \u00fatban \u00e9s lek\u00e9rdez\u00e9si karakterl\u00e1ncban"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Az el\u00e9r\u00e9si \u00fat \u00e9rv\u00e9nytelen vez\u00e9rl\u0151 jelsorozatot tartalmaz" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Nem adhat meg port-ot, ha nem adott meg host-ot"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Az el\u00e9r\u00e9si \u00fat \u00e9rv\u00e9nytelen karaktert tartalmaz: {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Nem adhat meg userinfo-t, ha nem adott meg host-ot"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "A t\u00f6red\u00e9k \u00e9rv\u00e9nytelen karaktert tartalmaz" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "S\u00e9m\u00e1ra sz\u00fcks\u00e9g van!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "A t\u00f6red\u00e9ket nem \u00e1ll\u00edthatja be, ha az el\u00e9r\u00e9si \u00fat null" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Csak \u00e1ltal\u00e1nos URI-hoz \u00e1ll\u00edthat be t\u00f6red\u00e9ket" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "Nem tal\u00e1lhat\u00f3 s\u00e9ma az URI-ban" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Az URI nem inicializ\u00e1lhat\u00f3 \u00fcres param\u00e9terekkel" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Nem adhat meg t\u00f6red\u00e9ket az el\u00e9r\u00e9si \u00fatban \u00e9s a t\u00f6red\u00e9kben is" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "Nem adhat meg lek\u00e9rdez\u00e9si karaktersorozatot az el\u00e9r\u00e9si \u00fatban \u00e9s a lek\u00e9rdez\u00e9si karaktersorozatban" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Nem adhatja meg a portot, ha nincs megadva hoszt" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Nem adhatja meg a felhaszn\u00e1l\u00f3i inform\u00e1ci\u00f3kat, ha nincs megadva hoszt" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Figyelmeztet\u00e9s: A kimeneti dokumentum k\u00e9rt verzi\u00f3ja ''{0}''.  Az XML ezen verzi\u00f3ja nem t\u00e1mogatott.  A kimeneti dokumentum verzi\u00f3ja ''1.0'' lesz." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "S\u00e9m\u00e1ra van sz\u00fcks\u00e9g!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "A SerializerFactory oszt\u00e1lynak \u00e1tadott Properties objektumnak nincs ''{0}'' tulajdons\u00e1ga." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Figyelmeztet\u00e9s: A(z) ''{0}'' k\u00f3dol\u00e1st nem t\u00e1mogatja a Java fut\u00e1si k\u00f6rnyezet." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_it.java b/src/org/apache/xml/serializer/utils/SerializerMessages_it.java
index c915468..2479149 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_it.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_it.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_it extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "La classe serializer ''{0}'' non implementa org.xml.sax.ContentHandler."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "Risorsa [ {0} ] non trovata.\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "Impossibile caricare la risorsa [ {0} ]: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Dimensione buffer <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "Rilevato surrogato UTF-16 non valido: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "La chiave messaggio ''{0}'' non si trova nella classe del messaggio ''{1}''" },
 
-      { MsgKey.ER_OIERROR,
-        "Errore IO"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "Il formato del messaggio ''{0}'' nella classe del messaggio ''{1}'' non \u00e8 riuscito." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Impossibile aggiungere l''attributo {0} dopo i nodi secondari o prima che sia prodotto un elemento. L''attributo verr\u00e0 ignorato. "},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "La classe del serializzatore ''{0}'' non implementa org.xml.sax.ContentHandler." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "Lo spazio nomi per il prefisso ''{0}'' non \u00e8 stato dichiarato. "},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "Risorsa [ {0} ] non trovata.\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "Dichiarazione dello spazio nome ''{0}''=''{1}'' al di fuori dell''elemento. "},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "Impossibile caricare la risorsa [ {0} ]: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "Impossibile caricare ''{0}'' (verificare CLASSPATH); verranno utilizzati i valori predefiniti "},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Dimensione buffer <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "Impossibile caricare il file delle propriet\u00e0 ''{0}'' per il metodo di emissione ''{1}'' (verificare CLASSPATH)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Rilevato surrogato UTF-16 non valido: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "Numero di porta non valido"},
+            {   MsgKey.ER_OIERROR,
+                "Errore IO" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "La porta non pu\u00f2 essere impostata se l'host \u00e8 nullo"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Impossibile aggiungere l''''attributo {0} dopo i nodi secondari o prima che sia prodotto un elemento.  L''''attributo verr\u00e0 ignorato." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "Host non \u00e8 un'indirizzo corretto"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "Lo spazio nomi per il prefisso ''{0}'' non \u00e8 stato dichiarato." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "Lo schema non \u00e8 conforme."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "L''''attributo ''{0}'' al di fuori dell''''elemento." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Impossibile impostare lo schema da una stringa nulla"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Dichiarazione dello spazio nome ''{0}''=''{1}'' al di fuori dell''''elemento." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "Il percorso contiene sequenza di escape non valida"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "Impossibile caricare ''{0}'' (verificare CLASSPATH), verranno utilizzati i valori predefiniti" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "Il percorso contiene un carattere non valido: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Tentare di generare l''''output del carattere di valor integrale {0} che non \u00e8 rappresentato nella codifica di output specificata di {1}." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "Il frammento contiene un carattere non valido"},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "Impossibile caricare il file delle propriet\u00e0 ''{0}'' per il metodo di emissione ''{1}'' (verificare CLASSPATH)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "Il frammento non pu\u00f2 essere impostato se il percorso \u00e8 nullo"},
+            {   MsgKey.ER_INVALID_PORT,
+                "Numero di porta non valido" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Il frammento pu\u00f2 essere impostato solo per un URI generico"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "La porta non pu\u00f2 essere impostata se l'host \u00e8 nullo" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "Nessuno schema trovato nell''URI: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "Host non \u00e8 un'indirizzo corretto" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "Impossibile inizializzare l'URI con i parametri vuoti"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "Lo schema non \u00e8 conforme." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Il frammento non pu\u00f2 essere specificato sia nel percorso che nel frammento"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Impossibile impostare lo schema da una stringa nulla" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "La stringa di interrogazione non pu\u00f2 essere specificata nella stringa di interrogazione e percorso."},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Il percorso contiene sequenza di escape non valida" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "La porta non pu\u00f2 essere specificata se l'host non \u00e8 specificato"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Il percorso contiene un carattere non valido: {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Userinfo non pu\u00f2 essere specificato se l'host non \u00e8 specificato"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Il frammento contiene un carattere non valido" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "Lo schema \u00e8 obbligatorio."}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "Il frammento non pu\u00f2 essere impostato se il percorso \u00e8 nullo" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Il frammento pu\u00f2 essere impostato solo per un URI generico" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "Non \u00e8 stato trovato alcuno schema nell'URI" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Impossibile inizializzare l'URI con i parametri vuoti" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Il frammento non pu\u00f2 essere specificato sia nel percorso che nel frammento" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "La stringa di interrogazione non pu\u00f2 essere specificata nella stringa di interrogazione e percorso." },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "La porta non pu\u00f2 essere specificata se l'host non S specificato" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Userinfo non pu\u00f2 essere specificato se l'host non S specificato" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Attenzione:  La versione del documento di emissione \u00e8 obbligatorio che sia ''{0}''.  Questa versione di XML non \u00e8 supportata.  La versione del documento di emissione sar\u00e0 ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Lo schema \u00e8 obbligatorio." },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "L''''oggetto Properties passato al SerializerFactory non ha una propriet\u00e0 ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Avvertenza:  La codifica ''{0}'' non \u00e8 supportata da Java runtime." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java b/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java
index 2c9a6aa..0b6405d 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_ja.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_ja extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "\u30b7\u30ea\u30a2\u30e9\u30a4\u30b6\u30fc\u30fb\u30af\u30e9\u30b9 ''{0}'' \u306f org.xml.sax.ContentHandler \u3092\u30a4\u30f3\u30d7\u30ea\u30e1\u30f3\u30c8\u3057\u307e\u305b\u3093\u3002"},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "\u30ea\u30bd\u30fc\u30b9 [ {0} ] \u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.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} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "\u30d0\u30c3\u30d5\u30a1\u30fc\u30fb\u30b5\u30a4\u30ba <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "\u7121\u52b9\u306a UTF-16 \u30b5\u30ed\u30b2\u30fc\u30c8\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30ad\u30fc ''{0}'' \u306f\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30af\u30e9\u30b9 ''{1}'' \u306b\u3042\u308a\u307e\u305b\u3093\u3002" },
 
-      { MsgKey.ER_OIERROR,
-        "\u5165\u51fa\u529b\u30a8\u30e9\u30fc"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "\u30e1\u30c3\u30bb\u30fc\u30b8\u30fb\u30af\u30e9\u30b9 ''{1}'' \u306e\u30e1\u30c3\u30bb\u30fc\u30b8 ''{0}'' \u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u8a2d\u5b9a\u304c\u5931\u6557\u3057\u307e\u3057\u305f\u3002" },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "\u4e0b\u4f4d\u30ce\u30fc\u30c9\u306e\u5f8c\u307e\u305f\u306f\u30a8\u30ec\u30e1\u30f3\u30c8\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"},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "\u30b7\u30ea\u30a2\u30e9\u30a4\u30b6\u30fc\u30fb\u30af\u30e9\u30b9 ''{0}'' \u306f org.xml.sax.ContentHandler \u3092\u5b9f\u88c5\u3057\u307e\u305b\u3093\u3002" },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "\u63a5\u982d\u90e8 ''{0}'' \u306e\u30cd\u30fc\u30e0\u30fb\u30b9\u30da\u30fc\u30b9\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002"},
+            {   MsgKey.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_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "\u30cd\u30fc\u30e0\u30fb\u30b9\u30da\u30fc\u30b9\u5ba3\u8a00 ''{0}''=''{1}'' \u304c\u30a8\u30ec\u30e1\u30f3\u30c8\u306e\u5916\u5074\u3067\u3059\u3002"},
+            {   MsgKey.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}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u8abf\u3079\u3066\u304f\u3060\u3055\u3044)\u3002\u73fe\u5728\u306f\u5358\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "\u30d0\u30c3\u30d5\u30a1\u30fc\u30fb\u30b5\u30a4\u30ba <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "\u51fa\u529b\u30e1\u30bd\u30c3\u30c9 ''{1}'' \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u30fb\u30d5\u30a1\u30a4\u30eb ''{0}'' \u3092\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (CLASSPATH \u3092\u78ba\u8a8d)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "\u7121\u52b9\u306a UTF-16 \u30b5\u30ed\u30b2\u30fc\u30c8\u304c\u691c\u51fa\u3055\u308c\u307e\u3057\u305f: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u756a\u53f7"},
+            {   MsgKey.ER_OIERROR,
+                "\u5165\u51fa\u529b\u30a8\u30e9\u30fc" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "\u30db\u30b9\u30c8\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30dd\u30fc\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "\u4e0b\u4f4d\u30ce\u30fc\u30c9\u306e\u5f8c\u307e\u305f\u306f\u8981\u7d20\u304c\u751f\u6210\u3055\u308c\u308b\u524d\u306b\u5c5e\u6027 {0} \u306f\u8ffd\u52a0\u3067\u304d\u307e\u305b\u3093\u3002  \u5c5e\u6027\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002" },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "\u30db\u30b9\u30c8\u306f\u3046\u307e\u304f\u69cb\u6210\u3055\u308c\u305f\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308a\u307e\u305b\u3093"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "\u63a5\u982d\u90e8 ''{0}'' \u306e\u540d\u524d\u7a7a\u9593\u304c\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002" },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "\u30b9\u30ad\u30fc\u30e0\u306f\u4e00\u81f4\u3057\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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "\u5c5e\u6027 ''{0}'' \u304c\u8981\u7d20\u306e\u5916\u5074\u3067\u3059\u3002" },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "\u30cc\u30eb\u30fb\u30b9\u30c8\u30ea\u30f3\u30b0\u304b\u3089\u306f\u30b9\u30ad\u30fc\u30e0\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "\u540d\u524d\u7a7a\u9593\u5ba3\u8a00 ''{0}''=''{1}'' \u304c\u8981\u7d20\u306e\u5916\u5074\u3067\u3059\u3002" },
 
-      { MsgKey.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"},
+            {   MsgKey.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\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u3082\u306e\u306e\u307f\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "\u30d1\u30b9\u306b\u7121\u52b9\u6587\u5b57: {0} \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "{1} \u306e\u6307\u5b9a\u3055\u308c\u305f\u51fa\u529b\u30a8\u30f3\u30b3\u30fc\u30c9\u3067\u8868\u305b\u306a\u3044\u6574\u6570\u5024 {0} \u306e\u6587\u5b57\u306e\u51fa\u529b\u3092\u8a66\u307f\u307e\u3057\u305f\u3002" },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306b\u7121\u52b9\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059"},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "\u51fa\u529b\u30e1\u30bd\u30c3\u30c9 ''{1}'' \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\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)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "\u30d1\u30b9\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
+            {   MsgKey.ER_INVALID_PORT,
+                "\u7121\u52b9\u306a\u30dd\u30fc\u30c8\u756a\u53f7" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "\u7dcf\u79f0 URI \u306e\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "\u30db\u30b9\u30c8\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30dd\u30fc\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "\u30b9\u30ad\u30fc\u30e0\u306f URI {0} \u3067\u898b\u3064\u304b\u308a\u307e\u305b\u3093"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "\u30db\u30b9\u30c8\u306f\u3046\u307e\u304f\u69cb\u6210\u3055\u308c\u305f\u30a2\u30c9\u30ec\u30b9\u3067\u3042\u308a\u307e\u305b\u3093" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "URI \u306f\u7a7a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u521d\u671f\u5316\u3067\u304d\u307e\u305b\u3093"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "\u30b9\u30ad\u30fc\u30e0\u306f\u4e00\u81f4\u3057\u3066\u3044\u307e\u305b\u3093\u3002" },
 
-      { MsgKey.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"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "\u30cc\u30eb\u30fb\u30b9\u30c8\u30ea\u30f3\u30b0\u304b\u3089\u306f\u30b9\u30ad\u30fc\u30e0\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u306f\u30d1\u30b9\u304a\u3088\u3073\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u5185\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093"},
+            {   MsgKey.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" },
 
-      { MsgKey.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\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "\u30d1\u30b9\u306b\u7121\u52b9\u6587\u5b57: {0} \u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f Userinfo \u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306b\u7121\u52b9\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "\u30b9\u30ad\u30fc\u30e0\u304c\u5fc5\u8981\u3067\u3059!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "\u30d1\u30b9\u304c\u30cc\u30eb\u3067\u3042\u308b\u3068\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "\u7dcf\u79f0 URI \u306e\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3057\u304b\u8a2d\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "\u30b9\u30ad\u30fc\u30e0\u306f URI \u3067\u898b\u3064\u304b\u308a\u307e\u305b\u3093" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "URI \u306f\u7a7a\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u521d\u671f\u5316\u3067\u304d\u307e\u305b\u3093" },
+
+            {   MsgKey.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" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u306f\u30d1\u30b9\u304a\u3088\u3073\u7167\u4f1a\u30b9\u30c8\u30ea\u30f3\u30b0\u5185\u306b\u6307\u5b9a\u3067\u304d\u307e\u305b\u3093" },
+
+            {   MsgKey.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\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "\u30db\u30b9\u30c8\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f Userinfo \u3092\u6307\u5b9a\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "\u8b66\u544a: \u51fa\u529b\u6587\u66f8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3057\u3066 ''{0}'' \u304c\u8981\u6c42\u3055\u308c\u307e\u3057\u305f\u3002  \u3053\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e XML \u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u307e\u305b\u3093\u3002  \u51fa\u529b\u6587\u66f8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f ''1.0'' \u306b\u306a\u308a\u307e\u3059\u3002" },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "\u30b9\u30ad\u30fc\u30e0\u304c\u5fc5\u8981\u3067\u3059\u3002" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "SerializerFactory \u306b\u6e21\u3055\u308c\u305f Properties \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f ''{0}'' \u30d7\u30ed\u30d1\u30c6\u30a3\u30fc\u304c\u3042\u308a\u307e\u305b\u3093\u3002" },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "\u8b66\u544a:  \u30a8\u30f3\u30b3\u30fc\u30c9 ''{0}'' \u306f\u3053\u306e Java \u30e9\u30f3\u30bf\u30a4\u30e0\u3067\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002" },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java b/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java
index dc7e2fa..729d88e 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_ko.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_ko extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "''{0}'' \uc9c1\ub82c\ud654 \ud504\ub85c\uadf8\ub7a8 \ud074\ub798\uc2a4\uac00 org.xml.sax.ContentHandler\ub97c \uad6c\ud604\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "[ {0} ] \uc790\uc6d0\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "[ {0} ] \uc790\uc6d0\uc774 {1} \n {2} \n {3}\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. "},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "\ubc84\ud37c \ud06c\uae30 <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "\uc798\ubabb\ub41c UTF-16 \ub300\ub9ac\uc790(surrogate)\uac00 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "''{0}'' \uba54\uc2dc\uc9c0 \ud0a4\uac00 ''{1}'' \uba54\uc2dc\uc9c0 \ud074\ub798\uc2a4\uc5d0 \uc5c6\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_OIERROR,
-        "IO \uc624\ub958"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "''{1}'' \uba54\uc2dc\uc9c0 \ud074\ub798\uc2a4\uc5d0 \uc788\ub294 ''{0}'' \uba54\uc2dc\uc9c0\uc758 \ud615\uc2dd\uc774 \uc798\ubabb \ub418\uc5c8\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "\ud558\uc704 \ub178\ub4dc\uac00 \uc0dd\uc131\ub41c \uc774\ud6c4 \ub610\ub294 \uc694\uc18c\uac00 \uc791\uc131\ub418\uae30 \uc774\uc804\uc5d0 {0} \uc18d\uc131\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc18d\uc131\uc774 \ubb34\uc2dc\ub429\ub2c8\ub2e4."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "''{0}'' \uc9c1\ub82c \ud504\ub85c\uadf8\ub7a8 \ud074\ub798\uc2a4\uac00 org.xml.sax.ContentHandler\ub97c \uad6c\ud604\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "''{0}'' \uc811\ub450\ubd80\uc5d0 \ub300\ud55c \uc774\ub984 \uacf5\uac04\uc774 \uc120\uc5b8\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "[ {0} ] \uc790\uc6d0\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.\n{1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "''{0}''=''{1}'' \uc774\ub984 \uacf5\uac04 \uc120\uc5b8\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "[ {0} ] \uc790\uc6d0\uc774 {1} \n {2} \t {3}\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "''{0}''(CLASSPATH \ud655\uc778)\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc73c\ubbc0\ub85c, \ud604\uc7ac \uae30\ubcf8\uac12\ub9cc\uc744 \uc0ac\uc6a9 \uc911\uc785\ub2c8\ub2e4."},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "\ubc84\ud37c \ud06c\uae30 <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "''{1}''\ucd9c\ub825 \uba54\uc18c\ub4dc(CLASSPATH \ud655\uc778)\uc5d0 \ub300\ud55c ''{0}'' \ud2b9\uc131 \ud30c\uc77c\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "\uc798\ubabb\ub41c UTF-16 \ub300\ub9ac\uc790(surrogate)\uac00 \ubc1c\uacac\ub418\uc5c8\uc2b5\ub2c8\ub2e4: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "\uc798\ubabb\ub41c \ud3ec\ud2b8 \ubc88\ud638"},
+            {   MsgKey.ER_OIERROR,
+                "IO \uc624\ub958" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "\ud638\uc2a4\ud2b8\uac00 \ub110(null)\uc774\uba74 \ud3ec\ud2b8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "\ud558\uc704 \ub178\ub4dc\uac00 \uc0dd\uc131\ub41c \uc774\ud6c4 \ub610\ub294 \uc694\uc18c\uac00 \uc791\uc131\ub418\uae30 \uc774\uc804\uc5d0 {0} \uc18d\uc131\uc744 \ucd94\uac00\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \uc18d\uc131\uc774 \ubb34\uc2dc\ub429\ub2c8\ub2e4." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "\ud638\uc2a4\ud2b8\uac00 \uc644\uc804\ud55c \uc8fc\uc18c\uac00 \uc544\ub2d9\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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "''{0}'' \uc811\ub450\ubd80\uc5d0 \ub300\ud55c \uc774\ub984 \uacf5\uac04\uc774 \uc120\uc5b8\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "\uc124\uacc4\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "''{0}'' \uc18d\uc131\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "\ub110(null) \ubb38\uc790\uc5f4\uc5d0\uc11c \uc124\uacc4\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "''{0}''=''{1}'' \uc774\ub984 \uacf5\uac04 \uc120\uc5b8\uc774 \uc694\uc18c\uc758 \uc678\ubd80\uc5d0 \uc788\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \uc774\uc2a4\ucf00\uc774\ud504 \uc21c\uc11c\uac00 \uc788\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "''{0}''(CLASSPATH \ud655\uc778)\uc744(\ub97c) \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc73c\ubbc0\ub85c, \ud604\uc7ac \uae30\ubcf8\uac12\ub9cc\uc744 \uc0ac\uc6a9\ud558\ub294 \uc911\uc785\ub2c8\ub2e4." },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "{1}\uc758 \uc9c0\uc815\ub41c \ucd9c\ub825 \uc778\ucf54\ub529\uc5d0 \ud45c\uc2dc\ub418\uc9c0 \uc54a\uc740 \ubb34\uacb0\uc131 \uac12 {0}\uc758 \ubb38\uc790\ub97c \ucd9c\ub825\ud558\uc2ed\uc2dc\uc624. " },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "\ub2e8\ud3b8\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "''{1}'' \ucd9c\ub825 \uba54\uc18c\ub4dc(CLASSPATH \ud655\uc778)\uc5d0 \ub300\ud55c ''{0}'' \ud2b9\uc131 \ud30c\uc77c\uc744 \ub85c\ub4dc\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "\uacbd\ub85c\uac00 \ub110(null)\uc774\uba74 \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_INVALID_PORT,
+                "\uc798\ubabb\ub41c \ud3ec\ud2b8 \ubc88\ud638" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "\uc77c\ubc18 URI\uc5d0 \ub300\ud574\uc11c\ub9cc \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "\ud638\uc2a4\ud2b8\uac00 \ub110(null)\uc774\uba74 \ud3ec\ud2b8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "URI\uc5d0 \uc124\uacc4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "\ud638\uc2a4\ud2b8\uac00 \uc644\uc804\ud55c \uc8fc\uc18c\uac00 \uc544\ub2d9\ub2c8\ub2e4." },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "\ube48 \ub9e4\uac1c\ubcc0\uc218\ub85c URI\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "\uc2a4\ud0a4\ub9c8\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "\uacbd\ub85c \ubc0f \ub2e8\ud3b8 \ub458 \ub2e4\uc5d0 \ub2e8\ud3b8\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "\ub110(null) \ubb38\uc790\uc5f4\uc5d0\uc11c \uc2a4\ud0a4\ub9c8\ub97c \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "\uacbd\ub85c \ubc0f \uc870\ud68c \ubb38\uc790\uc5f4\uc5d0 \uc870\ud68c \ubb38\uc790\uc5f4\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4."},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \uc774\uc2a4\ucf00\uc774\ud504 \uc21c\uc11c\uac00 \uc788\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.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."},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "\uacbd\ub85c\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4: {0}" },
 
-      { MsgKey.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."},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "\ub2e8\ud3b8\uc5d0 \uc798\ubabb\ub41c \ubb38\uc790\uac00 \uc788\uc2b5\ub2c8\ub2e4." },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "\uc124\uacc4\uac00 \ud544\uc694\ud569\ub2c8\ub2e4!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "\uacbd\ub85c\uac00 \ub110(null)\uc774\uba74 \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "\uc77c\ubc18 URI\uc5d0 \ub300\ud574\uc11c\ub9cc \ub2e8\ud3b8\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4." },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "URI\uc5d0 \uc2a4\ud0a4\ub9c8\uac00 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "\ube48 \ub9e4\uac1c\ubcc0\uc218\ub85c URI\ub97c \ucd08\uae30\ud654\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "\uacbd\ub85c \ubc0f \ub2e8\ud3b8 \ub458 \ub2e4\uc5d0 \ub2e8\ud3b8\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "\uacbd\ub85c \ubc0f \uc870\ud68c \ubb38\uc790\uc5f4\uc5d0 \uc870\ud68c \ubb38\uc790\uc5f4\uc744 \uc9c0\uc815\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+            {   MsgKey.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." },
+
+            {   MsgKey.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." },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "\uacbd\uace0:  \uc694\uccad\ub41c \ucd9c\ub825 \ubb38\uc11c\uc758 \ubc84\uc804\uc740 ''{0}''\uc785\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \uc774 XML \ubc84\uc804\uc740 \uc9c0\uc6d0\ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. \ucd9c\ub825 \ubb38\uc11c\uc758 \ubc84\uc804\uc740 ''1.0''\uc774 \ub429\ub2c8\ub2e4." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "\uc2a4\ud0a4\ub9c8\uac00 \ud544\uc694\ud569\ub2c8\ub2e4." },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "SerializerFactory\uc5d0 \uc804\ub2ec\ub41c \ud2b9\uc131 \uc624\ube0c\uc81d\ud2b8\uc5d0 ''{0}'' \ud2b9\uc131\uc774 \uc5c6\uc2b5\ub2c8\ub2e4." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "\uacbd\uace0: ''{0}'' \uc778\ucf54\ub529\uc740 Java Runtime\uc744 \uc9c0\uc6d0\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java b/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java
index 2fcebce..818a583 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_pl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_pl extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "Klasa szereguj\u0105ca ''{0}'' nie implementuje procedury obs\u0142ugi org.xml.sax.ContentHandler."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "Nie mo\u017cna znale\u017a\u0107 zasobu [ {0} ].\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "Zas\u00f3b [ {0} ] nie m\u00f3g\u0142 za\u0142adowa\u0107: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Wielko\u015b\u0107 bufora <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "Wykryto niepoprawny surogat UTF-16: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "Klucz komunikatu ''{0}'' nie znajduje si\u0119 w klasie komunikat\u00f3w ''{1}''" },
 
-      { MsgKey.ER_OIERROR,
-        "B\u0142\u0105d we/wy"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "Nie powiod\u0142o si\u0119 sformatowanie komunikatu ''{0}'' w klasie komunikat\u00f3w ''{1}''." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Nie mo\u017cna doda\u0107 atrybutu {0} po w\u0119z\u0142ach potomnych ani przed wyprodukowaniem elementu.  Atrybut zostanie zignorowany."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "Klasa szereguj\u0105ca ''{0}'' nie implementuje org.xml.sax.ContentHandler." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "Nie zadeklarowano przestrzeni nazw dla przedrostka ''{0}''."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "Nie mo\u017cna znale\u017a\u0107 zasobu [ {0} ].\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "Deklaracja przestrzeni nazw ''{0}''=''{1}'' poza elementem."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "Zas\u00f3b [ {0} ] nie m\u00f3g\u0142 za\u0142adowa\u0107: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "Nie mo\u017cna za\u0142adowa\u0107 ''{0}'' (sprawd\u017a CLASSPATH), u\u017cywane s\u0105 teraz warto\u015bci domy\u015blne"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Wielko\u015b\u0107 buforu <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "Nie mo\u017cna za\u0142adowa\u0107 pliku w\u0142a\u015bciwo\u015bci ''{0}'' dla metody wyj\u015bciowej ''{1}'' (sprawd\u017a CLASSPATH)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Wykryto niepoprawny odpowiednik UTF-16: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "Niepoprawny numer portu"},
+            {   MsgKey.ER_OIERROR,
+                "B\u0142\u0105d we/wy" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "Nie mo\u017cna ustawi\u0107 portu, kiedy host jest pusty"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Nie mo\u017cna doda\u0107 atrybutu {0} po bezpo\u015brednich w\u0119z\u0142ach potomnych ani przed wyprodukowaniem elementu.  Atrybut zostanie zignorowany." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "Host nie jest poprawnie skonstruowanym adresem"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "Nie zadeklarowano przestrzeni nazw dla przedrostka ''{0}''." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "Schemat nie jest zgodny."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "Atrybut ''{0}'' znajduje si\u0119 poza elementem." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Nie mo\u017cna ustawi\u0107 schematu z pustego ci\u0105gu znak\u00f3w"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Deklaracja przestrzeni nazw ''{0}''=''{1}'' znajduje si\u0119 poza elementem." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "\u015acie\u017cka zawiera niepoprawn\u0105 sekwencj\u0119 o zmienionym znaczeniu"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "Nie mo\u017cna za\u0142adowa\u0107 ''{0}'' (sprawd\u017a CLASSPATH) - u\u017cywane s\u0105 teraz warto\u015bci domy\u015blne" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "\u015acie\u017cka zawiera niepoprawny znak {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Pr\u00f3ba wyprowadzenia znaku warto\u015bci ca\u0142kowitej {0}, kt\u00f3ry nie jest reprezentowany w podanym kodowaniu wyj\u015bciowym {1}." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "Fragment zawiera niepoprawny znak"},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "Nie mo\u017cna za\u0142adowa\u0107 pliku w\u0142a\u015bciwo\u015bci ''{0}'' dla metody wyj\u015bciowej ''{1}'' (sprawd\u017a CLASSPATH)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "Nie mo\u017cna ustawi\u0107 fragmentu, kiedy \u015bcie\u017cka jest pusta"},
+            {   MsgKey.ER_INVALID_PORT,
+                "Niepoprawny numer portu" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Fragment mo\u017cna ustawi\u0107 tylko dla og\u00f3lnego URI"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "Nie mo\u017cna ustawi\u0107 portu, kiedy host jest pusty" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "Nie znaleziono schematu w URI {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "Host nie jest poprawnie skonstruowanym adresem" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "Nie mo\u017cna zainicjowa\u0107 URI z pustymi parametrami"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "Schemat nie jest zgodny." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Nie mo\u017cna poda\u0107 fragmentu jednocze\u015bnie w \u015bcie\u017cce i fragmencie"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Nie mo\u017cna ustawi\u0107 schematu z pustego ci\u0105gu znak\u00f3w" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "Tekstu zapytania nie mo\u017cna poda\u0107 w tek\u015bcie \u015bcie\u017cki i zapytania"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "\u015acie\u017cka zawiera nieznan\u0105 sekwencj\u0119 o zmienionym znaczeniu" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Nie mo\u017cna poda\u0107 portu, je\u015bli nie podano hosta"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "\u015acie\u017cka zawiera niepoprawny znak {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Nie mo\u017cna poda\u0107 informacji o u\u017cytkowniku, je\u015bli nie podano hosta"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Fragment zawiera niepoprawny znak" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "Schemat jest wymagany!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "Nie mo\u017cna ustawi\u0107 fragmentu, kiedy \u015bcie\u017cka jest pusta" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Fragment mo\u017cna ustawi\u0107 tylko dla og\u00f3lnego URI" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "Nie znaleziono schematu w URI" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Nie mo\u017cna zainicjowa\u0107 URI z pustymi parametrami" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Nie mo\u017cna poda\u0107 fragmentu jednocze\u015bnie w \u015bcie\u017cce i fragmencie" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "Tekstu zapytania nie mo\u017cna poda\u0107 w tek\u015bcie \u015bcie\u017cki i zapytania" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Nie mo\u017cna poda\u0107 portu, je\u015bli nie podano hosta" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Nie mo\u017cna poda\u0107 informacji o u\u017cytkowniku, je\u015bli nie podano hosta" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Ostrze\u017cenie:  Wymagan\u0105 wersj\u0105 dokumentu wyj\u015bciowego jest ''{0}''.  Ta wersja XML nie jest obs\u0142ugiwana.  Wersj\u0105 dokumentu wyj\u015bciowego b\u0119dzie ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Schemat jest wymagany!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "Obiekt klasy Properties przekazany do klasy SerializerFactory nie ma w\u0142a\u015bciwo\u015bci ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Ostrze\u017cenie:  dekodowany ''{0}'' nie jest obs\u0142ugiwany przez \u015brodowisko wykonawcze Java." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java b/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java
index 3a0b5d9..ac8ec38 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_pt_BR.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_pt_BR extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "A classe de serializador ''{0}'' n\u00e3o implementa org.xml.sax.ContentHandler."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "O recurso [ {0} ] n\u00e3o p\u00f4de ser encontrado.\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "O recurso [ {0} ] n\u00e3o p\u00f4de carregar: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Tamanho do buffer <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "Detectado substituto UTF-16 inv\u00e1lido: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "A chave de mensagem ''{0}'' n\u00e3o est\u00e1 na classe de mensagem ''{1}''" },
 
-      { MsgKey.ER_OIERROR,
-        "Erro de E/S"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "O formato da mensagem ''{0}'' na classe de mensagem ''{1}'' falhou." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Imposs\u00edvel incluir atributo {0} depois de n\u00f3s filhos ou antes da gera\u00e7\u00e3o de um elemento. O atributo ser\u00e1 ignorado."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "A classe de serializador ''{0}'' n\u00e3o implementa org.xml.sax.ContentHandler." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "Namespace para prefixo ''{0}'' n\u00e3o foi declarado. "},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "O recurso [ {0} ] n\u00e3o p\u00f4de ser encontrado.\n{1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "Declara\u00e7\u00e3o de namespace ''{0}''=''{1}'' fora do elemento. "},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "O recurso [ {0} ] n\u00e3o p\u00f4de carregar: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "N\u00e3o foi poss\u00edvel carregar ''{0}'' (verifique CLASSPATH), utilizando agora somente os padr\u00f5es"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Tamanho do buffer <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.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}'' (verifique CLASSPATH)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Detectado substituto UTF-16 inv\u00e1lido: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "N\u00famero de porta inv\u00e1lido"},
+            {   MsgKey.ER_OIERROR,
+                "Erro de E/S" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "A porta n\u00e3o pode ser definida quando o host \u00e9 nulo"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Imposs\u00edvel incluir atributo {0} depois de n\u00f3s filhos ou antes da gera\u00e7\u00e3o de um elemento. O atributo ser\u00e1 ignorado." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "O host n\u00e3o \u00e9 um endere\u00e7o formado corretamente"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "O espa\u00e7o de nomes do prefixo ''{0}'' n\u00e3o foi declarado. " },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "O esquema n\u00e3o est\u00e1 em conformidade."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "Atributo ''{0}'' fora do elemento. " },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Imposs\u00edvel definir esquema a partir da cadeia nula"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Declara\u00e7\u00e3o de espa\u00e7o de nomes ''{0}''=''{1}'' fora do elemento. " },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "O caminho cont\u00e9m seq\u00fc\u00eancia de escape inv\u00e1lida"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "N\u00e3o foi poss\u00edvel carregar ''{0}'' (verifique CLASSPATH) agora , utilizando somente os padr\u00f5es" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "O caminho cont\u00e9m caractere inv\u00e1lido: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Tentativa de processar o caractere de um valor integral {0} que n\u00e3o \u00e9 representado na codifica\u00e7\u00e3o de sa\u00edda especificada de {1}." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "O fragmento cont\u00e9m caractere inv\u00e1lido"},
+            {   MsgKey.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}'' (verifique CLASSPATH)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "O fragmento n\u00e3o pode ser definido quando o caminho \u00e9 nulo"},
+            {   MsgKey.ER_INVALID_PORT,
+                "N\u00famero de porta inv\u00e1lido" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "O fragmento s\u00f3 pode ser definido para um URI gen\u00e9rico"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "A porta n\u00e3o pode ser definida quando o host \u00e9 nulo" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "Nenhum esquema encontrado no URI: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "O host n\u00e3o \u00e9 um endere\u00e7o formado corretamente" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "Imposs\u00edvel inicializar URI com par\u00e2metros vazios"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "O esquema n\u00e3o est\u00e1 em conformidade." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "O fragmento n\u00e3o pode ser especificado no caminho e fragmento"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Imposs\u00edvel definir esquema a partir da cadeia nula" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "A cadeia de consulta n\u00e3o pode ser especificada na cadeia de consulta e caminho"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "O caminho cont\u00e9m seq\u00fc\u00eancia de escape inv\u00e1lida" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Port n\u00e3o pode ser especificado se host n\u00e3o for especificado"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "O caminho cont\u00e9m caractere inv\u00e1lido: {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Userinfo n\u00e3o pode ser especificado se host n\u00e3o for especificado"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "O fragmento cont\u00e9m caractere inv\u00e1lido" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "O esquema \u00e9 obrigat\u00f3rio!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "O fragmento n\u00e3o pode ser definido quando o caminho \u00e9 nulo" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "O fragmento s\u00f3 pode ser definido para um URI gen\u00e9rico" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "Nenhum esquema encontrado no URI" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Imposs\u00edvel inicializar URI com par\u00e2metros vazios" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "O fragmento n\u00e3o pode ser especificado no caminho e fragmento" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "A cadeia de consulta n\u00e3o pode ser especificada na cadeia de consulta e caminho" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Port n\u00e3o pode ser especificado se host n\u00e3o for especificado" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Userinfo n\u00e3o pode ser especificado se host n\u00e3o for especificado" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Aviso:  A vers\u00e3o do documento de sa\u00edda precisa ser ''{0}''.  Essa vers\u00e3o do XML n\u00e3o \u00e9 suportada. A vers\u00e3o do documento de sa\u00edda ser\u00e1 ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "O esquema \u00e9 obrigat\u00f3rio!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "O objeto Properties transmitido para SerializerFactory n\u00e3o tem uma propriedade ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Aviso:  A codifica\u00e7\u00e3o ''{0}'' n\u00e3o \u00e9 suportada pelo Java Runtime." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_ru.java b/src/org/apache/xml/serializer/utils/SerializerMessages_ru.java
index 7cc89c5..31fde89 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_ru.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_ru.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_ru extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "\u041a\u043b\u0430\u0441\u0441 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 ''{0}'' \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 org.xml.sax.ContentHandler."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "\u0420\u0435\u0441\u0443\u0440\u0441 [ {0} ] \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d.\n{1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441 [ {0} ]: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "\u0420\u0430\u0437\u043c\u0435\u0440 \u0431\u0443\u0444\u0435\u0440\u0430 <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 UTF-16: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "\u041a\u043b\u044e\u0447 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f ''{0}'' \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a \u043a\u043b\u0430\u0441\u0441\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f ''{1}''" },
 
-      { MsgKey.ER_OIERROR,
-        "\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "\u0424\u043e\u0440\u043c\u0430\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f ''{0}'' \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f ''{1}'' \u0432\u044b\u0437\u0432\u0430\u043b \u043e\u0448\u0438\u0431\u043a\u0443. " },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 {0} \u043f\u043e\u0441\u043b\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0443\u0437\u043b\u043e\u0432 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u0410\u0442\u0440\u0438\u0431\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d. "},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "\u041a\u043b\u0430\u0441\u0441 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 ''{0}'' \u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442 org.xml.sax.ContentHandler. " },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430 ''{0}'' \u043d\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043e."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "\u0420\u0435\u0441\u0443\u0440\u0441 [ {0} ] \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d.\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0435\u043d ''{0}''=''{1}'' \u0432\u043d\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441 [ {0} ]: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c ''{0}'' (\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 CLASSPATH), \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "\u0420\u0430\u0437\u043c\u0435\u0440 \u0431\u0443\u0444\u0435\u0440\u0430 <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0441\u0432\u043e\u0439\u0441\u0442\u0432 ''{0}'' \u0434\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 ''{1}'' (\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 CLASSPATH)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "\u041e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 UTF-16: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430"},
+            {   MsgKey.ER_OIERROR,
+                "\u041e\u0448\u0438\u0431\u043a\u0430 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 \u0445\u043e\u0441\u0442\u0430"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "\u0410\u0442\u0440\u0438\u0431\u0443\u0442 {0} \u043d\u0435\u043b\u044c\u0437\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u0441\u043b\u0435 \u0434\u043e\u0447\u0435\u0440\u043d\u0438\u0445 \u0443\u0437\u043b\u043e\u0432 \u0438 \u0434\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u0410\u0442\u0440\u0438\u0431\u0443\u0442 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u043d. " },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d \u0430\u0434\u0440\u0435\u0441 \u0445\u043e\u0441\u0442\u0430"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "\u041f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0435\u043d \u0434\u043b\u044f \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u0430 ''{0}'' \u043d\u0435 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u043e. " },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "\u0421\u0445\u0435\u043c\u0430 \u043d\u0435 \u043a\u043e\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u0430."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "\u0410\u0442\u0440\u0438\u0431\u0443\u0442 ''{0}'' \u0432\u043d\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. " },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u0434\u043b\u044f \u043f\u0443\u0441\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "\u041e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0435\u043d ''{0}''=''{1}'' \u0432\u043d\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430. " },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "\u0412 \u0438\u043c\u0435\u043d\u0438 \u043f\u0443\u0442\u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f Esc-\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c ''{0}'' (\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 CLASSPATH), \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "\u0412 \u0438\u043c\u0435\u043d\u0438 \u043f\u0443\u0442\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 {0} \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435 \u0432\u044b\u0432\u043e\u0434\u0430 {1}. " },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b"},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \u0441\u0432\u043e\u0439\u0441\u0442\u0432 ''{0}'' \u0434\u043b\u044f \u043c\u0435\u0442\u043e\u0434\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 ''{1}'' (\u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 CLASSPATH)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u043f\u0443\u0442\u0438"},
+            {   MsgKey.ER_INVALID_PORT,
+                "\u041d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u043f\u043e\u0440\u0442\u0430" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 URI"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 \u0445\u043e\u0441\u0442\u0430" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "\u0412 URI \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u0441\u0445\u0435\u043c\u0430: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "\u041d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0441\u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d \u0430\u0434\u0440\u0435\u0441 \u0445\u043e\u0441\u0442\u0430" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c URI \u0441 \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "\u0421\u0445\u0435\u043c\u0430 \u043d\u0435 \u043a\u043e\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u043d\u0430." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043f\u0443\u0442\u0438 \u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u0443 \u0434\u043b\u044f \u043f\u0443\u0441\u0442\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "\u041d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u043f\u0443\u0442\u0438 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "\u0412 \u0438\u043c\u0435\u043d\u0438 \u043f\u0443\u0442\u0438 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u0430\u044f Esc-\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "\u041d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0440\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u0430\u0434\u0430\u043d \u0445\u043e\u0441\u0442"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "\u0412 \u0438\u043c\u0435\u043d\u0438 \u043f\u0443\u0442\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b: {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "\u041d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u0430\u0434\u0430\u043d \u0445\u043e\u0441\u0442"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043d\u0435\u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0441\u0445\u0435\u043c\u0430!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u043f\u0443\u0442\u0438" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "\u0424\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0430 URI" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "\u0412 URI \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u0441\u0445\u0435\u043c\u0430" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c URI \u0441 \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "\u041d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0434\u0430\u0442\u044c \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043f\u0443\u0442\u0438 \u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "\u041d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u043f\u0443\u0442\u0438 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "\u041d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u0440\u0442, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u0430\u0434\u0430\u043d \u0445\u043e\u0441\u0442" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "\u041d\u0435\u043b\u044c\u0437\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0437\u0430\u0434\u0430\u043d \u0445\u043e\u0441\u0442" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435: \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 ''{0}''. \u042d\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f XML \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f. \u0412\u0435\u0440\u0441\u0438\u0435\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0432\u044b\u0432\u043e\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 ''1.0''. " },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0441\u0445\u0435\u043c\u0430!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "\u041e\u0431\u044a\u0435\u043a\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0439 \u0432 SerializerFactory, \u043d\u0435 \u043e\u0431\u043b\u0430\u0434\u0430\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c ''{0}''. " },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435:  \u041a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 ''{0}'' \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u0440\u0435\u0434\u043e\u0439 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f Java." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_sk.java b/src/org/apache/xml/serializer/utils/SerializerMessages_sk.java
new file mode 100755
index 0000000..6882ea8
--- /dev/null
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_sk.java
@@ -0,0 +1,204 @@
+/*
+ * Copyright 2004-2006 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: SerializerMessages_sk.java,v 1.7 2005/03/07 20:34:36 minchau Exp $
+ */
+
+package org.apache.xml.serializer.utils;
+
+import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
+public class SerializerMessages_sk extends ListResourceBundle {
+
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
+
+     *  1) 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.
+
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
+
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "K\u013e\u00fa\u010d spr\u00e1vy ''{0}'' sa nenach\u00e1dza v triede spr\u00e1v ''{1}''" },
+
+            {   MsgKey.BAD_MSGFORMAT,
+                "Zlyhal form\u00e1t spr\u00e1vy ''{0}'' v triede spr\u00e1v ''{1}''." },
+
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "Trieda serializ\u00e1tora ''{0}'' neimplementuje org.xml.sax.ContentHandler." },
+
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "Prostriedok [ {0} ] nemohol by\u0165 n\u00e1jden\u00fd.\n {1}" },
+
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "Prostriedok [ {0} ] sa nedal na\u010d\u00edta\u0165: {1} \n {2} \t {3}" },
+
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Ve\u013ekos\u0165 vyrovn\u00e1vacej pam\u00e4te <=0" },
+
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Bolo zisten\u00e9 neplatn\u00e9 nahradenie UTF-16: {0} ?" },
+
+            {   MsgKey.ER_OIERROR,
+                "chyba IO" },
+
+            {   MsgKey.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.
+             */
+            {   MsgKey.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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "Atrib\u00fat ''{0}'' je mimo 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Deklar\u00e1cia n\u00e1zvov\u00e9ho priestoru ''{0}''=''{1}'' je mimo prvku." },
+
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "Nebolo mo\u017en\u00e9 zavies\u0165 ''{0}'' (skontrolujte CLASSPATH), teraz sa pou\u017e\u00edvaj\u00fa iba \u0161tandardn\u00e9 nastavenia" },
+
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Pokus o v\u00fdstup znaku integr\u00e1lnej hodnoty {0}, ktor\u00e1 nie je reprezentovan\u00e1 v zadanom v\u00fdstupnom k\u00f3dovan\u00ed {1}." },
+
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "Nebolo mo\u017en\u00e9 zavies\u0165 s\u00fabor vlastnost\u00ed ''{0}'' pre v\u00fdstupn\u00fa met\u00f3du ''{1}'' (skontrolujte CLASSPATH)" },
+
+            {   MsgKey.ER_INVALID_PORT,
+                "Neplatn\u00e9 \u010d\u00edslo portu" },
+
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "Nem\u00f4\u017ee by\u0165 stanoven\u00fd port, ak je hostite\u013e nulov\u00fd" },
+
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "Hostite\u013e nie je spr\u00e1vne form\u00e1tovan\u00e1 adresa" },
+
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "Nezhodn\u00e1 sch\u00e9ma." },
+
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Nie je mo\u017en\u00e9 stanovi\u0165 sch\u00e9mu z nulov\u00e9ho re\u0165azca" },
+
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Cesta obsahuje neplatn\u00fa \u00fanikov\u00fa sekvenciu" },
+
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Cesta obsahuje neplatn\u00fd znak: {0}" },
+
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Fragment obsahuje neplatn\u00fd znak" },
+
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "Ak je cesta nulov\u00e1, nem\u00f4\u017ee by\u0165 stanoven\u00fd fragment" },
+
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Fragment m\u00f4\u017ee by\u0165 stanoven\u00fd len pre v\u0161eobecn\u00e9 URI" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "V URI nebola n\u00e1jden\u00e1 \u017eiadna sch\u00e9ma" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Nie je mo\u017en\u00e9 inicializova\u0165 URI s pr\u00e1zdnymi parametrami" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Fragment nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste, ani vo fragmente" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "Re\u0165azec dotazu nem\u00f4\u017ee by\u0165 zadan\u00fd v ceste a re\u0165azci dotazu" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebol zadan\u00fd port" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Ak nebol zadan\u00fd hostite\u013e, mo\u017eno nebolo zadan\u00e9 userinfo" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Varovanie:  Verzia v\u00fdstupn\u00e9ho dokumentu mus\u00ed by\u0165 povinne ''{0}''.  T\u00e1to verzia XML nie je podporovan\u00e1.  Verzia v\u00fdstupn\u00e9ho dokumentu bude ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Je po\u017eadovan\u00e1 sch\u00e9ma!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "Objekt Properties, ktor\u00fd pre\u0161iel do SerializerFactory, nem\u00e1 vlastnos\u0165 ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Varovanie:  Java runtime nepodporuje k\u00f3dovanie ''{0}''." },
+
+
+        };
+
+        return contents;
+    }
+}
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_sl.java b/src/org/apache/xml/serializer/utils/SerializerMessages_sl.java
new file mode 100755
index 0000000..73a9974
--- /dev/null
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_sl.java
@@ -0,0 +1,204 @@
+/*
+ * Copyright 2004-2006 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: SerializerMessages_sl.java,v 1.7 2005/03/07 20:34:36 minchau Exp $
+ */
+
+package org.apache.xml.serializer.utils;
+
+import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
+public class SerializerMessages_sl extends ListResourceBundle {
+
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
+
+     *  1) 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.
+
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
+
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "Klju\u010d sporo\u010dila ''{0}'' ni v rezredu sporo\u010dila ''{1}''" },
+
+            {   MsgKey.BAD_MSGFORMAT,
+                "Format sporo\u010dila ''{0}'' v razredu sporo\u010dila ''{1}'' je spodletel." },
+
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "Razred serializerja ''{0}'' ne izvede org.xml.sax.ContentHandler." },
+
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "Vira [ {0} ] ni mogo\u010de najti.\n {1}" },
+
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "Sredstva [ {0} ] ni bilo mogo\u010de nalo\u017eiti: {1} \n {2} \t {3}" },
+
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Velikost medpomnilnika <=0" },
+
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "Zaznan neveljaven nadomestek UTF-16: {0} ?" },
+
+            {   MsgKey.ER_OIERROR,
+                "Napaka V/I" },
+
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Atributa {0} ne morem dodati za podrejenimi vozli\u0161\u010di ali pred izdelavo elementa.  Atribut bo prezrt." },
+
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "Imenski prostor za predpono ''{0}'' ni bil naveden." },
+
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "Atribut ''{0}'' je zunaj elementa." },
+
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "Deklaracija imenskega prostora ''{0}''=''{1}'' je zunaj elementa." },
+
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "Ni bilo mogo\u010de nalo\u017eiti ''{0}'' (preverite CLASSPATH), trenutno se uporabljajo samo privzete vrednosti" },
+
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Poskus izpisa znaka integralne vrednosti {0}, ki v navedenem izhodnem kodiranju {1} ni zastopan." },
+
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "Datoteke z lastnostmi ''{0}'' ni bilo mogo\u010de nalo\u017eiti za izhodno metodo ''{1}'' (preverite CLASSPATH)" },
+
+            {   MsgKey.ER_INVALID_PORT,
+                "Neveljavna \u0161tevilka vrat" },
+
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "Ko je gostitelj NULL, nastavitev vrat ni mogo\u010da" },
+
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "Naslov gostitelja ni pravilno oblikovan" },
+
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "Shema ni skladna." },
+
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Ni mogo\u010de nastaviti sheme iz niza NULL" },
+
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Pot vsebuje neveljavno zaporedje za izhod" },
+
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Pot vsebuje neveljaven znak: {0}" },
+
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Fragment vsebuje neveljaven znak" },
+
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "Ko je pot NULL, nastavitev fragmenta ni mogo\u010da" },
+
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Fragment je lahko nastavljen samo za splo\u0161ni URI" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "Ne najdem sheme v URI" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Ni mogo\u010de inicializirati URI-ja s praznimi parametri" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Fragment ne more biti hkrati naveden v poti in v fragmentu" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "Poizvedbeni niz ne more biti naveden v nizu poti in poizvedbenem nizu" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Vrata ne morejo biti navedena, \u010de ni naveden gostitelj" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Informacije o uporabniku ne morejo biti navedene, \u010de ni naveden gostitelj" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Opozorilo: Zahtevana razli\u010dica izhodnega dokumenta je ''{0}''.  Ta razli\u010dica XML ni podprta.  Razli\u010dica izhodnega dokumenta bo ''1.0''." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "Zahtevana je shema!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "Predmet Properties (lastnosti), ki je prene\u0161en v SerializerFactory, nima lastnosti ''{0}''." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Opozorilo:  Izvajalno okolje Java ne podpira kodiranja ''{0}''." },
+
+
+        };
+
+        return contents;
+    }
+}
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_tr.java b/src/org/apache/xml/serializer/utils/SerializerMessages_tr.java
index 7d7048e..f24c257 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_tr.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_tr.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_tr extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "Diziselle\u015ftirici s\u0131n\u0131f\u0131 ''{0}'' org.xml.sax.ContentHandler i\u015flevini uygulam\u0131yor."},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "Kaynak [ {0} ] bulunamad\u0131.\n {1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "Kaynak [ {0} ] y\u00fckleyemedi: {1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "Arabellek b\u00fcy\u00fckl\u00fc\u011f\u00fc <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "UTF-16 yerine kullan\u0131lan de\u011fer ge\u00e7ersiz: {0} ?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "''{0}'' ileti anahtar\u0131 ''{1}'' ileti s\u0131n\u0131f\u0131nda yok" },
 
-      { MsgKey.ER_OIERROR,
-        "G\u00c7 hatas\u0131"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "''{1}'' ileti s\u0131n\u0131f\u0131ndaki ''{0}'' iletisinin bi\u00e7imi ba\u015far\u0131s\u0131z." },
 
-      { MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
-        "Alt d\u00fc\u011f\u00fcmlerden sonra ya da bir \u00f6\u011fe \u00fcretilmeden \u00f6nce {0} \u00f6zniteli\u011fi eklenemez. \u00d6znitelik yoksay\u0131lacak."},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "''{0}'' diziselle\u015ftirme s\u0131n\u0131f\u0131 org.xml.sax.ContentHandler s\u0131n\u0131f\u0131n\u0131 ger\u00e7ekle\u015ftirmiyor." },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "''{0}'' \u00f6nekine ili\u015fkin ad alan\u0131 bildirilmedi."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "Kaynak [ {0} ] bulunamad\u0131.\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "''{0}''=''{1}'' ad alan\u0131 bildirimi \u00f6\u011fenin d\u0131\u015f\u0131nda."},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "Kaynak [ {0} ] y\u00fckleyemedi: {1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "''{0}'' y\u00fcklenemedi (CLASSPATH de\u011fi\u015fkeninizi inceleyin), yaln\u0131zca varsay\u0131lanlar kullan\u0131l\u0131yor"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "Arabellek b\u00fcy\u00fckl\u00fc\u011f\u00fc <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.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)"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "UTF-16 yerine kullan\u0131lan de\u011fer ge\u00e7ersiz: {0} ?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "Kap\u0131 numaras\u0131 ge\u00e7ersiz"},
+            {   MsgKey.ER_OIERROR,
+                "G\u00c7 hatas\u0131" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "Anasistem bo\u015f de\u011ferliyken kap\u0131 tan\u0131mlanamaz"},
+            {   MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,
+                "Alt d\u00fc\u011f\u00fcmlerden sonra ya da bir \u00f6\u011fe \u00fcretilmeden \u00f6nce {0} \u00f6zniteli\u011fi eklenemez.  \u00d6znitelik yoksay\u0131lacak." },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "Anasistem do\u011fru bi\u00e7imli bir adres de\u011fil"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "''{0}'' \u00f6nekine ili\u015fkin ad alan\u0131 bildirilmedi." },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "\u015eema uyumlu de\u011fil."},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "''{0}'' \u00f6zniteli\u011fi \u00f6\u011fenin d\u0131\u015f\u0131nda." },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "Bo\u015f de\u011ferli dizgiden \u015fema tan\u0131mlanamaz"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "''{0}''=''{1}'' ad alan\u0131 bildirimi \u00f6\u011fenin d\u0131\u015f\u0131nda." },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "Yol ge\u00e7ersiz ka\u00e7\u0131\u015f dizisi i\u00e7eriyor"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "''{0}'' y\u00fcklenemedi (CLASSPATH de\u011fi\u015fkeninizi inceleyin), yaln\u0131zca varsay\u0131lanlar kullan\u0131l\u0131yor" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "Yol ge\u00e7ersiz karakter i\u00e7eriyor: {0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "Belirtilen {1} \u00e7\u0131k\u0131\u015f kodlamas\u0131nda g\u00f6sterilmeyen {0} t\u00fcmlev de\u011feri karakteri \u00e7\u0131k\u0131\u015f giri\u015fimi." },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "Par\u00e7a ge\u00e7ersiz karakter i\u00e7eriyor"},
+            {   MsgKey.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)" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "Yol bo\u015f de\u011ferliyken par\u00e7a tan\u0131mlanamaz"},
+            {   MsgKey.ER_INVALID_PORT,
+                "Kap\u0131 numaras\u0131 ge\u00e7ersiz" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "Par\u00e7a yaln\u0131zca soysal URI i\u00e7in tan\u0131mlanabilir"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "Anasistem bo\u015f de\u011ferliyken kap\u0131 tan\u0131mlanamaz" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "URI i\u00e7inde \u015fema bulunamad\u0131: {0}"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "Anasistem do\u011fru bi\u00e7imli bir adres de\u011fil" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "Bo\u015f de\u011fi\u015ftirgelerle URI kullan\u0131ma haz\u0131rlanamaz"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "\u015eema uyumlu de\u011fil." },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "Par\u00e7a hem yolda, hem de par\u00e7ada belirtilemez"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "Bo\u015f de\u011ferli dizgiden \u015fema tan\u0131mlanamaz" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "Yol ve sorgu dizgisinde sorgu dizgisi belirtilemez"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "Yol ge\u00e7ersiz ka\u00e7\u0131\u015f dizisi i\u00e7eriyor" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "Anasistem belirtilmediyse kap\u0131 belirtilemez"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "Yol ge\u00e7ersiz karakter i\u00e7eriyor: {0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "Anasistem belirtilmediyse kullan\u0131c\u0131 bilgisi belirtilemez"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "Par\u00e7a ge\u00e7ersiz karakter i\u00e7eriyor" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "\u015eema gerekli!"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "Yol bo\u015f de\u011ferliyken par\u00e7a tan\u0131mlanamaz" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "Par\u00e7a yaln\u0131zca soysal URI i\u00e7in tan\u0131mlanabilir" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "URI i\u00e7inde \u015fema bulunamad\u0131" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "Bo\u015f de\u011fi\u015ftirgelerle URI kullan\u0131ma haz\u0131rlanamaz" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "Par\u00e7a hem yolda, hem de par\u00e7ada belirtilemez" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "Yol ve sorgu dizgisinde sorgu dizgisi belirtilemez" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "Anasistem belirtilmediyse kap\u0131 belirtilemez" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "Anasistem belirtilmediyse kullan\u0131c\u0131 bilgisi belirtilemez" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "Uyar\u0131:  \u00c7\u0131k\u0131\u015f belgesinin s\u00fcr\u00fcm\u00fcn\u00fcn ''{0}'' olmas\u0131 isteniyor.  Bu XML s\u00fcr\u00fcm\u00fc desteklenmez.  \u00c7\u0131k\u0131\u015f dosyas\u0131n\u0131n s\u00fcr\u00fcm\u00fc ''1.0'' olacak." },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "\u015eema gerekli!" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "SerializerFactory''ye ge\u00e7irilen Properties nesnesinin bir ''{0}'' \u00f6zelli\u011fi yok." },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "Uyar\u0131: ''{0}'' kodlamas\u0131 Java Runtime taraf\u0131ndan desteklenmiyor." },
+
+
+        };
+
+        return contents;
+    }
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_zh.java b/src/org/apache/xml/serializer/utils/SerializerMessages_zh.java
new file mode 100755
index 0000000..d8439fe
--- /dev/null
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_zh.java
@@ -0,0 +1,202 @@
+/*
+ * Copyright 2004-2006 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: SerializerMessages_zh.java,v 1.7 2005/03/07 20:34:36 minchau Exp $
+ */
+
+
+package org.apache.xml.serializer.utils;
+
+import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
+
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
+public class SerializerMessages_zh extends ListResourceBundle {
+
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
+
+     *  1) 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.
+
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
+
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "\u6d88\u606f\u5bc6\u94a5\u201c{0}\u201d\u4e0d\u5728\u6d88\u606f\u7c7b\u201c{1}\u201d\u4e2d" },
+
+            {   MsgKey.BAD_MSGFORMAT,
+                "\u6d88\u606f\u7c7b\u201c{1}\u201d\u4e2d\u7684\u6d88\u606f\u201c{0}\u201d\u7684\u683c\u5f0f\u65e0\u6548\u3002" },
+
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "\u4e32\u884c\u5668\u7c7b\u201c{0}\u201d\u4e0d\u80fd\u5b9e\u73b0 org.xml.sax.ContentHandler\u3002" },
+
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "\u627e\u4e0d\u5230\u8d44\u6e90 [ {0} ]\u3002\n {1}" },
+
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "\u8d44\u6e90 [ {0} ] \u65e0\u6cd5\u88c5\u5165\uff1a{1} \n {2} \t {3}" },
+
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "\u7f13\u51b2\u533a\u5927\u5c0f <=0" },
+
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u8d85\u5927\u5b57\u7b26\u96c6\uff1a{0}\uff1f" },
+
+            {   MsgKey.ER_OIERROR,
+                "IO \u9519\u8bef" },
+
+            {   MsgKey.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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "\u5c1a\u672a\u58f0\u660e\u524d\u7f00\u201c{0}\u201d\u7684\u540d\u79f0\u7a7a\u95f4\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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "\u5c5e\u6027\u201c{0}\u201d\u5728\u5143\u7d20\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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "\u540d\u79f0\u7a7a\u95f4\u58f0\u660e\u201c{0}\u201d=\u201c{1}\u201d\u5728\u5143\u7d20\u5916\u3002" },
+
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "\u65e0\u6cd5\u88c5\u5165\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09\uff0c\u73b0\u5728\u53ea\u4f7f\u7528\u7f3a\u7701\u503c" },
+
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "\u5c1d\u8bd5\u8f93\u51fa\u6574\u6570\u503c {0}\uff08\u5b83\u4e0d\u662f\u4ee5\u6307\u5b9a\u7684 {1} \u8f93\u51fa\u7f16\u7801\u8868\u793a\uff09\u7684\u5b57\u7b26\u3002" },
+
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "\u65e0\u6cd5\u4e3a\u8f93\u51fa\u65b9\u6cd5\u201c{1}\u201d\u88c5\u5165\u5c5e\u6027\u6587\u4ef6\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09" },
+
+            {   MsgKey.ER_INVALID_PORT,
+                "\u7aef\u53e3\u53f7\u65e0\u6548" },
+
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "\u4e3b\u673a\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7aef\u53e3" },
+
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "\u4e3b\u673a\u4e0d\u662f\u683c\u5f0f\u6b63\u786e\u7684\u5730\u5740" },
+
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "\u6a21\u5f0f\u4e0d\u4e00\u81f4\u3002" },
+
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "\u65e0\u6cd5\u4ece\u7a7a\u5b57\u7b26\u4e32\u8bbe\u7f6e\u6a21\u5f0f" },
+
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u8f6c\u4e49\u5e8f\u5217" },
+
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26\uff1a{0}" },
+
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "\u7247\u6bb5\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26" },
+
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "\u8def\u5f84\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7247\u6bb5" },
+
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "\u53ea\u80fd\u4e3a\u7c7b\u5c5e URI \u8bbe\u7f6e\u7247\u6bb5" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "URI \u4e2d\u627e\u4e0d\u5230\u4efb\u4f55\u6a21\u5f0f" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "\u4e0d\u80fd\u4ee5\u7a7a\u53c2\u6570\u521d\u59cb\u5316 URI" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "\u8def\u5f84\u548c\u7247\u6bb5\u4e2d\u90fd\u4e0d\u80fd\u6307\u5b9a\u7247\u6bb5" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "\u8def\u5f84\u548c\u67e5\u8be2\u5b57\u7b26\u4e32\u4e2d\u4e0d\u80fd\u6307\u5b9a\u67e5\u8be2\u5b57\u7b26\u4e32" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a\u7aef\u53e3" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a\u7528\u6237\u4fe1\u606f" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "\u8b66\u544a\uff1a\u8981\u6c42\u8f93\u51fa\u6587\u6863\u7684\u7248\u672c\u662f\u201c{0}\u201d\u3002\u4e0d\u652f\u6301\u6b64 XML \u7248\u672c\u3002\u8f93\u51fa\u6587\u6863\u7684\u7248\u672c\u5c06\u4f1a\u662f\u201c1.0\u201d\u3002" },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "\u6a21\u5f0f\u662f\u5fc5\u9700\u7684\uff01" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "\u4f20\u9012\u7ed9 SerializerFactory \u7684 Properties \u5bf9\u8c61\u4e0d\u5177\u6709\u5c5e\u6027\u201c{0}\u201d\u3002" },
+
+
+        };
+
+        return contents;
+    }
+}
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_zh_CN.java b/src/org/apache/xml/serializer/utils/SerializerMessages_zh_CN.java
index 269a527..9900961 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_zh_CN.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_zh_CN.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -21,98 +21,6 @@
 
 import java.util.ListResourceBundle;
 
-public class SerializerMessages_zh_CN extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "\u4e32\u884c\u5668\u7c7b\u201c{0}\u201d\u4e0d\u5b9e\u73b0 org.xml.sax.ContentHandler."},
-
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "\u627e\u4e0d\u5230\u8d44\u6e90 [ {0} ]\u3002\n {1}"},
-
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "\u8d44\u6e90 [ {0} ] \u65e0\u6cd5\u88c5\u5165\uff1a{1} \n {2} \n {3}"},
-
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "\u7f13\u51b2\u533a\u5927\u5c0f <=0"},
-
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "\u68c0\u6d4b\u5230\u65e0\u6548\u7684 UTF-16 \u66ff\u4ee3\u8005\uff1a{0}\uff1f"},
-
-      { MsgKey.ER_OIERROR,
-        "IO \u9519\u8bef"},
-
-      { MsgKey.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"},
-
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "\u6ca1\u6709\u8bf4\u660e\u540d\u79f0\u7a7a\u95f4\u524d\u7f00\u201c{0}\u201d\u3002"},
-
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "\u540d\u79f0\u7a7a\u95f4\u8bf4\u660e\u201c{0}\u201d=\u201c{1}\u201d\u5728\u5143\u7d20\u5916\u3002"},
-
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "\u65e0\u6cd5\u88c5\u5165\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09\uff0c\u73b0\u5728\u53ea\u4f7f\u7528\u7f3a\u7701\u503c"},
-
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "\u65e0\u6cd5\u4e3a\u8f93\u51fa\u65b9\u6cd5\u201c{1}\u201d\u88c5\u8f7d\u5c5e\u6027\u6587\u4ef6\u201c{0}\u201d\uff08\u68c0\u67e5 CLASSPATH\uff09"},
-
-      { MsgKey.ER_INVALID_PORT,
-        "\u65e0\u6548\u7684\u7aef\u53e3\u53f7"},
-
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "\u4e3b\u673a\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7aef\u53e3"},
-
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "\u4e3b\u673a\u4e0d\u662f\u683c\u5f0f\u826f\u597d\u7684\u5730\u5740"},
-
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "\u6a21\u5f0f\u4e0d\u4e00\u81f4\u3002"},
-
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "\u65e0\u6cd5\u4ece\u7a7a\u5b57\u7b26\u4e32\u8bbe\u7f6e\u6a21\u5f0f"},
-
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "\u8def\u5f84\u5305\u542b\u65e0\u6548\u7684\u8f6c\u4e49\u5e8f\u5217"},
-
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "\u8def\u5f84\u5305\u542b\u975e\u6cd5\u5b57\u7b26\uff1a{0}"},
-
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "\u7247\u6bb5\u5305\u542b\u65e0\u6548\u7684\u5b57\u7b26"},
-
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "\u8def\u5f84\u4e3a\u7a7a\u65f6\uff0c\u65e0\u6cd5\u8bbe\u7f6e\u7247\u6bb5"},
-
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "\u53ea\u80fd\u4e3a\u4e00\u822c URI \u8bbe\u7f6e\u7247\u6bb5"},
-
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "\u5728 URI \u4e2d\u627e\u4e0d\u5230\u6a21\u5f0f\uff1a{0}"},
-
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "\u65e0\u6cd5\u4ee5\u7a7a\u53c2\u6570\u521d\u59cb\u5316 URI"},
-
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "\u8def\u5f84\u548c\u7247\u6bb5\u4e2d\u90fd\u65e0\u6cd5\u6307\u5b9a\u7247\u6bb5"},
-
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "\u8def\u5f84\u548c\u67e5\u8be2\u5b57\u7b26\u4e32\u4e2d\u4e0d\u80fd\u6307\u5b9a\u67e5\u8be2\u5b57\u7b26\u4e32"},
-
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a\u7aef\u53e3"},
-
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "\u5982\u679c\u6ca1\u6709\u6307\u5b9a\u4e3b\u673a\uff0c\u5219\u4e0d\u53ef\u4ee5\u6307\u5b9a Userinfo"},
-
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "\u6a21\u5f0f\u662f\u5fc5\u9700\u7684\uff01"}
-
-    };
-    return contents;
-  }
+public class SerializerMessages_zh_CN extends SerializerMessages_zh
+{
 }
diff --git a/src/org/apache/xml/serializer/utils/SerializerMessages_zh_TW.java b/src/org/apache/xml/serializer/utils/SerializerMessages_zh_TW.java
index 7bdf971..33b3645 100644
--- a/src/org/apache/xml/serializer/utils/SerializerMessages_zh_TW.java
+++ b/src/org/apache/xml/serializer/utils/SerializerMessages_zh_TW.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2006 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.
@@ -20,99 +20,185 @@
 package org.apache.xml.serializer.utils;
 
 import java.util.ListResourceBundle;
+import java.util.Locale;
+import java.util.MissingResourceException;
+import java.util.ResourceBundle;
 
+/**
+ * An instance of this class is a ListResourceBundle that
+ * has the required getContents() method that returns
+ * an array of message-key/message associations.
+ * <p>
+ * The message keys are defined in {@link MsgKey}. The
+ * messages that those keys map to are defined here.
+ * <p>
+ * The messages in the English version are intended to be
+ * translated.
+ *
+ * This class is not a public API, it is only public because it is
+ * used in org.apache.xml.serializer.
+ *
+ * @xsl.usage internal
+ */
 public class SerializerMessages_zh_TW extends ListResourceBundle {
-  public Object[][] getContents() {
-    Object[][] contents =  new Object[][] {
-        // BAD_MSGKEY needs translation
-        // BAD_MSGFORMAT needs translation
-      { MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
-        "serializer \u985e\u5225 ''{0}'' \u4e0d\u5be6\u4f5c org.xml.sax.ContentHandler\u3002"},
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_FIND,
-        "\u627e\u4e0d\u5230\u8cc7\u6e90 [ {0} ]\u3002\n{1}"},
+    /*
+     * This file contains error and warning messages related to
+     * Serializer Error Handling.
+     *
+     *  General notes to translators:
 
-      { MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
-        "\u7121\u6cd5\u8f09\u5165\u8cc7\u6e90 [ {0} ]\uff1a{1} \n {2} \n {3}"},
+     *  1) 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.
 
-      { MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
-        "\u7de9\u885d\u5340\u5927\u5c0f <=0"},
+     *
+     *  2) 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.
+     *
+     *  3) 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.
+     *
+     *
+     */
 
-      { MsgKey.ER_INVALID_UTF16_SURROGATE,
-        "\u5075\u6e2c\u5230\u7121\u6548\u7684 UTF-16 \u4ee3\u7406\uff1a{0}?"},
+    /** The lookup table for error messages.   */
+    public Object[][] getContents() {
+        Object[][] contents = new Object[][] {
+            {   MsgKey.BAD_MSGKEY,
+                "\u8a0a\u606f\u9375 ''{0}'' \u4e0d\u5728\u8a0a\u606f\u985e\u5225 ''{1}'' \u4e2d" },
 
-      { MsgKey.ER_OIERROR,
-        "IO \u932f\u8aa4"},
+            {   MsgKey.BAD_MSGFORMAT,
+                "\u8a0a\u606f\u985e\u5225 ''{1}'' \u4e2d\u7684\u8a0a\u606f ''{0}'' \u683c\u5f0f\u5316\u5931\u6557\u3002" },
 
-      { MsgKey.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"},
+            {   MsgKey.ER_SERIALIZER_NOT_CONTENTHANDLER,
+                "Serializer \u985e\u5225 ''{0}'' \u4e0d\u5be6\u4f5c org.xml.sax.ContentHandler\u3002" },
 
-      { MsgKey.ER_NAMESPACE_PREFIX,
-        "\u5b57\u9996 ''{0}'' \u7684\u540d\u7a31\u7a7a\u9593\u5c1a\u672a\u5ba3\u544a\u3002"},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_FIND,
+                    "\u627e\u4e0d\u5230\u8cc7\u6e90 [ {0} ]\u3002\n {1}" },
 
-        // ER_STRAY_ATTRIBUTE needs translation
-      { MsgKey.ER_STRAY_NAMESPACE,
-        "\u540d\u7a31\u7a7a\u9593\u5ba3\u544a ''{0}''=''{1}'' \u8d85\u51fa\u5143\u7d20\u5916\u3002"},
+            {   MsgKey.ER_RESOURCE_COULD_NOT_LOAD,
+                    "\u7121\u6cd5\u8f09\u5165\u8cc7\u6e90 [ {0} ]\uff1a{1} \n {2} \t {3}" },
 
-      { MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
-        "\u7121\u6cd5\u8f09\u5165 ''{0}''\uff08\u6aa2\u67e5 CLASSPATH\uff09\uff0c\u76ee\u524d\u53ea\u4f7f\u7528\u9810\u8a2d\u503c"},
+            {   MsgKey.ER_BUFFER_SIZE_LESSTHAN_ZERO,
+                    "\u7de9\u885d\u5340\u5927\u5c0f <=0" },
 
-        // ER_ILLEGAL_CHARACTER needs translation
-      { MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
-        "\u7121\u6cd5\u8f09\u5165\u8f38\u51fa\u65b9\u6cd5 ''{1}'' \u7684\u5167\u5bb9\u6a94 ''{0}''\uff08\u6aa2\u67e5 CLASSPATH\uff09"},
+            {   MsgKey.ER_INVALID_UTF16_SURROGATE,
+                    "\u5075\u6e2c\u5230\u7121\u6548\u7684 UTF-16 \u4ee3\u7406\uff1a{0}?" },
 
-      { MsgKey.ER_INVALID_PORT,
-        "\u7121\u6548\u7684\u57e0\u7de8\u865f"},
+            {   MsgKey.ER_OIERROR,
+                "IO \u932f\u8aa4" },
 
-      { MsgKey.ER_PORT_WHEN_HOST_NULL,
-        "\u4e3b\u6a5f\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u57e0"},
+            {   MsgKey.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" },
 
-      { MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
-        "\u4e3b\u6a5f\u6c92\u6709\u5b8c\u6574\u7684\u4f4d\u5740"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_NAMESPACE_PREFIX,
+                "\u5b57\u9996 ''{0}'' \u7684\u540d\u7a31\u7a7a\u9593\u5c1a\u672a\u5ba3\u544a\u3002" },
 
-      { MsgKey.ER_SCHEME_NOT_CONFORMANT,
-        "\u7db1\u8981\u4e0d\u662f conformant\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.
+             */
+            {   MsgKey.ER_STRAY_ATTRIBUTE,
+                "\u5c6c\u6027 ''{0}'' \u8d85\u51fa\u5143\u7d20\u5916\u3002" },
 
-      { MsgKey.ER_SCHEME_FROM_NULL_STRING,
-        "\u7121\u6cd5\u5f9e\u7a7a\u5b57\u4e32\u8a2d\u5b9a\u7db1\u8981"},
+            /*
+             * 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.
+             */
+            {   MsgKey.ER_STRAY_NAMESPACE,
+                "\u540d\u7a31\u7a7a\u9593\u5ba3\u544a ''{0}''=''{1}'' \u8d85\u51fa\u5143\u7d20\u5916\u3002" },
 
-      { MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
-        "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u8df3\u812b\u5b57\u5143"},
+            {   MsgKey.ER_COULD_NOT_LOAD_RESOURCE,
+                "\u7121\u6cd5\u8f09\u5165 ''{0}''\uff08\u6aa2\u67e5 CLASSPATH\uff09\uff0c\u76ee\u524d\u53ea\u4f7f\u7528\u9810\u8a2d\u503c" },
 
-      { MsgKey.ER_PATH_INVALID_CHAR,
-        "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u5b57\u5143\uff1a{0}"},
+            {   MsgKey.ER_ILLEGAL_CHARACTER,
+                "\u8a66\u5716\u8f38\u51fa\u4e0d\u662f\u4ee5\u6307\u5b9a\u7684\u8f38\u51fa\u7de8\u78bc {1} \u5448\u73fe\u7684\u6574\u6578\u503c {0} \u7684\u5b57\u5143\u3002" },
 
-      { MsgKey.ER_FRAG_INVALID_CHAR,
-        "\u7247\u6bb5\u5305\u542b\u7121\u6548\u7684\u5b57\u5143"},
+            {   MsgKey.ER_COULD_NOT_LOAD_METHOD_PROPERTY,
+                "\u7121\u6cd5\u8f09\u5165\u8f38\u51fa\u65b9\u6cd5 ''{1}''\uff08\u6aa2\u67e5 CLASSPATH\uff09\u7684\u5167\u5bb9\u6a94 ''{0}''" },
 
-      { MsgKey.ER_FRAG_WHEN_PATH_NULL,
-        "\u8def\u5f91\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u7247\u6bb5"},
+            {   MsgKey.ER_INVALID_PORT,
+                "\u7121\u6548\u7684\u57e0\u7de8\u865f" },
 
-      { MsgKey.ER_FRAG_FOR_GENERIC_URI,
-        "\u53ea\u80fd\u5c0d\u901a\u7528\u7684 URI \u8a2d\u5b9a\u7247\u6bb5"},
+            {   MsgKey.ER_PORT_WHEN_HOST_NULL,
+                "\u4e3b\u6a5f\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u57e0" },
 
-      { MsgKey.ER_NO_SCHEME_IN_URI,
-        "\u5728 URI\uff1a{0} \u627e\u4e0d\u5230\u7db1\u8981"},
+            {   MsgKey.ER_HOST_ADDRESS_NOT_WELLFORMED,
+                "\u4e3b\u6a5f\u6c92\u6709\u5b8c\u6574\u7684\u4f4d\u5740" },
 
-      { MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
-        "\u7121\u6cd5\u4ee5\u7a7a\u767d\u53c3\u6578\u8d77\u59cb\u8a2d\u5b9a URI"},
+            {   MsgKey.ER_SCHEME_NOT_CONFORMANT,
+                "\u7db1\u8981\u4e0d\u662f conformant\u3002" },
 
-      { MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
-        "\u7247\u6bb5\u7121\u6cd5\u540c\u6642\u5728\u8def\u5f91\u548c\u7247\u6bb5\u4e2d\u6307\u5b9a"},
+            {   MsgKey.ER_SCHEME_FROM_NULL_STRING,
+                "\u7121\u6cd5\u5f9e\u7a7a\u5b57\u4e32\u8a2d\u5b9a\u7db1\u8981" },
 
-      { MsgKey.ER_NO_QUERY_STRING_IN_PATH,
-        "\u5728\u8def\u5f91\u53ca\u67e5\u8a62\u5b57\u4e32\u4e2d\u4e0d\u53ef\u6307\u5b9a\u67e5\u8a62\u5b57\u4e32"},
+            {   MsgKey.ER_PATH_CONTAINS_INVALID_ESCAPE_SEQUENCE,
+                "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u8df3\u812b\u5b57\u5143" },
 
-      { MsgKey.ER_NO_PORT_IF_NO_HOST,
-        "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a\u57e0"},
+            {   MsgKey.ER_PATH_INVALID_CHAR,
+                "\u8def\u5f91\u5305\u542b\u7121\u6548\u7684\u5b57\u5143\uff1a{0}" },
 
-      { MsgKey.ER_NO_USERINFO_IF_NO_HOST,
-        "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a Userinfo"},
+            {   MsgKey.ER_FRAG_INVALID_CHAR,
+                "\u7247\u6bb5\u5305\u542b\u7121\u6548\u7684\u5b57\u5143" },
 
-      { MsgKey.ER_SCHEME_REQUIRED,
-        "\u7db1\u8981\u662f\u5fc5\u9700\u7684\uff01"}
+            {   MsgKey.ER_FRAG_WHEN_PATH_NULL,
+                "\u8def\u5f91\u70ba\u7a7a\u503c\u6642\uff0c\u7121\u6cd5\u8a2d\u5b9a\u7247\u6bb5" },
 
-    };
-    return contents;
-  }
+            {   MsgKey.ER_FRAG_FOR_GENERIC_URI,
+                "\u53ea\u80fd\u5c0d\u901a\u7528\u7684 URI \u8a2d\u5b9a\u7247\u6bb5" },
+
+            {   MsgKey.ER_NO_SCHEME_IN_URI,
+                "\u5728 URI \u627e\u4e0d\u5230\u7db1\u8981" },
+
+            {   MsgKey.ER_CANNOT_INIT_URI_EMPTY_PARMS,
+                "\u7121\u6cd5\u4ee5\u7a7a\u767d\u53c3\u6578\u8d77\u59cb\u8a2d\u5b9a URI" },
+
+            {   MsgKey.ER_NO_FRAGMENT_STRING_IN_PATH,
+                "\u7247\u6bb5\u7121\u6cd5\u540c\u6642\u5728\u8def\u5f91\u548c\u7247\u6bb5\u4e2d\u6307\u5b9a" },
+
+            {   MsgKey.ER_NO_QUERY_STRING_IN_PATH,
+                "\u5728\u8def\u5f91\u53ca\u67e5\u8a62\u5b57\u4e32\u4e2d\u4e0d\u53ef\u6307\u5b9a\u67e5\u8a62\u5b57\u4e32" },
+
+            {   MsgKey.ER_NO_PORT_IF_NO_HOST,
+                "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a\u57e0" },
+
+            {   MsgKey.ER_NO_USERINFO_IF_NO_HOST,
+                "\u5982\u679c\u6c92\u6709\u6307\u5b9a\u4e3b\u6a5f\uff0c\u4e0d\u53ef\u6307\u5b9a Userinfo" },
+            {   MsgKey.ER_XML_VERSION_NOT_SUPPORTED,
+                "\u8b66\u544a\uff1a\u8f38\u51fa\u6587\u4ef6\u7684\u7248\u672c\u8981\u6c42\u662f ''{0}''\u3002\u672a\u652f\u63f4\u9019\u500b\u7248\u672c\u7684 XML\u3002\u8f38\u51fa\u6587\u4ef6\u7684\u7248\u672c\u6703\u662f ''1.0''\u3002" },
+
+            {   MsgKey.ER_SCHEME_REQUIRED,
+                "\u7db1\u8981\u662f\u5fc5\u9700\u7684\uff01" },
+
+            /*
+             * Note to translators:  The words 'Properties' and
+             * 'SerializerFactory' in this message are Java class names
+             * and should not be translated.
+             */
+            {   MsgKey.ER_FACTORY_PROPERTY_MISSING,
+                "\u50b3\u905e\u5230 SerializerFactory \u7684 Properties \u7269\u4ef6\u6c92\u6709 ''{0}'' \u5167\u5bb9\u3002" },
+
+            {   MsgKey.ER_ENCODING_NOT_SUPPORTED,
+                "\u8b66\u544a\uff1aJava \u57f7\u884c\u6642\u671f\u4e0d\u652f\u63f4\u7de8\u78bc ''{0}''\u3002" },
+
+
+        };
+
+        return contents;
+    }
 }