Issue 10064 - Complicated sxw file w/multi sections saved as Flat XML reopens with only first few sections
Summary: Complicated sxw file w/multi sections saved as Flat XML reopens with only fir...
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: xml
Classification: Code
Component: definition (show other issues)
Version: 643
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.brauer
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-13 17:23 UTC by Unknown
Modified: 2003-03-13 10:19 UTC (History)
2 users (show)

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


Attachments
OpenOffice.org 643 sxw file showing issue (71.09 KB, application/octet-stream)
2002-12-13 17:24 UTC, Unknown
no flags Details
OpenOffice.org 643 "Flat XML" file that will not fully open (stops displaying at page 11 or so) (461.03 KB, application/octet-stream)
2002-12-13 17:27 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-12-13 17:23:41 UTC
A complicated sxw file w/multi sections, when saved as Flat XML and reopened (as
Flat XML) reopens with only first few sections visible. 

I have a developer's guide written and tried to save as flat xml (to take
advantage of our CVS diffs.)  It is a 66 page document with several sections,
but when I reopen the flat xml file, only the first 11 pages are opened.
Coincidentally (or not) the 11th page is the end of our first section. However,
opening the flat xml file in a text editor shows that all my sections are
physically stored in the flat xml file. 

I have tried to reproduce this in a document with only one or two pages by
adding 3-4 sections, but that works fine. 

I tried to install 643C on my linux machine to test, but it always segfaulted
whenever opening any file. I ended up reinstalling 643. 

I have verified this on several installations, so I don't think it's my
particular computer. I've even had friends try this out on their machines to
verify I'm not on crack. 

I will upload the sxw file and the flat xml file so you can verify.  You don't
actually need the XML file, but I'll send anyway.  Simply open the sxw file,
save as Flat XML, close OpenOffice, open OpenOffice and open the Flat XML file.
 Only the first 11 or so pages will come up.
Comment 1 Unknown 2002-12-13 17:24:35 UTC
Created attachment 4025 [details]
OpenOffice.org 643 sxw file showing issue
Comment 2 Unknown 2002-12-13 17:27:43 UTC
Created attachment 4026 [details]
OpenOffice.org 643 "Flat XML" file that will not fully open (stops displaying at page 11 or so)
Comment 3 michael.brauer 2003-01-22 17:55:13 UTC
The attached flat XML file in fact is broken (it conatins a <?xml
...?> within the text. However, I've tried to export the sxw document
once again as flat XML file, and this file is okay. 

Maybe Aidan can give us a hint whether where was a bug fix some time ago.
Comment 4 aidan.butler 2003-01-22 18:22:50 UTC
aidan: I'd be delighted! The <?xml version="1.0"?> tag comes from the
content of the document. In the older version of the XFlatXml.jar,
entities such as < > & etc. , were not escaped properly. This causes
the < to be output as "<" instead of "&lt;".This has been fixed, and
the new version will be in the next release.

until then, an updated version can be downloaded from 
http://framework.openoffice.org/source/browse/framework/filter/source/jars/XFlatXml.jar

Comment 5 michael.bemmer 2003-03-13 09:44:14 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. First step in IssueZilla is unfortunately to set them to verified.
Comment 6 michael.bemmer 2003-03-13 10:19:23 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.