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

Re: XML parsing and checksum mismatch errors at updates and checkouts

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 08 Apr 2011 13:55:50 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> I was getting those checksum errors while doing an export, I'm not sure
> how 3711 is relevant.

So I got an checksum error during an export using serf for the file
src/ne_uri.c. I compared the "bad" file in the export with a "good"
version from a checkout using neon:

$ diff -a bad/src/svn-DfdRjG good/src/ne_uri.c
86,90c86,110
< #define URI_SEGCHAR (URI_PCHAR | FOT, OT, OT, OT, OT, OT, OT, OT, OT, O2010-10-14T15:02:41.455674Z *010-10-14T15:02:41.455674Z���
                                                   *DAV:getlastmodifiedThu, 14 Oct 2010 15:02:41 GMT�*Thu, 14 Oct 2010 15:02:41 GMTuN��p*�*DAV:version-name1823(+1823�+Z�+
          +DAV:creator-displaynamejoe�+joe4r�p`+�+http://subversion.tigris.org/xmlns/dav/md5-checksum###error###,
                                 ###error###�<�p,3�(.@-http://subversion.tigris.org/xmlns/dav/%ef%bf%bdRIW%ef¿½'(,Ơ��
                        ,http://subversion.tigris.org/xmlns/dav/repository-uuid61a7d7f5-40b7-0310-9c16-bb0ea8cb1845%ef%bf%bd$61a7d7f5-40b7-0310-9c16-bb0ea8cb1845doH8%ef%bf%bd-%ef%bf%bdDAV:supportedlock
<
< X.
<
/T, OT, OT, OT, OT, OT, teK����.DAV:lockdiscovery/����

---
> #define URI_SEGCHAR (URI_PCHAR | FS)
> /* query = *( pchar / "/" / "?" ) */
> #define URI_QUERY (URI_PCHAR | FS | QU)
> /* fragment == query */
> #define URI_FRAGMENT URI_QUERY
> 
> /* any characters which should be path-escaped: */
> #define URI_ESCAPE ((URI_GENDELIM & ~(FS)) | URI_SUBDELIM | OT | PC)
> 
> static const unsigned int uri_chars[256] = {
> /* 0xXX    x0      x2      x4      x6      x8      xA      xC      xE     */
> /*   0x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT,
> /*   1x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT,
> /*   2x */ OT, SD, OT, GD, SD, PC, SD, SD, SD, SD, SD, PS, SD, DS, DT, FS,
> /*   3x */ DG, DG, DG, DG, DG, DG, DG, DG, DG, DG, CL, SD, OT, SD, OT, QU,
> /*   4x */ AT, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
> /*   5x */ AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, GD, OT, GD, OT, US,
> /*   6x */ OT, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL,
> /*   7x */ AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, AL, OT, OT, OT, TD, OT,
> /*   8x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, 
> /*   9x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, 
> /*   Ax */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, 
> /*   Bx */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, 
> /*   Cx */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, 
> /*   Dx */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, 
-- 
Philip
Received on 2011-04-08 14:56:25 CEST

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.