cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24433] New: - JXTemplate generator does not handle format-number(number, '$#,##0.00')
Date Wed, 05 Nov 2003 13:37:34 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24433>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24433

JXTemplate generator does not handle format-number(number, '$#,##0.00')

           Summary: JXTemplate generator does not handle format-
                    number(number, '$#,##0.00')
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: Other
               URL: http://127.0.0.1:8888/samples/petstore/viewCart.do
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: joerg.heinicke@gmx.de


java.lang.IllegalArgumentException: Malformed pattern "$#,##0.00"
	at
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator.java:2957)
	at
org.apache.cocoon.generation.JXTemplateGenerator.execute(JXTemplateGenerator.java:3131)
	at
org.apache.cocoon.generation.JXTemplateGenerator.generate(JXTemplateGenerator.java:2746)

But it should work as it does in XSLT. This error occurs in the PetStore samples
for the Cart.xml when using JXPath view.

Mime
View raw message