Are there perhaps dates in your Excel file?  I've found that those get
interpreted as numbers instead of text, despite the formatting you put
on them.  Apparently Google Spreadsheets work better, if you don't mind
having you data too many places.

> -----Original Message-----
> From: Bruce Robertson [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 19, 2007 10:15 PM
> To: [email protected]
> Subject: Babel formats
> 
> Are there examples of using the get method with Babel? 
> Nothing I have tried works using these instructions:
> 
> <http://simile.mit.edu/wiki/Babel/How_to_call_translator_using
> _HTTP_GET>
> 
> My attempt:
> 
> <http://simile.mit.edu/babel/translator?reader=xls&writer=exhi
bit-json&url=h
> ttp://concise-design.com/downloads/fmerrors.xls>
> 
> I get errors like the following:
> 
> You cannot get a string value from a numeric cell Technical Details
> 
> java.lang.NumberFormatException: You cannot get a string 
> value from a numeric cell
>     at
> org.apache.poi.hssf.usermodel.HSSFCell.getStringCellValue(HSSF
> Cell.java:775)
>     at edu.mit.simile.babel.xls.XLSReader.read(XLSReader.java:128)
>     at
> edu.mit.simile.babel.TranslatorServlet.readAndConvertURL(Trans
> latorServlet.j
> ava:360)
>     at
> edu.mit.simile.babel.TranslatorServlet.readAndConvert(Translat
> orServlet.java
> :319)
>     at
> edu.mit.simile.babel.TranslatorServlet.internalService(Transla
> torServlet.jav
> a:242)
>     at
> edu.mit.simile.babel.TranslatorServlet.doGet(TranslatorServlet
> .java:84)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> 
> 
> 

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to