Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | unable to open .sxw file - read error | ||||||
---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | Unknown <non-migrated> | ||||
Component: | code | Assignee: | eric.savary | ||||
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P2 | CC: | issues | ||||
Version: | OOo 1.0.0 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
Unknown
2002-07-15 06:01:56 UTC
Created attachment 2231 [details]
This is the file that won't open.
Reassigned to Éric. ES->DVO: bad! The <style:footer> tag includes a <text:dde-connection- decls>...</text:dde-connection-decls>. The DTD doesn't provide this kind of child. I mirror an issue on iBIS for it seems to be important enough to get a close target. ES->j3ff: workarounds: * to save your file: - unzip the sxw file and extract the style.xml file - in this file look for the tag encapsulation: --------------------- <style:footer> <text:dde-connection-decls>... </text:dde-connection-decls> ... </style:footer> --------------------- - delete the <text:dde-connection-decls>...</text:dde-connection- decls> tags whith their content. - save - zip again -> the file can be loaded but any reference to DDE links in footer will be lost * to avoid having this problem until bug fix: don't include DDE links in footers or headers Reassigned to Daniel dvo: The problem is indeed with dde-declarations inside of headers. Since connections are stored with every header, so a connection being used in multiple headers yields multiple declarations. The bug is that this fails to work. I'll fix that, time permitting. dvo->hbrinkm: Please have a look at this. The relevant code is in XMLDdeFieldDeclImportContext::StartElement. (xmloff/soruce/text/txtfldi.cxx) I assume an exception is thrown at the createInstance call. Possible solutions might be a suitable try/catch, or alternatively one might check the error condition before and only execute the createInstance if it's safe. HB: fixed (sw006): /cvs/xml/xmloff/source/text/txtfldi.cxx: 1.43.44.1 checked OK in sw006 Ready for QA JA: re-prioritized according to new priority guide lines fixed verified Ok in 644m4s4 |