You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2008/03/04 23:43:40 UTC

[jira] Issue Comment Edited: (LANG-362) Add ExtendedMessageFormat to org.apache.commons.lang.text

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

niallp edited comment on LANG-362 at 3/4/08 2:42 PM:
--------------------------------------------------------------

OK commenting out works for me - I'll do that unless you beat me to it.

The failing stack trace for the test is below (snipped after ExtendedMessageFormatTest) - java version 1.5.0_07

java.lang.IllegalArgumentException: unknown format type at 
	at java.text.MessageFormat.makeFormat(MessageFormat.java:1426)
	at java.text.MessageFormat.applyPattern(MessageFormat.java:447)
	at java.text.MessageFormat.<init>(MessageFormat.java:365)
	at java.text.MessageFormat.subformat(MessageFormat.java:1214)
	at java.text.MessageFormat.format(MessageFormat.java:825)
	at java.text.Format.format(Format.java:133)
	at org.apache.commons.lang.text.ExtendedMessageFormatTest.testExtendedWithChoiceFormat(ExtendedMessageFormatTest.java:138)

      was (Author: niallp):
    OK commenting out works for me - I'll do that unless you beat me to it.

The failing stack trace for the test is below (snipped after ExtendedMessageFormatTest)

java.lang.IllegalArgumentException: unknown format type at 
	at java.text.MessageFormat.makeFormat(MessageFormat.java:1426)
	at java.text.MessageFormat.applyPattern(MessageFormat.java:447)
	at java.text.MessageFormat.<init>(MessageFormat.java:365)
	at java.text.MessageFormat.subformat(MessageFormat.java:1214)
	at java.text.MessageFormat.format(MessageFormat.java:825)
	at java.text.Format.format(Format.java:133)
	at org.apache.commons.lang.text.ExtendedMessageFormatTest.testExtendedWithChoiceFormat(ExtendedMessageFormatTest.java:138)
  
> 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/%3c590921.30381.qm@web55103.mail.re4.yahoo.com%3e ); 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.