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

Re: "XML parse error"?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-10-24 01:05:42 CEST

Josef Wolf <jw@raven.inka.de> writes:

> > ~/local/tmp> svn co https://svn.collab.net/repos/svn/tags/0.14.3/subversion/libsvn_subr
> > A libsvn_subr/svn_error.c
> > [ ... ]
> > Checked out revision 3381.
> > ~/local/tmp> cd libsvn_subr/
> > ~/local/tmp/libsvn_subr> svn up -r 3200
> > /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:332: (apr_err=175002, src_err=0)
> > svn: RA layer request failed
> > svn: REPORT request failed on /repos/svn/tags/0.14.3/subversion/libsvn_subr /home/jw/local/l/subvers/src/svn/subversion/libsvn_ra_dav/util.c:316: (apr_err=175002, src_err=0)
> > svn: The REPORT request returned invalid XML in the response: XML parse error at line 1: xmlParseStartTag: invalid element name .. (/repos/svn/tags/0.14.3/subversion/libsvn_subr)

I'm able to reproduce this error very easily.

Keep in mind: the repository path doesn't *exist* in r3200. So in
theory your update command should delete the entire working copy.

As it is, it looks like the response is sending some kind of weird
XML, but I can't see the problem, because my stupid svn client is
requesting a gzipped response. (Can I disable that?!)

REPORT /repos/svn/tags/0.14.3/subversion/libsvn_subr HTTP/1.1
Host: svn.collab.net
User-Agent: neon/0.23.5 SVN/0.14.3 (dev build)
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 126
Content-Type: text/xml
Accept-Encoding: gzip
Accept-Encoding: gzip

<S:update-report xmlns:S="svn:">
<S:target-revision>3200</S:target-revision><S:entry
rev="3466"></S:entry>
</S:update-report>

HTTP/1.1 200 OK
Date: Wed, 23 Oct 2002 22:43:16 GMT
Server: Apache/2.0.43-dev (Unix) mod_ssl/2.0.43-dev OpenSSL/0.9.6 DAV/2 SVN/0.14.3 (dev build)
Content-Encoding: gzip
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

[...unintelligble gzip data...]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 24 01:07:51 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.