[ 
https://issues.apache.org/jira/browse/LANG-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575125#action_12575125
 ] 

Matt Benson commented on LANG-362:
----------------------------------

I didn't get to it until today.  And I was close... but, in the end, it appears 
that the API of MessageFormat makes it simply impossible to support additional 
embedded subformats in a ChoiceFormat.  This sucks.

Anyway, I will document this and remove the testcases.  If anyone else cares to 
look into this in the future, be my guest.  But as far as I can tell this 
requires (possibly very simple) changes in java.text.MessageFormat.  I _may_ 
add something to the bug parade, though my past experiences with this 
(admittedly pre-GPL Java) haven't been great.

> Add ExtendedMessageFormat to org.apache.commons.lang.text
> ---------------------------------------------------------
>
>                 Key: LANG-362
>                 URL: https://issues.apache.org/jira/browse/LANG-362
>             Project: Commons Lang
>          Issue Type: New Feature
>            Reporter: Matt Benson
>            Assignee: Matt Benson
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: DateFormatFactory.java, extendedMessageFormat.patch.txt, 
> extendedMessageFormat.patch.txt, ExtendedMessageFormat2.java, 
> ExtendedMessageFormatTest.java, FormatFactory.java
>
>
> Discussed on dev@ ( 
> http://mail-archives.apache.org/mod_mbox/commons-dev/200710.mbox/[EMAIL 
> PROTECTED] ); adding here for tracking purposes and in case anyone has any 
> serious objections to my implementation.  Patch forthcoming...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to