Re: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-28 Thread Dave Howorth
Mike Cowlishaw wrote: > ... (I recently > wrote an XML parser) but if one already exists ... Somewhat off-topic, but unless you have some exceptionally unique requirement, I would recommend using one of the existing XML parser toolkits if possible, as they already 'know' most of the weirdness. Bet

RE: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-27 Thread Mike Cowlishaw
Hi, Thanks for the thoughts. Yes I always keep back versions (there were 197 in the first revision of the Standard). > So, that said. . . . > What packages have been used to edit the document in the past > - version specifics included. The earlier versions of OOo > [whatever number it was wh

Re: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-26 Thread Tim---Kracked_P_P---webmaster
I will second that thought about "affect the whole document". I know from a personal experience that some of these document tags may not look like they are needed, but may cause some "troubles" later in the document if removed or modified. The first time I saw such an issue was creating a d

RE: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-26 Thread Mike Cowlishaw
> Hello Mike, > > You may want to get in touch with the Document Liberation > project, our sister project: > http://www.documentliberation.org . They may be interested by > your input. I'll take a look ... thanks. Mike -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.o

Re: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-25 Thread Tom Davies
Hi :) Thanks for that link! :)) It looks like a truly excellent project! It is really good to have such a professional looking web-page that is worded simply enough for normal office workers to understand. The nearest equivalent on the OASIS site is horrendously complicated and waaay beyond the

Re: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-25 Thread Tom Davies
Hi :) I don't know of an Extension that might do this but then i have never looked for one tbh. It might be smart to test that removing them doesn't affect the whole document before starting. Create a copy of the whole document, or even just a copy of the "contents.xml" and then try on a small sa

Re: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-25 Thread Charles-H. Schulz
Le 25 septembre 2015 21:42:12 GMT+02:00, Florian Reisinger a écrit : >Hi, > >One possible reason is hard formatting. By adding and removing a style >hardcoded empty span tags can appear. However this should not happen >when using styles (even for bold and so on). > >I read this some time ago. Hop

Re: [libreoffice-users] Clean up/optimize/canonicalize a .odt file

2015-09-25 Thread Florian Reisinger
Hi, One possible reason is hard formatting. By adding and removing a style hardcoded empty span tags can appear. However this should not happen when using styles (even for bold and so on). I read this some time ago. Hope that helps :) Am 25. September 2015 21:36:08 MESZ, schrieb Mike Cowlishaw