Issue 8564 - error loading document
Summary: error loading document
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Code
Component: definition (show other issues)
Version: current
Hardware: All All
: P1 (highest) Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: thorsten.martens
QA Contact: issues@xml
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2002-10-22 02:55 UTC by Unknown
Modified: 2003-03-13 11:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
file that cannot be opened (19.98 KB, text/plain)
2002-10-22 19:12 UTC, Unknown
no flags Details
fixed document (styles, meta, settings streams deleted) (15.22 KB, application/octet-stream)
2002-11-25 10:21 UTC, openoffice
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-10-22 02:55:33 UTC
Sometimes openoffice.org doesn´t let open files and tells me there is a format 
error in the "parcial.xml file" in the position 2,812 (row, column).

Maybe it´s something I´m doing?
Comment 1 openoffice 2002-10-22 11:50:36 UTC
dvo->galolaca1: Similar errors (but with 'content.xml' or
'styles.xml') may occur with certain kinds of bugs in the program. But
to fix this problem, we need to look at the file in question.

So please do this:
1) Try if it works with the latest release (1.0.1).
   We've fixed several such problems, so maybe yours has already been 
   fixed. You might ask someone else to load the file if you don't have 
   1.0.1.
2) If that doesn't work, please attach the file that doesn't work to
   this bug 
   (link: Create a new attachment)
   Also mention which version (and language) you are using.
3) I am rather intrigued by the "parcial.xml file", since we don't have
   such a file. Are you sure that's what it said? I would have expected
   "styles.xml" or "content.xml". What does the word "parcial" mean?
Comment 2 Unknown 2002-10-22 19:12:14 UTC
Created attachment 3290 [details]
file that cannot be opened
Comment 3 brant 2002-11-24 18:05:58 UTC
I tried opening the uploaded file in 643c on WinXP and received the
following error:
Error loading document
file:///F:/Documents%20and%20Settings/Brant/Desktop/C--Gabo-nota%20preliminar%20tesis.sxw:
Read-Error.
Format error discovered in the file in sub-document styles.xml at
2,812(row,col).
Comment 4 openoffice 2002-11-25 10:21:07 UTC
Created attachment 3735 [details]
fixed document (styles, meta, settings streams deleted)
Comment 5 openoffice 2002-11-25 10:38:53 UTC
dvo: The ZIP file is corrupt; the styles.xml, meta.xml, settings.xml
streams are broken. Also, the ZIP's central directory structure does
not match some of the local ZIP headers (styles.xml).

dvo->mav: Please have a lok at this.

dvo->galolaca1: I have attached a version of the file without the
corrupted streams so you can continue to work. No content was lost,
but maybe some formatting needs to be redone. Hope this helps.
Comment 6 mikhail.voytenko 2002-12-17 11:29:55 UTC
mav: There is a 6.1Beta staroffice internal bug that requires a
possibility to recover slightly damaged packages. It means that the
package component will mark a package as damaged and will try to get
as much information as possible. For the mentioned 6.1Beta bug no
change in the application level is required. But to recover
corruptions like in this issue the application should investigate
provided information and probably ignore some corrupted streams or try
to recover parsing errors. 
Comment 7 mikhail.voytenko 2002-12-17 11:52:33 UTC
Set the target.
Comment 8 thorsten.ziehm 2003-01-16 13:53:31 UTC
To fix crashes should have highest priority => set to P1.
Comment 9 thorsten.ziehm 2003-01-16 14:01:56 UTC
Sorry, I was confused. This is not a crash. But to fix a problem with
loading documents is P1, too.
Comment 10 mikhail.voytenko 2003-01-20 11:12:08 UTC
The package reparation is implemented and works with Writer, Calc
and Chart documents. The Draw and Math applications should be fixed to
transfer the correct error to sfx in case of ZipException. I will
create a new bug for them.
Comment 11 mikhail.voytenko 2003-01-20 13:58:49 UTC
StarMath is also fixed.
Comment 12 mikhail.voytenko 2003-01-30 08:29:50 UTC
MAV->TM: Since the bug #106812# is fixed all the applications should
be ok.
Comment 13 mikhail.voytenko 2003-01-31 07:36:17 UTC
reopen to send for testing.
Comment 14 mikhail.voytenko 2003-01-31 07:38:44 UTC
MAV->TM: Additionally you can use files from x:\mav\i8564 for testing.
Comment 15 thorsten.martens 2003-02-03 11:48:01 UTC
Checked this one in cws cd5 and it looks good ! Set to fixed !
Comment 16 thorsten.martens 2003-02-03 11:49:18 UTC
Set to verified !
Comment 17 michael.bemmer 2003-03-13 11:13:27 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.