Issue 34944 - TOC erase from DocBook XML file
Summary: TOC erase from DocBook XML file
Status: CONFIRMED
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2004-10-04 13:24 UTC by foxmask
Modified: 2013-02-07 22:19 UTC (History)
4 users (show)

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


Attachments
Test File with TOC + image (10.95 KB, application/vnd.sun.xml.writer)
2004-10-05 10:03 UTC, foxmask
no flags Details
Test XML File made by "save as" from test_index.sxw (1.63 KB, text/xml)
2004-10-05 10:04 UTC, foxmask
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description foxmask 2004-10-04 13:24:33 UTC
When i create a doc from the
/usr/local/OpenOffice/share/xslt/docbook/DocBookTemplate.stw ; and make an index
the TOC is erased from xml file when i save it in DocBook xml format.
If i open the xml again the TOC is no more here.
Comment 1 jogi 2004-10-05 06:53:55 UTC
Reporter: Which OOo version do you use? 1.0.0? Please upgrade to 1.1.2 or the
"latest and greatest" 1.1.3 and veridy you issue there. Thank you.
Comment 2 jogi 2004-10-05 06:54:35 UTC
setting keywords
Comment 3 foxmask 2004-10-05 09:13:43 UTC
-update- i'm already using OOo 1.1.2 in french ; i'm going to download the 1.1.3
in english and will test and will tell you the result.

Just a last information ; TOC disappear and Images (i've included) too !
Comment 4 foxmask 2004-10-05 10:03:55 UTC
Created attachment 18123 [details]
Test File with TOC + image
Comment 5 foxmask 2004-10-05 10:04:34 UTC
Created attachment 18124 [details]
Test XML File made by "save as" from test_index.sxw
Comment 6 foxmask 2004-10-05 10:04:50 UTC
I've tested OOo 1.1.3 ; here is the results :
1) i open test_index.sxw
2) i copy all the content of this file
3) i open /usr/local/OpenOffice/share/xslt/docbook/DocBookTemplate.stw
4) i do my paste
5) i save as xml
6) i close my xml file and receive an alert "saving in an external format may
have caused information loss . Do you still want to close?"
7) i answer Yes.
8) i open my test_index.xml i just save and then the TOC is not here ; and
picture too.
in the xml file ; with vim ; i can see the following line :
<inlinegraphic fileref="" width=""/>
but nothing about the path nor name of the file.

to illustrate that ; i join the 2 examples files.
Comment 7 haxwell 2005-02-10 17:35:30 UTC
Confirmed. Using OOo 1.9.77, following the reporters instructions, the saved XML
file does not contain the expected data.

I also got an Access Error, while doing the save as XML, but thats a side issue.
Comment 8 Martin Hollmichel 2005-06-24 15:41:07 UTC
reassign back.
Comment 9 jogi 2005-06-27 06:34:03 UTC
DocBook XML are SAMPLE FILTERS. Also in OOo 2.0 (m106) the bug exists. We have
no resources to enhance the sample filter at the moment.
Comment 10 lo 2005-12-13 13:16:44 UTC
xmlfilter for you
Comment 11 ralfhauser 2007-05-20 12:09:53 UTC
see also Issue 27424 and Issue 51296