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

DTD changed a bit

From: Ben Collins-Sussman <sussman_at_newton.collab.net>
Date: 2000-09-16 01:07:26 CEST

OK, we have no formal DTD for the XML which "drives" our editor
callbacks, but I should point out that it's changed. (Karl, this
means you need to update all of your test XML files.)

The outermost tag is now <delta-pkg> which contains one <tree-delta>,
followed by zero or more "postfix" <text-deltas>. Text-deltas can now
be either in-line (the old way), postfix (the new way), or any
combination of the two methods.

Postfix text-deltas are specified with a new <text-delta-ref> tag.
The `id' attribute can be any bytestring.

Here's an example.

(this is correctly parsed by libsvn_delta/test/deltaparse-test.c)


    <add name="dir1">
            <add name="file1">
                  <text-delta> standard in-line data </text-delta>
            <add name="file2">
                 <text-delta-ref id="foo2"/>
                      <set name="color">blue</set>
                      <set name="animal">tiger</set>
     <replace name="file3">
              <text-delta-ref id="!@#$%"/>

  <text-delta id="foo2"> some file2 data </text-delta>

  <text-delta id="!@#$%"> some file3 data </text-delta>

Received on Sat Oct 21 14:36:08 2006

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