Return-Path: X-Original-To: apmail-poi-user-archive@www.apache.org Delivered-To: apmail-poi-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8472219CD0 for ; Thu, 21 Apr 2016 15:37:55 +0000 (UTC) Received: (qmail 80098 invoked by uid 500); 21 Apr 2016 15:37:55 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 80068 invoked by uid 500); 21 Apr 2016 15:37:55 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 80057 invoked by uid 99); 21 Apr 2016 15:37:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Apr 2016 15:37:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2485E1A04CC for ; Thu, 21 Apr 2016 15:37:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.999 X-Spam-Level: X-Spam-Status: No, score=0.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id p6IntwlvSKJI for ; Thu, 21 Apr 2016 15:37:52 +0000 (UTC) Received: from ref.nmedia.net (ref.nmedia.net [204.80.187.146]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id D8B175FBA3 for ; Thu, 21 Apr 2016 15:37:51 +0000 (UTC) Received: by ref.nmedia.net (Postfix, from userid 1022) id 75C761E74BC; Thu, 21 Apr 2016 08:37:44 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ref.nmedia.net (Postfix) with ESMTP id 752BC1E74BB for ; Thu, 21 Apr 2016 08:37:44 -0700 (PDT) Date: Thu, 21 Apr 2016 08:37:44 -0700 (PDT) From: Andrew Munn To: user@poi.apache.org Subject: POI not parsing these XLS file Message-ID: User-Agent: Alpine 2.20 (BSO 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII I am using poi 3.15 I can not get POI to parse these XLS files being generated by Bloomberg into something useful. I can use Tika to parse them into one long line of HTML but then there are no cell breaks or line breaks. http://www.topazdevelopment.com/tmp/poi/2010-cal-eu.xls Tika indentifies as: Content-Length: 84473 Content-Type: application/xml X-Parsed-By: org.apache.tika.parser.DefaultParser X-Parsed-By: org.apache.tika.parser.xml.DcXMLParser X-TIKA:digest:MD5: 132c9c6bb186b7dea86f7da08f18c672 X-TIKA:digest:SHA256: badef53ab482d611d4345323c625ac048d76dd3af23a69a98ed86cbe8bf53304 resourceName: 2010-cal-eu.xls if I do: org.apache.poi.ss.usermodel.Workbook workbook = WorkbookFactory.create(myFile); I get: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Your InputStream was neither an OLE2 stream, nor an OOXML stream I can open these files in Excel and LibreOffice. Am I missing something? Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org