Created attachment 84894 [details] Test file XML Calc import should ignore leading spaces in the beginning of the file the same way as MSO2003. See attachment example, MSO2003 Excel can open it, but LO Calc only gives "General Error. General input/output error."
Can confirm described behavior. Excel 2010 opens the file and LO master (Version: 4.2.0.0.alpha0+ Build ID: 9fed8a5e4a4c45d6a08260e9480ca6b43254b120 TinderBox: MacOSX-X86_64@43, Branch:master, Time: 2013-08-29_07:14:27) gives general input / output error. Setting to NEW.
According to current XML 1.0 specs (http://www.w3.org/standards/techs/xml), no white space is allowed before the XML declaration. Microsoft agrees with that, too: see http://msdn.microsoft.com/en-us/library/ms256097.aspx The fact that LO follows the standard more strictly then a MS product is not a bug. At most, this issue may be a feature request to relax this a bit, but it may be WONTFIX (personally I would vote for this).
We have a corporate site providing data aggregation service. It is made to gather data about automobile accidents and road works of North East region of Russian Federation from several filials and contractors. Data export is implemented to XML format as you can see in the attached example. I've already contacted to webmaster and asked him to fix the problem, but without any success. Also we have no access to source code of the service. I understand your standards policy, however migration to LibreOffice is impossible without some backward compatibility. We want to work with LibreOffice, but this bug is blocking. I'd appreciate if you make an exception.
*** Bug 80859 has been marked as a duplicate of this bug. ***
Created attachment 111479 [details] error al abrir archivo xml error general error de entrada/salida al abrir cualquie archivo xml
error generar error de entrada/salida al abrir archivos xml
Comment on attachment 111479 [details] error al abrir archivo xml (In reply to Juan Carlos Cuervo from comment #5) > error general error de entrada/salida al abrir cualquie archivo xml Juan Carlos Cuervo, you failed to mention your version and OS, and other relevant information, but: 1. I see no problem opening the attachment 111479 [details] with Version: 4.3.5.2 Build ID: 3a87456aaa6a95c63eea1c1b3201acedf0751bd5 under Win7x64. It opens fine, having one sheet (named Sheet1), and has information in first 77 rows. 2. This file doen't contain any whitespace before the XML declaration, so it is absolutely irrelevant to this specific issue. Thus, I mark it obsolete. If you do experience problems with the file, please open a separate issue in the tracker, and provide necessary relevant info. If possible, provide English translation aside the native-language description, as this Bugzilla is English-language. You may ask a buddy to help, or use a service like Google Translate. If this file does contain a whitespace before XML declaration, but for some reason it was stripped when uploading, then please attach the file zipped (though it is not necessary, as it doesn't add anything new to this issue).
*** Bug 115246 has been marked as a duplicate of this bug. ***
The attached file now opens fine. The fix comes from some of the changes made in the orcus library[1] (in 0.14.0). I'll resolve this as fixed for 6.2.0. [1] https://gitlab.com/orcus/orcus