On Wed, 01 Feb 2006 19:14:36 -0500, Daniel Carrera
<[EMAIL PROTECTED]> wrote:

>Paul wrote:
>> If they stored them as binary, then wouldn't be a little tricky to do
>> a diff on the document contents.
>
>There is such thing as a binary diff. It may not be as good as a plain 
>text diff, but what else are you going to do when you are dealing with 
>images and sound files? I'd expect that ZIP files like .odt would be 
>treated the same.

Unfortunately when subversion considers a file to be a binary file, it
does not seem to support a diff visible to the user. If one added even
one word to a file at the beginning, a binary diff would show that
almost all of the rest of the file had changed. A proper .odt diff
should generate a diff file that shows the difference in context. It
should show when words had been inserted or deleted. If it was good it
will show where styles or effects had been added or deleted. If it was
really good, it would be able to pick up when a block of text had been
moved from one position to another in a document. I believe such a
diff application for ODF documents would be quite usefull in many
environments. Unfortunately my skills in programming does not lie in
this direction.

Regard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to