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

Re: [PATCH] "svnadmin dump": An optional XML output format.

From: Oliver Geisser <oliver.geisser_at_gmx.de>
Date: 2002-12-22 00:44:34 CET

Hi

[...]
> The property contents are XML escaped. The file-content is
> XML escaped if it is text and is base64 encoded if it is binary
> (anything with svn:mime-type property where the property value doesn't
> start with "text").
[...]

Based on my experiences with the combination of XML and binary data
I would suggest: don't embed the binary into the XML.

For small amounts of binary data this may work but in most of the cases
it is better to seperate the binary data from the XML and reference to
it. One way to do this is to use some "container" data format. There are
may choices for a "container format": ZIP, MIME, DIME, TAR, ...

Then one "file" in the container would be the XML file and where it is
neccessary soem XML elements/attribtes "hrefs" to other binary "files"
in the container.

Compare this to the specification "SOAP with attachements" or the DIME
("Direct Internet Message Encapsulation", draft-nielsen-dime-soap-00 )
specification.

Olli

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 22 00:46:24 2002

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

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