https://bugs.freedesktop.org/show_bug.cgi?id=88298

Robinson Tryon (qubit) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[email protected]
           See Also|                            |https://bugs.freedesktop.or
                   |                            |g/show_bug.cgi?id=88127
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #1 from Robinson Tryon (qubit) <[email protected]> ---
(In reply to David Juran from comment #0)
> This RFE is about (optionally) making the Flat XML ODF format less "chatty"
> by excluding some metadata which would make version control of documents
> easier to accomplish.

Sounds like a good proposal for improvement.

Severity -> enhancement
Status -> NEW

It would be great to have some initial notes about what kinds of "chatty"
information could be stripped or re-organized to make the FODF formats more
attractive for diffing.

Here's one challenge: Indenting and adding newlines to the XML. Here's what the
FODTs look like now:

<office:meta><meta:creation-date>2015-01-11T13:55:01.410705604</meta:creation-date><dc:date>2015-01-11T13:55:18.841988521</dc:date><meta:editing-duration>PT17S</meta:editing-duration><meta:editing-cycles>1</meta:editing-cycles><meta:document-statistic
meta:table-count="0" meta:image-count="0" meta:object-count="0"
meta:page-count="1" meta:paragraph-count="1" meta:word-count="2"
meta:character-count="13" meta:non-whitespace-character-count="12"/>

Uggh. Run that through 'xmllint --format', and you can get something
human-readable that diffs pretty reasonably:

<     <dc:date>2015-01-11T13:55:18.841988521</dc:date>
<     <meta:editing-duration>PT17S</meta:editing-duration>
<     <meta:editing-cycles>1</meta:editing-cycles>
---
>     <dc:date>2015-01-11T13:55:41.538627598</dc:date>
>     <meta:editing-duration>PT39S</meta:editing-duration>
>     <meta:editing-cycles>2</meta:editing-cycles>

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to