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 8264] New: - HSSF internazionalization problems with numbers
Date Thu, 18 Apr 2002 16:36:48 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=8264>.
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=8264

HSSF internazionalization problems with numbers

           Summary: HSSF internazionalization problems with numbers
           Product: Cocoon 2
           Version: Current CVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: cocoon-dev@xml.apache.org
        ReportedBy: nicolaken@apache.org
                CC: acoliver@apache.org


The new ESQL sample in the POI samples shows a bug in the HSSFSerializer.

Numeric values are supposed to be in US format, while it's not always the case.

Here is a stacktrace gotten by running the POI ESQL sample on an Italian locale 
machine:

Sorry, I didn't post the full stacktrace.
In reality, if I serialize to xml it goes through ok, it's the Serializer.

FATAL_E (2002-04-18) 15:44.43:101   [core.xslt-processor]
(/cocoon/samples/poi/statetax2.xls) HttpProcessor[8080][4]/TraxErrorHandler: 
Error in TraxTransformer: javax.xml.transform.TransformerException: 
java.io.IOException: Invalid value for a numeric cell: 56125329,0
javax.xml.transform.TransformerException: java.io.IOException: Invalid value 
for a numeric cell: 56125329,0
	at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:725)
	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
(ElemApplyTemplates.java:422)
	at org.apache.xalan.templates.ElemApplyTemplates.execute
(ElemApplyTemplates.java:226)
	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
	at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
(TransformerImpl.java:2069)
	at org.apache.xalan.transformer.TransformerImpl.transformNode
(TransformerImpl.java:1171)
	at org.apache.xalan.transformer.TransformerImpl.run
(TransformerImpl.java:3196)
	at java.lang.Thread.run(Thread.java:484)
---------
java.io.IOException: Invalid value for a numeric cell: 56125329,0
	at 
org.apache.cocoon.serialization.ElementProcessorSerializer.SAXExceptionFactory
(ElementProcessorSerializer.java:176)
	at org.apache.cocoon.serialization.ElementProcessorSerializer.endElement
(ElementProcessorSerializer.java:369)
	at org.apache.xalan.transformer.ResultTreeHandler.endElement
(ResultTreeHandler.java:307)
	at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:716)
	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
(ElemApplyTemplates.java:422)
	at org.apache.xalan.templates.ElemApplyTemplates.execute
(ElemApplyTemplates.java:226)
	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
	at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
(TransformerImpl.java:2069)
	at org.apache.xalan.transformer.TransformerImpl.transformNode
(TransformerImpl.java:1171)
	at org.apache.xalan.transformer.TransformerImpl.run
(TransformerImpl.java:3196)
	at java.lang.Thread.run(Thread.java:484)
---------
java.io.IOException: Invalid value for a numeric cell: 56125329,0
	at 
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Cell.setCon
tent(Cell.java:114)
	at 
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EPCell.endP
rocessing(EPCell.java:292)
	at org.apache.cocoon.serialization.ElementProcessorSerializer.endElement
(ElementProcessorSerializer.java:364)
	at org.apache.xalan.transformer.ResultTreeHandler.endElement
(ResultTreeHandler.java:307)
	at org.apache.xalan.templates.ElemLiteralResult.execute
(ElemLiteralResult.java:716)
	at org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes
(ElemApplyTemplates.java:422)
	at org.apache.xalan.templates.ElemApplyTemplates.execute
(ElemApplyTemplates.java:226)
	at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
(TransformerImpl.java:2243)
	at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode
(TransformerImpl.java:2069)
	at org.apache.xalan.transformer.TransformerImpl.transformNode
(TransformerImpl.java:1171)
	at org.apache.xalan.transformer.TransformerImpl.run
(TransformerImpl.java:3196)
	at java.lang.Thread.run(Thread.java:484)

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


Mime
View raw message