[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion and binary files

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 01 Feb 2008 12:52:37 -0500

Thomas Scheffler wrote:
> They should be. You cannot expect that arbitrary binary data can be put in an
> XML file. They are mostly base64 encoded and wrapped in CDATA blocks. Diffing
> those blocks can be long as well as diffing any large text documents.

No, I'm not talking about CDATA blocks. I was pointing out that is
legal under XML to have a series of attributes in the same container
level be ordering indefinite. There are other bits (but I can't
remember off the top of my head), but effectively, certain portions of
XML documents are effectively hashes, where the order is not
significant, only the keys.

But the fact is that even if an XML document consists solely of text, it
is not necessarily a text document. This is why XML editors and XML
diff programs are so complex.

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-01 18:53:04 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.