You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2004/12/16 09:15:55 UTC

[jira] Created: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Serializer messages in English only, and getBundle() problems
-------------------------------------------------------------

         Key: XALANJ-2021
         URL: http://nagoya.apache.org/jira/browse/XALANJ-2021
     Project: XalanJ2
        Type: Bug
  Components: Serialization, Diagnostic-messages-resources  
    Versions: CurrentCVS    
    Reporter: Brian Minchau


Current CVS has these problems with the Serializer's messages.

Languages other than English are missing.

org.apache.xml.serializer.utils.Messages does this:
ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);

This is incorrect. For example, for German it would try to load SerializerMessages_de_de
Other code in Xalan, such as XMLMessages, doesn't have this problem.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XALANJ-2021?page=history ]

Brian Minchau updated XALANJ-2021:
----------------------------------

    Attachment: org.apache.xml.serializer.patch.txt

Attaching a patch to add languages other than English
These messages were copied from the old location in 
the various XMLErrorResources bundles.


> Serializer messages in English only, and getBundle() problems
> -------------------------------------------------------------
>
>          Key: XALANJ-2021
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-2021
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization, Diagnostic-messages-resources
>     Versions: CurrentCVS
>     Reporter: Brian Minchau
>  Attachments: SerializerMessages.patch.txt, org.apache.xml.serializer.patch.txt, org.apache.xml.serializer.utils.Messages.patch.txt
>
> Current CVS has these problems with the Serializer's messages.
> Languages other than English are missing.
> org.apache.xml.serializer.utils.Messages does this:
> ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);
> This is incorrect. For example, for German it would try to load SerializerMessages_de_de
> Other code in Xalan, such as XMLMessages, doesn't have this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XALANJ-2021?page=history ]

Brian Minchau updated XALANJ-2021:
----------------------------------

    Attachment: org.apache.xml.serializer.utils.Messages.patch.txt

Fix to org.apache.xml.serializer.utils.Messages attached.

> Serializer messages in English only, and getBundle() problems
> -------------------------------------------------------------
>
>          Key: XALANJ-2021
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-2021
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization, Diagnostic-messages-resources
>     Versions: CurrentCVS
>     Reporter: Brian Minchau
>  Attachments: SerializerMessages.patch.txt, org.apache.xml.serializer.utils.Messages.patch.txt
>
> Current CVS has these problems with the Serializer's messages.
> Languages other than English are missing.
> org.apache.xml.serializer.utils.Messages does this:
> ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);
> This is incorrect. For example, for German it would try to load SerializerMessages_de_de
> Other code in Xalan, such as XMLMessages, doesn't have this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2021?page=all ]
     
Brian Minchau closed XALANJ-2021:
---------------------------------


> Serializer messages in English only, and getBundle() problems
> -------------------------------------------------------------
>
>          Key: XALANJ-2021
>          URL: http://issues.apache.org/jira/browse/XALANJ-2021
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization, Diagnostic-messages-resources
>     Versions: Latest Development Code
>     Reporter: Brian Minchau
>      Fix For: 2.7
>  Attachments: SerializerMessages.patch.txt, org.apache.xml.serializer.patch.txt, org.apache.xml.serializer.utils.Messages.patch.txt
>
> Current CVS has these problems with the Serializer's messages.
> Languages other than English are missing.
> org.apache.xml.serializer.utils.Messages does this:
> ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);
> This is incorrect. For example, for German it would try to load SerializerMessages_de_de
> Other code in Xalan, such as XMLMessages, doesn't have this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XALANJ-2021?page=all ]

Brian Minchau updated XALANJ-2021:
----------------------------------

    Fix Version: 2.7

> Serializer messages in English only, and getBundle() problems
> -------------------------------------------------------------
>
>          Key: XALANJ-2021
>          URL: http://issues.apache.org/jira/browse/XALANJ-2021
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization, Diagnostic-messages-resources
>     Versions: CurrentCVS
>     Reporter: Brian Minchau
>      Fix For: 2.7
>  Attachments: SerializerMessages.patch.txt, org.apache.xml.serializer.patch.txt, org.apache.xml.serializer.utils.Messages.patch.txt
>
> Current CVS has these problems with the Serializer's messages.
> Languages other than English are missing.
> org.apache.xml.serializer.utils.Messages does this:
> ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);
> This is incorrect. For example, for German it would try to load SerializerMessages_de_de
> Other code in Xalan, such as XMLMessages, doesn't have this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XALANJ-2021?page=comments#action_56761 ]
     
Brian Minchau commented on XALANJ-2021:
---------------------------------------

Still need to delete the messages moved into the serializer's resource bundles from XMLErrorResources bundles.

> Serializer messages in English only, and getBundle() problems
> -------------------------------------------------------------
>
>          Key: XALANJ-2021
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-2021
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization, Diagnostic-messages-resources
>     Versions: CurrentCVS
>     Reporter: Brian Minchau
>  Attachments: SerializerMessages.patch.txt, org.apache.xml.serializer.patch.txt, org.apache.xml.serializer.utils.Messages.patch.txt
>
> Current CVS has these problems with the Serializer's messages.
> Languages other than English are missing.
> org.apache.xml.serializer.utils.Messages does this:
> ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);
> This is incorrect. For example, for German it would try to load SerializerMessages_de_de
> Other code in Xalan, such as XMLMessages, doesn't have this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XALANJ-2021?page=history ]

Brian Minchau updated XALANJ-2021:
----------------------------------

    Attachment: SerializerMessages.patch.txt

Minor change to SerializerMessages files, just to make keyname/keyvalue
consistent.

> Serializer messages in English only, and getBundle() problems
> -------------------------------------------------------------
>
>          Key: XALANJ-2021
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-2021
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization, Diagnostic-messages-resources
>     Versions: CurrentCVS
>     Reporter: Brian Minchau
>  Attachments: SerializerMessages.patch.txt, org.apache.xml.serializer.utils.Messages.patch.txt
>
> Current CVS has these problems with the Serializer's messages.
> Languages other than English are missing.
> org.apache.xml.serializer.utils.Messages does this:
> ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);
> This is incorrect. For example, for German it would try to load SerializerMessages_de_de
> Other code in Xalan, such as XMLMessages, doesn't have this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Resolved: (XALANJ-2021) Serializer messages in English only, and getBundle() problems

Posted by "Brian Minchau (JIRA)" <xa...@xml.apache.org>.
     [ http://nagoya.apache.org/jira/browse/XALANJ-2021?page=history ]
     
Brian Minchau resolved XALANJ-2021:
-----------------------------------

    Resolution: Fixed

Changes made to CVS. Done.

> Serializer messages in English only, and getBundle() problems
> -------------------------------------------------------------
>
>          Key: XALANJ-2021
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-2021
>      Project: XalanJ2
>         Type: Bug
>   Components: Serialization, Diagnostic-messages-resources
>     Versions: CurrentCVS
>     Reporter: Brian Minchau
>  Attachments: SerializerMessages.patch.txt, org.apache.xml.serializer.patch.txt, org.apache.xml.serializer.utils.Messages.patch.txt
>
> Current CVS has these problems with the Serializer's messages.
> Languages other than English are missing.
> org.apache.xml.serializer.utils.Messages does this:
> ResourceBundle.getBundle(m_resourceBundleName_withSuffix, locale);
> This is incorrect. For example, for German it would try to load SerializerMessages_de_de
> Other code in Xalan, such as XMLMessages, doesn't have this problem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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